feat(skills): select install scope from the manifest path - #31
Merged
Merged
Conversation
Choose skill destinations from the selected manifest so project skills stay beside their configuration instead of being installed globally. Manifests under ~/.clime retain global targets. Other manifests use .agents/skills beside the manifest and create .claude/skills symlinks, even when the project has no existing .claude directory. Install, update, sync, and uninstall use the same scope. Global Claude detection and the manifest format are unchanged. Update the CLI help and README, and test relative paths, directory boundaries, scope isolation, and fresh-project Claude links. Verification: - go test ./... -v: passed - go vet ./...: passed - go build ./...: passed - Built CLI sync in a fresh project: shared files and Claude links created; global targets untouched. CLI output from the fresh-project sync: ```text ✓ Synced skill "alpha" to agents, claude ✓ Synced 1 skill(s) from 1 source(s). ``` Assistant-By GPT-6
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.
Choose skill destinations from the selected manifest so project skills
stay beside their configuration instead of being installed globally.
Manifests under ~/.clime retain global targets. Other manifests use
.agents/skills beside the manifest and create .claude/skills symlinks,
even when the project has no existing .claude directory.
Install, update, sync, and uninstall use the same scope. Global Claude
detection and the manifest format are unchanged. Update the CLI help and
README, and test relative paths, directory boundaries, scope isolation,
and fresh-project Claude links.
Verification:
created; global targets untouched.
CLI output from the fresh-project sync:
Assistant-By GPT-6