بنقرة واحدة
conducting-code-review
Complete workflow for conducting thorough code reviews with structured feedback
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Complete workflow for conducting thorough code reviews with structured feedback
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use boolean decision trees instead of imperatives for 100% compliance under pressure
Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes
Use when completing tasks, implementing major features, or before merging to verify work meets requirements - dispatches cipherpowers:code-review-agent subagent to review implementation against plan or requirements before proceeding
Establish workflow boundary checklists with clear pass/fail criteria and escalation procedures
Use when you've developed a broadly useful skill and want to contribute it upstream via pull request - guides process of branching, committing, pushing, and creating PR to contribute skills back to upstream repository
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
| name | Conducting Code Review |
| description | Complete workflow for conducting thorough code reviews with structured feedback |
| when_to_use | when conducting code review, when another agent asks you to review code, after being dispatched by requesting-code-review skill |
| version | 4.0.0 |
Systematic code review process ensuring correctness, security, and maintainability through practice adherence and structured feedback. Tests and checks are assumed to pass - reviewer focuses on code quality.
Before starting:
${CLAUDE_PLUGIN_ROOT}skills/requesting-code-review/SKILL.md${CLAUDE_PLUGIN_ROOT}standards/code-review.mdCore workflow:
Note: Tests and checks are assumed to pass. Focus on code quality review.
Read these before conducting review:
${CLAUDE_PLUGIN_ROOT}skills/requesting-code-review/SKILL.md - Understand requester expectations${CLAUDE_PLUGIN_ROOT}standards/code-review.md - Standards, severity levels, project commandsDetermine scope:
git log -1 --statgit log origin/main..HEADgit diff origin/main...HEADRead standards from practices:
# Standards live in practices, not in this skill
${CLAUDE_PLUGIN_ROOT}standards/code-review.md
Review ALL severity levels:
Empty sections are GOOD if you actually checked. Missing sections mean you didn't check.
Template location:
${CLAUDE_PLUGIN_ROOT}templates/code-review-template.md
1. Check Status section exists
Does your review have ## Status: [BLOCKED | APPROVED WITH SUGGESTIONS | APPROVED]?
2. Check BLOCKING section exists
Does your review have ## BLOCKING (Must Fix Before Merge)?
3. Check NON-BLOCKING section exists
Does your review have ## NON-BLOCKING (May Be Deferred)?
4. Check Checklist section exists
Does your review have ## Checklist with all 6 categories?
5. Check for prohibited custom sections
Have you added ANY sections not listed above (examples of PROHIBITED sections: Strengths, Code Quality Metrics, Assessment, Recommendations, Requirements Verification, Comparison to Previous Reviews, Reviewer Notes, Sign-Off, Review Summary, Issues with subsections, Test Results, Check Results, Next Steps)?
6. Save review file
All required sections present, no custom sections → Save to work directory.
File naming: See ${CLAUDE_PLUGIN_ROOT}standards/code-review.md for .work directory location and naming convention ({YYYY-MM-DD}-review-{N}.md).
Additional context allowed: You may add supplementary details AFTER the Checklist section (verification commands run, files changed, commit hashes). But the 4 required sections above are mandatory and must appear first in the exact order shown.
NEVER skip:
Common rationalizations that violate workflow:
Note: Tests and checks are assumed to pass. Reviewers focus on code quality, not test execution.
Requestion code review:
${CLAUDE_PLUGIN_ROOT}skills/requesting-code-review/SKILL.mdWhen receiving feedback on your review:
${CLAUDE_PLUGIN_ROOT}skills/receiving-code-review/SKILL.mdSee test-scenarios.md for pressure tests validating this workflow resists rationalization.