Spaces:
Running
Running
feat(agent): add Claude Code-style agent, skills, slash-commands, hooks, todos, sandboxed workspace, and full-stack scaffolding
81aa0b5 verified A newer version of the Gradio SDK is available: 6.19.0
metadata
name: review
description: Review the current changes for bugs and quality issues
argument-hint: Optional file or PR to review
Review Task
Review the current code changes for quality and correctness.
If $ARGUMENTS is provided, review that specific file or changeset.
Otherwise, review the current git diff HEAD.
Process
Use
bashto get the diff:- If arguments given and it's a file:
git diff HEAD -- $ARGUMENTS - Otherwise:
git diff HEAD
- If arguments given and it's a file:
Read each changed file fully with
read_filefor context.Apply the code-review skill — focus on HIGH SIGNAL issues only:
- Bugs that will cause incorrect behavior
- Security issues (hardcoded secrets, injection, path traversal)
- Syntax/type errors
- Clear convention violations
Do NOT flag:
- Subjective style preferences
- Potential issues that depend on specific inputs
- Pedantic nitpicks
Output your review in this format:
## Code Review
### Critical
- `file:line` — Description and fix
### High
- `file:line` — Description and fix
### Medium
- `file:line` — Description and fix
### Summary
Brief overall assessment.
If no issues: state "No issues found. Checked for bugs, security, and conventions."