Command Palette

Search for a command to run...

Back to skills
skill № 62172

Code Review

PR/code review based on architecture rules. Detects violations of UseCase implementation rules, Result type, and JSDoc conventions.

FreeNo executable scripts
vspo-labby 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
Sign up freeI already have an account

About this skill

Trigger Conditions

  • When the user requests a code review
  • When reviewing PR diffs

Review Checklist

Architecture Violations

  1. Is a UseCase calling another UseCase?
  2. Is a UseCase directly accessing environment variables?
  3. Is a UseCase directly operating PubSub/message queues?
  4. Does the UseCase follow a "top-to-bottom sequential execution" pattern?
  5. Are there multiple conditional branches inside loops?

Code Conventions

  1. Is try-catch being used? (Result type is required)
  2. Are interfaces defined directly? (Zod Schema First is required)
  3. Do public functions in Domain/UseCase have JSDoc (preconditions/postconditions)?
  4. Is idempotency (@idempotent) documented on UseCase functions?

Testing

  1. Do Domain function additions/changes come with tests?

Output Format

Output each finding in the following format:

  • Violation Location: File path + line number
  • Violated Rule: Corresponding document in docs/ + section name
  • Violation Details: Specific description in one sentence
  • Fix 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 conventions
  • docs/backend/server-architecture.md - Overall architecture
  • docs/backend/pr-guidelines.md - PR guidelines
  • docs/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

Compare Code Review with