mcpField
T
tracer-bullets

tracer-bullets

github.com/oakossDevelopment20100 installsUpdated 10w ago
Repository

About tracer-bullets

tracer-bullets is a development method that builds and verifies small slices across layers before expanding. It suits work where early feedback matters and identifies simple or already-decomposed tasks that can skip the process.

Key features

  1. 01Build features as end-to-end slices
  2. 02Verify each slice before proceeding
  3. 03Scope slices to one agent session
  4. 04Set patterns with the first feature
  5. 05Identify tasks to use or skip the method

Use cases

  1. 01Implementing and verifying CRUD features incrementally
  2. 02Breaking imports or wizards into end-to-end steps
  3. 03Avoiding backend-first or UI-first development across all features

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/oakoss/agent-skills --skill tracer-bullets

After installing, type/tracer-bulletsin Claude Code to confirm it loaded.

Details

From the project README

Tracer Bullets

Build features as vertical slices through all layers, verifying each slice before starting the next. From The Pragmatic Programmer: get feedback as quickly as possible. Don't build horizontal layers in isolation (all endpoints, then all UI, then all tests). Build one thin vertical path, verify it works, then expand.

Skip for single-layer changes, one-file bug fixes, or work already decomposed into ordered vertical slices by a task tracker.

Quick Reference

PrinciplePractice
Vertical over horizontalBuild one slice through all layers, not one layer across all features
Verify before advancingTests pass, page renders, round-trip works before next slice
One slice per sessionEach slice should be completable in a single agent session
First feature sets patternFirst CRUD establishes conventions; subsequent CRUDs go faster
Check before buildingTask trackers may already decompose the work into slices
Skip when trivialSingle-layer work or proven patterns don't need this ceremony

CRUD Feature Slices

SliceScopeVerifies
1Backend/API + tests (no UI)Data layer works, conventions set, tests prove it
2List page with real dataData flows DB -> server -> rendered page
3Create dialogFull round-trip: form -> server -> DB -> refresh
4Edit + deleteFull CRUD cycle, mutation patterns, confirm dialog
5E2E testLocks in the whole feature

Non-CRUD Adaptations

Same principle, different slices:

  • Import flow: parse one row -> display one row -> validate + dedupe -> review + commit
  • Dashboard: one widget with real data -> empty/onboarding state -> layout with all widgets
  • Search/palette: one entity type -> all entity types -> quick actions
  • Multi-step wizard: first step end-to-end -> add steps one at a time -> final submission

Common Mistakes

MistakeCorrect Pattern
Building all API endpoints before any UIBuild one endpoint + its UI + its test, then the next
Starting UI before the backend is testedSlice 1 is backend-only with tests; prove the data layer first
Building the full create/edit/delete UI in one passCreate dialog first (slice 3), then edit + delete (slice 4)
Skipping verification between slicesRun tests and check output before starting the next slice
Making slices too large for one sessionSplit further; a slice that can't finish in one session is too big
Applying tracer bullets to trivial single-layer workSkip for one component, one utility, or patterns already proven

Delegation

  • Decompose into subtasks: Use the project's task tracker to create ordered vertical subtasks before writing code
  • Isolate each slice: Delegate each slice to a subagent so failures stay contained and context stays fresh
  • Find slice boundaries for non-CRUD work: Pick the smallest path through all layers as slice 1, then expand

References

No reference files. Source: Tracer Bullets: Keeping AI Slop Under Control

Comments

Markdown supported