What problem does it solve? Turning a lengthy discovery report into a concise, canonical feature specification is manual and error-prone. This Skill automates the derivation of spec.md from an approved discovery document, enforcing structure, traceability, and approval gates in a spec-driven development workflow. ## Core Features & Use Cases - Discovery-to-Spec Derivation: Reads an approved discovery report from reports/ and condenses it into the canonical spec sections (purpose, scope, behavior, constraints, success criteria). - Approval Gate Enforcement: Aborts if the discovery report is not marked as approved, and keeps the generated spec at Aprovado: false until explicit user confirmation. - Traceability & Template Filling: Fills a canonical spec-template.md with placeholders and adds a mandatory Discovery Report reference field for end-to-end traceability. - Use Case: After finishing a brainstorm session that produced reports/042-login-discovery.md, invoke this Skill to generate specs/features/042-login/spec.md, review a preview, adjust sections, and save before moving to plan generation. ## Quick Start Generate the spec from the approved discovery report reports/042-login-discovery.md and save it under specs/features/.