一键导入
subagent-dev-with-codex-and-thermo-reviews
Use when executing Patchmill implementation plans that require final full-worktree readiness review before landing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when executing Patchmill implementation plans that require final full-worktree readiness review before landing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when executing Patchmill implementation plans that require one plan implementation subagent and final full-worktree readiness review before landing
Use when executing Patchmill implementation plans with Superpowers task-level development plus final validation and pull-request readiness, without extra Codex or thermo-nuclear full-worktree reviews
Decide when Patchmill may direct-land and when it must open a PR.
Use when Patchmill run-once changes visible UI and needs committed reference screenshot evidence in the final pr-created JSON.
Use for Patchmill run-once spec and plan creation. Wraps sibling Superpowers brainstorming and writing-plans skills with Patchmill worktree, artifact path, and test-value policy.
Use when creating, editing, reviewing, or refactoring code modules to keep files focused, readable, and maintainable as code grows.
| name | subagent-dev-with-codex-and-thermo-reviews |
| description | Use when executing Patchmill implementation plans that require final full-worktree readiness review before landing |
Execute the implementation plan with Superpowers' subagent-driven-development pattern, then close the work with Codex, thermo-nuclear, and final validation-readiness review before landing.
Core principle: task-level reviews catch local issues; final full-worktree reviews and final validation readiness catch integration, regression, structural, and known command failures before Patchmill lands or opens a PR.
../subagent-driven-development/SKILL.md and read its prompt templates
from ../subagent-driven-development/ before dispatching task-level
subagents.superpowers:verification-before-completion
before claiming success.subagent with the canonical reviewer agent for both final code
review passes and the final validation-readiness review.subagent with worker to fix accepted final-review findings, final
validation findings, and code-related failed PR checks.code-reviewer; in Pi, it is a disabled compatibility
shim.Before launching any subagent, list available agents with
subagent({ action: "list" }) and confirm reviewer and worker are
executable.
Patchmill runs this skill inside a one-turn, non-interactive pi -p invocation.
Preserve the configured worker and reviewer topology, including multiple
sequential or parallel runs, while keeping lifecycle ownership in the parent
agent.
subagent({ action: "status" }) to inspect active runs, or include an
id to inspect one run.wait({ id }) or wait({ all: true }) rather than ending the turn.Follow the installed sibling Superpowers subagent-driven-development workflow for all implementation tasks:
Adapt its subagent wording to Pi:
worker unless the task
is so mechanical that the active project has a more specific worker agent.reviewer with
fresh context.superpowers:code-reviewer or
code-reviewer, replace that role with Pi reviewer. Never dispatch legacy
code-reviewer.Do not replace task-level reviews with the final reviews below. Both are required.
After all plan tasks and task-level reviews are complete:
HEAD.git status --short.Refresh this scope snapshot before every final review dispatch and every
re-review dispatch. If a worker fix pass commits or edits files, update current
HEAD, git status --short, and validation summary before asking the reviewer
to inspect the next version.
If validation fails, fix validation failures before requesting final reviews.
Dispatch a fresh-context, review-only reviewer subagent using
prompts/final-review.md and Armin Ronacher's Codex review prompt adaptation.
Use:
rubrics/armin-codex-review-prompt.mdFinal Codex full-worktree reviewThe reviewer must not edit files. It must inspect the code directly, cite file/line evidence, and return a clear verdict.
If the Codex reviewer reports Critical or Important findings, or any Minor finding that should be fixed before landing:
worker using prompts/fix-review-findings.md.Ask the human before applying any review item that changes product scope, architecture beyond the approved plan, public API, migration strategy, or landing policy.
Only start this after the Codex final review loop is closed.
Dispatch a fresh-context, review-only reviewer subagent using
prompts/final-review.md.
Use:
rubrics/cursor-thermo-nuclear-code-quality-review.mdFinal thermo-nuclear full-worktree reviewThe reviewer must focus on structural maintainability, abstraction quality, codebase health, and code-judo simplifications without changing behavior.
If the thermo-nuclear reviewer reports actionable findings worth doing before landing:
worker using prompts/fix-review-findings.md.Do not use the thermo-nuclear pass as permission for broad unapproved rewrites. Escalate scope or architecture changes to the human first.
Only start this after the Codex and thermo-nuclear review loops are closed.
Refresh base SHA, current HEAD, git status --short, plan/spec paths, required
validation commands, and prior validation evidence.
Dispatch a fresh-context, review-only reviewer using
prompts/final-validation-review.md. The reviewer must run every feasible
required final command and treat any repository-fixable non-zero result as an
Important or Critical finding. Every base-to-head file is in scope, including
materialized plan/spec files and files created by earlier workflow commits.
Prior passing summaries are evidence only. They do not permit the reviewer to
skip commands. Landing is blocked until the reviewer returns pass or
pass-with-deferred-minor-findings.
When the validation-readiness reviewer reports repository-fixable findings:
worker using the skill's existing fix-review-findings.md
contract (prompts/fix-review-findings.md).If validation is blocked by external tooling, infrastructure, credentials, or operator action, return the existing blocked contract with evidence. Never classify a branch-added failing file as out of scope merely because the implementation worker did not edit it.
After all three final review gates are closed:
merged only after the final validation-readiness
review passed.pr-created final JSON with
only current passing validation evidence.worker using
prompts/fix-pr-checks.md, then wait for replacement checks after its push.For GitHub, use gh pr checks and gh run view --log-failed or equivalent
supported commands. For Forgejo/Gitea, use the configured tea or API tooling.
If required checks cannot be observed, report that limitation rather than
claiming the PR is ready.
rubrics/armin-codex-review-prompt.md — Armin Ronacher's adaptation of the
Codex review prompt.rubrics/cursor-thermo-nuclear-code-quality-review.md — Cursor Team Kit
thermo-nuclear code quality review rubric.prompts/final-review.md — final reviewer subagent contract.prompts/fix-review-findings.md — worker fix subagent contract.prompts/final-validation-review.md — final review-only command execution and
validation finding contract shared by both implementation workflows.prompts/fix-pr-checks.md — worker contract for code-related failed checks on
an existing pull request, shared by both implementation workflows.Never:
superpowers:subagent-driven-development when
this final-readiness workflow is required.pr-created before observable required checks finish.wait when no independent work
remains.Review passes should use fresh context:
subagent({
agent: "reviewer",
context: "fresh",
task: "Use prompts/final-review.md with the selected rubric file and final scope below...",
output: false,
});
Final validation uses fresh reviewer context:
subagent({
agent: "reviewer",
context: "fresh",
task: "Use prompts/final-validation-review.md with the final scope and required commands below...",
output: false,
});
Fix passes should use the normal implementation worker:
subagent({
agent: "worker",
task: "Use prompts/fix-review-findings.md for accepted review or validation findings below...",
});
PR-check repair uses the normal worker context:
subagent({
agent: "worker",
task: "Use prompts/fix-pr-checks.md for failed check evidence below...",
});