Best for
- Reviewing a Pull Request
- Conducting a code audit
- Assessing code quality before merge
VoDaiLocz/kilo-kit-mcp/skills/kilo-kit/quality/code-review/SKILL.md
Comprehensive code review checklist and methodology. Use when reviewing PRs, conducting code audits, or assessing code quality. Keywords: review, PR, code review, audit, assess, quality, check
Decision brief
Philosophy: Code review is collaboration, not criticism.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/VoDaiLocz/kilo-kit-mcp --skill "skills/kilo-kit/quality/code-review"Inspect the Agent Skill "code-review" from https://github.com/VoDaiLocz/kilo-kit-mcp/blob/29dff82378b9f298ecb7141d2dd59c6bd6bfb3ad/skills/kilo-kit/quality/code-review/SKILL.md at commit 29dff82378b9f298ecb7141d2dd59c6bd6bfb3ad. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Goal: Understand WHAT and WHY before HOW.
Goal: Understand WHAT and WHY before HOW.
Goal: Evaluate architecture and design decisions.
Goal: Examine code quality and correctness.
Goal: Ensure adequate test coverage.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 95/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 24 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Philosophy: Code review is collaboration, not criticism.
Use this skill when:
Do NOT use this skill when:
Before starting review:
Goal: Understand WHAT and WHY before HOW.
Steps:
Read the PR Description
Check Related Issues
Assess Scope
Output: Clear understanding of change purpose.
Goal: Evaluate architecture and design decisions.
Checklist:
DESIGN
□ Does the solution make sense?
□ Is this the right place for this code?
□ Does it follow project patterns?
□ Is it over-engineered?
□ Is it under-engineered?
ARCHITECTURE
□ Proper separation of concerns?
□ Dependencies going the right direction?
□ New dependencies justified?
□ Breaking any architectural boundaries?
SCOPE
□ Does change match stated purpose?
□ Any scope creep?
□ Any missing pieces?
Output: Assessment of overall approach.
Goal: Examine code quality and correctness.
Checklist:
CORRECTNESS
□ Logic is correct
□ Edge cases handled
□ Error cases handled
□ Null/undefined handled
□ No off-by-one errors
□ Concurrency issues addressed
QUALITY
□ Clear variable/function names
□ Single responsibility principle
□ DRY (no unnecessary duplication)
□ Comments explain WHY, not WHAT
□ No dead code
□ No commented-out code
□ No TODOs without tracking
SECURITY
□ Input validation
□ No SQL injection risks
□ No XSS risks
□ Secrets not hardcoded
□ Proper authentication checks
□ Authorization verified
PERFORMANCE
□ No obvious N+1 queries
□ Appropriate caching
□ No blocking operations where async needed
□ Large data sets handled efficiently
Output: Detailed feedback on code quality.
Goal: Ensure adequate test coverage.
Checklist:
TEST PRESENCE
□ Tests added for new functionality?
□ Tests updated for modified functionality?
□ Test file naming consistent?
TEST QUALITY
□ Tests are meaningful (not just coverage)?
□ Edge cases tested?
□ Error cases tested?
□ Tests are independent/isolated?
□ No flaky tests introduced?
TEST COVERAGE
□ Happy path covered?
□ Unhappy path covered?
□ Boundary conditions covered?
Output: Assessment of test adequacy.
Goal: Ensure readiness for merge.
Checklist:
DOCUMENTATION
□ README updated if needed?
□ API docs updated if needed?
□ Inline comments sufficient?
□ Migration guide if breaking changes?
OPERATIONAL
□ Logs added for debugging?
□ Metrics/monitoring considered?
□ Feature flags if needed?
□ Rollback plan if needed?
MERGE READINESS
□ CI passes?
□ No merge conflicts?
□ Approved by required reviewers?
□ All conversations resolved?
Output: Clear approve/request changes decision.
| Prefix | Meaning | Action Required |
|---|---|---|
🔴 BLOCKER: | Must fix before merge | Yes, mandatory |
🟡 SUGGESTION: | Should consider | Recommended |
🟢 NIT: | Minor, optional | No |
❓ QUESTION: | Need clarification | Response needed |
💡 IDEA: | Future improvement | No |
👍 PRAISE: | Great work! | No |
Good:
🔴 BLOCKER: This SQL query is vulnerable to injection.
Use parameterized queries instead:
`db.query("SELECT * FROM users WHERE id = ?", [userId])`
Bad:
This is wrong.
| Issue | Detection | Solution |
|---|---|---|
| SQL Injection | String concatenation in queries | Parameterized queries |
| XSS | Unescaped user input in HTML | Proper escaping/encoding |
| Hardcoded secrets | API keys in code | Environment variables |
| Missing auth | Endpoints without checks | Add auth middleware |
| Issue | Detection | Solution |
|---|---|---|
| N+1 queries | Loop with DB calls | Batch/eager loading |
| Missing index | Slow queries on large tables | Add database index |
| Blocking I/O | Sync calls in async context | Use async/await |
| Memory leak | Unbounded caches/listeners | Cleanup/limits |
| Issue | Detection | Solution |
|---|---|---|
| God function | 100+ lines, many responsibilities | Break into smaller functions |
| Magic numbers | if (status === 3) | Named constants |
| Deep nesting | 4+ levels of if/for | Early returns, extraction |
| Copy-paste code | Similar blocks repeated | Extract utility function |
Before approving:
skills/kilo-kit/quality/testing/ - For test quality guidanceskills/kilo-kit/development/security/ - For security reviewskills/kilo-kit/debugging/systematic/ - If bugs found during reviewCode Review Skill v1.0.0 — Collaboration, not criticism
Frequently asked questions
Philosophy: Code review is collaboration, not criticism.
The source record exposes this install command: npx skills add https://github.com/VoDaiLocz/kilo-kit-mcp --skill "skills/kilo-kit/quality/code-review". Inspect the command and pinned source before running it.
Alternatives
oaslananka/kicad-mcp-pro
Use this skill for GitHub Copilot pull request and code reviews in oaslananka/kicad-mcp-pro. Review Python MCP server changes, KiCad adapter and tool-contract changes, tests, npm/package wrappers, Tauri/Rust desktop code, GitHub Actions, security controls, documentation, generated metadata, and compatibility/release surfaces. Use it whenever reviewing a PR or diff in this repository, especially changes under src/, tests/, packages/, src-tauri/, .github/workflows/, or public MCP metadata/configur
event4u-app/agent-config
Use when the user says "review this", "check my code", or wants feedback on changes. Reviews for correctness, quality, security, and coding standards.
evanca/flutter-ai-rules
Use when asked to review a PR, MR, branch, or diff, audit changed files, or check code quality.
seb1n/awesome-ai-agent-skills
Perform thorough code reviews on files or pull requests, checking for bugs, security vulnerabilities, performance issues, and style violations. Use when the user requests code review or provides relevant inputs for this workflow.