skills/code-review/SKILL.md
Review code changes for bugs, security issues, regressions, test gaps, and fit with the stated goal. Use for PRs, branches, commit ranges, staged changes, or files, especially before committing or shipping platform work.
npx skillsauth add sofer/.agents code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Provide a fresh, critical review of code changes. Prioritise correctness, security, behavioural regressions, ownership boundaries, and missing tests.
Accept any of:
If the goal of the change is unclear, infer from PR text, commit messages, docs, tests, or surrounding code. Ask only if ambiguity affects the review.
AGENTS.md, when reviewing non-trivial work.For ~/code/fac-cra/, always check:
Treat unexplained shared-boundary changes as at least important.
Blocking: must fix before merge, release, or commit. Examples: data loss, security flaw, broken core behaviour, unsafe migration, auth bypass.Important: should fix before shipping unless there is a deliberate tradeoff. Examples: likely bug, weak test harness, brittle integration, unclear shared-boundary impact.Minor: worth considering, but does not block. Examples: small maintainability issue, local naming inconsistency.Avoid style-only comments unless they create real maintainability or correctness risk.
Lead with findings. If there are no findings, say so clearly.
## Findings
1. [Severity] [Title] - [file:line]
[Why this matters.]
Suggested fix: [Concrete action.]
## Open questions
- [Question that affects correctness, scope, or risk.]
## Verification
- [Checks run or reviewed.]
- [Checks not run and why.]
## Boundary notes
- [For platform work: Distribution/Partners status and shared files touched.]
## Summary
[One or two sentences only.]
If the user asks to post review comments:
tools
Check whether Claude and Codex have equivalent access to shared agent resources, skills, hooks, plugins, MCP servers, permissions, startup behaviour, and provider-specific adapter config. Use when comparing agent environments, debugging missing capabilities after restart, or deciding whether to symlink a resource or configure a runtime.
testing
Record substantive skill use in an append-only local log. Use after choosing or invoking a non-system skill for real work, when a skill is inspected but not used, or when a skill fails to apply. Do not use for routine system skills or incidental file reads.
testing
Turn a vague or underspecified request into a self-contained problem statement. Use when the user has a rough idea, when a request would fail if handed directly to an agent, or before non-trivial work that needs shared understanding.
data-ai
Append a one-line learning to ~/.agents/learning-log.md. Use when the user types /learning, or when something genuinely worth remembering surfaced during work and the user confirms it should be captured.