ksdisch

Spec Miner — Testing & QA agent for Claude Code

Testing & QA community

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

Terminal
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

  • Spec Guardian — Validates planned work against specs and project rules; blocks spec drift 539 ★
  • Distill — Extract an Allium specification from an existing codebase 474 ★
  • Omd Codex Image — Channel-aware image materializer 465 ★

Full documentation available on GitHub

View Source Repository