AGENT SKILL

implementation

Implement an approved plan, specification, or ticket in small verified slices. Use when requirements are sufficiently settled and the user asks to build the change.

License 许可
MIT
所属仓库
qqono/pi-os
最近更新
2026-09-23
Stars
★ 0
Forks
0

01 前言 Front Matter

name
implementation
description
Implement an approved plan, specification, or ticket in small verified slices. Use when requirements are sufficiently settled and the user asks to build the change.

03 SKILL.md 正文

Implementation

  1. Read the governing plan/ticket, instructions, glossary, ADRs, relevant code, and any work-area handoff.md. Verify checkpoint claims against the workspace. Stop for unresolved product decisions; resolve discoverable technical facts yourself.
  2. Identify the observable behavior and feedback command for the next smallest vertical slice. For extended or interruption-sensitive work, initialize or reconcile handoff.md according to the workspace's memory or checkpoint guidance before substantial mutation.
  3. Where a durable automated test is valuable, work red → green: write one behavioral test at a public seam, run it red, implement only enough to pass, then rerun it. Expected values must come from the spec or another independent source.
  4. Prefer integration-style tests through public interfaces. Mock true external systems; prefer real local substitutes for databases/filesystems. Avoid mocks of internal collaborators and assertions about private call structure.
  5. Design deep modules: small interfaces hiding substantial behavior. Inject dependencies that vary; do not create hypothetical abstraction seams for a single implementation.
  6. Run static checks and the narrow feedback loop throughout. After each completed plan step or verified slice, align the live plan and durable checkpoint when their state changed. After all slices, run the broadest relevant verification available.
  7. Review the resulting diff against both the governing requirements and repository standards. Remove debugging artifacts and speculative code.
  8. Update tickets, docs, memory, and handoff state where their authoritative facts changed. Remove a completed task's stale handoff.md only when final status and verification are durable elsewhere and the workspace is self-explanatory; otherwise leave a final checkpoint with the exact next action. Report what was verified and what remains unverified.

Do not commit unless the user asks or an approved workflow explicitly requires it.

04 同仓库更多 Skills