Skip to content

feat(cli): inline agent skills at scaffold time - #492

Open
blurrah wants to merge 2 commits into
mainfrom
blurra/inline-skills-scaffold
Open

feat(cli): inline agent skills at scaffold time#492
blurrah wants to merge 2 commits into
mainfrom
blurra/inline-skills-scaffold

Conversation

@blurrah

@blurrah blurrah commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Problem

The CLI started three npx plugins add subprocesses 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.

  • The CLI copies the skills to .agents/skills/ and makes links in .claude/skills/.
  • The CLI copies the commands to .claude/commands/.
  • The CLI does not start plugin subprocesses. It shows the install commands for the two optional plugins.
  • The --no-template option 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.

…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
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shop-docs Ready Ready Preview Aug 7, 2026 7:12pm
shop-template Ready Ready Preview, v0 Aug 7, 2026 7:12pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant