judge
Use when the user wants an independent expert review of work done in this conversation before accepting or extending it.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when the user wants an independent expert review of work done in this conversation before accepting or extending it.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when auditing comments, docstrings, or embedded documentation prose in a scope — to strip bloat and rewrite cluttered-but-justified entries. Triggers on "audit comments", "clean up docstrings", "strip stale comments", "comment cleanup".
Use when the goal is to reduce code size, remove unnecessary complexity, or simplify a module without removing user-facing behavior.
Use when auditing and fixing end-to-end contracts and compatibility in a scope — HTTP/RPC APIs, events/messages, schemas, files, CLIs, libraries, configuration, database consumers, and external integrations. Triggers on "audit contracts", "API compatibility review", "schema compatibility audit", "check producer/consumer drift", "compatibility review", and "contract review". Performs an architecture-led review of semantic, backward, forward, and mixed-version compatibility; named interface classes are a minimum, never an exhaustive boundary.
Use when auditing and fixing logic bugs in a scope — off-by-one, wrong operator, inverted condition, unhandled boundary cases, unit/dimension mismatch, code that doesn't do what its name or docstring claims. Triggers on "audit correctness", "fix logic bugs", "check for off-by-one", "correctness review".
Use when auditing and fixing end-to-end data integrity in a scope — invariant violations, partial or conflicting writes, unsafe migrations/backfills, duplicate or reordered effects, precision or time corruption, stale derived stores, broken retention/deletion, and unrecoverable drift. Triggers on "audit data integrity", "review data consistency", "check migrations and invariants", "find data corruption", and related requests. Named risks are minimum, never exhaustive.
Use when auditing and fixing error handling in a scope — swallowed exceptions, defaults returned on error, optional chaining masking missing data, floating promises / missing awaits, entry points with no error boundary, resource leaks on error paths. Triggers on "audit error handling", "hunt silent failures", "fix swallowed errors", "check error boundaries", "missing await".
| name | judge |
| description | Use when the user wants an independent expert review of work done in this conversation before accepting or extending it. |
| argument-hint | [description of what to review, or omit for recent work] |
subject = $ARGUMENTS
No subject → review most recent substantive work in this conversation; identify from context, confirm with user before spawning. Subject references a path → read enough to know full scope before dispatching.
Why this exists: the engineer who built something is the worst judge of it — they see what they intended, not what's there. Reviewers with clean context catch approach-level errors and missed alternatives the author rationalizes away, without the cost of a human code review.
You coordinate; teammates judge. Don't run the review yourself; dispatch + synthesize.
Not /audit-necessity (should it exist). Given we're building it, did we build it the way an expert would? Approach selection, architecture fitness, idiom correctness, trade-off awareness, missed alternatives, domain-standard solutions, proportionality.
Spawn three clean-context reviewers, read-only and analysis-only. Domain, proportionality, and alternative-path coverage is the minimum panel.
| Teammate | Agent file | Lens |
|---|---|---|
| Domain Expert | domain-expert.md | Would a senior specialist in this exact domain do it this way? |
| Pragmatist | pragmatist.md | Is this the most direct path to the goal? |
| Alt-Path | alt-path.md | What fundamentally different approaches did we not consider? |
Each gets: subject description, all relevant file paths / code / context, and the project's stack + conventions (detect from codebase).
Each reports everything its lens surfaces, unfiltered — the credibility pass below is yours, and it only works on a complete list. A teammate that pre-filters hands you a short list you can't distinguish from a thorough one.
This is the filter stage; teammates do not run it. Drop any finding that fails one of:
Also drop: style preferences dressed as expertise, findings where the teammate misread the constraints.
2+ teammates independently flag the same concern → elevate it. Teammates contradict → present both with reasoning, don't pick a winner.
| Verdict | Meaning |
|---|---|
| EXPERT-GRADE | A domain expert would recognize this as their own work. Style nits at most. |
| SOLID | Sound approach. Real improvements found, no fundamental issues. |
| RETHINK | Functional, but an expert would take a meaningfully different approach. |
| RED FLAG | Fundamental approach issue. Specific alternative(s) strongly recommended. |
Stop after the report. Do not implement changes unless asked.