implementation-planning
Plan one bounded implementation ticket before code: produce a reviewed technical design and executable consumer-behavior TDD plan for another agent.
- License 许可
- MIT
- 所属仓库
- jhonDoe15/skills
- 最近更新
- 2026-10-16
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- implementation-planning
- description
- Plan one bounded implementation ticket before code: produce a reviewed technical design and executable consumer-behavior TDD plan for another agent.
- disable-model-invocation
- false
02 资源文件 24
- 参考文档evals/component.json4.3 KB
- 参考文档evals/evals.json32.1 KB
- 参考文档evals/fixtures/cache-refresh.md2.0 KB
- 参考文档evals/fixtures/export-timeout-contract.md1.8 KB
- 参考文档evals/fixtures/fenced-lease-bounded.md1.5 KB
- 参考文档evals/fixtures/pagination-consistency-contract.md1.9 KB
- 参考文档evals/fixtures/payment-retry.md2.4 KB
- 参考文档evals/fixtures/profile-column-migration.md2.3 KB
- 参考文档evals/fixtures/simple-slug-normalization.md1.2 KB
- 参考文档evals/fixtures/upload-cancellation-contract.md1.9 KB
- 参考文档evals/fixtures/webhook-exactly-once.md1.9 KB
- 参考文档evals/outcome.json7.3 KB
- 参考文档evals/package-closure.json1.0 KB
- 参考文档evals/role.json42.8 KB
- 参考文档evals/trigger.json6.0 KB
- 参考文档references/blueprint-review.md3.5 KB
- 参考文档references/engineering-baseline.md9.9 KB
- 参考文档references/engineering-compatibility.md1.0 KB
- 参考文档references/engineering-data-migration.md1.0 KB
- 参考文档references/engineering-reliability.md1.1 KB
- 参考文档references/engineering-security.md1020 B
- 参考文档references/evidence-and-authority.md9.0 KB
- 参考文档references/implementation-blueprint.md21.4 KB
- 脚本test/contracts.test.js35.6 KB
03 SKILL.md 正文
Implementation Planning
Produce one implementation blueprint on the implementation ticket. The blueprint's technical design and TDD test plan make implementation mechanical for the lowest capable model while keeping design and risk decisions in planning.
The blueprint is agent-primary and human-inspectable. Production artifacts stay clear to both audiences.
1. Admit the planning work
Confirm the request targets one bounded implementation ticket and a pre-code technical-design-plus-TDD outcome. Route decomposition, implementation, debugging, one-off advice, broad product planning, and post-implementation review to their owning flows.
Read evidence and authority before discovery. Apply its planning boundary and verify every required input or record a named blocker with its owner and resolution condition.
Complete when: the ticket, requirements, repository, immutable base, authority, prerequisites, constraints, exclusions, and publication authorization are each verified or represented by a blocker.
2. Ground and discover
Preflight engineering-guidance and architecture-review; either missing
canonical Skill blocks dependent work. Invoke architecture-review against the
immutable current architecture and retain its brief as discovery evidence.
Preserve partial or failed results with review-recovery blockers; continue only
work supported by verified evidence. Read and disposition every item in
the mandatory engineering baseline.
Classify work by residual
uncertainty and dispatch independent investigations only for the named gaps
defined in evidence and authority.
Reconcile returns centrally. Bind repository evidence to the immutable base, close affected search paths, and record assumptions, contradictions, rabbit holes, investigator provenance, and meaningful no-hit results.
Complete when: every requirement and affected path has authoritative, base-bound evidence or a recovery blocker; every baseline item has a traceable disposition or an applicability blocker; every investigation has closed its scope or recorded a recovery blocker; and every unresolved fact has an owner and gate.
3. Settle design authority
Apply the support boundary and design-authority gate from evidence and authority. Select only behavior authorized by controlling sources and capabilities verified by evidence. Keep implementation freedom bounded to the smallest consistent design.
Represent each unresolved in-scope behavior or required capability with one unranked decision envelope. Continue only work that is identical under every option; place differing outcomes in a non-executable decision matrix.
Complete when: every implementation-shaping choice is settled with authority and capability evidence or blocks its dependent design fields, scenarios, commands, and slices without embedding a preferred option.
4. Draft the technical design
Use the retained architecture-review brief as the canonical architecture
scan, quality-claim, and persona evidence. Read blueprint
review and the blueprint
contract before drafting. Fill the
technical-design fields from settled evidence.
Reuse its ticket-bounded current-architecture scan; extend the six quality claims to the proposed modules and blueprint as a whole. Draft current and proposed behavior, ownership, interfaces, seams, lifecycle, effects, compatibility, change map, durable rationale, alternatives, diagrams, and ordered implementation slices. Link blocked fields to their decision envelopes.
Complete when: every applicable technical-design field is evidence-backed,
linked to a blocker, or has a justified not-applicable; every consumer
contract, invariant, lifecycle scenario, and changed module has an owner and
proof; and implementation receives no latent design work.
5. Review the design
Invoke architecture-review afresh against one numbered design revision, then
run blueprint review's Spec, Standards, specialist, and needs-decision
extensions against that same revision.
Gate unsettled design findings before comparing alternatives. Integrate compatible corrections centrally, reread the whole artifact, and issue a new revision only after verifying each correction landed consistently.
Complete when: every mandatory and triggered review on the same revision has
an evidence-bearing zero-finding PASS, complete findings, or an INCOMPLETE
record with recovery owner and condition; every exposed design choice is
settled or enclosed by a blocker. Any incomplete review keeps needs-decision.
6. Dispose findings and derive TDD
Apply blueprint review's lossless finding dispositions. Integrate every credible in-scope correction into design, implementation slices, and proof; preserve every source finding identity and closure.
Derive characterization locks and ordered vertical red-green slices from settled consumer contracts, not private structure. Each slice names its approved seam, setup, deterministic controls, stimulus, independent observable assertion, smallest production responsibility, exact focused and regression commands, expected red, green condition, and escalation stop.
Admit each proof command using the blueprint contract. Map every settled
requirement, interface promise, invariant, compatibility promise, and
applicable lifecycle, effect, or failure risk to a discriminating test,
justified non-test proof, evidenced not-applicable, or blocker.
Complete when: every source finding has one valid disposition and closure, every settled proof obligation is traceable, every admitted slice has a full red-green-regression loop, and no executable slice depends on a blocker.
7. Re-review and decide readiness
Invoke architecture-review and every blueprint review afresh against the same
revision containing both plans. Recalculate specialist triggers after each
integrated revision; a credible finding opens a new integration cycle.
Evaluate every readiness check in the blueprint contract against that revision.
Set status ready only when all pass. Otherwise set needs-decision and name
the smallest evidence or owner decision that can satisfy each failed check.
Complete when: one revision has an honest final review record, lossless
finding accounting, and technical and TDD plans consistent with its status:
ready requires every check to pass; needs-decision preserves incomplete
evidence and routes each recovery action to its owner.
8. Publish or return the blueprint
When authorized, replace the complete marked blueprint block on the implementation ticket while preserving unrelated content. Re-read the ticket and verify status, revision, both plans, review record, implementation-start gate, and immutable base.
When publication is unavailable, return the complete canonical draft, exact
target ticket, and explicit publication status. A ready blueprint starts
implementation in a fresh isolated session using implement and tdd; a
needs-decision blueprint returns to its blocker owners and then this skill.
Complete when: the durable ticket or returned draft alone gives a fresh agent the complete next action without treating planning conversation as authority.
04 同仓库更多 Skills
writing-foundation
Shared writing behavior consumed by to-humans and agent-writing; not a user-facing outcome.
to-humans
Audience outcome for ordinary replies, progress updates, and requested prose whose primary reader is a person. Select it independently for human-facing expression, including alongside one substantive Primary outcome. Excludes agent-facing artifacts, fresh-context handoffs, Agent Skill packages, and non-prose work products.
ticket-scope
Private per-candidate scope judgment consumed by Slice Plan and PR Carver; not a user-facing planning outcome.
take-ticket
Use when a settled ticket must reach a reviewed-ticket result. Used directly or by Dispatch Work. Excludes implementation-only work, review-only work, ticket topology, publication, release, and multi-ticket dispatch.
take-it-offline
Use when carrying current work into a fresh agent context through a continuation handoff. Excludes human summaries, archival specifications, general agent-facing artifacts, and Agent Skill authoring.
slice-plan
Private set-level decomposition consumed by Carve; not a user-facing planning outcome.