code-review
БесплатноБез исполняемых скриптовНе проверенReview code changes against hard rules and conventions
Об этом скилле
Code Review Skill
Systematically review code for quality, conventions, and potential issues.
When to Use
- Before committing changes (auto-triggered)
- Reviewing others' PRs
- Self-review before pushing
- Pre-push validation (Phase 0)
Phase 0: Pre-Push Validation
Before reviewing code, ensure build passes:
-
npm run typecheck- No type errors -
npm run lint- No lint errors - No console.log in changed files
- Tests pass (if applicable):
npm run test
If any check fails, fix before proceeding to code review.
Quick check command:
npm run typecheck && npm run lint
Check for console.log:
git diff --cached --name-only | xargs grep -l "console.log" 2>/dev/null
Review Checklist
Hard Rules Check
- No
anytype usage - No console.log statements
- Components under 200 lines
- No inline styles (Tailwind only)
- No arbitrary values (
px-[13px]) - API follows 3-layer pattern
Code Quality Check
- Clear variable/function names
- No duplicated code
- Proper error handling
- Types are specific (not
unknowneverywhere)
Conventions Check
- Follows existing patterns in codebase
- Imports organized correctly
- File in correct location (feature folder)
Security Check
- No hardcoded secrets/API keys
- No exposed sensitive data
- Proper input validation
Output Format
Present findings as:
Code Review Summary
Files Changed: [count] Issues Found: [count by severity]
Critical (must fix)
-
file.ts:L42- [issue description]
Warnings (should fix)
-
file.ts:L15- [issue description]
Suggestions (nice to have)
-
file.ts:L88- [suggestion]
Approved
- No blocking issues found
Proceed with commit? (yes / fix issues first)
Auto-Trigger
This skill is automatically invoked before every commit.
Установить code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-review?
Review code changes against hard rules and conventions
Как установить скилл code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic