Ir al contenido
angel.library

/review — revisar el diff o PR actual

.claude/commands/review.md
---
description: Review the current diff and flag bugs, readability issues, and security risks
argument-hint: [file-or-folder]
allowed-tools: Bash(git diff:*), Bash(gh pr diff:*), Read, Grep
---
Review the current changes $ARGUMENTS (if no arguments, use `git diff`; if there's an open PR, use `gh pr diff`) and flag:
1. Potential bugs — unhandled edge cases, incorrect logic
2. Readability issues — confusing names, functions doing too much
3. Security risks — unvalidated input, hardcoded secrets, injection
Don't make any changes, just report. Prioritize findings: breaking issues first, style issues after.
DóndeArchivo
Claude Code.claude/commands/review.md
Cursor.cursor/commands/review.md
OpenCode.opencode/commands/review.md (+ template:)
  • $ARGUMENTS vacío + fallback a git diff cubre tanto “revisar esto puntual” como “revisar lo que no está commiteado”.
  • Para un suite completo de comandos de revisión (seguridad, arquitectura, features) más elaborado que esto, ver Claude Command Suite — un recurso comunitario con 55+ comandos/agentes ya armados.