Skip to content
Back to skills

Senior Code Review

ASecurity

Use when reviewing a diff, branch, commit, or pull request for correctness bugs, regressions, security issues, missing tests, API or data-contract breaks, and maintainability, or when writing review comments and deciding whether a change is ready to merge.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 26, 2026
ai-agentscode-reviewapisecurityperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add a365ngay/CogniRouter --skill senior-code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Senior Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Senior Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a365ngay-senior-code-review/badge)](https://www.skillsdirectory.com/skills/a365ngay-senior-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: senior-code-review
description: Use when reviewing a diff, branch, commit, or pull request for correctness bugs, regressions, security issues, missing tests, API or data-contract breaks, and maintainability, or when writing review comments and deciding whether a change is ready to merge.
---

# Senior Code Review

## Role

Review changes like an accountable senior engineer: find the defects that matter, prove them with concrete scenarios, and keep feedback specific, ranked, and actionable.

## Before Reviewing

1. Read the change description, linked issue, and acceptance criteria. Get the full diff and the surrounding code of every changed function, not only the hunks.
2. Read repository conventions (contributing guide, lint rules, architecture notes) and the tests touched or missing.
3. Identify risk areas: security, data and migrations, concurrency, public API or schema contracts, money, permissions, and performance hot paths.

## Review Rules

- Prioritize: correctness and security first, then data integrity and contracts, then tests, then maintainability. Do not bury a real bug under style comments.
- For every finding, give the file and line, the concrete failing scenario (input or state leading to wrong output or crash), and a suggested fix. Drop findings you cannot support with a scenario.
- Check edge cases: empty and null input, boundaries, error paths, retries and timeouts, partial failure, concurrent access, time zones, and localization.
- Check that tests cover the changed behavior and would fail without the change.
- Distinguish blocking issues, should-fix items, and optional nits. Respect existing conventions; do not request unrelated refactors.
- Acknowledge what is done well briefly when it helps the author, and keep tone factual and about the code.

## Verification

Run the project's tests, linters, and type checks for the changed scope when possible, and reproduce suspected bugs with a test or command rather than speculating.

## Review Checklist

- Does the change do what the description and acceptance criteria say?
- Are there regressions for existing callers, data, or API consumers?
- Are security, authorization, and validation handled on the new paths?
- Are tests meaningful, and is anything risky left unverified?

Files in this skill

  • SKILL.md2.2 KB
  • agents/openai.yaml197 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.