一键导入
tracer-dev
Execute tracer bullet development - implement tasks with validation, code review gates, demos, and learning propagation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute tracer bullet development - implement tasks with validation, code review gates, demos, and learning propagation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | tracer-dev |
| description | Execute tracer bullet development - implement tasks with validation, code review gates, demos, and learning propagation. |
Execute the build-validate-review cycle for tracer bullet development.
Before any flow, find the plan files:
docs/tracers/**/state.jsonTwo files per feature:
state.json - Machine state (task passes, commits, current tracer)PROGRESS.md - Human-readable plan and learningsAll state updates go to state.json. Learnings are appended to PROGRESS.md.
Check state.json:
│
├─ No state.json found
│ └─ STOP: "Run spec-planner then /overseer-plan first to create a plan"
│
├─ Current tracer has tasks with passes: false
│ └─ → NEXT-TASK FLOW
│
├─ All tasks pass, tracer status != "complete"
│ └─ → REVIEW-TRACER FLOW
│
├─ Tracer complete, more tracers remain
│ └─ Advance currentTracer → NEXT-TASK FLOW
│
└─ All tracers status: "complete"
└─ DONE: "Feature complete!"
Is lastReviewedTracer == currentTracer - 1?
├─ No → "Complete tracer review first"
└─ Yes → Continue
If feature status is planning, update it to in_progress in state.json before starting work.
Proceed immediately to Step 1 without asking for confirmation once preconditions are satisfied.
Read state.json and find first task with passes: false in the current tracer.
Also read the context block for patterns and key files to guide exploration.
Before ANY code, produce a brief plan:
## Micro-Plan: Task X.Y - <name>
**Goal**: <one sentence>
**Implementation** (minimal):
1. <step>
2. <step>
...
**Validation**:
- <how we prove this works>
**Not doing** (explicit scope):
- <what we're deferring>
Key principles:
Run ALL verification steps from the task's steps array. Also run project validation (typecheck, tests, lint).
afplay /System/Library/Sounds/Ping.aiff
Present to user:
## Code Review: Task X.Y
Files changed:
- <file> (+X, -Y)
Verification steps:
- <step 1>: PASS
- <step 2>: PASS
Project validation:
- Typecheck: PASS or SKIPPED (reason)
- Tests: PASS or SKIPPED (reason)
- Lint: PASS or SKIPPED (reason)
Request approval inline (do not open question mode): reply **"lgtm"** to approve, or provide feedback.
WAIT FOR USER RESPONSE
Loop until user says "lgtm".
After "lgtm", proceed immediately to commit, mark the task complete, and start the next task without asking for confirmation.
After approval, always commit the task. This ensures the next task's review only shows new changes.
Run the commit and state.json update using a background agent with openrouter/z-ai/glm-4.7-flash.
git add -A && git commit -m "feat(<scope>): <task description>"
Update state.json for the task (handled by the background agent):
{
"passes": true,
"commit": "<commit-hash>"
}
Continue to next task, or if all tasks in current tracer have passes: true → REVIEW-TRACER FLOW.
All tasks in current tracer have passes: true in state.json.
Check each criterion from the tracer's proves field:
## DoD Audit: Tracer N
proves: "<what this tracer validates>"
Evidence:
- [x] <criterion>: <evidence>
- [x] <criterion>: <evidence>
- [ ] <criterion>: MISSING - <what's needed>
If any criterion unmet → Add tasks to state.json (with passes: false), return to NEXT-TASK FLOW.
If tasks are added after a tracer was reviewed, set in state.json:
{
"lastReviewedTracer": N-1,
"currentTracer": N
}
afplay /System/Library/Sounds/Hero.aiff
Present demo instructions:
## Demo: Tracer N
Please run:
<demo command from PROGRESS.md>
Expected result:
<expected output from PROGRESS.md>
Request response inline (do not open question mode): run the demo and reply "pass" to continue, or describe what went wrong.
WAIT FOR USER RESPONSE
Use the ask question tool to ask questions:
What did we learn from this tracer?
- Decisions made?
- Surprises?
- Things to remember for future tracers?
Update both files:
state.json - Add to tracer's learnings array:
{
"learnings": ["<learning>", "<learning>"]
}
PROGRESS.md - Append under the tracer's Learnings section:
### Learnings
- <learning>
- <learning>
Review remaining tracers in light of learnings:
## Future Tracer Review
Based on learnings from Tracer N:
Tracer N+1: <name>
- Still makes sense? [yes/adjust]
- Demo still valid? [yes/adjust]
- New tasks needed? [no/add]
Update PROGRESS.md if any changes needed.
Update state.json:
{
"lastReviewedTracer": N,
"currentTracer": N+1,
"tracers": [{
"id": N,
"status": "complete",
"completed": "<ISO date>"
}]
}
If this was the final tracer, also set:
{
"status": "complete"
}
afplay /System/Library/Sounds/Funk.aiff
Tracer N complete!
Progress: N/<total> tracers done
Next: Tracer N+1 - <name>
Continuing to the next tracer.
Build a fast, actionable branch/PR/commit context pack with scope, intent, changed files, hotspots, risks, and next actions. Use before handing work to another agent, reviewing a branch, resuming unfamiliar work, or preparing a PR/code-review prompt.
Create reviewed Codex goal setup packages for long-running /goal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final /goal prompt.
User guide for the local squash-safe `stack` CLI for stacked PR repair. Use when someone asks how to inspect, track, sync, merge, repair, document, or undo stacked pull requests in squash-merge repositories. Prefer this tool over GitHub's `gh stack` command for this workflow.
Manage long-running terminal jobs in a dedicated tmux-opencode session using wrapper scripts for run/wait, health checks, and crash-recovery cleanup.
Video understanding and transcription with intelligent multi-provider fallback. Use when: (1) Transcribing video or audio content, (2) Understanding video content including visual elements and scenes, (3) Analyzing YouTube videos by URL, (4) Extracting information from local video files, (5) Getting timestamps, summaries, or answering questions about video content. Automatically selects the best available provider based on configured API keys - prefers full video understanding (Gemini/OpenRouter) over ASR-only providers. Supports model selection per provider.
Designs and refactors React component APIs toward compound composition: fewer boolean mode props, clearer seams, context-backed internals, and JSX-first variant assembly. Use when building or reviewing React components with many props, conditional render branches, render props/slots, shared form/composer/card/table internals, or when the user mentions composition, compound components, Radix-style APIs, prop drilling, boolean props, or "composition is all you need".