Spec Miner — Testing & QA agent for Claude Code
Extracts behavioral specs from an existing codebase into flat Requirement/Invariant blocks with machine-parseable metadata (entities, enforced, id, test anchors), one spec file per capability at opens.
How to install Spec Miner
Installs to ~/.claude/agents/ksdisch-claude-config-spec-miner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ksdisch/claude-config/HEAD/agents/spec-miner.md -o ~/.claude/agents/ksdisch-claude-config-spec-miner.md Restart Claude Code, or start a new session, for it to be picked up.
What Spec Miner does
name: spec-miner description: Extracts behavioral specs from an existing codebase into flat Requirement/Invariant blocks with machine-parseable metadata (entities, enforced, id, test anchors), one spec file per capability at openspec/specs//spec.md. Two dispatch modes — without a CAPABILITY input it maps the repo and returns the capability list; with one it mines that capability. Repo-read-only except the single spec file it writes — and it never overwrites an existing spec unles
Alternatives in Testing & QA
- Component Config Reader — Extracts the test surface (properties, styles, events, defaults, nested variants) from a ToolJet app-builder c 41k ★
- Omd Codex Image — Channel-aware image materializer 465 ★
- Test Refactor Specialist.Agent — Improves test code quality and maintainability 225 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Ctdd Red
TDD RED phase test writer. Reads a spec and writes failing tests that encode every rule/invariant/prohibition.
Cutsmith Warden
Editing supervisor and QA for cutsmith video edits, callsign WARDEN. Blocks every cut list before the user see
Logic Architect
Extract capabilities and behaviors from spec. Outputs JSON that MUST validate against schemas/capability-map.s
Cha Mutant Smith
Writes mutants that break one meaning-carrying line each, with anchors lifted verbatim and a real test path. U
CLI QA
QA del CLI. Úsalo antes de publicar una versión o al agregar un comando. Verifica que cada subcomando tenga co
Backend Test Architect
Use this agent when you need to design, implement, or review unit tests for NextJS backend components followin
Related Skills
Autoconst Spec Compliance Claude
Cross-check a Revit model against its written CSI construction spec. Auto-indexes the spec into SQLite, auto-e
Pith Graph
Run the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]],
AutoConst Spec Index Claude
Index a 500+ page construction specifications book into a queryable SQLite database. Extracts every division,