implement
Implement one ticket with TDD at seams, type checking, tests, code-review, then commit. Called by wayfinder for each implementation ticket. The per-ticket quality gate replaces the old final review pass.
- License 许可
- MIT
- 最近更新
- 2026-08-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- implement
- description
- Implement one ticket with TDD at seams, type checking, tests, code-review, then commit. Called by wayfinder for each implementation ticket. The per-ticket quality gate replaces the old final review pass.
03 SKILL.md 正文
Implement
Implement one ticket. This is the per-ticket implementation cycle, called by wayfinder for each ticket in the breakdown.
Process
-
Confirm the ticket is unblocked — its dependencies (if tracked) are done. If not, report back to wayfinder to pick a different one.
-
Red. Write a failing test at a pre-agreed seam (public interface). Confirm it fails for the expected reason, not an unrelated error.
-
Green. Write the smallest honest implementation that makes the test pass. No hardcoding expected output.
-
Type check regularly throughout implementation.
-
Run tests — the specific test file as you work, then a full test sweep at the end. Evidence gate: the ticket is not done until you paste the actual green test/command output. Asserting "tests pass" without the output does not advance the ticket.
-
Invoke
skills/code-review/SKILL.mdto review the work. -
Commit the work to the current branch. One commit per completed ticket with a message describing what it delivers.
-
Update tracking — mark the ticket as done in the configured tracker.
TDD discipline
Uses /codebase-design vocabulary for seam placement: accept
dependencies don't create them; place seams at volatile boundaries;
the interface is the test surface.
- Tests verify behavior through seams — pre-agreed public interfaces and boundaries. Never test implementation internals.
- Red before green. No implementation before its test exists and fails for the right reason.
- Green means smallest honest implementation. No stubbing the behavior under test.
Reference: skills/tdd/SKILL.md for the full TDD
discipline (red→green, anti-patterns).
Anti-patterns (never do these)
- Implementation-coupled tests (testing private methods, internal state).
- Tautological assertions (mock wired to be called, then asserted).
- Horizontal slicing within a ticket.
- Skipping the code-review step.
Bundled skill references
skills/tdd/SKILL.md— TDD discipline referenceskills/codebase-design/SKILL.md— vocabulary for seam placement and interface depth
What this skill must never do
- Never skip tests at agreed seams.
- Never commit without the full test sweep passing.
- Never skip code review before committing.
- Never write a test that can't actually fail.
04 同仓库更多 Skills
wayfinder
The orchestration hub for all work. Creates a map of investigation tickets (grilling, research, prototype, task, bug), resolves them one at a time with strict grilling discipline, manages risk posture pauses during implementation, and hands off to to-spec when the map is complete. Use for any work regardless of size — a trivial task has a small map, a large migration has many tickets.
to-tickets
Break the spec into small, independently-implementable tracer-bullet vertical slices. No checkpoint gate — hands off directly to wayfinder for implementation orchestration.
to-spec
Synthesize a specification from the completed wayfinder map. Never runs its own interview — it only writes down what wayfinder's grilling tickets already established, at a depth proportional to the project's documentation tier.
tdd
Reference material for test-driven development discipline. Red before green, one slice at a time. Use as reference during implementation, not as a step-by-step procedure.
start-session
Orient a new session in any project directory. Detects empty directory, existing codebase, or resume state, gathers cheap signals, and routes to wayfinder. The only user-invoked entry point.
setup
Configures the issue tracker. Called by start-session during first orient. Model-invoked — runs automatically as part of the flow, not user-triggered.