feat(cli): inline agent skills at scaffold time - #492
Open
blurrah wants to merge 2 commits into
Open
Conversation
…process installs create-vercel-shop already downloads the full repo tarball, so extract packages/plugin/skills into .agents/skills/ (with per-skill Claude Code symlinks in .claude/skills/, copy fallback) and packages/plugin/commands into .claude/commands/ from the same single fetch. - Removes the three post-scaffold 'npx plugins add' subprocesses, which ran even when the dependency install failed - Skills are now versioned with the scaffolded project and always as fresh as main at scaffold time - --no-template now inlines only the agent assets into an existing project and returns 1 cleanly when the download fails - Companion plugins (vercel/vercel-plugin, Shopify/shopify-ai-toolkit) are recommended via printed commands instead of auto-installed - Updated template AGENTS.md/README, init-vercel-shop, build-shop, and update-shop skills, and the docs pages describing the flow; ran the docs skill sync script
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Problem
The CLI started three
npx plugins addsubprocesses after the scaffold step. These subprocesses also started when the dependency installation failed.Solution
The CLI gets the template, the skills, and the commands from one tarball download.
.agents/skills/and makes links in.claude/skills/..claude/commands/.--no-templateoption adds only the agent files. If the download fails, the CLI stops.Git keeps the versions of the skills. The related documentation and skills show the new flow.