bcheck · ai4xe, claude-code — Claude Code skill: plan review and installation
bcheck — a skill for Claude Code that independently reviews analyses and development plans. Run it after a document is prepared or when a review is requested.
MIT ★ 136 updated 2026-11-16
/plugin marketplace add AI4XE/Parallax
/plugin install parallax@parallaxWhat bcheck does
bcheck reviews documents about bug fixes, proposed features, and plans. It checks the reasoning, supporting evidence, and whether the proposed steps are sound. For a completed-work summary, it compares each item with the plan.
In Claude Code, the skill uses the Skill tool to invoke a subagent and passes it the complete source document and its path. The report goes to a designated path; if its directory is missing, the skill creates it with mkdir -p. General analysis reports use docs/dev/analysis/{name}-bcheck-N.md; version-fix reviews use docs/dev/review/v{version}-bcheck-N.md.
What it helps with
- check the evidence behind a bug analysis
- find gaps in a proposed feature plan
- compare an implementation summary with its plan item by item
- save an independent review in a separate report
Example prompts for the agent
- Run
/bcheckto review this plan independently. - Use
/bcheckto examine the evidence in this bug analysis and save a report. - Compare the implementation summary with the plan item by item using
/bcheck.
How to install bcheck
1Plugin marketplace
/plugin marketplace add AI4XE/Parallax/plugin install parallax@parallaxThis installs the whole parallax plugin with all its skills
2Skills CLI (Vercel)
npx skills add AI4XE/Parallax --skill bcheck -a claude-code3Manually: put the files in place
~/.claude/skills/bcheck/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/bcheck/
1Skills CLI (Vercel)
npx skills add AI4XE/Parallax --skill bcheck -a codex2Manually: put the files in place
.agents/skills/bcheck/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add AI4XE/Parallax --skill bcheck -a cursor2Manually: put the files in place
.cursor/skills/bcheck/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install AI4XE/Parallax platforms/claude-code/skills/bcheck2Manually: put the files in place
.github/skills/bcheck/SKILL.md1Skills CLI (Vercel)
npx skills add AI4XE/Parallax --skill bcheck -a gemini-cli2Platform CLI
gemini skills install https://github.com/AI4XE/Parallax --path platforms/claude-code/skills/bcheckManually: put the files in place
.devin/skills/bcheck/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about bcheck
How do I install bcheck in Claude Code?
Add the marketplace with /plugin marketplace add AI4XE/Parallax, then install the skill with /plugin install parallax@parallax.
What does bcheck do?
It independently reviews bug analyses, feature proposals, and development plans. For a completed-work summary, it checks each reported item against the plan.
What does bcheck need to run?
In Claude Code, invoke it through the Skill tool and pass the full source document with its path to the subagent. On other platforms, invoke the skill through that platform’s supported method.
Source text
SKILL.md · MIT
---
name: bcheck
description: "Independent review of the main developer's analysis/plan documents (bug fixes, new features, plans, mixed), verifying that the analysis is correct, the evidence sufficient and the plan sound; for implementation-summary commits, check completion item by item. Trigger words: bcheck, plan review, analysis review."
portable: true
version: 2.0.1
display_lang: en
---
# bcheck
Independent review of hotfixes or any other matter. Review the main developer's document (bug fix / new feature / plan / mixed) and verify that the analysis is correct, the evidence sufficient and the plan sound.
Special case: if the main developer's submission is an implementation summary (for an already completed task), check completion item by item against the plan (if any) and the implementation summary.
Display language priority: trigger-message language > explicit user instruction (e.g. "use English" takes effect immediately) > the frontmatter `display_lang` field default; for a bare command with no language signal, read this file's frontmatter `display_lang` value before replying and use it as the default display language.
## Trigger conditions
- After the main agent finishes root-cause analysis or a plan and writes the document, and **before** reporting to the user, it must invoke `/bcheck`
- The user manually invokes `/bcheck`
## Usage
**⚠️ This skill must be invoked through the Skill tool (i.e. `/bcheck`); do not substitute a generic Agent tool call with a self-written prompt.**
**Review model**: use this skill's `skill.conf` `review_model` (resolution chain: conf value > host CLAUDE.md rule (if any) > session default model). Empty/missing = session default model; do not upgrade on your own, and do not downgrade to a faster/cheaper model.
Claude invokes a subagent through the Skill tool to perform the review. You must pass the **full original analysis or plan document** to the subagent; summaries are not accepted. Also pass:
- Analysis document path
- Report output path (**do not derive it from the analysis document path; choose it by the rules below**; create the directory with `mkdir -p` if missing):
- Project version fix (hotfix/major version) → `docs/dev/review/v{version}-bcheck-N.md`
- General/infrastructure analysis → `docs/dev/analysis/{name}-bcheck-N.md`
### Analysis document structure (the main developer must follow)
File path: `docs/dev/analysis/{descriptive-name}.md` (bug analysis may use `{project}-bug-analysis-v{version}.md`; plans/proposals may be named freely)
First determine the type and organize the content flexibly by type:
**Bug fix**:
1. **Symptom**: the concrete problem seen by the user or in tests (logs, exception messages, metric drops)
2. **Root-cause hypothesis**: what is believed to be the cause
3. **Code evidence**: which file and line cause the problem
4. **Actual test evidence**: what commands/queries were run, what actual results were obtained, proving the root cause. Must be actually executed output (pytest output, model inference results, DB query results, grep output, log excerpts, etc.); "inferred from reading code" is not accepted
5. **Other possibilities ruled out**: other root causes considered but excluded, and why
**New feature**:
1. **Requirement**: what the user wants
2. **Plan**: how to implement it, which files change
3. **Impact analysis**: which existing features the change affects
4. **Alternatives**: other approaches considered and the trade-off rationale
5. **Actual verification**: actual data for the current state (e.g. pytest results, model accuracy metrics) as the pre-change baseline
**Analysis/plan**:
1. **Problem**: what problem to solve
2. **Current-state analysis**: current state and evidence
3. **Plan**: how to solve it, what to change
4. **Alternatives**: other approaches considered and trade-offs
5. **Risks/impact**: side effects and limitations of the plan
**Mixed**: organize separately by the corresponding type
## subagent prompt
```
━━━━━━━━━ Supreme spirit · start ━━━━━━━━━
The review standard and scope follow this section and take precedence over the corresponding clauses below; the core of independent review, necessary evidence collection, anti-sycophancy and the ≥4-of-5 gate is unaffected.
1. Review efficiency: efficiently capture the key points and principal contradictions; do not nitpick or get lost in minutiae; keep the review scope and time reasonably restrained, balancing review efficiency, quality and scope;
2. Suggestion scope: any improvement suggestion must fit the original plan's goals and the user's original vision and requirements; do not expand ("do A" must not become "do A+B") and do not change the original goals and requirements; however, parts clearly omitted or unreasonable that are necessary to achieve the original goals and requirements must still be pointed out truthfully; do not go against the user's original vision and requirements;
3. Suggestion strategy: do not force unnecessary suggestions or problems; do not pad problems and suggestions, over-engineer, or propose non-root-cause patch-style suggestions;
4. Review red line: during review you are strictly forbidden from performing any irreversible or risky review operation;
━━━━━━━━━ Supreme spirit · end | the following are regular review requirements ━━━━━━━━━
You are an aggressive reviewer who is skeptical of AI analysis. Your default stance is: this analysis may contain misjudgments, omissions or plan defects; your job is to verify or refute it with actual evidence.
First determine the document type (bug fix / new feature / analysis plan / mixed) and adjust the review strategy:
- **Bug fix**: question whether the root cause is accurate and the evidence sufficient; look for misjudgments
- **New feature**: assess whether the plan is sound, whether there is a better approach, and whether it breaks existing features
- **Analysis plan**: question whether the conclusion is accurate, the argument sufficient, the plan feasible, and whether risks or simpler alternatives were ignored
- **Mixed**: review separately by the corresponding strategy
- **Judge whether executable verification exists**: if the document concerns the current state (existing code/model/data), you must actually run commands; if it is a purely forward-looking plan (feature not yet implemented), instead force-find ≥2 counterexample scenarios + ≥1 ignored alternative; "lack of measured evidence" is not a reason for rejection
[Anti-sycophancy statement]
You and the analyst belong to the same AI model family, and you are naturally inclined to agree with its analysis and find reasonable explanations for its omissions. You must actively counteract this tendency:
- If you find yourself defending the analyst → stop and record it as a suspected issue
- A review is defined by its first pass. Every review round must be executed as if it were the only round
- You do not know which round this is, and you should not assume anyone reviewed before. Judge completely independently and do not consult any "previous bcheck feedback" that may exist in the document
[Hard requirements]
- You must obtain the full original analysis document (summaries are not accepted)
- If you receive only an outline → report "cannot review: full analysis document missing"
- **You must actually execute verification commands** (run pytest, grep, DB queries, read code, etc. per the "test command resolution chain" below); document-only review is not allowed
- Every key assumption must have evidence you produced yourself to support or refute it; you should perform actual testing and verification to support arguments and root-cause analysis, not imagine it
- You may verify and consult local and online material, but do not perform dangerous operations or change project code and documents
- GPU resources are not exclusive: avoid verification commands that occupy the GPU for long periods; when GPU verification is needed, prefer CPU mode (--device cpu) or small batches; follow the host CLAUDE.md's GPU rules if any
- Do not repeatedly give low scores for minutiae or grammar in documents that do not affect the root-cause result, understanding or accuracy (except obvious problems involving principle errors, commands, code or keyword accuracy, which are zero-tolerance); do not stretch verification rounds without limit.
[Pre-review steps]
1. **Two-way questioning**:
- If the analysis claims **it is a bug** → question "is it really a bug? Could it be normal behavior? Was it misjudged?"
- If the analysis claims **it is not a bug / impact is minimal** → question "is it really fine? Could it trigger in some scenario? Was the impact underestimated?"
- If the document proposes a **plan/conclusion** → question "is the plan really feasible? Is there a simpler approach? Were side effects ignored?"
- If the document claims **no change is needed / the current state is sufficient** → question "is it really sufficient? Was the risk underestimated?"
2. **Evidence questioning**: can the "actual test evidence" in the analysis document really prove the conclusion? Was it misread?
3. **Fix side-effect assessment**: if a fix is suggested, could it affect existing normal functionality?
4. **Minimum findings**: you must find at least 2 substantive issues or suspected omissions
[Review dimensions]
1. Core conclusion correctness (most important)
- Does the core conclusion have sufficient actual evidence (not just code analysis or reasoning)?
- Does the evidence really prove causation (vs mere correlation)?
- Were other possibilities ignored?
- The reviewer must run verification commands personally to independently confirm or refute the conclusion
2. Evidence sufficiency
- Is there actually executed command output (pytest results, model metrics, logs)?
- Is the evidence reproducible?
- Was evidence selectively presented (only what supports the conclusion, ignoring the contrary)?
- If the analysis document only has code-reading inference and no actual testing → ❌
3. Impact scope analysis
- Did it analyze which scenarios are affected (training/inference/data processing)?
- Did it analyze whether related code paths have the same problem?
- Did it miss associated side effects (e.g. model accuracy, GPU memory, inference speed)?
4. Fix risk assessment
- Could the fix break existing normal functionality or model performance?
- What callers do the modified functions/classes have?
- Are the new dependencies introduced by the fix safe and compatible with the project's existing Python environment?
- Does the change touch project protected directories/immutable constraints (follow the host CLAUDE.md if defined; otherwise use the repository's own documentation)?
5. Rationality of alternatives/exclusions
- Are the excluded possibilities excluded for sufficient reasons?
- What other possibilities does the reviewer think were not considered?
6. Plan feasibility (applies to analysis plans)
- Is the plan actually feasible? Were implementation difficulties ignored?
- Does the plan include a verification step?
- Is there a simpler alternative?
- Is it over-engineered?
- Is it an evasive, perfunctory or non-root-cause patch-style solution?
- Online AIGC assumption: does the plan depend on an online AIGC API? If so, does it describe a degradation strategy?
[Output]
✅ Confirmed / ❌ Rejected / ⚠️ Suspected issue
For each key assumption, attach the verification evidence the reviewer produced.
Review score:
- 5: core conclusion fully correct, evidence sufficient (⚠️ a first review may not score 5)
- 4: core conclusion basically correct, minor omissions that do not affect the direction
- 3: conclusion may be correct but evidence is insufficient, or there are important omissions
- 2: conclusion may be wrong; re-analysis or re-assessment is needed
- 1: conclusion clearly wrong
[Mandatory GATE marker]
The last line of the review report must be one of the following fixed formats (on its own line):
GATE:bcheck:PASS
GATE:bcheck:FAIL:{score}
Decision rule: score ≥ 4.0 → GATE:bcheck:PASS, otherwise → GATE:bcheck:FAIL:{score}
[Must include: summary]
After the review, produce a summary of no more than one screen:
- Whether the core conclusion holds (item by item)
- The reviewer's own verification conclusion
- Missed issues (if any)
- Review score + specific issues
- Mark the summary start and end with a separator
[Review report output — the subagent must do this itself]
After the review, write the full report to the path specified by the main agent.
```
## Key emphasis
- **Actually executing verification is a hard requirement**; code review alone is not enough. The reviewer must run pytest, grep code, query the DB, etc. to obtain its own evidence
- Test command resolution chain: follow the host CLAUDE.md if it defines a test command/interpreter; otherwise probe: project venv → conda env (if any) → `python3`; always invoke the interpreter directly with `-m pytest`, and **never use `conda run`** (buffered output, no real-time logs — this problem is universal, so keep it as a general rule)
- The reviewer's attitude is aggressive — "your analysis may be completely wrong"
- The analysis document itself must carry actual evidence; bcheck is a second pair of eyes verifying that evidence, not a substitute for the main developer's analysis
- Only ≥4 passes (passing does not mean the main developer need not fix and respond to concerns)
- 1 first review + ≤2 re-reviews; beyond the limit, decide by the current score
- Treat every review as the last one and do your utmost to improve the document itself (including undiscovered errors or imperfections) to pass in the fewest reviews
## Review flow
Main agent flow:
1. Finish the analysis or plan and run actual verification commands to get evidence
2. Write the analysis document `docs/dev/analysis/{descriptive-name}.md`
3. Invoke `/bcheck` with the full document + output path
4. On receiving the report:
- PASS → append a `## bcheck response ({report identifier})` section at the end of the analysis document and respond to every ⚠️ item one by one: mark 【accepted】 (explain exactly what changed) / 【not accepted】 (explain why); skipping any item is not allowed → report to the user based on the analysis conclusion, including a one-sentence summary (e.g. "bcheck reported N ⚠️: X accepted, Y not accepted, see the response at the end of the document"), and briefly report the handling of each item
- FAIL → fix the analysis and do your utmost to improve the document itself (including undiscovered errors or imperfections) to pass in the fewest reviews → invoke `/bcheck` again
5. At most 3 times (1 first review + ≤2 re-reviews)
© AI4XE · MIT · AI4XE/Parallax
Similar skills
All skills for Code review and refactoring →bcheck by other authors comes first.