What problem does it solve? When adopting a spec-driven development pipeline on an existing or legacy project, architects lack the grounding documentation needed to design a sound technical specification (TRD). This Skill fills that gap by producing a baseline document describing the existing system. ## Core Features & Use Cases - Conditional Pipeline Stage: Runs only when the repository lacks sufficient documentation about existing code, avoiding redundant work. - Codebase Archaeology: Invokes the codebase-archaeologist agent to analyze a repository or a specific area and produce docs/BASELINE.md covering system overview, conventions, and technical debt. - Scoped Analysis: Supports scoping to the whole repository or a specific area relevant to an in-progress spec. - Use Case: You adopted the SDD template on a legacy project and the architect flagged missing grounding for a TRD. Run this Skill to document the existing system before designing the new feature. ## Quick Start Ask the assistant to run the baseline step on this repository to generate docs/BASELINE.md describing the existing codebase.