setup-repo
Installation
SKILL.md
Setup repo
Seven parts, each idempotent — skip what already holds. Prerequisite: the verify skill (workflow bundle), since every hook and workflow calls node .agents/skills/verify/scripts/verify.mjs <stage>. Not installed → install it first.
Templates sit in templates/ beside this file. Copy them into the repo; never reference a path inside the skill folder, which is wiped on every sync.
0. Pick the tier
Ask the user which one this repo is:
- sandbox — demos, spikes, dormant repos. Clean code, no required checks (CI and the PR gate report, nothing blocks merge), no spend.
- tool — another repo or another person consumes it. Adds required checks,
/ai-review, dependency security. - product — deployed and depended on. Adds e2e smoke on the PR and a nightly.
The tiers are nested: a product repo runs everything a sandbox repo runs. A lower tier means a smaller net, never a lower standard of code.
Write the answer into .skilly/config.json (created by skilly setup):