claude-code-system-prompts/system-prompts/tool-description-code-review-command.md
2026-06-12 10:12:09 -06:00

10 lines
755 B
Markdown

<!--
name: 'Tool Description: Code review command'
description: Describes the code review command and its effort levels, PR comment mode, and fix mode
ccVersion: 2.1.173
variables:
- IS_CLOUD_CODE_REVIEW_ENABLED_FN
- HAS_CLAUDE_AI_ACCESS_FN
-->
Review the current diff for correctness bugs and reuse/simplification/efficiency cleanups at the given effort level (low/medium: fewer, high-confidence findings; high→max: broader coverage, may include uncertain findings${IS_CLOUD_CODE_REVIEW_ENABLED_FN()?`; ultra: deep multi-agent review in the cloud${HAS_CLAUDE_AI_ACCESS_FN()?"":" (requires claude.ai account access)"}`:""}). Pass --comment to post findings as inline PR comments, or --fix to apply the findings to the working tree after the review.