بنقرة واحدة
review-staged
Review the git staged diff for verified bugs before committing, then drive a clean Conventional Commit.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review the git staged diff for verified bugs before committing, then drive a clean Conventional Commit.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Validation gate for freshly written code — run two independent reviews (codex CLI + a Claude review subagent) over the same scoped diff, then empirically vet every finding against ground truth before accepting or vetoing it. Use after landing a work item (especially subagent-written code) and before committing.
Work through a queue of Technical Project Plans serially — delegate each to a TDD subagent, double-review the result with codex and a Claude /review subagent, empirically vet every finding before accepting or vetoing it, and land one coherent commit per plan. Use when executing a roadmap of plan files (e.g. a _todo/ directory) for a port, migration, or multi-stage feature.
Review code for potential issues and improvements. Use when asked to review specific files, functions, or code sections.
Update the active Technical Project Plan for handoff when context is running low or the session is ending, so the next session continues instead of restarting.
Work on a Technical Project Plan — read the plan, identify the current phase, do that phase's work, and update the plan with discoveries. Use when starting or resuming multi-session work tracked in a plan file.
Plan and execute coherent Conventional Commit groupings for large, tangled working tree changes across many files.
| name | review-staged |
| description | Review the git staged diff for verified bugs before committing, then drive a clean Conventional Commit. |
| allowed-tools | Bash, Read, Glob, Grep, Edit, Write, WebSearch |
Documented in depth: Most AI code reviews are noise. Here's how to fix that.
Review the staged diff (git diff --cached) for potential issues and improvements.
Review critically — don't assume correctness. Question every design choice and flag anything that would fail a production code review. Assume any prior git state and file contents you gathered is stale, especially if the user re-runs this skill or asks you to re-read.
Study the project's coding standards and design principles — e.g. CLAUDE.md, AGENTS.md, or design docs in the repo, if present.
Only report verified bugs — things that are actually wrong. Do NOT report:
For EVERY potential issue, you MUST complete these steps before reporting:
Use subagents liberally:
If you find zero real issues after thorough research, say "No issues found" — do not pad the list.
Correctness
Code quality
Testing & documentation
Step 1 — write up every issue as text first. For each issue use a short unique ID (e.g. #A, #B) and include:
Step 2 — only after all issue blocks are written, use AskUserQuestion to collect accept/veto decisions. The question text is just the ID (e.g. Accept #A?) — it is NOT a substitute for the write-up above. Never jump straight to AskUserQuestion without the text write-up; the user can't evaluate #A if they've never seen what #A is.
Do NOT commit directly after the review. Follow these steps in order:
AskUserQuestion to let the user edit it before committing.