‹ 首页

review-plan

@hawkyre · 收录于 昨天 · 上游提交 1 个月前

Stress-test a plan file before committing to implementation. Catches architectural mistakes, convention violations, and missing dependencies while changes are still cheap. Invoked directly, not routed from coding-process.

适合你,如果你需要在动手编码前快速验证计划方案的可行性

/ 通过 npx 安装 校验哈希
npx oh-my-skill add hawkyre/hawk-skills/review-plan
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- hawkyre/hawk-skills/review-plan
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify hawkyre/hawk-skills/review-plan
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
28GitHub stars
~636上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 6ffb2d6 · 表述以原文为准
它做什么

它审查计划文件,找出架构错误、约定违规和缺失依赖,并在修改代价最小时提出必须修复、应该修复和可考虑改进的问题。

什么时候触发

当你直接要求它审查一份计划文件(如 plan.html 或 .md 文件)时触发。

装好后可以这样说
它会加载计划并检查技术合理性
它会遍历增量间的依赖排序
技能原文 SKILL.md作者撰写 · MIT · 6ffb2d6

Review a Plan

Process
  1. Load the plan and its context: Read the plan file(s) and any siblings. Plans are HTML — .plans/<slug>/plan.html (single-PR) or the overview.html / data-model.html / plan.html / decisions.html / verification.html / contracts.html set (multi-PR), plus inc-<N>-notes.md. Legacy plans may still be Markdown (*.md) — read whichever exists. Machine fields live on data-* attributes (increments: data-inc, data-size, data-depends, data-files, data-done); read those when checking dependency ordering and done-criteria. Read the relevant .agents/standards/ files that apply to the planned work.
  1. Review for technical soundness:
  2. Are the architectural decisions correct given the codebase?
  3. Are the dependencies between increments properly ordered?
  4. Are there missing increments or gaps in the sequence?
  5. Will each increment actually pass CI independently?
  1. Review for convention compliance:
  2. Does the plan follow the project's standards?
  3. Are files placed in the right directories?
  4. Does the naming follow conventions?
  5. Are there patterns in .agents/common-mistakes/ that the plan risks repeating?
  1. Review for conversation fidelity: If reviewing a plan produced during an active conversation, check whether all decisions, constraints, and answered questions from the discussion are captured in the plan. A correct plan that doesn't match what was agreed is worse than a slightly imperfect plan that does. Skip this step if reviewing a plan file without conversation context.
  1. Review for implementability:
  2. Is each increment scoped tightly enough to implement in one session?
  3. Are the "done criteria" specific and verifiable?
  4. Are there ambiguities that will force the implementer to make undocumented decisions?
  1. Summarize findings:
  2. MUST FIX — Issues that would cause implementation failure or architectural problems
  3. SHOULD FIX — Issues that would cause friction or technical debt
  4. CONSIDER — Suggestions for improvement
Rules
  • Reviewing a plan is 10x cheaper than fixing a bad implementation
  • The best time to catch a missing dependency is before any code exists
  • Convention compliance in the plan prevents convention violations in the code
  • An adversarial reviewer should argue _against_ the plan — not just validate it
  • Big-output discipline. Heavy command output (project check, full git diff, repo-wide search, long log, large fetch) goes to /tmp/hawk-<skill>-<step>.log, then rg -n '<pattern>' /tmp/hawk-<skill>-<step>.log | head -50 extracts what you need. Read the file only with offset/limit. See README → Big-output discipline.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。