AGENT SKILL

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

  1. Confirm the ticket is unblocked — its dependencies (if tracked) are done. If not, report back to wayfinder to pick a different one.

  2. Red. Write a failing test at a pre-agreed seam (public interface). Confirm it fails for the expected reason, not an unrelated error.

  3. Green. Write the smallest honest implementation that makes the test pass. No hardcoding expected output.

  4. Type check regularly throughout implementation.

  5. 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.

  6. Invoke skills/code-review/SKILL.md to review the work.

  7. Commit the work to the current branch. One commit per completed ticket with a message describing what it delivers.

  8. 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 reference
  • skills/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

lynchypin
lynchypin/project-onboard

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.

★ 0
lynchypin
lynchypin/project-onboard

to-tickets

Break the spec into small, independently-implementable tracer-bullet vertical slices. No checkpoint gate — hands off directly to wayfinder for implementation orchestration.

★ 0
lynchypin
lynchypin/project-onboard

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.

★ 0
lynchypin
lynchypin/project-onboard

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.

★ 0
lynchypin
lynchypin/project-onboard

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.

★ 0
lynchypin
lynchypin/project-onboard

setup

Configures the issue tracker. Called by start-session during first orient. Model-invoked — runs automatically as part of the flow, not user-triggered.

★ 0