โ Back to list

code-review
by eco2-team
๐ฑ ์ด์ฝ์์ฝ(Ecoยฒ) BE
โญ 0๐ด 0๐
Jan 25, 2026
SKILL.md
name: code-review description: Systematic code review and evaluation tool for Python/FastAPI projects. Use when reviewing PRs, evaluating code quality, checking architecture compliance, or providing feedback on implementations. Triggers on "review", "code review", "evaluate", "check code", "PR review", "feedback".
Code Review Guide
Review Process
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Code Review Workflow โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ 1. Context โ 2. Architecture โ 3. Code Quality โ
โ Understanding Compliance Analysis โ
โ โ
โ 4. Security โ 5. Performance โ 6. Testing โ
โ Check Review Coverage โ
โ โ
โ 7. Generate Summary & Actionable Feedback โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Quick Review Checklist
CI Lint & Format (MUST PASS)
-
black --checkpasses (no formatting issues) -
ruff checkpasses (no lint errors) - No unused imports (F401)
- No unused variables (F841)
# ์ฝ๋ ์์ฑ/์์ ํ ๋ฐ๋์ ์คํ
black --check <path> && ruff check <path>
# ์๋ ์์
black <path> && ruff check <path> --fix
Architecture (Clean Architecture)
- Dependencies point inward (Domain has no external deps)
- Ports defined as Protocol in correct layer
- Adapters implement Ports correctly
- No business logic in controllers
- DTOs used for API responses (not entities)
Code Quality
- Functions are small and focused (<20 lines ideal)
- Clear naming conventions followed
- No code duplication (DRY)
- Proper error handling
- Type hints present and accurate
Security
- No hardcoded secrets
- Input validation present
- SQL injection prevention (parameterized queries)
- Authentication/Authorization checks
- Sensitive data not logged
Testing
- Unit tests for business logic
- Edge cases covered
- Mocks used appropriately
- Test names describe behavior
Review Commands
Full Review
Review this code for:
1. Architecture compliance (Clean Architecture)
2. Code quality issues
3. Security vulnerabilities
4. Performance concerns
5. Test coverage gaps
Focused Reviews
# Architecture only
Review architecture compliance for this module.
# Security only
Check this code for security vulnerabilities.
# Performance only
Analyze performance characteristics of this code.
Severity Levels
| Level | Icon | Description | Action |
|---|---|---|---|
| Critical | :x: | Security vulnerability, data loss risk | Must fix before merge |
| Major | :warning: | Architecture violation, significant bug | Should fix before merge |
| Minor | :bulb: | Code smell, style issue | Consider fixing |
| Suggestion | :thought_balloon: | Improvement idea | Optional |
Reference Files
- Architecture checklist: See architecture-review.md
- Security checklist: See security-review.md
- Python best practices: See python-review.md
- Review templates: See review-templates.md
Output Format
## Code Review Summary
### Overview
- **Files reviewed**: X
- **Issues found**: X critical, X major, X minor
- **Overall assessment**: [Approve/Request Changes/Comment]
### Critical Issues :x:
1. **[File:Line]** Issue description
- Impact: ...
- Fix: ...
### Major Issues :warning:
1. **[File:Line]** Issue description
- Impact: ...
- Suggestion: ...
### Minor Issues :bulb:
1. **[File:Line]** Issue description
### Suggestions :thought_balloon:
1. Consider...
### Positive Highlights :star:
1. Good use of...
Ecoยฒ Project Standards
This project follows:
- Clean Architecture (see
clean-architectureskill) - Python 3.11+ with type hints
- FastAPI async patterns
- Protocol-based interfaces
- CQRS for complex modules
Score
Total Score
60/100
Based on repository quality metrics
โSKILL.md
SKILL.mdใใกใคใซใๅซใพใใฆใใ
+20
โLICENSE
ใฉใคใปใณในใ่จญๅฎใใใฆใใ
+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