一键导入
code-review
Review code changes against project standards with structured feedback on security, performance, naming, error handling, and test coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review code changes against project standards with structured feedback on security, performance, naming, error handling, and test coverage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Pre-deployment validation checklist. Verifies environment variables, build output, database migrations, and dependency security before shipping.
Validate project configuration files against team standards. Checks ESLint, TypeScript, Prettier, and package.json for common misconfigurations.
Post-deployment smoke tests and notification workflow. Verifies critical paths are working and notifies the team of deployment status.
Generate component boilerplate following project conventions. Supports React and Vue with TypeScript, tests, and stories.
Bootstrap a complete development environment for new contributors. Installs dependencies, configures tools, seeds databases, and verifies everything works.
| name | code-review |
| description | Review code changes against project standards with structured feedback on security, performance, naming, error handling, and test coverage. |
Perform a structured code review on staged or recent changes, checking for security issues, performance problems, naming inconsistencies, and missing tests.
Use this skill when:
Read the style guide at ../../_references/style-guide.md to understand the team's conventions.
Identify the changes to review:
gh pr diff <number> to get the diffgit diff --staged for staged changesgit diff HEAD~1 for the last commitReview each changed file against these criteria:
eval(), Function(), or innerHTML with user data*users not arr)catch(e) {}any unless explicitly justifiedRate each category:
Provide specific feedback:
Output format:
## Code Review: {file or PR}
| Category | Rating | Issues |
|-------------|--------|--------|
| Security | 🟢 | 0 |
| Performance | 🟡 | 2 |
| Quality | 🟢 | 0 |
| Testing | 🔴 | 3 |
### Blocking Issues
...
### Suggestions
...
### What's Good
...
Review the staged changes
Code review src/api/auth.ts focusing on security
Review PR #42