用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/edwinhu/workflows --skill writing-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.
正在显示 SKILL.md
基于 SOC 职业分类
| name | writing-plan-reviewer |
| description | Internal writing native-plan review gate after approval and before drafting. |
| 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 writing"}]}]} |
After the approved native Plan interaction completes, retain its exact generated plan path and dispatch
the reviewer as one fresh subagent, a distinct actor from this conversation and from implementation. If that exact path is unavailable, STOP; never
list .planning/, choose the newest file, or infer a filename.
Agent(
subagent_type="workflows:plan-checker",
allowed_tools=["Read", "Glob", "Grep", "Bash", "Write"],
description="Review writing 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: writing
Reference root: ${CLAUDE_SKILL_DIR}/../../references
Plan: <exact generated plan path returned by the completed native Plan interaction>
Inputs: <one or more concrete source, reference, or output paths named by that plan>
Review the exact supplied generated plan; never discover or substitute another plan file. Write only the guarded complete-plan verdict if the dispatch contract and all required files are valid.
""")
Replace both angle-bracket placeholders with concrete paths before dispatch. The reviewer deterministically
loads common plus writing constraints, hashes the exact generated path before review and immediately before
finalization, and may replace only .planning/.state/review.json. It must reproduce workflow, plan_file,
plan_hash, approved_session_id, and approved_at unchanged, then set only status, the
reviewer actor identity the guard supplies as its reviewer_session_id, and strict reviewed_at.
APPROVED: begin outlining and drafting through actors 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.ISSUES_FOUND: return to native Plan mode, create a new generated file, obtain fresh approval, then dispatch a fresh review.Never patch generated plan bytes, write PLAN_REVIEWED.md, self-approve, or substitute automated document review for whole-plan review.