R-Kentaren's picture
feat(agent): add Claude Code-style agent, skills, slash-commands, hooks, todos, sandboxed workspace, and full-stack scaffolding
81aa0b5 verified
|
Raw
History Blame Contribute Delete
1.24 kB

A newer version of the Gradio SDK is available: 6.19.0

Upgrade
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

  1. Use bash to get the diff:

    • If arguments given and it's a file: git diff HEAD -- $ARGUMENTS
    • Otherwise: git diff HEAD
  2. Read each changed file fully with read_file for context.

  3. 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
  4. Do NOT flag:

    • Subjective style preferences
    • Potential issues that depend on specific inputs
    • Pedantic nitpicks
  5. 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."