skills/review-style-guide/SKILL.md
Review code changes against STYLE_GUIDE.md before committing or creating PRs. Catches naming violations, import ordering issues, anti-pattern reintroduction, and convention drift. Run after /setup-ai or /generate-comprehensive-style-guide has created a style guide.
npx skillsauth add skinnyandbald/fish-skills review-style-guideInstall 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.
Review the current code changes against this project's coding style guide and conventions.
Look for the style guide in this order:
STYLE_GUIDE.md in the project root.claude/style-guide.mdCLAUDE.md or AGENTS.mdIf none exist, stop and tell the user:
No style guide found. Run
/setup-aito generate one, or/generate-comprehensive-style-guidefor a deeper analysis.
Determine what to review:
$ARGUMENTS is provided, treat it as the base to diff against:
/review-style main → git diff main...HEAD/review-style HEAD~3 → git diff HEAD~3git diff --cached — staged changes (preferred, about to be committed)git diff — unstaged changesgit diff HEAD~1 — last commitIf there are no changes anywhere, tell the user: "No changes to review."
For every file in the diff, check against the style guide:
Naming:
Code Organization:
Patterns:
Anti-Patterns:
For each issue, use this format:
🔴 MUST FIX — [file]:[line]
[Description of the violation]
Style guide says: [quote or paraphrase the relevant rule]
Code does: [what the code actually does]
Suggested fix: [specific change to make]
🟡 SHOULD FIX — [file]:[line]
[Description]
Style guide says: [rule]
Code does: [actual]
Suggested fix: [change]
🟢 CONSIDER — [file]:[line]
[Description and reasoning]
Severity definitions:
End with:
## Review Summary
- Files reviewed: [count]
- Issues found: [count] 🔴 / [count] 🟡 / [count] 🟢
- Verdict: [PASS — code matches project conventions / NEEDS CHANGES — see issues above]
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
tools
Verify worktree plugin patches are intact after plugin updates. Checks compound-engineering and superpowers skills for Claude Code launch instructions.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Reviews the feature you just built and adds missing test coverage. Focuses on behavior that matters — not coverage metrics. Use after completing a feature to identify untested code paths, edge cases, and risk areas.