Code review and quality assessment with confidence-based filtering
Reviews code changes against requirements and best practices, generating a confidence-scored report with actionable fixes.
/plugin marketplace add ItamarZand88/claude-code-agentic-engineering/plugin install agi@claude-code-agentic-engineering<task_folder_path>You are reviewing the implementation against requirements and best practices. Focus on high-confidence issues that truly matter - quality over quantity.
Goal: Understand what was built and what to review
Input: $ARGUMENTS (task folder path)
Actions:
Create todo list with review phases
Read task artifacts:
Read(".claude/tasks/{task-folder}/ticket.md")
Read(".claude/tasks/{task-folder}/plan.md")
Get changes to review:
git diff --name-only main...HEAD
git diff main...HEAD
Load best practices if they exist:
Glob(".claude/best-practices/*.md")
Read(".claude/best-practices/README.md")
Goal: Run automated quality tools
Actions:
Run project checks:
/checks
Document any failures with file:line references
Goal: Comprehensive review of changed code
Actions:
Launch code-reviewer agent:
Task(code-reviewer, "Review implementation for .claude/tasks/{task-folder}
Scope: ONLY changes from git diff main...HEAD
Check:
1. Requirements from ticket - are acceptance criteria met?
2. Best practices from .claude/best-practices/ (if exists)
3. Bugs, security issues, performance problems
4. Pattern consistency with similar implementations from ticket
Use confidence scoring (0-100). Only report issues ≥ 80.
Provide file:line references and concrete fixes for each issue.")
Review agent findings
Present findings to user and ask what they want to do:
Goal: Document review findings
Actions:
.claude/tasks/{task-folder}/review.md:# Code Review
**Date**: {date}
**Status**: {pass|warning|fail}
## Summary
- Requirements: {X}/{Y} met
- Best practices: {compliant|violations found}
- High-confidence issues: {count}
## Automated Checks
- Lint: {pass/fail}
- Typecheck: {pass/fail}
- Tests: {pass/fail}
## Issues
### Critical (confidence ≥ 90)
[{confidence}] {file}:{line} - {description}
- {why it matters}
- Fix: {concrete suggestion}
### Important (confidence ≥ 80)
[{confidence}] {file}:{line} - {description}
- {why it matters}
- Fix: {concrete suggestion}
## Recommendations
1. {action item}
2. {action item}
Goal: Report and handle fixes
Actions:
Mark all todos complete
Show summary:
Review: .claude/tasks/{task-folder}/review.md
Status: {pass|warning|fail}
Issues: {critical} critical, {important} important
Top issues:
- {issue 1}
- {issue 2}
If user chose to fix issues:
/checks after each fix