Add read-only installed skill checks - #294
Merged
Merged
Conversation
This was referenced Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Category: new-feature
User Impact: Users can detect installed ghost instructions that differ from the CLI's bundled version.
Problem: An installed skill can fall out of sync after a CLI upgrade, with no command to compare its managed files.
Solution: Add
ghost skill checkusing install's destination resolution. Report missing, changed, and extra reference files without writing, and suggest a reinstall command.Compatibility: Exit 0 means matching files, 1 means differences, and 2 means invalid arguments. Checking does not establish which instructions an active session loaded; review local edits before reinstalling.
Scope: One of five independent PRs split from the original #291. This branch targets
mainand contains only this concern, its tests, and its documentation.Related: Enforce resolved material access boundaries, Preserve guidance meaning in CLI output, Report incomplete guidance loading, Fix and validate rendered guidance examples.
Validation:
pnpm run quality:all: passed on this standalone branch, including build, package/release checks, tests (246 passed), workspace builds, and package validations.git diff origin/main...HEAD --check: passed.Changeset: Existing minor changeset retained for the new command.
ghost Review: Review packet assembled against
apps/docs/.ghost. This package does not bind the changed CLI/test/docs files, so the packet is coverage context, not a passing brand review. Used the currentghost review --package apps/docs/.ghost --base origin/main --format jsonand inspectedghost manifest; the olderghost check,--include-memory, anddump:cli-helpworkflows are unavailable in this checkout.File changes (9 files)
.changeset/check-installed-skill.mdREADME.mdpackages/ghost/README.mdpackages/ghost/src/commands/command-discovery.tspackages/ghost/src/commands/skill-check.tspackages/ghost/src/commands/skill-command.tspackages/ghost/src/skill-bundle/SKILL.mdpackages/ghost/src/skill-bundle/references/schema.mdpackages/ghost/test/skill-check.test.tsScreenshots/Demos: N/A: no visual surface changes.