tracerkit
v1.4.7
Published
Spec-driven workflow for Claude Code: replace ad-hoc prompts with PRD → plan → verify.
Downloads
2,586
Maintainers
Readme
Replace ad-hoc AI prompts with a repeatable three-step spec process: from idea to verified, archived code.
Named after the tracer-bullet technique from The Pragmatic Programmer — Tracer + Kit.
Zero runtime dependencies. Pure Markdown skills, no build step.
Why TracerKit?
Without specs, every AI session starts from scratch — vague prompts, duplicated context, no way to confirm "done." Most planning tools produce flat task lists where nothing works until everything is done.
TracerKit takes a different approach: tracer-bullet vertical slices. Each phase cuts through every layer (schema → service → API → UI → tests), so every phase is demoable on its own. Integration problems surface early, context stays focused, and AI assistants get small, well-scoped phases instead of sprawling layers.
Get Started
Install
npx tracerkit initSkills are installed globally to ~/.claude/skills/, available in every project. No per-project setup needed.
Workflow
You: /tk:prd add dark mode support
AI: ✓ Written .tracerkit/prds/dark-mode-support.md
You: /tk:plan dark-mode-support
AI: ✓ Phase 1 — CSS variables + ThemeProvider
✓ Phase 2 — Toggle component + localStorage
✓ Written .tracerkit/plans/dark-mode-support.md
You: /tk:verify dark-mode-support
AI: ✓ All done-when conditions met
✅ PASS — archived to .tracerkit/archives/dark-mode-support/See Examples for full walkthroughs.
To scope skills to a single project (team members get them via git):
npx tracerkit init . # install to .claude/skills/ in current dir
npx tracerkit update . # update project-scoped skills
npx tracerkit uninstall . # remove project-scoped skillsSkills
TracerKit ships four skills — three for the core workflow, one for visibility.
Core skills
Three steps that take a feature from idea to verified archive.
/tk:prd <idea>: Write a PRD
Interactive interview that explores your codebase, asks scoping questions one at a time, designs deep modules, and writes a structured PRD.
Output: .tracerkit/prds/<slug>.md
/tk:plan <slug>: Create an implementation plan
Reads a PRD and breaks it into phased tracer-bullet vertical slices. Each phase is a thin but complete path through every layer (schema, service, API, UI, tests), demoable on its own.
Output: .tracerkit/plans/<slug>.md
/tk:verify <slug>: Verify and archive
Read-only review that checks the codebase against the plan's done-when conditions. Runs tests, validates user stories, and stamps a ✅ PASS or 🚧 NEEDS_WORK verdict. On ✅ PASS, archives the PRD and plan to .tracerkit/archives/<slug>/ automatically.
Output: Verdict block in .tracerkit/plans/<slug>.md. On ✅ PASS: .tracerkit/archives/<slug>/prd.md + .tracerkit/archives/<slug>/plan.md
Helper skills
Useful but optional.
/tk:status: Workflow dashboard
Scans .tracerkit/prds/ and prints a table of all features grouped by status (in_progress, created, done), with age, latest verdict, and blocker/suggestion counts. Read-only. No files are modified.
Docs
| Document | Description |
| ------------------------------------------------ | -------------------------------------------------- |
| Examples | Walk through end-to-end usage scenarios |
| CLI Reference | Browse all CLI commands and flags |
| Configuration | Configure custom artifact paths via config.json |
| Metadata Lifecycle | Understand YAML frontmatter states and transitions |
| Compared to | Compare TracerKit to Spec Kit, Kiro, and OpenSpec |
Contributing
- Fork the repo and create a feature branch
- Use TracerKit itself to plan your change (
/tk:prd+/tk:plan) - Implement following the plan phases
npm run lint:fix && npm run test:run && npm run typecheck- Conventional Commits (enforced by commitlint)
- Open a PR against
main
Support
For support, please open a GitHub issue. We welcome bug reports, feature requests, and questions.
Acknowledgments
This project was born out of Claude Code for Real Engineers, a cohort by Matt Pocock. The hands-on approach to building real things with Claude Code sparked the idea for TracerKit. If you're serious about AI-assisted engineering, I can't recommend Matt's cohorts and content highly enough.
