/skill-madness:setup-project-skillsfrom skill-madness
Bootstraps per-repo config files (domain docs, contract format, work-item tracker) that other skills read. Writes docs/agents/ and appends an Agent skills block to CLAUDE.md or AGENTS.md. Run once per repo.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run once per repository. Safe to re-run: it keeps existing config unless you choose to replace it. Model-invocable, so requests like "set up this project" or "the README is wrong" reach it without a slash command.
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.
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.
Single-context project or multi-context monorepo? Where does CONTEXT.md live?
CONTEXT.md at repo root, ADRs in docs/adr/.CONTEXT.md per app at apps/<app>/CONTEXT.md, ADRs at apps/<app>/docs/adr/.Recommend single-context unless you see an apps/, packages/, or services/ directory with multiple sibling projects.
Which contract format does this repo use for integration boundaries?
Recommend based on detected stack: Python project → Pydantic; TS-only → TypeScript; mixed or HTTP-heavy → OpenAPI; event-driven → JSON Schema.
Where does this project track work items?
bd CLI present or already in usebriefs/ or tasks/ directory, no remote trackerRecommend by checking remote URL (git remote -v), presence of .beads/ or bd CLI, and existing briefs/ or tasks/ directories.
For each answer, copy the matching template from references/templates/ into docs/agents/:
references/templates/domain-docs-{single|multi}.md → docs/agents/domain-docs.mdreferences/templates/contract-format-{openapi|pydantic|ts|jsonschema}.md → docs/agents/contract-format.mdreferences/templates/work-item-tracker-{beads|github|gitlab|local}.md → docs/agents/work-item-tracker.mdAfter copying, fill in repo-specific paths if the template has placeholders.
After the config is written, check the root README.md against the required sections in skills/orchestrator/references/workspace-bootstrap.md (What the project is, Stack, Prerequisites, Setup, Start, Tests, Deploy, Project structure, Known issues, Documentation map). Verify every command against the real scripts (package.json, Makefile, the Procfile) and run the typecheck and test commands before listing them as working. Report missing sections, placeholder commands, and failing checks. Offer to rewrite the README from skills/roles/docs-agent/references/doc-templates.md before writing anything (ask first, never overwrite silently).
Append an ## Agent skills block. Choose the target file by this rule, in order:
CLAUDE.md or AGENTS.md exists, use it.AGENTS.md (host-agnostic).If the target file already has an ## Agent skills heading, stop and ask: "An ## Agent skills block already exists in <file>. Replace it, leave it alone, or merge new entries?" Never silently overwrite.
The block to append:
## Agent skills
This repository is configured for the Skill-Madness toolkit. Agent skills read configuration from `docs/agents/`:
- `docs/agents/domain-docs.md` — where `CONTEXT.md` and ADRs live
- `docs/agents/contract-format.md` — preferred contract format
- `docs/agents/work-item-tracker.md` — work-item tracker for this repo
To re-run setup, invoke `/setup-project-skills`.
Skills that consume this config MUST handle missing configuration explicitly:
/setup-project-skills.CONTEXT.md, docs/adr/), detected contract format, and local briefs/ tracker as applicable. A layout approval never approves contract/tracker defaults. Proceed only after the human approves those exact choices; record them in the handoff. No answer means BLOCKED. The orchestrator's existing single-context/format-by-detection/local-tracker option is retained only with that explicit approval.Example downstream uses:
maintain-context reads docs/agents/domain-docs.md to know whether CONTEXT.md lives at the root or per-app.contract-author reads docs/agents/contract-format.md to pick the right template.orchestrator reads docs/agents/work-item-tracker.md to know where to log work items.Do not silently fall back to defaults. Surface the missing config and name this skill in the error.
Running this skill twice on the same repo must not destroy existing config.
docs/agents/, check if it exists.## Agent skills block in CLAUDE.md / AGENTS.md, apply the same rule: never silently overwrite. Ask first.A second run on an already-configured repo should produce zero file changes if the user picks "keep" for every prompt. That is the success condition for idempotence — the skill is safe to invoke repeatedly without surprises.
project-profiler — run it first if CLAUDE.md does not yet exist; it generates the stack profile this skill annotates.sync-skills — once docs/agents/ is configured, sync skills globally so they can read this config from any project.references/templates/contract-format-jsonschema.md (opens in a new tab)references/templates/contract-format-openapi.md (opens in a new tab)references/templates/contract-format-pydantic.md (opens in a new tab)references/templates/contract-format-ts.md (opens in a new tab)references/templates/domain-docs-multi.md (opens in a new tab)references/templates/domain-docs-single.md (opens in a new tab)references/templates/work-item-tracker-beads.md (opens in a new tab)references/templates/work-item-tracker-github.md (opens in a new tab)references/templates/work-item-tracker-gitlab.md (opens in a new tab)references/templates/work-item-tracker-local.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/architecture-rescueFind deepening opportunities in a codebase (shallow modules, missing seams, leaky abstractions) and present them as numbered candidates for a grilling session before any interface is proposed. Use when the code feels tangled or hard to test. Trigger on "improve architecture", "rescue this codebase", "find refactoring opportunities", "ball of mud", "shallow modules"./artifact-publishPublish a visual or interactive result as a Claude Code Artifact: a self-contained HTML or Markdown page on a private, shareable claude.ai link instead of a local file. Use when a dashboard, report, chart, diagram or prototype reads better as a page. Not the claude.ai design canvas (claude-design-brief). Trigger on "publish this as an artifact", "make a shareable link", "give me a link to this"./babysitKeep an open PR healthy on a schedule: poll for review activity, auto-address bot and Copilot nits and routine rebases, re-run the gate, until the PR is mergeable. HITL on anything irreversible; never auto-merges. The scheduled loop around git-pr-feedback, run as "/loop 5m /babysit". Trigger on "babysit my PR", "watch this PR", "keep my PR green", "keep the PR rebased"./backend-agentBuild API servers, business logic and data layers against authored contracts. Use in native orchestrator dispatch or explicitly requested solo backend implementation; load it when the orchestrator assigns this role or the user asks for it.npx claudepluginhub ivy00johns/skill-madness --plugin skill-madnessOther plugins' skills for the same job