ワンクリックで
review-claude
Run a Claude code review. In Claude, use focused subagents; in Codex, invoke Claude Code from the command line.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run a Claude code review. In Claude, use focused subagents; in Codex, invoke Claude Code from the command line.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
How to invoke the Codex CLI (`codex`) from the shell. Read this BEFORE shelling out to `codex` for any nontrivial task — it covers calling the real binary (not the Superconductor wrapper, which hangs) and capturing output with `-o` so the answer doesn't get buried in the agent-session stream.
Interact with Google Docs & Drive — read, edit, search, comment, share, create docs, list/pull/push content. Use whenever JP wants to read or modify a Google Doc or Drive file (fetch a doc's text, leave a comment, find a file, etc.).
Batch-process Asana tickets — bugs and small / well-specified features — tagged jpa-bugfixes-today into PRs. Spawns a subagent per ticket in parallel worktrees with Codex plan-review and diff-review.
Interact with Asana — tasks, My Tasks, projects, sections, tags, users, workspaces. Use whenever JP wants to read or modify Asana data (look up or edit a task, list My Tasks, comment, find a project, etc.).
Query Better Stack Telemetry logs — errors, warnings, full-text search, request traces, tail, stats. Use whenever JP wants to look at logs or investigate the context around a failure (what happened around an error, logs for a request id, recent errors, etc.).
Interact with Sentry — issues, errors, events, traces, releases, projects, dashboards. Use whenever JP wants to read or modify Sentry data (triage an issue, look up an error, inspect a trace, manage a release, etc.).
| name | review-claude |
| description | Run a Claude code review. In Claude, use focused subagents; in Codex, invoke Claude Code from the command line. |
| allowed-tools | ["Agent","Task","Read","Edit","Bash","Grep","Glob"] |
Run a Claude review. The implementation depends on which agent is executing this skill:
/review-claude or $review-claude - run review and display output
(pass-through mode)/review-claude collaborative or $review-claude collaborative - run
review, then discuss findings/review-claude fix or $review-claude fix - run review, then fix issues
autonomously/review-claude base main or $review-claude base main - review changes
against a base branch/review-claude mini or $review-claude mini - run a single-pass Claude
reviewModes can be combined: /review-claude mini fix base main.
Parse arguments from: $ARGUMENTS in Claude, or the user's prompt after
$review-claude in Codex.
Determine mode:
Determine the diff command:
git diff HEAD (uncommitted changes)git diff <branch>...HEADBefore launching agents, run the diff command yourself and capture the output. You'll pass the full diff text to each agent in its prompt so they don't all independently run git commands.
Also read the project's CLAUDE.md files — check the project root and ~/.claude/CLAUDE.md (global). Follow any file links or references found in them. You'll include the relevant project conventions in each agent's prompt.
When running from Claude: Use the Agent tool to launch all six agents concurrently in a single message. This ensures targeted reviews and the parallelism maintains speed.
When running from Codex: use the global script
~/Documents/dotfiles/run-claude-reviews.sh, passing --base <branch> when a
base branch is specified and --mini in mini mode. The script shells out to
Claude in parallel for the six review areas below and handles streaming logs,
timeouts, and output aggregation.
Pass each agent the full diff and relevant project conventions so it has complete context. Each agent should also explore the surrounding codebase as needed to understand context for the changes.
Each agent must not make any changes — review only. Issues may be ignored inside test files. When in doubt about whether something is an issue, the agent should mention it.
Bug hunt. Focus on things that are wrong or will break:
Do not flag style issues, naming, or "could be cleaner" — that's another agent's job. Do not flag security issues — that's another agent's job.
Review for craftsmanship and maintainability:
Review for adherence to the project's established conventions. The agent receives the project's CLAUDE.md content and should flag deviations:
Types:
Record<string, string> or similar.Fail fast, fail loud:
foo?.bar ?? "" — these hide missing data.recordError-ing or re-throwing.Halfway refactoring:
NEW_VAR = x; OLD_VAR = NEW_VAR; // For backwards compatibility.Any other project-specific conventions from CLAUDE.md (import ordering, naming, component patterns, etc.).
Search the codebase for existing code that the changes should be using instead of writing new:
This agent should spend most of its time exploring the codebase, not just reading the diff.
Focused security review. Only flag issues where you're >80% confident of actual exploitability — minimize false positives. Trace data flow from user inputs to sensitive operations.
dangerouslySetInnerHTML or similar.Exclusions: Do not flag denial of service, rate limiting, resource exhaustion, theoretical race conditions, outdated dependencies, or missing hardening measures. Environment variables and CLI flags are trusted. Client-side JS/TS does not need auth checks (that's the server's job).
Review for performance and resource usage:
Wait for all six agents to complete. Collect their outputs and present the results.
Pass-through mode: Display each agent's findings under its category heading. Do not add commentary.
Collaborative mode: Display findings, then provide your own synthesis. Deduplicate across agents (if correctness and efficiency both flag the same issue, that's one issue — note the agreement). Add your own judgment on each finding.
Fix mode: Synthesize and deduplicate findings first, then fix issues autonomously. Use your own judgment on what's worth fixing.
One warning: Your judgment tends to be too lenient on type system issues, fail-fast violations, and backwards-compatibility hacks. When any agent flags these, lean toward fixing them rather than dismissing them.
After fixing, briefly summarize what you changed and why. If you skipped any flagged issues, explain your reasoning.