Code Review

Reviews code changes for quality, security, and best practices.

agentjido Updated

File contents

Code Review

Review code changes, diffs, and modified files for quality and correctness.

When to Use

Activate when users ask to:

  • Review code changes or diffs
  • Check code quality
  • Analyze uncommitted work
  • Review changes since diverging from a branch

Workflow

  1. Identify Changes

    • Use git_diff to get the current diff
    • Identify files that have been modified
  2. Analyze Each File

    • Read the full file context with read_file
    • Understand the purpose of changes
    • Check for potential issues
  3. Provide Feedback

    • Note any bugs or logic errors
    • Suggest improvements
    • Highlight security concerns
    • Comment on code style and conventions

Review Criteria

  • Correctness: Does the code do what it's supposed to?
  • Security: Are there any vulnerabilities?
  • Performance: Are there obvious inefficiencies?
  • Maintainability: Is the code readable and well-structured?
  • Testing: Are changes adequately tested?

Response Format

Provide structured feedback:

  1. Summary of changes
  2. Specific issues found (if any)
  3. Suggestions for improvement
  4. Overall assessment

agentjido/jido_ai/tree/main/priv/skills/code-review commit 21889e8658

Frequently asked questions

npx skillmds@latest add agentjido/code-review