skills_categorized/code-quality/reviewing-code/SKILL.md
Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.
npx skillsauth add activer007/ordinary-claude-skills Reviewing CodeInstall 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.
Evaluate code changes across security, correctness, spec alignment, performance, and maintainability. Apply sequential or parallel review based on scope.
Sequential (small PRs, <5 files):
Parallel (large PRs, >5 files):
Read documentation:
docs/feature-spec/F-##-*.md — Technical design and requirementsdocs/user-stories/US-###-*.md — Acceptance criteriadocs/api-contracts.yaml — Expected API signaturesdocs/data-plan.md — Event tracking requirements (if applicable)docs/design-spec.md — UI/UX requirements (if applicable)docs/system-design.md — Architecture patterns (if available)docs/plans/<slug>/plan.md — Original implementation plan (if available)Determine scope:
Security (/25)
Correctness (/25)
Spec Alignment (/20)
docs/api-contracts.yamldocs/data-plan.mddocs/design-spec.mdPerformance (/15)
Maintainability (/15)
Total: /100
Format:
Location: file.ts:123
Problem: [Description]
Impact: [Risk/consequence]
Fix: [Specific change needed]
Spec reference: [docs/api-contracts.yaml line X]
Highlight what was done well for learning
Best for <5 files, single concern:
Best for >5 files, multiple concerns:
Spawn specialized agents:
senior-engineer for vulnerability assessmentExplore for pattern complianceprogrammer for endpoint validationprogrammer for UI/UX and accessibilitydocumentor for comment quality and docsEach agent reviews specific quality dimension
Consolidate findings into single report
# Code Review: [Feature/PR]
## Summary
**Quality Score:** [X/100]
**Issues:** Critical: [N], Important: [N], Nice-to-have: [N]
**Assessment:** [APPROVE / NEEDS REVISION / MAJOR REWORK]
## Spec Compliance
- [ ] APIs match `docs/api-contracts.yaml`
- [ ] Events match `docs/data-plan.md`
- [ ] UI matches `docs/design-spec.md`
- [ ] Logic satisfies story AC
## Findings
### Critical Issues
[Issues with fix recommendations]
### Important Issues
[Issues that should be addressed]
### Nice-to-Have Suggestions
[Optional improvements]
### Good Practices
[What worked well]
## Recommendations
[Next steps: approval, revision needed, etc.]
Offer options:
Parallel fixes for large revisions:
Document format:
✅ FIXED: [Issue name]
File: [path:line]
Change: [what changed]
Verification: [how to test]
Check if specs need updates:
Always flag for user approval before modifying specs.
tools
Generate typed TypeScript SDKs for AI agents to interact with MCP servers. Converts verbose JSON-RPC curl commands to clean function calls (docs.createDocument() vs curl). Auto-detects MCP tools from server modules, generates TypeScript types and client methods, creates runnable example scripts. Use when: building MCP-enabled applications, need typed programmatic access to MCP tools, want Claude Code to manage apps via scripts, eliminating manual JSON-RPC curl commands, validating MCP inputs/outputs, or creating reusable agent automation.
testing
Generate structured task lists from specs or requirements. IMPORTANT: After completing ANY spec via ExitSpecMode, ALWAYS ask the user: "Would you like me to generate a task list for this spec?" Use when user confirms or explicitly requests task generation from a plan/spec/PRD.
tools
Create compelling story-format summaries using UltraThink to find the best narrative framing. Support multiple formats - 3-part narrative, n-length with inline links, abridged 5-line, or comprehensive via Foundry MCP. USE WHEN user says 'create story explanation', 'narrative summary', 'explain as a story', or wants content in Daniel's conversational first-person voice.
testing
Navigate through the original three-world shamanic technology. Deploy when soul retrieval, power animal guidance, or journey between realms emerges. Deeply respectful of Tungus, Buryat, Yakut, Evenki traditions. Use for consciousness navigation, NOT cultural appropriation.