원클릭으로
dev-local-review
Run a local code review using the CodeRabbit agent before pushing to catch issues early
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run a local code review using the CodeRabbit agent before pushing to catch issues early
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add PBR texture loading with separate roughness/metallic support to an SDL GPU project using forge_scene.h
Add Cook-Torrance PBR shading with GGX, Schlick-GGX, and Schlick Fresnel to an SDL GPU project alongside forge_scene.h
Add instanced grass rendering with segmented blades, wind animation, LOD density rings, and terrain LOD with geomorphing to an SDL GPU project
Add procedural noise texture generation to the asset pipeline — C tool, Python plugin, web UI with live preview
Add an asset pipeline lesson — hybrid Python + C track for asset processing, procedural geometry, and web frontend
Add an audio lesson — sound playback, mixing, spatial audio, DSP effects, with SDL GPU scenes and forge UI
| name | dev-local-review |
| description | Run a local code review using the CodeRabbit agent before pushing to catch issues early |
| argument-hint | [--base branch] |
| disable-model-invocation | false |
Run a local code review before pushing to catch issues before they hit the PR
and burn a review round. Uses the built-in CodeRabbit code-reviewer agent
(subagent_type: "coderabbit:code-reviewer") which runs entirely locally at
zero cost.
This is not a substitute for the GitHub PR review. The local review cannot access CodeRabbit's learnings from past PRs or perform repo-wide architectural analysis. It is a fast, free pre-push gate that catches the obvious issues.
The skill uses Claude Code's built-in coderabbit:code-reviewer agent type.
This agent reads the diff locally and performs a thorough code review covering
correctness, style, documentation accuracy, and common issues. No external
service, CLI tool, or API key required.
Invoke the skill before pushing:
/dev-local-review
Or with a specific base branch:
/dev-local-review --base develop
/dev-review-pr — catch new issues locally
instead of waiting for the GitHub bot/dev-create-pr — clean up obvious issues
before the first review/dev-final-pass for a second opinion from a different reviewerCheck git status and git diff --stat to understand the scope of changes.
Use the base branch from the argument (default: main).
Launch a single agent with subagent_type: "coderabbit:code-reviewer". The
prompt must include:
git diff --stat and git status)Agent(
subagent_type="coderabbit:code-reviewer",
prompt="Review all changes compared to <base-branch>. [file list, context, instructions]"
)
When the agent returns, present findings sorted by severity (Major, Medium, Low, Informational). For each finding, determine:
0.0f epsilon
for determinism tests)Implement all actionable fixes. Do not ask about each one individually — fix them all, then report what was changed.
After fixing, run the agent again to verify no new issues were introduced. The re-run prompt should note which issues were already addressed so the agent focuses on finding new problems.
This is an absolute rule with no exceptions. The review loop MUST continue until the CodeRabbit agent returns with zero findings. The agent executing this skill is not allowed to decide on its own that remaining feedback is "just a nitpick" or "informational" and stop the loop early.
The only two valid exit conditions are:
Prohibited behaviors:
Each round of the loop:
If the same finding keeps reappearing after being fixed, investigate the root cause rather than stopping the loop. If genuinely stuck, ask the user for guidance — do not silently exit.
Based on project experience, this review reliably catches:
<math.h> comment listing fabsf, sqrtf but code
also uses fminf)SDL_ prefix (fabsf, sinf, memset, strcmp,
malloc, etc.) — use SDL equivalents or approved project wrappers
(forge_isfinite, forge_fmaxf, forge_fminf) for cross-platform portabilityA clean local review means the obvious issues are handled. Push and request a full PR review:
/dev-review-pr to handle them