setup-project-skills
setup-project-skills
Explicit-invocation only. Run once per repository.
What this writes: a
docs/agents/directory containing three config files (domain-docs.md,contract-format.md,work-item-tracker.md) plus an## Agent skillsblock appended to eitherCLAUDE.mdorAGENTS.md. Never both. Never overwrites an existing## Agent skillsblock without explicit confirmation.
Ownership: this skill owns
docs/agents/exclusively. It is carved out ofdocs-agent's broaderdocs/ownership —docs-agentreadsdocs/agents/for context but never writes there. See the canonical map in the orchestrator'sreferences/file-ownership.md.
This skill bootstraps the per-repo configuration that the rest of the Skill-Madness toolkit reads at runtime. Downstream skills like maintain-context, contract-author, and the orchestrator look in docs/agents/ for these files and fail loud if they are missing.
The three questions
Ask one at a time. For each question, look at the repo first and recommend an answer; then ask the user to confirm or override. Do not present the menu cold — recommend, then ask.
Q1 — Domain doc layout
Single-context project or multi-context monorepo? Where does CONTEXT.md live?