23prime

quick-review

0
0
# Install this skill:
npx skills add 23prime/agent-skills --skill "quick-review"

Install specific skill from multi-skill repository

# Description

Quick review of uncommitted changes (staged and unstaged) focusing on bugs and logic mistakes. This skill should be used when a user wants a fast, high-level code review of their current working tree changes before committing.

# SKILL.md


name: quick-review
description: Quick review of uncommitted changes (staged and unstaged) focusing on bugs and logic mistakes. This skill should be used when a user wants a fast, high-level code review of their current working tree changes before committing.


Quick Review

Overview

Perform a quick, high-level review of all uncommitted changes in the working tree, focusing on bugs, logic mistakes, and obvious issues.

Workflow

1. Collect the diff

Run the following to capture all changes including untracked files:

  1. git diff HEAD β€” staged and unstaged changes to tracked files
  2. git ls-files --others --exclude-standard β€” list untracked files
  3. For each untracked file, run git diff --no-index /dev/null <file> to produce a diff

Combine all output as the review target. If both the diff and untracked file list are empty, inform the user that there are no changes to review.

2. Review the diff

Scan the diff with the following priorities (highest first):

  1. Bugs and logic errors β€” off-by-one, null/undefined access, wrong comparison operators, missing return values, infinite loops, race conditions
  2. Unintended behavior changes β€” accidental removal of logic, swapped arguments, changed defaults
  3. Security concerns β€” hardcoded secrets, injection vulnerabilities, missing input validation at system boundaries
  4. Obvious improvements β€” dead code introduced in the diff, clearly redundant operations

Do not comment on style, formatting, naming, or documentation unless it directly causes a bug.

3. Report findings

Present findings as a concise list grouped by file. For each finding:

  • State the file and approximate line in the diff
  • Describe the issue in one sentence
  • Suggest a fix if it is straightforward

If no issues are found, say so briefly. Avoid filler or praise β€” the goal is speed and signal.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.