CommunitySchreiben & Editierengithub.com

jameswei/plan-build-review

A gated, role-based workflow, with independently reviewed plans, task-by-task delivery, and explicit approval checkpoints.

Was ist plan-build-review?

plan-build-review is a Claude Code agent skill that a gated, role-based workflow, with independently reviewed plans, task-by-task delivery, and explicit approval checkpoints.

Funktioniert mitClaude CodeCodex CLI~Cursor
npx skills add jameswei/plan-build-review

Installed? Explore more Schreiben & Editieren skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Plan, Build, Review

Coordinate scoped work without mixing planning, implementation, and review. The main agent owns scope, sequencing, global coherence, user communication, and approval gates. It must not outsource product, architecture, or complexity judgment to role verdicts.

Spawn every named role with a fresh, isolated context and a minimal, authoritative task packet. Self-contained does not mean copying the full plan or parent conversation.

  • In Codex, always call spawn_agent with fork_turns="none" — the default is fork_turns="all", which inherits the entire parent conversation.
  • In Claude Code, use a normal non-fork custom subagent invocation.

Do not rely on or inherit parent conversation history. Give each role a short decision summary: project purpose, target user and deployment model, owner decisions, explicit exclusions, relevant roadmap delta, and the current approval or release state. Add only the plan slice and evidence needed for the role's assigned judgment. If this summary conflicts with the source plan or repository evidence, stop and escalate.

1. Preflight

  1. Read applicable repository instructions and status documents.
  2. Inspect the base branch, working tree, relevant code, tests, and public contracts.
  3. Preserve unrelated changes. Stop if they prevent safe work.
  4. Identify a lowercase hyphenated scope slug. Record a version only when the work is a versioned milestone or release.

2. Plan and Review

  1. Spawn pbr-explorer only for a bounded investigation that materially improves planning.
  2. Spawn pbr-planner with the request, decision summary, repository instructions, preflight evidence, and explorer findings. Require a decision-complete plan with ordered, reviewable tasks. The plan must state which material requirements come from the owner and which are inferred; compare its scope with the roadmap; and explicitly flag any new public contract, compatibility promise, deployment model, or security posture for owner decision before the plan can pass.
  3. Reconcile the draft with repository evidence in the main thread.
  4. Spawn a fresh pbr-reviewer with the decision summary, relevant evidence, and draft. Require one leading verdict: PASS, CHANGES_REQUIRED, or BLOCKED. The reviewer must make two separate judgments: a premise review (purpose, user, architecture, deployment, compatibility, security, and roadmap delta) and a specification review (scope, dependencies, actionability, acceptance, and validation). PASS requires both judgments to pass.
  5. Return accepted blocking findings to the same planner, then use a fresh reviewer. Ask the user when a material decision or missing evidence blocks planning, or the same blocker survives two review cycles.
  6. Present only a passed plan, its premise summary, assumptions, and non-blocking notes. Stop for explicit user approval.

Do not create a branch, save the plan, or implement before approval. Revisions return to planning and require another plan review and approval.

3. Establish the Approved Work

  1. Recheck the branch and working tree.
  2. Create a branch and plan path that follow repository conventions. By default, use work/<slug> and docs/plans/<slug>.md; for a versioned milestone, milestone/<version>-<slug> and docs/plans/<version>-<slug>.md remain suitable examples.
  3. Save the approved plan and commit it before implementation.
  4. Create a task ledger from the approved tasks. Track pending, building, reviewing, accepted, or blocked, plus checkpoint and validation evidence.

Keep the approved plan immutable. Record progress in the ledger and commits.

4. Execute One Task at a Time

Do not begin a later task until the current task passes review, validation, and has a stable checkpoint commit.

For each task:

  1. Mark it building and record its review base.
  2. Spawn a fresh pbr-builder with the decision summary, the approved plan slice for one task, repository instructions, review base, accepted-task summaries, working-tree state, and validation commands. The builder must stop and report rather than mechanically implement when a task needs a new premise, crosses an unplanned abstraction boundary, creates unexpected producer-consumer coupling, depends on incidental environment state, or cannot leave the branch correct on its own.
  3. Inspect the returned delta and evidence. A task or PR is the smallest semantically complete, independently mergeable, independently verifiable unit; do not split only by file type, code layer, or a fixed template. Split or combine work only when the resulting units each preserve a clear invariant and do not rely on a future task to repair a known incomplete state. Otherwise return to planning and approval.
  4. Mark it reviewing. Select the smallest sufficient review charter for the change: implementation, final surface, integration, or another explicitly stated risk-based charter. Spawn a fresh pbr-reviewer with the decision summary, approved plan slice, task, review-base delta, repository instructions, accepted-task summaries, validation evidence, selected charter, and what that review is not intended to prove.
  5. On CHANGES_REQUIRED, send accepted blocking findings to the same builder, rerun validation, and use a fresh reviewer. On BLOCKED, obtain the missing evidence, capability, or user decision. Stop when the same blocker survives two review cycles.
  6. After PASS, rerun required validation and confirm the reviewed delta is unchanged. Review any tracked output changed by validation.
  7. Commit the accepted delta with its task ID, mark it accepted, and report the checkpoint and evidence.

5. Integration Review

  1. After all tasks are accepted, run the complete validation suite.
  2. Spawn a fresh pbr-reviewer with the request, approved plan, ledger, checkpoints, verdicts, validation evidence, repository instructions, and full branch diff.
  3. Review cross-task behavior, cumulative acceptance criteria, scope, public contracts, regressions, omitted requirements, and the chosen integration charter. Trace material claims through user entry points, code paths, outputs, tests, and public descriptions where applicable.
  4. Treat required fixes as a narrow task: build, validate, review, and checkpoint it before repeating integration review.

The approved work is complete only after PASS.

6. Visibility

Use the native plan display when available. Show setup, each task, integration review, and publication; keep it synchronized with the ledger.

Keep internal role and ledger detail available for coordination, but report to the human at each meaningful state change: current state, what happened, actual impact, next expected event, and whether a decision is needed. Distinguish a product or data correctness issue from a merge-gate failure and a workflow issue. Include task ID, role, and review pass in internal task names. During long operations, post a brief human-readable heartbeat at least once per minute.

7. Publication Gate

Before requesting publication approval, confirm that all tasks and integration review passed, required validation is green, the branch contains only accepted work, and PR or release prerequisites are available.

Summarize the outcome, checkpoints, tests, final verdict, non-blocking notes, and working-tree state. Ask before pushing or opening a draft pull request. Never merge automatically.

Verwandte Skills

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community