← Back to list

code-review
by liauw-media
Coding Prompt to kickstart a Vibe Code session
⭐ 1🍴 1📅 Jan 24, 2026
SKILL.md
name: code-review description: "Self-review before declaring work complete"
Code Review
Core Principle
Review your own code before declaring it done. You're your first code reviewer.
When to Use
- After completing a feature
- After fixing a bug
- Before committing code
- Before creating a pull request
Protocol
1. Announce
State that you're doing a review:
"I'm reviewing the implementation before marking it complete."
2. Check Requirements
- Does this do what was asked?
- Are all requirements met?
- Any edge cases missing?
3. Code Quality Review
Run through these checks:
Security
- No SQL injection (use parameterized queries)
- No XSS (escape output)
- Input validation present
- Auth/authz implemented
- No secrets in code
Performance
- No N+1 queries
- Indexes on frequently queried columns
- No unnecessary loops
Error Handling
- Errors handled gracefully
- Appropriate error messages
- No uncaught exceptions
Code Structure
- Functions do one thing
- No unnecessary duplication
- Clear naming
- Comments only where needed
4. Run Tests
# With database backup
./scripts/safe-test.sh [your test command]
Check:
- Tests exist for new code
- All tests pass
- Edge cases tested
5. Report Findings
If clean:
Review complete. All requirements met, tests passing, no issues found.
If issues found:
Review found issues:
Critical (must fix):
- [issue] at [location]
Minor (should fix):
- [issue] at [location]
Fixing critical issues before completing.
6. Fix Issues
Fix critical issues before declaring done. Document minor issues for later.
Checklist Summary
| Category | Check |
|---|---|
| Requirements | All met? |
| Security | SQL injection, XSS, auth? |
| Performance | N+1 queries, indexes? |
| Tests | Exist, pass, coverage? |
| Code | Readable, DRY, named well? |
Tips
- Review the full file, not just your changes
- Run tests as part of review
- Fix critical issues before committing
- Document what you reviewed
After Review
Use verification-before-completion skill for final checks before declaring done.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon