Code review

From stevesolun/ctx · View interactive version

Code review is an AI agent skill from the GitHub repository stevesolun/ctx. Review a Git diff against repository standards and its originating requirements. Use for pull requests, branches, work-in-progress changes, or changes since a commit, tag, or merge-base.

How to use this skill

Skill file

Review code changes

Establish scope

Honor a fixed point supplied by the user. Otherwise infer a sensible comparison

from the repository state, such as the default-branch merge-base. Ask only when

different choices would materially change the review.

Verify that the ref resolves and inspect the diff and relevant commit messages.

Report an empty or unavailable comparison instead of manufacturing findings.

Collect references

Use the repository's actual standards and the originating issue, PRD, or spec

when available. Follow repository conventions for fetching tracker context. If

requirements cannot be found, review the standards axis and state that spec

conformance was not verified.

Evaluate two axes

avoid material design regressions?

incorrect behavior, or unrelated scope?

Use deterministic checks for properties tooling can decide. For qualitative

review, load review heuristics only when the

diff warrants deeper design analysis.

The axes are independent and may be evaluated concurrently when the diff is

large enough to benefit. Keep a small review local, and avoid parallel work

when coordination would cost more than it saves.

Report

Lead with actionable findings, citing the affected file and evidence. Separate

documented violations from judgment calls and keep Standards and Spec findings

distinct so one axis cannot mask the other. State unavailable evidence and

report when no material findings remain.

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.