feat: support project-scoped lockfiles and renamed skill installs#369
Open
farnoodma wants to merge 2 commits intovercel-labs:mainfrom
Open
feat: support project-scoped lockfiles and renamed skill installs#369farnoodma wants to merge 2 commits intovercel-labs:mainfrom
farnoodma wants to merge 2 commits intovercel-labs:mainfrom
Conversation
|
@farnoodma is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
5 tasks
Author
|
@quuu this PR adds project-scoped lock tracking + --rename support with full test coverage. Would appreciate your review when you have a moment. |
7f18723 to
5ba949f
Compare
Author
|
@chibicode @nicoalbanese quick ping: this PR has been open since Feb 15 (almost a week), and this change is needed for our use-cases (project-scoped lockfiles + renamed installs preserved on update). I’d really appreciate a review when you have a moment. |
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.
Summary
This PR implements the two CLI capabilities requested around update tracking and rename support:
Project + global lock scope support
skills addnow tracks installs in both scopes:<cwd>/.agents/.skill-lock.json~/.agents/.skill-lock.jsonskills check/skills updatenow read both scopes by default.--project/-p: project only--global/-g: global only--renamesupport for installs--rename <name>toskills addfor single-skill installs.namefrontmatter in installedSKILL.md--renamefails when multiple skills are selected.Rename-aware updates
skills updatepreserves local installed names by reinstalling with--rename <installed-name>.Xas local aliasYstay asYafter updates.Implementation Notes
feat: track and update skills in project and global scopesfeat: add renamed skill installs and preserve aliases on updateREADME.md,AGENTS.md, and CLI help output.Test plan
pnpm install --frozen-lockfilepnpm buildpnpm format:checkpnpm testnode scripts/validate-agents.ts