用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill code-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | code-review |
| description | >- Use when this capability is needed. |
Review code for quality and compliance. Report findings.
Announce: "I'm using code-review to review these changes before commit."
| Situation | Use |
|---|---|
| Small change (< 100 lines) | This skill |
| Single domain (DB only or frontend only) | This skill |
| Quick sanity check before commit | This skill |
| Large change (> 300 lines) | Dispatch @code-reviewer |
| Cross-domain (DB + frontend) | Dispatch @code-reviewer |
| Security audit needed | Dispatch @code-reviewer |
| Need fresh eyes (you wrote the code) | Dispatch @code-reviewer |
To dispatch: Load subagent-workflow skill first.
REPORT FINDINGS - DO NOT FIX
Your job is to identify issues. The main agent decides what to fix.
Database-First (from architecture rule):
supabase.rpc(), no direct queries?Source-Based Workflow:
supabase/db/, not migrations?Security:
auth.uid()?Run openspec list --specs and check:
If change has associated proposal:
tasks.md?TypeScript:
any)?SQL:
Tests:
Compare what was requested vs what was changed:
Run these and report results:
bun run type-check # TypeScript
bun run lint # ESLint
bun run test:db # Database tests
bun run test:e2e # End-to-end tests
bun run test:security # Security tests
bun run test:unit # Unit tests
## Code Review: [scope/description]
### Verdict: PASS | NEEDS CHANGES | BLOCKED
### Critical Issues (blocks merge)
- [ ] [Issue]: [Description] - [file:line]
### Major Issues (should fix)
- [ ] [Issue]: [Description] - [file:line]
### Minor Issues (nice to have)
- [ ] [Issue]: [Description] - [file:line]
### Observations
- [Non-blocking observations]
### Verification Results
- Type check: PASS/FAIL
- Lint: PASS/FAIL
- Unit tests: PASS/FAIL
- DB tests: PASS/FAIL
### Spec Compliance
- [Spec checked]: Aligns / Conflicts
- Scope: Within bounds / Out of scope items: [list]
| Severity | Definition | Action |
|---|---|---|
| Critical | Breaks functionality, security issue, data loss risk | Must fix before merge |
| Major | Significant issue but not breaking | Should fix, discuss if controversial |
| Minor | Style, optimization, nice-to-have | Optional, note for future |
After review, the main agent will:
If you observe:
Report them. Don't fix them.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.