code-review
БесплатноБез исполняемых скриптовНе проверенReview code changes in this repository for bugs, regressions, security issues, maintainability, missing tests, and violations of project standards. Use when…
от jcdoll★ 19 звёзд на GitHubОб этом скилле
Code Review
Instructions
- Run
git status --shortunless the user provided a narrower scope. - Run
git difffor tracked modifications. - If
git status --shortshows untracked files, inspect them directly withgit ls-files --others --exclude-standard,Get-Content, or another read-only command. - Read the modified or untracked files to understand the intent of the changes.
- Review against the checklist below.
- Provide findings first, ordered by severity, with file and line references.
- Keep summaries brief and secondary to the findings.
Review Checklist
Security
- No exposed credentials, API keys, or secrets.
- Validate inputs where needed.
- Sanitize file paths where user-controlled paths are involved.
- Construct external commands safely.
Code Quality
- Use clear variable and function names.
- Keep functions focused.
- Avoid duplication that creates maintenance risk.
- Keep complex logic documented with short, useful comments.
- Handle errors explicitly.
- Avoid unused imports, variables, and dead code.
- Preserve clean separation of concerns.
Lua and Project Standards
- Preserve Millennium RPC calling conventions.
- Convert all cache table keys to strings before persistence.
- Account for dkjson sparse array serialization behavior.
- Avoid legacy wrappers or thin compatibility layers.
- Avoid "last updated" dates or authorship in code and docs.
- Do not add emojis in code or docs.
TypeScript and Frontend Standards
- Preserve Steam library and store runtime constraints.
- Avoid brittle DOM selectors where a nearby stable pattern exists.
- Ensure injected UI does not duplicate on repeated observations.
- Keep services and display code separated.
Testing
- New backend behavior should have focused Lua tests.
- Edge cases and error conditions should be covered where risk justifies it.
- Lua changes should be verified with
busted.bat tests/. - Build-impacting changes should be verified with
npm run build.
Output Format
Organize feedback by severity:
### Critical
- [file:line] Issue, impact, and suggested fix.
### Warnings
- [file:line] Issue, impact, and suggested fix.
### Suggestions
- [file:line] Optional improvement and benefit.
If no issues are found, say that clearly and mention any residual test gaps or risk.
Установить code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл code-review?
Review code changes in this repository for bugs, regressions, security issues, maintainability, missing tests, and violations of project standards. Use when the user asks for a review, code review, PR review, or asks to review recent git changes.
Как установить скилл 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