When you inherit a codebase with zero documentation or need to understand what legacy code actually does, this skill systematically reverse engineers it into proper specs. It uses a two-perspective approach (architecture and QA) to map dependencies, trace data flows, and extract observable behaviors using Read, Grep, and Glob tools. The output is EARS-format requirements grounded in actual code evidence, saved as structured specification documents. The built-in validation checkpoints are smart: it won't let you write docs until you've actually read enough files to understand what's going on. Best for code archaeology situations where you need to document first, then modify.
npx skills add https://github.com/jeffallan/claude-skills --skill spec-miner