Implementation plan review

From blockscout/mcp-server · View interactive version

Implementation plan review is an AI agent skill from the GitHub repository blockscout/mcp-server. Expert review of an implementation plan against a GitHub issue/enhancement description (provided as a local file or a GitHub issue URL) and the current repository codebase. Use when asked to critique a plan for correctness, completeness, codebase alignment, risks, and test/rollout readiness (do not

How to use this skill

Skill file

Implementation Plan Review (Expert)

Review an implementation plan for coverage, correctness, and fit with the current codebase. Do not implement.

Inputs

If the user provides a GitHub issue number, prefer fetching it into a local file using the bundled script:

bash scripts/fetch_github_issue.sh <issue-number> --out /tmp/issue.md

Run this command from the skill directory when that directory is inside the target repository. If it is not, keep the

command agent-agnostic by resolving the script path relative to this skill directory while running gh from the target

repo so the issue number resolves against the correct repository.

Fetching is a network operation. When command execution is sandboxed, request

network escalation (require_escalated) for this exact fetch command rather

than granting a reusable broad bash permission. On failure, follow the

script's self-contained ACTION line. It distinguishes unavailable network

(exit 6), credentials unavailable to the process (exit 3), other GitHub

fetch failures (exit 4), and local output failures (exit 5).

Workflow

1) Prepare a clean review run:

bash scripts/new_scratchpads_dir.sh <plan-file>

2) Read the two inputs in full:

3) Apply versioning neutrality policy:

4) Apply review-noise policy:

5) Validate codebase reality (start targeted, expand as needed):

Suggested commands (adapt as needed):

rg -n "name_in_plan|function_in_plan|ENV_VAR_IN_PLAN" -S .
rg -n "ToolResponse\\[|@mcp\\.tool\\(|log_tool_invocation" blockscout_mcp_server -S
rg -n "ServerConfig\\(|BaseSettings\\(|BLOCKSCOUT_" blockscout_mcp_server/config.py -S
rg -n "pytest\\.mark\\.integration|tests/integration|tests/tools" tests -S

6) Independently adjudicate candidate findings:

Read these two skill resources completely before creating candidate inputs or

launching adjudicators:

Treat every initially suspected problem as a candidate, not a final

finding. Do not create candidates for pure summary text or obvious nits.

For each candidate, create a directory in the clean run:

finding-01-short-slug/
├── input.md
├── full-report.md  # written by the adjudicator
└── brief.md        # generated by the finalizer

Create input.md with:

Closed are all successful outcomes.

Do not include prior scratchpad conclusions, a preferred solution, expected

disposition, or another adjudicator's work.

Launch one independent subagent per candidate, batching when concurrency is

limited. Use fork_turns="none" so the adjudicator receives only the

candidate input and stable protocol. Prefer a strong reasoning model

(gpt-5.6-sol with xhigh reasoning when available) unless the user

requests otherwise. The launcher prompt should contain only:

Each adjudicator must write full-report.md, run

scripts/finalize_adjudication.py, fix every validation error, and return

only the protocol's short completion record. The script deterministically

generates brief.md; the adjudicator must not edit the brief.

After all adjudicators finish, independently verify the complete run:

python3 scripts/verify_adjudication_run.py \
  --run <absolute-run-directory> \
  --expected-count <candidate-count>

If verification fails, send the exact errors back to the responsible

adjudicator and require it to correct and re-finalize its report. Do not use

an invalid or stale brief.

Read all valid brief.md files first. Open the full report or extract a

tagged section only when progressive disclosure is warranted, for example:

Extract one validated section without loading the full report:

python3 scripts/finalize_adjudication.py \
  --report <candidate-directory>/full-report.md \
  --extract <section-slug>

The main agent owns cross-finding work: deduplicate overlapping candidates,

resolve conflicts, apply one common severity scale, and assess cumulative

scope. Case-specific rubric totals are not comparable across candidates.

Only Confirmed, actionable Downgraded, and unresolved Question

candidates may reach final §4. Omit Closed candidates. Point the final

comment's Scratchpad field to the candidate's generated brief.md, never

directly to full-report.md. The brief's generated Source link is the

progressive-disclosure path to the full report.

7) Produce the review in the required format (next section).

Required output format

Produce a review with these sections:

1) Understanding

2) Plan ↔ Requirements coverage

3) Codebase alignment

4) Review comments (actionable)

Provide comments as a list. Each comment must include:

Testing gaps rule:

5) Junior-dev readiness check

6) Test & rollout strategy

Review focus checklist (use as prompts, not new requirements)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.