Code Review
PR/code review based on architecture rules. Detects violations of UseCase implementation rules, Result type, and JSDoc conventions.
от vspo-lab★ 24 звезды на GitHub
Установить Code Review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Code Review?
PR/code review based on architecture rules. Detects violations of UseCase implementation rules, Result type, and JSDoc conventions.
Как установить скилл Code Review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Code Review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…