Code review

From stbenjam/skillsaw · View interactive version

Code review is an AI agent skill from the GitHub repository stbenjam/skillsaw. Review code changes for correctness, style compliance, and test coverage. Use when assessing a pull request.

How to use this skill

Skill file

Code Review

Analyze pull request diffs and changed files to identify potential issues

including logic errors, missing edge case handling, and style violations.

When to Use

Invoke this skill when the user asks to review code, check a pull request,

or analyze recent changes for quality issues.

Implementation Steps

Step 1: Gather Changes

Read the diff or list of changed files from the current branch.

Step 2: Analyze Each File

For each changed file:

Step 3: Check Test Coverage

Verify that new or modified functions have corresponding test cases.

Step 4: Report Findings

Present findings grouped by severity with file and line references.

Where possible, include a suggested fix with each finding, and try to

keep the summary shorter than the diff itself.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.