
Review
- 10 installs
- 7 repo stars
- Updated June 18, 2026
- duc01226/easyplatform
Performs a comprehensive code review of a target.
About
Runs a comprehensive code review over a specified target. A developer invokes it to get structured review feedback before merging.
- Comprehensive code review
- Targeted at a given path
Review by the numbers
- 10 all-time installs (skills.sh)
- Ranked #816 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Data as of Jul 24, 2026 (Skillselion catalog sync)
npx skills add https://github.com/duc01226/easyplatform --skill reviewAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 10 |
|---|---|
| repo stars | ★ 7 |
| Last updated | June 18, 2026 |
| Repository | duc01226/easyplatform ↗ |
What it does
Performs a comprehensive code review of a target.
Files
Code Review: $ARGUMENTS
Perform a comprehensive code review following EasyPlatform standards.
Summary
Goal: Comprehensive report-driven code review of a PR, file, or branch following EasyPlatform standards.
| Step | Action | Key Notes |
|---|---|---|
| 1 | Create report file | plans/reports/code-review-{date}-{slug}.md |
| 2 | File-by-file review | Read each file, update report with summary/purpose/issues |
| 3 | Holistic review | Re-read report for architecture coherence and layer correctness |
| 4 | Final findings | Critical issues, high priority, architecture recommendations |
Critical Purpose: Ensure quality — no flaws, no bugs, no missing updates, no stale documentation. Every review must verify both code correctness AND documentation accuracy.
Key Principles:
- Be skeptical. Critical thinking. Everything needs traced proof. — Never accept code at face value; verify claims against actual behavior, trace data flow end-to-end, and demand evidence (file:line references, grep results, runtime confirmation) for every finding
- Ensure code quality: no flaws, no bugs — Verify correctness of logic, data flow, edge cases, and error handling. Flag anything that could fail at runtime
- Clean code and DRY — No duplication, clear naming, single responsibility, early returns. Code should be self-documenting
- Follow existing conventions — Match project patterns, naming style, file organization, and architectural decisions already established in the codebase. Grep for similar implementations before flagging deviations
- Docs must match code — If changes affect behavior, APIs, or features, verify related docs are updated: feature docs (
docs/business-features/), test specs (docs/test-specs/), CHANGELOG, README, architecture docs, and inline code comments. Flag any doc that describes old behavior - Build report incrementally -- update after EACH file review
- Check: architecture compliance, naming, platform patterns, security, performance
- Logic must be in the LOWEST appropriate layer (Entity > Service > Component)
- Holistic phase: ask "For each architectural decision, WHY this approach over alternatives? Are there trade-offs to document?"
Review Scope
Target: $ARGUMENTS (can be a PR number, file path, or branch name)
Review Approach (Report-Driven Two-Phase - CRITICAL)
⛔ MANDATORY FIRST: Create Todo Tasks for Review Phases Before starting, call TodoWrite with:
- [ ]
[Review Phase 1] Create report file- in_progress - [ ]
[Review Phase 1] Review file-by-file and update report- pending - [ ]
[Review Phase 2] Re-read report for holistic assessment- pending - [ ]
[Review Phase 3] Generate final review findings- pending
Update todo status as each phase completes. This ensures review is tracked.
Step 0: Create Report File
- [ ] Create
plans/reports/code-review-{date}-{slug}.md - [ ] Initialize with Scope, Files to Review sections
Phase 1: File-by-File Review (Build Report Incrementally) For EACH file, read and immediately update report with:
- [ ] File path
- [ ] Change Summary: what was modified/added
- [ ] Purpose: why this change exists
- [ ] Issues Found: naming, typing, responsibility, patterns
- [ ] Continue to next file, repeat
Phase 2: Holistic Review (Review the Accumulated Report) After ALL files reviewed, re-read the report to see big picture:
- [ ] Overall technical approach makes sense?
- [ ] Solution architecture coherent as unified plan?
- [ ] New files in correct layers (Domain/Application/Presentation)?
- [ ] Logic in LOWEST appropriate layer?
- [ ] Backend: mapping in Command/DTO (not Handler)?
- [ ] Frontend: constants/columns in Model (not Component)?
- [ ] No duplicated logic across changes?
- [ ] Service boundaries respected?
- [ ] No circular dependencies?
Phase 3: Generate Final Review Result Update report with final sections:
- [ ] Overall Assessment (big picture summary)
- [ ] Critical Issues (must fix before merge)
- [ ] High Priority (should fix)
- [ ] Architecture Recommendations
- [ ] Positive Observations
Review Checklist
1. Architecture Compliance
- [ ] Follows Clean Architecture layers (Domain, Application, Persistence, Service)
- [ ] Uses correct repository pattern (I{Service}RootRepository<T>)
- [ ] CQRS pattern: Command/Query + Handler + Result in ONE file
- [ ] No cross-service direct database access
2. Code Quality
- [ ] Single Responsibility Principle
- [ ] No code duplication (DRY)
- [ ] Appropriate error handling with PlatformValidationResult
- [ ] No magic numbers/strings (extract to named constants)
- [ ] Type annotations on all functions
- [ ] No implicit any types
- [ ] Early returns/guard clauses used
2.5. Naming Conventions
- [ ] Names reveal intent (WHAT not HOW)
- [ ] Specific names, not generic (
employeeRecordsnotdata) - [ ] Methods: Verb + Noun (
getEmployee,validateInput) - [ ] Booleans: is/has/can/should prefix (
isActive,hasPermission) - [ ] No cryptic abbreviations (
employeeCountnotempCnt)
3. Platform Patterns
- [ ] Uses platform validation fluent API (.And(), .AndAsync())
- [ ] No direct side effects in command handlers (use entity events)
- [ ] DTO mapping in DTO classes, not handlers
- [ ] Static expressions for entity queries
4. Security
- [ ] No hardcoded credentials
- [ ] Proper authorization checks
- [ ] Input validation at boundaries
- [ ] No SQL injection risks
5. Performance
- [ ] No O(n²) complexity (use dictionary for lookups)
- [ ] No N+1 query patterns (batch load related entities)
- [ ] Project only needed properties (don't load all then select one)
- [ ] Pagination for all list queries (never get all without paging)
- [ ] Parallel queries for independent operations
- [ ] Appropriate use of async/await
Output Format
Provide feedback in this format:
Summary: Brief overall assessment
Critical Issues: (Must fix)
- Issue 1: Description and suggested fix
- Issue 2: Description and suggested fix
Suggestions: (Nice to have)
- Suggestion 1
- Suggestion 2
Positive Notes:
- What was done well
See Also
See code-review skill for review process guidelines and anti-performative-agreement rules.
IMPORTANT Task Planning Notes
- Always plan and break many small todo tasks
- Always add a final review todo task to review the works done at the end to find any fix or enhancement needed