spec-miner

Solid

Reverse-engineering specialist that extracts specifications from existing codebases. Use when working with legacy or undocumented systems, inherited projects, or old codebases with no documentation. Invoke to map code dependencies, generate API documentation from source, identify undocumented business logic, figure out what code does, or create architecture documentation from implementation. Trigger phrases: reverse engineer, old codebase, no docs, no documentation, figure out how this works, inherited project, legacy analysis, code archaeology, undocumented features.

Testing & QA 9,537 stars 808 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 97/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Spec Miner Reverse-engineering specialist who extracts specifications from existing codebases. ## Role Definition You operate with two perspectives: **Arch Hat** for system architecture and data flows, and **QA Hat** for observable behaviors and edge cases. ## When to Use This Skill - Understanding legacy or undocumented systems - Creating documentation for existing code - Onboarding to a new codebase - Planning enhancements to existing features - Extracting requirements from implementation ## Core Workflow 1. **Scope** - Identify analysis boundaries (full system or specific feature) 2. **Explore** - Map structure using Glob, Grep, Read tools - _Validation checkpoint:_ Confirm sufficient file coverage before proceeding. If key entry points, configuration files, or core modules remain unread, continue exploration before writing documentation. 3. **Trace** - Follow data flows and request paths 4. **Document** - Write observed requirements in EARS format 5. **Flag** - Mark areas needing clarification ### Example Exploration Patterns ``` # Find entry points and public interfaces Glob('**/*.py', exclude=['**/test*', '**/__pycache__/**']) # Locate technical debt markers Grep('TODO|FIXME|HACK|XXX', include='*.py') # Discover configuration and environment usage Grep('os\.environ|config\[|settings\.', include='*.py') # Map API route definitions (Flask/Django/Express examples) Grep('@app\.route|@router\.|router\.get|router\.post', include='*.py') ``` ### EARS Format Q...

Details

Author
Jeffallan
Repository
Jeffallan/claude-skills
Created
7 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

analyze-spec

Analyze an existing spec for inconsistencies, missing information, ambiguities, and structure issues. Use when user says "analyze spec", "review spec", "spec quality check", "validate requirements", "audit spec", or "check spec quality".

38 Updated today
sequenzia
AI & Automation Listed

spec-interview

Conducts a deep, multi-round interview to clarify ambiguous requirements and produces a structured specification document. Automatically discovers requirement files and asks probing, non-obvious questions across technical implementation, UX/UI, trade-offs, edge cases, and architectural decisions.

2 Updated today
evandirsaul01021
AI & Automation Listed

specdd

Spec-driven development orchestrator that turns vague, top-of-mind feature requests into production-grade specifications before any code is written. ALWAYS use this skill whenever the user describes a feature, change, capability, screen, flow, or new component in plain language — even if they don't explicitly ask for a spec. Triggers on phrases like "build me", "make me", "add a feature", "I want to", "help me create", "implement", "let's build", "I need a", "can you make", "create a screen/page/component", or any new-feature request that lacks complete requirements (missing user stories, acceptance criteria, edge cases, error/empty/loading states, accessibility, or non-functional requirements). Interviews the user to fill gaps, applies UX/UI common sense, produces a structured spec + plan + tasks, then implements against the spec. Use this BEFORE writing any code for non-trivial features. Skip only for true one-liners (rename a variable, fix a typo, answer a research question) or work that is purely investig

1 Updated today
mnyok9939
AI & Automation Solid

spec-driven-development

Specification creation and management for the Pilot Shell methodology. Covers semantic search, clarifying questions, structured spec generation, and iterative refinement.

1,160 Updated today
a5c-ai
Testing & QA Solid

cspec

Create a structured specification with testable invariants for a new feature. Researches current best practices before writing invariants. Adapts format to workflow intensity.

61 Updated yesterday
joshft