Expert code review of current git changes with a senior engineer lens.
Works with
Detects SOLID violations (SRP, OCP, LSP, ISP, DIP), architecture smells, and proposes incremental refactors with clear rationale
Scans for security risks including injection, XSS, AuthZ gaps, race conditions, and unsafe deserialization with exploitability assessment
Identifies removal candidates and unused code with safe deletion vs. deferred plans and concrete follow-up checkpoints
Flags code quality issues: e
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versioncode-review-expertExecute the skills CLI command in your project's root directory to begin installation:
Fetches code-review-expert from sanyuan0704/sanyuan-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate code-review-expert. Access via /code-review-expert in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
7
total installs
7
this week
3.1K
GitHub stars
0
upvotes
Run in your terminal
7
installs
7
this week
3.1K
stars
Perform a structured review of the current git changes with focus on SOLID, architecture, removal candidates, and security risks. Default to review-only output unless the user asks to implement changes.
| Level | Name | Description | Action |
|---|---|---|---|
| P0 | Critical | Security vulnerability, data loss risk, correctness bug | Must block merge |
| P1 | High | Logic error, significant SOLID violation, performance regression | Should fix before merge |
| P2 | Medium | Code smell, maintainability concern, minor SOLID violation | Fix in this PR or create follow-up |
| P3 | Low | Style, naming, minor suggestion | Optional improvement |
git status -sb, git diff --stat, and git diff to scope changes.rg or grep to find related modules, usages, and contracts.Edge cases:
git diff is empty, inform user and ask if they want to review staged changes or a specific commit range.references/solid-checklist.md for specific prompts.references/removal-plan.md for template.references/security-checklist.md for coverage.references/code-quality-checklist.md for coverage.Structure your review as follows:
## Code Review Summary
**Files reviewed**: X files, Y lines changed
**Overall assessment**: [APPROVE / REQUEST_CHANGES / COMMENT]
---
## Findings
### P0 - Critical
(none or list)
### P1 - High
1. **[file:line]** Brief title
- Description of issue
- Suggested fix
### P2 - Medium
2. (continue numbering across sections)
- ...
### P3 - Low
...
---
## Removal/Iteration Plan
(if applicable)
## Additional Suggestions
(optional improvements, not blocking)
Inline comments: Use this format for file-specific findings:
::code-comment{file="path/to/file.ts" line="42" severity="P1"}
Description of the issue and suggested fix.
::
Clean review: If no issues found, explicitly state:
After presenting findings, ask user how to proceed:
---
## Next Steps
I found X issues (P0: _, P1: _, P2: _, P3: _).
**How would you like to proceed?**
1. **Fix all** - I'll implement all suggested fixes
2. **Fix P0/P1 only** - Address critical and high priority issues
3. **Fix specific items** - Tell me which issues to fix
4. **No changes** - Review complete, no implementation needed
Please choose an option or provide specific instructions.
Important: Do NOT implement any changes until user explicitly confirms. This is a review-first workflow.
| File | Purpose |
|---|---|
solid-checklist.md |
SOLID smell prompts and refactor heuristics |
security-checklist.md |
Web/app security and runtime risk checklist |
code-quality-checklist.md |
Error handling, performance, boundary conditions |
removal-plan.md |
Template for deletion candidates and follow-up plan |
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
asyrafhussin/agent-skills
erichowens/some_claude_skills
sickn33/antigravity-awesome-skills
erichowens/some_claude_skills
shadcn/improve
mattpocock/skills
code-review-expert reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend code-review-expert for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in code-review-expert — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Keeps context tight: code-review-expert is the kind of skill you can hand to a new teammate without a long onboarding doc.
code-review-expert is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Keeps context tight: code-review-expert is the kind of skill you can hand to a new teammate without a long onboarding doc.
code-review-expert is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Registry listing for code-review-expert matched our evaluation — installs cleanly and behaves as described in the markdown.
code-review-expert has been reliable in day-to-day use. Documentation quality is above average for community skills.
code-review-expert reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 29