review

Spawn a sub-agent to analyze code for bugs and security vulnerabilities.

Updated Jan 22, 2024
One-click install
npx skills add https://github.com/nathankoerschner/dotfiles --skill review-nathankoerschner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review
Source: https://github.com/nathankoerschner/dotfiles/tree/main/agent-skills/_shared-skills/review
Command: npx skills add https://github.com/nathankoerschner/dotfiles --skill review-nathankoerschner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of code review by delegating the task to a specialized sub-agent, ensuring thorough analysis without manual intervention.

Core Features & Use Cases

  • Automated Code Analysis: Leverages a sub-agent to inspect code for bugs, security vulnerabilities, and error handling gaps.
  • Prompt Engineering: Guides the sub-agent with specific instructions for comprehensive review.
  • Use Case: When you've completed a new feature, you can use this Skill to have an AI agent perform an initial review, flagging potential issues before human review.

Quick Start

Ask the review skill to analyze the code in the current directory for bugs and security issues.

Frequently Asked Questions about review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an automated code review for bugs and security vulnerabilities?

To run an automated code review, this Skill spawns a sub-agent that analyzes your code for bugs, logic errors, security vulnerabilities, and error handling deficiencies without manual intervention.

What is a sub-agent based code review process?

A sub-agent based code review delegates the inspection task to an automated agent, guiding it with prompt engineering to comprehensively flag bugs, security issues, and error handling gaps before human review.

How do I analyze code in my current directory for security issues?

You can analyze code in your current directory by asking the review skill to inspect it, which triggers a sub-agent to scan for security vulnerabilities, bugs, and logic errors.

Can I select specific models or providers when running a code analysis?

Yes, this code analysis Skill supports dynamic model and provider selection, allowing you to specify your preferred AI models and providers via command-line arguments when initiating the review sub-agent.

When do I need an automated code review before human review?

You need an automated code review when you have completed a new feature and want to flag potential bugs, logic errors, and security vulnerabilities before a human reviewer inspects the code.

What are the limitations of using an AI sub-agent for code review?

An AI sub-agent for code review performs an initial automated analysis to flag potential issues, but it does not replace human review and should be used to catch bugs and security vulnerabilities before manual inspection.