用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/edwinhu/workflows --skill dev-plan-reviewer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use for feature development and engineering changes.
This skill should be used when the user asks to 'start data analysis', 'plan a data project', 'explore this dataset', 'what should I analyze', 'set up a new study', or needs the data-science workflow.
Use when the user asks to 'run a work workflow', 'do this properly', 'clarify, plan, and verify this', 'small structured task', or 'don't just wing it' for a bounded task too small for a specialized workflow.
基于 SOC 职业分类
正在显示 SKILL.md
| name | dev-plan-reviewer |
| description | Internal dev native-plan review gate after approval and before implementation. |
| user-invocable | false |
| disable-model-invocation | true |
| hooks | {"PreToolUse":[{"matcher":"Write|Edit|Bash","hooks":[{"type":"command","command":"bun ${CLAUDE_PLUGIN_ROOT}/hooks/reviewer-verdict-guard.ts --workflow dev"}]}]} |
!bun ${CLAUDE_SKILL_DIR}/../../scripts/load-constraints.ts dev-plan-reviewer
NO IMPLEMENTATION WITHOUT AN INTACT, REVIEWED NATIVE PLAN. The user-approved generated plan is immutable intent; task detail must be independently checked before workers execute it.
Retain the exact generated plan path and authenticated {planFile, planHash} returned by the
completed native Plan interaction. Dispatch the reviewer as a fresh subagent: the dispatched agent
is a distinct actor from this conversation, and the later implementers must in turn be actors
distinct from it. If that path is unavailable, stop: never list .planning/, glob plans, inspect a
receipt to invent a path, use a fixed PLAN.md, or choose a recent file.
PROVES. Under an APPROVED, hash-matched receipt, the actor performing a gated mutation is a
different hook actor from the recorded approver and the recorded reviewer: three distinct
(session_id, agent_id) tuples observed on the tool calls themselves.
DOES NOT PROVE. That the implementer is not a descendant of the approver — in
single-conversation /dev it always is. Nor independence of judgment: approver, reviewer, and
implementer are the same model, in the same repository, reading the same plan, which
hooks/subagent-start.ts injects into the subagent. Nor anything about Bash-based mutation beyond
what hooks/_bash_mutation.ts's denylist catches — writes performed inside an opaque executable
(make, cargo build, ./scripts/build.sh) are admitted by design.
approver != implementer is a separation-of-actors control that raises the cost of self-approval.
It is not evidence of independent review in the sense a human reviewer would mean. Full statement:
the header of workflows/lib/approved-artifact.ts.
Agent(
subagent_type="workflows:plan-checker",
allowed_tools=["Read", "Glob", "Grep", "Bash", "Write"],
description="Review dev native plan",
# Plan review is a blocking gate: this conversation cannot proceed without the verdict.
# Agent defaults to background, and a backgrounded reviewer returns a completion
# NOTIFICATION, not a verdict — the dispatcher then idles waiting for one. Dispatch synchronously.
run_in_background=false,
prompt="""
Workflow/domain: dev
Reference root: ${CLAUDE_SKILL_DIR}/../../references
Plan: <exact generated plan path returned by the completed native Plan interaction>
Inputs: <concrete project paths examined during reconnaissance and named by this plan>
Read every deterministically discovered common and dev constraint before reviewing. Validate the
complete dev grammar: all eight required sections, REQ-NN IDs, TASK-NN task blocks, acyclic
dependencies, TaskContract fields, RED/real-test commands, requirement-to-test coverage, evidence,
and review surfaces. Review only the exact supplied generated plan. Rehash immediately before
finalization. Write only the guarded complete-plan hidden receipt if all dispatch, integrity, and
review requirements are valid.
""")
Replace both angle-bracket placeholders with concrete paths before dispatch. The reviewer may
write only .planning/.state/review.json; it preserves the approval fields and finalizes one
APPROVED or ISSUES_FOUND outcome. It never patches, copies, renames, or creates a visible
verdict for the plan.
skills/dev-implement/SKILL.md using the current exact
{planFile, planHash}, dispatching implementers as subagents distinct from BOTH the reviewer
and the approving conversation. Dispatching is not implementing: this conversation approved the
plan and may delegate the work, but it may never perform that work itself.ExitPlanMode approval, and dispatch a fresh review. Do not patch approved bytes.