| name | setup-repo |
| description | Bootstrap a hybrid pnpm + Deno monorepo, add a package to an existing one, or scaffold an SPA package (Vite + React 19 + TanStack Router + Tailwind 4 + shadcn). Use when the user wants to set up a new repo, scaffold a project, create/add a package under packages/, or scaffold a frontend SPA. Asks like "set up a repo", "create a monorepo", "add a package", "scaffold an SPA", "new website package". |
Set Up a Repo
Covers three flows that share the same dependency invariant and file templates:
- Bootstrapping a brand-new monorepo.
- Adding a package to an existing monorepo.
- Scaffolding an SPA package (composes with #1 or #2).
Load the rule files below for the path you need.
The Core Invariant
Root package.json owns versions. pnpm-workspace.yaml maps them with $name overrides. Package package.json files reference deps with "*".
Keep this intact at every step. Full rules in rules/dependencies.md.
Picking a flow
Shared supporting rules
All flows reference these:
SPA rules (load only if scaffolding an SPA)
Standing user rules
- Never run
git init as part of this skill — the user opts in separately.
- Never report success without running
pnpm check (or deno check .) — this is a hard rule in the user's global CLAUDE.md.
- For SPA work, also verify in a browser before claiming success (the user's UI testing rule).