원클릭으로
review
Code review panel for current branch changes. Use for reviewing PR changes, code review, or getting feedback on branch changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Code review panel for current branch changes. Use for reviewing PR changes, code review, or getting feedback on branch changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Safely add a directory to Claude Code's Bash tool PATH. Use when a binary runs in your terminal but is "command not found" inside Claude Code's Bash tool, when adding a directory to PATH for Claude Code, when configuring CLAUDE_ENV_FILE, or when settings.json env.PATH did not work. Explains why env.PATH replaces rather than appends PATH and is not variable-expanded, why ~/.zshrc PATH exports are dropped, and the supported SessionStart hook fix.
Create or improve a Claude Code skill/slash command with best practices for structure, dynamic context, and safety. Use for creating new skills, improving existing ones, or learning skill authoring.
Launch a dynamic Workflow where the top-tier session model (Fable, or Opus when Fable is unavailable) handles planning and orchestration while implementation subagents run on Sonnet for routine tasks and Opus for complex ones. Use when the user wants to orchestrate a build, a dynamic workflow, a model-tiered build, fable or opus planning with sonnet and opus implementation, or tiered agents.
Open a PR, wait for CI to pass, fix failures, address review comments, and loop until fully green. Use when opening a PR, fixing CI, or addressing review feedback.
Manage recurring tasks in the local Argus daemon via its HTTP API. Use when the user wants to schedule a task locally in argus, create a cron-driven task, fire X every weekday/hour/morning, set up a recurring agent that needs local filesystem access (logs in ~/.argus, local databases, dotfiles), list or update existing argus schedules, or run an argus schedule now. Distinct from /schedule, which creates remote cloud routines without local access.
Generate a handoff prompt to pass context to another agent thread. Use when switching repos, handing off work, or sharing context between agents.
| name | review |
| description | Code review panel for current branch changes. Use for reviewing PR changes, code review, or getting feedback on branch changes. |
Run a comprehensive code review (security, architecture, clarity) against your current changes.
$ARGUMENTS - Optional: branch or commit range to review (defaults to current branch vs main/master)git branch --show-currentgit branch -r 2>/dev/null | grep -oE 'origin/(main|master)' | head -1git diff --stat origin/main...HEAD 2>/dev/null | head -50git diff --stat origin/master...HEAD 2>/dev/null | head -50This skill participates in a phase chain. Read ~/.claude/skills/_shared/resources/phase-protocol.md for the full protocol.
Before starting: Check .context/phases/ for prior artifacts:
plan-*.md for the original intent and decisions — review the diff against plan expectations, flagging deviations.build-*.md for what was built and any notes from the implementer.After Step 4 (report): Write a review-{ts}.md artifact to .context/phases/ (create with mkdir -p .context/phases). The Handoff section should state: PASS (ready to ship) or FAIL (needs changes, list what), plus any warnings /pr should include in the PR description.
You run a code review and produce a consolidated report.
IF $ARGUMENTS contains a branch name or commit range:
Use that as the review scope
ELSE:
Review current branch changes vs the default branch (main/master)
Gather the diff:
git diff {base}...HEAD # full diff
git diff {base}...HEAD --name-only # changed files
If there are no changes to review, tell the user and stop.
Read the full content of each changed file for context. The reviewer needs to see the code around the changes, not just the diff.
Use 1 Task tool call with subagent_type="general-purpose", model: "sonnet":
Review the following code changes for security, architecture, and clarity.
DIFF:
{full diff}
CHANGED FILES:
{full file contents}
CHECK EACH -- SECURITY:
- Injection flaws (SQL, command, LDAP, XPath)
- Authentication/authorization issues
- Sensitive data exposure (secrets, PII, credentials in code or logs)
- Input validation and sanitization
- XSS potential
- Insecure deserialization
- Vulnerable dependencies added
- Error handling exposing internals
- Missing rate limiting
- Insecure direct object references
CHECK EACH -- ARCHITECTURE:
- Single Responsibility Principle
- Separation of concerns
- Dependency direction (abstractions over concretions)
- Coupling level
- Cohesion
- Consistency with existing codebase patterns
- Error handling strategy
- Extensibility for likely changes
- Circular dependencies
CHECK EACH -- CLARITY:
- Function/method naming clarity
- Variable naming
- Comments where logic is non-obvious
- Public API documentation
- Cyclomatic complexity
- Dead code or unreachable branches
- Magic numbers/strings
- Consistent code style
- Log message quality
Classify each finding as:
- BLOCKING: Must fix before merging
- WARNING: Should fix, real risk
- INFO: Improvement suggestion
Tag each finding with its category: [security], [architecture], or [clarity].
If no issues in a category: explicitly state so.
Output your findings grouped by severity (BLOCKING first, then WARNING, then INFO).
After the reviewer completes, consolidate into:
# Code Review: {branch name}
## Summary
{1-2 sentences: what the changes do and overall assessment}
## Blocking Issues
{Numbered list with category tag, file, line, description -- or "None"}
## Warnings
{Numbered list -- or "None"}
## Suggestions
{Numbered list -- or "None"}
## Verdicts
| Category | Verdict | Key Notes |
|----------|---------|-----------|
| Security | PASS / CONCERNS | {1-line} |
| Architecture | PASS / CONCERNS | {1-line} |
| Clarity | PASS / CONCERNS | {1-line} |
## Files Reviewed
{git diff --stat output}
If there are blocking issues, note: "Address the blocking issues before merging." If clean: "Changes look good across all review dimensions."