What problem does it solve? Technical specifications drift out of sync with code and decisions, and teams lose track of which version of a spec was actually approved. This Skill designs, updates, or retrospectively documents a technical specification as one coherent contract, binding approvals to exact content and recording provenance for every derived artifact. ## Core Features & Use Cases - Three authoring modes: CREATE a new specification, UPDATE an existing one, or DOCUMENT an existing codebase retrospectively by extracting architecture, APIs, and components from actual code. - Multi-source support: Works with explicit local file paths, inline prompt requirements (via an approved work-local candidate), or Notion-backed sources with transport synchronization. - Provenance receipts: Writes spec/README.md plus a machine-readable spec/provenance.json recording source locators, template identity, content hashes, and logical-unit mappings. - Use Case: Point it at an existing Express codebase with --capability=express-api and it extracts the tech stack, routes, and components into a structured capability specification without inventing requirements. ## Quick Start Ask the agent to document the existing codebase into a capability specification using spec-code with a chosen capability slug such as --capability=express-api.