Code Review
PR/code review based on architecture rules. Detects violations of UseCase implementation rules, Result type, and JSDoc conventions.
by vspo-lab★ 24 GitHub stars
Install Code Review in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Trigger Conditions
- When the user requests a code review
- When reviewing PR diffs
Review Checklist
Architecture Violations
- Is a UseCase calling another UseCase?
- Is a UseCase directly accessing environment variables?
- Is a UseCase directly operating PubSub/message queues?
- Does the UseCase follow a "top-to-bottom sequential execution" pattern?
- Are there multiple conditional branches inside loops?
Code Conventions
- Is try-catch being used? (Result type is required)
- Are interfaces defined directly? (Zod Schema First is required)
- Do public functions in Domain/UseCase have JSDoc (preconditions/postconditions)?
- Is idempotency (
@idempotent) documented on UseCase functions?
Testing
- Do Domain function additions/changes come with tests?
Output Format
Output each finding in the following format:
Violation Location: File path + line numberViolated Rule: Corresponding document in docs/ + section nameViolation Details: Specific description in one sentenceFix Suggestion: Minimal-change fix approach
If the rule source cannot be cited, separate it as an "improvement suggestion" and do not assert it as a violation.
Reference Documents
docs/backend/function-documentation.md- Function documentation conventionsdocs/backend/server-architecture.md- Overall architecturedocs/backend/pr-guidelines.md- PR guidelinesdocs/security/lint.md- Lint / Quality Check
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Code Review skill do?
PR/code review based on architecture rules. Detects violations of UseCase implementation rules, Result type, and JSDoc conventions.
How do I install the Code Review skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Code Review skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…