skills/spec-writing/SKILL.md
Author REQUIREMENTS.md + DESIGN.md + TODO.md for a feature. The three files are one contract; they ship together.
npx skillsauth add the-own-lab/Claude-company-of-one spec-writingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Produce the three-file feature spec under docs/projects/<project>/specs/YYYY-MM-DD-<slug>/.
REQUIREMENTS defines acceptance, DESIGN defines approach, TODO defines executable
checklist. They are a single contract.
BRIEF.md ## Current Contract + ## Assumptions.research (validated library facts) and clarify (resolved decisions).docs/projects/<project>/specs/YYYY-MM-DD-<verb>-<slug>/REQUIREMENTS.md.../DESIGN.md (with Non-Goals and Alternatives Considered sections — mandatory).../TODO.md (checkbox list, one per acceptance criterion or design step)Update BRIEF.md ## Active Specs with the three paths.
<today-YYYY-MM-DD>-<imperative-verb>-<slug>
(e.g., 2026-04-21-add-spec-writing-skill).verify. One behavior per REQ.update-docs ticks post-execution.adr-writing).update-docs)./think never auto-escalates, ADR-001 D4).documentation
Update BRIEF.md sections during a command run. Any skill that produces a brief-persisted artifact calls this to write it back.
development
Post-code check: run tests + confirm TODO acceptance items map to passing tests; applies a security lens but is not a separate scan.
documentation
Command post-step: write CHANGELOG + TODO once per command run. One call, not per-skill doc writes.
testing
/review Layer 1 auditor + /think self-review. Three contexts: think-self-review, review-spec, review-implementation. Also judges reconstruction drills.