managing-monorepo
Installation
SKILL.md
Managing Monorepo
Setup
| Item | Kind | Required | When | Done when | How |
|---|---|---|---|---|---|
| pnpm skill | user | required | All | Found per monorepo-contract.md → Discovering project skills | npx skills add antfu/skills --skill pnpm |
| turborepo skill | user | required | All | Found per monorepo-contract.md → Discovering project skills | npx skills add vercel/turborepo --skill turborepo |
| pnpm | user | required | All | pnpm --version succeeds |
https://pnpm.io/installation |
| Workspace | static | required | All | monorepo-contract.md → Resolve workspace root finds a root | At the repository root, per managing-workspace.md → Initialize workspace |
| Standing rule | auto | required | Set up, or a request whose Workspace row ran | Root AGENTS.md has the line |
Add - This workspace follows managing-monorepo; load it before adding a package, a cross-package import, or a package script. to root AGENTS.md (create when missing) and to root CLAUDE.md when it exists without importing AGENTS.md; skip a file that has it |
Install both skills: npx skills add antfu/skills --skill pnpm && npx skills add vercel/turborepo --skill turborepo
Workflow
- Setup — for each Setup row whose When covers the request, in order: Done when holds → skip;
user→ stop and print its How when required, continue without it when optional;ask→ fill what the request answers, ask the rest together in one message, record each answer;autoandstatic→ run. - Contract — read monorepo-contract.md.
- Recipe — match one Recipes row; open every doc in its Read column.