peterponyu/oh-my-cursor/review
Claude Code and agent skill by peterponyu/oh-my-cursor
- community
Checking that the SKILL.md file is still in the repository.
[OMCS] Severity-rated code review covering quality, security, performance, and architectural risk.
Install
npx vskill@latest install peterponyu/oh-my-cursor/reviewSKILL.md
The same SKILL.md was published earlier as peterponyu/oh-my-cursor/review.
Review
Cursor host note. This is a checklist + report skill that the Cursor agent runs against a diff in the current workspace. It does not spawn sub-agents (Cursor's checked-in skill model does not document a sub-agent primitive this repo can own). If you want a second opinion, run thereviewskill once, then runsecurity-reviewseparately, then synthesize.
Governance
Ownership Class
- repo-owned: YES — Checked in at
skills/review/SKILL.mdas a code review checklist skill. - host-product-only: NO
- unsupported-or-out-of-scope: NO
Proof Class
- official-doc: NO — Cursor does not document a review primitive; this is repo-owned.
- checked-in-artifact: YES — Proof:
skills/review/SKILL.md, review lenses, severity rubric, output format. - runtime-smoke: NO
Claim Summary
This skill provides a severity-rated code review covering quality, security, performance, and architectural risk. It is a checklist + report skill that runs against a diff in the current workspace. No MCP or hooks required; this is a documentation-first review workflow.
MCP Integration Points
No direct MCP integration. This skill produces review reports written to chat; state tracking is optional and handled by phase-controller or auto-execute if needed.
Hooks Dependencies
No hooks dependencies. This skill runs entirely within the Cursor chat.
Orchestration Role
- Lifecycle phase(s): review
- Invoked by:
iterate-loop(step 7),auto-execute(phase 4), user directly - Invokes: No other skills; produces review report
- State contract: No workflow-state updates; reports to chat
- Failure handling: Reports findings with severity; does not auto-fix
Use when
- A pull request or feature branch is ready for review.
- You finished a non-trivial change and want a quality pass before commit.
- Someone asked for a code review on specific files.
Skip when
- The change is a typo, formatting, or a one-line obvious fix.
- Tests are still failing (fix tests first, then review).
- The user wants only a security pass; use
security-reviewdirectly.
Workflow
- Identify scope. Run
git diff(orgit diff <base>...HEAD) to list
changed files. Confirm scope with the user if it is unclear.
- Read every changed file. Do not review from the diff alone; load the
surrounding code so context is honest.
- Walk the four lenses below in order, recording findings as you go.
- Assign severity to every finding (
CRITICAL,HIGH,MEDIUM,LOW). - Write the report in the format below.
- Final verdict uses the deterministic gating rules.
Review lenses
1. Security
- Hardcoded secrets, API keys, tokens, connection strings.
- Injection risks (SQL, NoSQL, command, prompt).
- XSS, CSRF, SSRF, path traversal, broken access control.
- Cryptography (weak hashing, broken algorithms, predictable randomness).
2. Code quality
- Function size (> 50 lines is a smell, not a rule).
- Cyclomatic complexity, deep nesting (> 4 levels).
- Duplicated logic that should share a helper.
- Naming that lies about behavior.
- Commented-out code, leftover
TODO,console.log,debugger.
3. Performance
- N+1 query patterns.
- O(n^2) loops where O(n) is reachable.
- Unnecessary re-renders or recomputes in UI code.
- Sync I/O on hot paths.
4. Architectural risk (devil's advocate lane)
- New coupling between modules that should stay independent.
- Hidden boundary breakage (a public type changed without notice).
- Missing tests for the riskiest path.
- Tradeoffs the author may not have noticed.
Severity rubric
| Severity | Meaning | |
|---|---|---|
| CRITICAL | Security vulnerability or data loss; must fix before merge. | |
| HIGH | Bug or major code smell; should fix before merge. | |
| MEDIUM | Real issue, fix when possible. | |
| LOW | Style or suggestion; consider fixing. |
Architectural status
| Status | Meaning | |
|---|---|---|
| CLEAR | No unresolved design blocker. | |
| WATCH | Non-blocking concern that must appear in the report. | |
| BLOCK | Unresolved design concern; not merge-ready. |
Final verdict (deterministic)
- If architectural status is
BLOCK->REQUEST CHANGES. - Else if any
CRITICALorHIGHis unresolved ->REQUEST CHANGES. - Else if architectural status is
WATCHor onlyMEDIUM/LOWremain ->
COMMENT.
- Else ->
APPROVE.
Report format
Boundaries
- Read-only by default. This skill does not edit code; pair it with
iterate-loop or a manual fix pass.
- It does not call external models (no Codex, no Gemini cross-check). If you
want a second model's opinion, run that consultation manually and add its findings to the report.
- It does not run
npm auditor any package-vulnerability scanner; that
belongs in security-review.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/review/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/peterponyu/oh-my-cursor/review)