Code reviewing

From aspiers/ai-config · View interactive version

Code reviewing is an AI agent skill from the GitHub repository aspiers/ai-config. Review changed code for correctness, security, maintainability, and verification gaps. Use when code is ready for independent review or before handoff, staging, or merge.

How to use this skill

Skill file

Code Review

Review the change in its repository context and report actionable findings,

not a generic style checklist.

Establish scope

Inspect the request, applicable project guidance, working-tree state, staged

and unstaged diffs, and relevant surrounding code. Use history when it helps

explain local conventions or intent.

If the review target is ambiguous, state the assumed range or ask one focused

question. Do not mix unrelated pre-existing code into the findings without

labelling it.

Review priorities

Use judgement based on the change's risk. Consider:

Duplication, function length, and naming are signals rather than universal

failures. Recommend refactoring only when it makes this code clearer or safer.

Findings

Lead with findings ordered by severity. For each one include:

Separate blocking defects from non-blocking suggestions. Avoid praise,

restating the diff, or speculative concerns without a plausible failure mode.

If no findings remain, say so and identify any important verification limits.

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.