一键导入
discussion-to-implementation-doc
Convert a completed requirements, design, feasibility, or review discussion into an implementation-readiness source document.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert a completed requirements, design, feasibility, or review discussion into an implementation-readiness source document.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Operate and test a local or SSH-reachable macOS desktop through nils-cli macos-agent, with AX-first actions, screenshots, scenarios, explicit postconditions, guarded replay, and privacy-preserving journals.
Review a code change through an internally selected quick, focused, specialist, follow-up, or pre-merge mode and return evidence-grounded findings.
Open or resume one shared dispatch plan issue, coordinate independently reviewed lane PRs, integrate approved work, and close through strict gates.
Open or resume one lightweight issue-backed plan tracker and carry it through implementation, review, PR delivery, strict closeout, and archive handoff.
Deliver GitHub pull requests or GitLab merge requests end to end through the released nils-cli `forge-cli pr deliver` macro.
Review a code change through an internally selected quick, focused, specialist, follow-up, or pre-merge mode and return evidence-grounded findings.
| name | discussion-to-implementation-doc |
| description | Convert a completed requirements, design, feasibility, or review discussion into an implementation-readiness source document. |
Use this skill after a discussion or review has converged and the next useful artifact is a repo-local source document that future implementation can read.
Prereqs:
Inputs:
Outputs:
docs/discussions/<YYYY-MM-DD>-<slug>.md for
converged requirements, design, feasibility, product, architecture,
customer-facing, review, risk, lessons-learned, or fix-later material that
is captured for later work but is not an executed-and-archived plan bundle.docs/plans/<YYYY-MM-DD>-<slug>/<slug>-discussion-source.md (or
<slug>-review-source.md for review / risk / backlog material) and include
the Execution plan lines below.docs/source/ for repo-wide architecture / specs / policy) — a deliberate
promotion, not this skill's default.Read First when execution sequencing is needed.Execution section with stable Recommended plan and
Recommended execution state lines only for the L2 plan-source case; omit
them for a docs/discussions/ capture and for promoted canon.skill-usage.record.v1 envelope that links the created document and validation
evidence.Exit codes:
Failure modes:
deliver-plan-tracking-issue or deliver-dispatch-plan as appropriate for
the issue-backed workflow; each parent opens a missing tracker internally.handoff-session-prompt instead.Confirm this is the right artifact
core/policies/heuristic-system/error-inbox/<slug>/ENTRY.md instead of a
docs/discussions/ capture.docs/discussions/<YYYY-MM-DD>-<slug>.md as the default home. Use a
docs/plans/<YYYY-MM-DD>-<slug>/ bundle only for a document that will feed
an executed-and-archived plan; promote into domain docs/runbooks (or
docs/source/) only when the content is durable canon.docs/discussions/ capture to L2: when it later needs a
tracked plan, move it into a docs/plans/<YYYY-MM-DD>-<slug>/ bundle as
<slug>-discussion-source.md (retire the docs/discussions/ original),
author the <slug>-plan.md + <slug>-execution-state.md, then run the
selected plan delivery outcome. Promotion is a move, not a copy.handoff-session-prompt.review-evidence CLI record as the primary artifact for this workflow. If review findings or validation records matter, attach or link
those evidence files from the document.Run project preflight and choose the destination
docs/discussions/<YYYY-MM-DD>-<slug>.md
for captured discussion / spec material that is not an
executed-and-archived plan.docs/plans/<YYYY-MM-DD>-<slug>/<slug>-discussion-source.md (or
<slug>-review-source.md for review / risk / backlog material).docs/source/
for repo-wide) only when the content is authoritative knowledge meant to
remain after execution.docs/discussions/,
docs/plans/, and the canon homes already cover these cases.Gather and classify discussion content
Open Questions
section.Assumptions section as a place to store
unresolved options.Write the implementation-readiness document
# <Subject> Implementation HandoffOpen Questions section by default. If prior open
questions have been decided, convert them into Decisions or
Decision log bullets with the chosen outcome and any non-blocking
consequence. If an unresolved
question would materially change the document's facts, scope, acceptance
criteria, or next artifact, pause and ask before writing instead of
publishing a misleading source document.docs/plans/<YYYY-MM-DD>-<slug>/),
include these stable machine-checkable lines in the Execution section:
Recommended plan: docs/plans/<YYYY-MM-DD>-<slug>/<slug>-plan.mdRecommended execution state: docs/plans/<YYYY-MM-DD>-<slug>/<slug>-execution-state.md
Omit the Execution plan lines for a docs/discussions/ capture.Read First section links a document produced by this
skill, use Source type: discussion-to-implementation-doc for both
*-discussion-source.md and *-review-source.md; do not use the retired
review-to-improvement-doc source type.Route review work when the source document needs review guidance
review-evidence CLI records when retained review findings or validation
records materially affect the implementation source. Keep this document as
the primary read-first artifact.Update discoverability
docs/plans/<YYYY-MM-DD>-<slug>/ source document, use the plan's
Read First section as the discoverability path; for a docs/discussions/
capture, link it from the PR or issue that acts on it. Do not update broad
indexes by default.Validate
Record usage when retained evidence is required
skill-usage.record.v1 evidence envelope.agent-out project --topic skill-usage --mkdir run directory.skill-usage verify --out <record-dir> --format json; use the documented local checkout fallback when PATH has not caught up.Close the decision loop in the final response
Open questions not written to the document section.code-review-specialists: use for later read-only review; it selects quick,
focused, pre-merge, follow-up, or specialist mode from scope and delivery
context. Link any retained review-evidence CLI record from this document.deliver-plan-tracking-issue: use when a lightweight issue-backed plan is
ready to open or resume, execute, and deliver.deliver-dispatch-plan: use when implementation needs dispatch lanes,
PR grouping, independent lane review, and final dispatch closeout.handoff-session-prompt: use after this skill when the user wants a copy-ready prompt for a fresh session; put this document under
Read First.