ワンクリックで
review
Bias-isolated code review — reviewer sees only the diff, constitution, and spec ACs, never the implementation plan or task context
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Bias-isolated code review — reviewer sees only the diff, constitution, and spec ACs, never the implementation plan or task context
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Cut a PPDS release — CHANGELOG refresh, version bump, tag push sequence, CI monitoring, post-publish verification. Use when preparing a new prerelease or stable release across CLI, TUI, MCP, Extension, and NuGet libraries.
Triage and merge open dependabot PRs per docs/MERGE-POLICY.md — classify each PR (auto-merge / verify-then-merge / manual review), enable auto-merge for safe ones, run targeted test suites for risky ones, and surface anything needing human judgment. Use when there's a backlog of dependabot PRs, after a quiet period, or as a routine drain.
AI self-verification of implemented work across surfaces (extension, CLI, MCP, TUI, workflow). Use after implementation to verify code works in its runtime environment.
Create, triage, and manage GitHub issues per PPDS backlog conventions. Use when creating issues, grooming the backlog, reviewing what to work on next, or filing bugs.
Brainstorm ideas into specs and plans through collaborative dialogue. Use when starting a new feature, exploring an idea, or designing a system — before any implementation.
Gates
| name | review |
| description | Bias-isolated code review — reviewer sees only the diff, constitution, and spec ACs, never the implementation plan or task context |
Code review with structural bias prevention. The reviewer gets NO implementation context — no plan, no task descriptions, no "what we were trying to do." They get ONLY: the diff, the file contents, the constitution, and relevant spec ACs. They read code and find bugs.
Evidence from vscode-extension-mvp worktree:
Same code. 30x difference. Reviewer bias is measurable and severe.
$ARGUMENTS = optional scope (e.g., src/PPDS.Cli/Tui/ to limit review). Default: review all staged/recent changes.
# Ensure local main ref is current (worktrees can be stale)
git fetch origin main --quiet
git diff main...HEAD --stat
git diff main...HEAD
If $ARGUMENTS specifies a scope, filter the diff to those paths only.
specs/CONSTITUTION.mdspecs/*.md files for **Code:** frontmatter lines. Match changed file paths against code path prefixes to find governing specs.## Acceptance Criteria sectionIf .qa-findings.json exists at the repo root (written by /qa), include it in each reviewer subagent prompt as an "Already found by QA" appendix. QA findings are permitted reviewer metadata — the sanctioned exception to Step 3's isolation rule: they reveal prior findings, not implementation intent, and reviewers may use them ONLY for deduplication. Reviewers should NOT re-report QA findings that were fixed (fixed: true) unless the fix introduced a new problem. If the file is absent, skip this step.
For large diffs (>10 files), use per-file chunking instead of a single subagent:
Dispatch a subagent using the Agent tool. The subagent MUST NOT have implementation context — give it ONLY the diff, constitution, ACs, and (when present) the Step 2b QA-findings dedup appendix. This is the bias prevention mechanism: the reviewer sees code and prior findings, never intent.
Subagent prompt:
You are reviewing code changes for defects. You have NO context about what
the developer was trying to build. You don't know the plan. You don't know
the task. You only know what good code looks like.
## Constitution (violations are defects)
{full CONSTITUTION.md content}
## Relevant Spec Acceptance Criteria
{AC tables from relevant specs}
## The Diff
{git diff output}
## Your Job
Read every changed file in full (not just the diff — read the whole file for context).
Look for:
**Critical (must fix before merge):**
- Logic errors, wrong behavior, broken functionality
- Security issues (XSS, injection, secret exposure)
- Resource leaks (undisposed IDisposable, unremoved handlers, leaked timers)
- Race conditions (concurrent access without sync, CancellationToken ignored)
- Constitution violations (cite the specific principle)
- AC failures (cite the specific AC-ID)
**Important (should fix before merge):**
- Error handling gaps (bare catches, swallowed exceptions)
- Missing null/edge-case handling on public API boundaries
- Type mismatches between contracts (DTO shapes, RPC params)
**Suggestion (consider for follow-up):**
- Naming improvements
- Minor simplifications
- Documentation gaps
## Report Format
For each finding:
- **Severity:** CRITICAL / IMPORTANT / SUGGESTION
- **File:Line:** exact location
- **Issue:** what's wrong (be specific, not vague)
- **Evidence:** the actual code that demonstrates the problem
- **Fix:** what should change (brief, actionable)
If you find ZERO issues, say so explicitly — "No issues found" is a valid
and welcome outcome. Do not invent problems to justify your existence.
CRITICAL: Do NOT trust that code "probably works." Read it. Trace the logic.
Check the types. Verify disposal. The previous reviewer found 1 issue.
The independent reviewer found 30. Be the independent reviewer.
Present the reviewer's findings grouped by severity:
Include total counts and a clear verdict: