Agent skill · Jeffallan's Claude Skills
/spec-miner Write a specification for code nobody documented
Spec Miner reverse-engineers a specification from an existing codebase. Limited to read and search tools, the agent sets a scope, explores entry points, configuration and routes, traces data flows, and writes observed behaviour as EARS requirements with code locations. It keeps facts and inferences apart and records open questions in their own section.
Works with
- Claude Code
Used forPlanning and specs
When to use it
- You inherited a project with no documentation and need to know what it does.
- You are about to extend a legacy feature and want its current behaviour written down first.
- A new team member needs an architecture overview drawn from the code itself.
How it works
- 1Scope
Decides whether to analyse the whole system or one feature.
- 2Explore
Searches for entry points, TODO markers, environment use and route definitions, and keeps reading until key modules are covered.
- 3Trace
Follows request paths and data flows through the code.
- 4Document and flag
Writes observed requirements in EARS form with file locations, then lists uncertainties and recommendations in a reverse spec file.
What it steers the agent away from
- Claims about behaviour that no code supports.
- Writing the spec before exploration covers the core modules.
- Skipping security and error handling patterns in the analysis.
Install this skill
It installs with the Jeffallan's Claude Skills pack.
Claude Code (plugin marketplace)Adds the marketplace, then installs every skill as one plugin; other routes are in the repo's quick start guide.
/plugin marketplace add jeffallan/claude-skills
/plugin install fullstack-dev-skills@fullstack-dev-skillsCommands come from the author’s README; check it for changes before you run them.
Questions
Will it modify my code?
No. The skill declares only Read, Grep and Glob as allowed tools.
What does the output contain?
Stack and architecture, module layout, observed requirements, non-functional notes, inferred acceptance criteria, open questions and recommendations.
More guides from Jeffallan's Claude Skills
/code-reviewerGet pull request reviews ranked from critical to minorReviews a pull request after restating its intent, then reports critical, major and minor issues, praise, questions and a verdict.Read the guide →/debugging-wizardFind root causes by testing one hypothesis at a timeReproduces a bug, isolates the smallest failing case and tests one hypothesis at a time before fixing and adding a regression test.Read the guide →/feature-forgeTurn a feature idea into a testable written specificationInterviews you from product and developer angles, then writes an EARS-format spec with acceptance criteria and an implementation checklist.Read the guide →/fullstack-guardianBuild full-stack features with security checks before codingBuilds features across database, API and UI after a written design and a security checklist covering auth, validation and encoding.Read the guide →/legacy-modernizerModernize legacy systems in small, reversible stepsPlans strangler fig migrations with characterization tests, feature flags and staged traffic shifts, each phase with a rollback trigger.Read the guide →/the-foolStress-test a plan with structured devil's advocacyChallenges a plan through one of five modes, such as pre-mortem or red team, then helps you rebuild a stronger position.Read the guide →
Also in this pack
/api-designerModels resources and endpoints, writes an OpenAPI 3.1 contract, lints it, mocks it and plans versioning and deprecation.↗/chaos-engineerDesigns chaos experiments with a hypothesis, steady state, blast radius and rollback, and runs game days for distributed systems.↗/code-documenterAdds docstrings, JSDoc and OpenAPI docs in your chosen format and checks that the documented examples still compile or run.↗/database-optimizerCaptures EXPLAIN ANALYZE baselines on PostgreSQL or MySQL, then applies index and query changes one at a time and measures each.↗/devops-engineerWrites Dockerfiles, CI/CD pipelines and IaC, validates them, and asks for approval with a rollback plan before production deploys.↗/fastapi-expertBuilds async FastAPI endpoints with Pydantic V2 schemas, dependency injection, JWT auth and pytest plus httpx tests.↗/kubernetes-specialistWrites Kubernetes manifests with resource limits, probes, RBAC and NetworkPolicies, and verifies rollouts with kubectl.↗/mcp-developerScaffolds MCP servers and clients in TypeScript or Python, defines tool schemas and checks protocol compliance with the inspector.↗/monitoring-expertAdds structured logs, metrics and traces, then builds RED or USE dashboards and alerts that are checked for false positives.↗/nextjs-developerStructures Next.js App Router projects with layouts, server components, caching and metadata, and validates with a production build.↗/playwright-expertWrites Playwright E2E suites with page objects, fixtures and API mocking, and debugs flaky browser tests from traces.↗/postgres-proTunes PostgreSQL with EXPLAIN buffers, B-tree, GIN, GiST or BRIN indexes, replication setup and VACUUM and bloat monitoring.↗
Summary by trendhub. The skill itself lives in Jeffallan/claude-skills/plugin/skills/spec-miner by Jeffallan (MIT); read the full, current text there.