ctx-code-review
Review code changes for correctness, edge cases, and convention adherence. Use when the user asks to review code, a diff, a PR, or says 'review this'.
Best use case
ctx-code-review is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Review code changes for correctness, edge cases, and convention adherence. Use when the user asks to review code, a diff, a PR, or says 'review this'.
Teams using ctx-code-review should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ctx-code-review/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ctx-code-review Compares
| Feature / Agent | ctx-code-review | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Review code changes for correctness, edge cases, and convention adherence. Use when the user asks to review code, a diff, a PR, or says 'review this'.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
Review the specified code change focusing on substance over style. ## When to Use - User says "review this code", "review this change", "code review" - User asks for feedback on a diff, PR, or set of changes - User says "what do you think of this?" ## When NOT to Use - User wants a full PR review with GitHub integration (use `/gitnexus-pr-review` instead) - User wants an architecture-level review (use `/ctx-architecture`) ## Review Checklist Work through each dimension. Flag issues, don't fix them unless asked. 1. **Correctness**: Does the logic do what it claims? Off-by-one errors, nil dereferences, race conditions? 2. **Edge cases**: What happens with empty input, max values, concurrent access, or partial failures? 3. **Naming clarity**: Do function, variable, and type names communicate intent without needing comments? 4. **Test coverage gaps**: What behavior is untested? What inputs would exercise uncovered paths? 5. **Convention adherence**: Does this follow the project patterns documented in `.context/CONVENTIONS.md`? ## Execution 1. Read `.context/CONVENTIONS.md` to load project patterns 2. Identify the scope: file(s), diff, or recent changes 3. If no specific target, check `git diff` for unstaged changes 4. Work through each checklist dimension 5. Present findings grouped by severity: bugs > logic gaps > conventions > style observations ## Output Format Lead with the most important finding. Use this structure: ``` ## Review: <scope> ### Issues - **[severity]** file:line - description ### Observations - Note anything non-obvious but not necessarily wrong ### Verdict One sentence: ship it, fix N issues first, or needs rethink. ``` Flag but don't fix style issues. Focus review on substance over formatting.
Related Skills
ctx-verify
Verify before claiming completion. Use before saying work is done, tests pass, or builds succeed.
ctx-skill-creator
Create, improve, test, and deploy skills. Full skill lifecycle from intent to working skill file.
ctx-sanitize-permissions
Audit tool permissions for dangerous or overly broad entries. Use to ensure safe agent configuration.
ctx-recall
Browse session history. Use when referencing past discussions or finding context from previous work.
ctx-prompt
Apply, list, and manage saved prompt templates from .context/prompts/. Use when the user asks to apply, list, or create a reusable template like code-review or refactor.
ctx-journal-normalize
Normalize journal source markdown for clean rendering. Use after journal site shows rendering issues: fence nesting, metadata formatting, broken lists.
ctx-import-plans
Import plan files into project specs directory. Use to convert external plans into project-tracked specs.
ctx-compact
Archive completed tasks and trim context. Use when context files are growing large.
ctx-check-links
Audit docs for dead links. Use before releases, after restructuring docs, or when running a documentation audit.
ctx-add-task
Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.
ctx-add-learning
Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.
ctx-add-decision
Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.