用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dikamilo/dx-workflow --skill dx-plan-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Archive a completed change or effort — move its folder to context/archive/ and stamp it archived.
Record one finding — a warning or a decision-with-rationale — as an append-only entry in foundation/lessons.md.
Start a new piece of work — creates a change or an effort and points you at the next step.
基于 SOC 职业分类
正在显示 SKILL.md
| name | dx-plan-review |
| description | Review a change's plan before implementation — substance, feasibility, fit, and standards match. |
| disable-model-invocation | true |
| argument-hint | ["change-id"] |
An optional pre-implementation gate. Where dx-implement asks "did we build the plan?", this asks "will this plan actually work?" — a flawed plan costs hours, a flawed review costs minutes. Report only: you analyze and recommend, you never edit plan.md or the code it describes. Fixes are for the user or dx-plan to apply.
Guard. Resolve <change-id> under context/changes/; its plan.md must exist — if not, tell the user to run /dx-plan <change-id> first. If the path is under context/archive/, refuse: an archived change is done.
plan.md fully, plus the change.md (note type) and any research/, frame.md, diagnosis.md it draws on.plan-template reference (invoke dx-references with plan-template) — so you know the shape a sound plan should have.context/standards/ and the knowledge-layer reference (invoke dx-references with knowledge-layer) — you need the matching heuristic and the real catalog yourself to catch a standard the plan's own checklist missed, not just re-check what it already listed.review-report reference (invoke dx-references with review-report) — the finding-ID/Resolution schema and file convention shared with impl-review and review-triage.foundation/glossary.md — a one-line habit: judge naming against the project's established terms.plan.md already has (the same
triggers dx-plan step 2 uses, checked against the diff scope, change.md's type, and
frame.md's who/what-it-affects): a wrongly-omitted section must be as reachable as a
present-but-wrong one.
plan-data-model.plan-api-contracts.plan-failure-modes.Read the plan against itself first (the cheapest, highest-value pass), then against reality.
plan-failure-modes, is the undo path documented alongside the execute path — not just "we can revert the commit" when data or external state has already changed?plan-failure-modes, do the external calls and migrations this change introduces have documented failure modes (partial failure, retry/idempotency), not just the happy path?plan-api-contracts, is a breaking change named as one, with affected callers and a compatibility path — not left to pass as a plain extension?A conditional topic that loaded but whose section is missing from plan.md entirely is itself a finding under the dimension above — silence there is exactly what these checks exist to catch.
To check claims against the real codebase — riskiest file paths, unlisted callers, whether a pattern already exists — fan out to built-in Explore subagents with targeted questions. Don't dump the whole plan; a focused prompt finds more.
Compile a concise markdown list — no tables, no box-drawing, no severity matrix. Follow the review-report reference's finding format (each finding needs a Why it matters line, not just Detail), tagging each with [Blocker] or [Consider]. If the plan is sound, say so in a line — don't manufacture findings. If context/standards/ doesn't exist yet, don't fault the plan for "no standards matched" as if the dimension were checked clean — flag it as a low-priority Consider finding pointing at /dx-standards-discover instead. Close with a one-line verdict: sound / revise / rethink.
Write it to context/changes/<change-id>/reviews/plan-review.md (create reviews/ if absent) per the reference's file convention, and print the same list to the user. Do not touch plan.md.
The findings file exists and is printed, and plan.md and the code are unchanged. Then print the next command and stop — no auto-chain:
Plan review: context/changes/<change-id>/reviews/plan-review.md
Next: /dx-review-triage <change-id> plan — triage findings and apply fixes to plan.md
or: /dx-implement <change-id> (/dx-tdd <change-id> for defect/test-first) — proceed as-is