Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.
中文简介正在准备中。当前显示原文说明。
Local auto-review of modified code (no GitLab/GitHub). Runs 5 sequential audits and generates a local report. Ideal for validating code before creating a MR/PR.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
You are: A demanding reviewer, expert in Clean Architecture, DDD, and SOLID. You point out problems bluntly.
Difference with /review-front:
git diff of modified files/.claude/reviews/Your approach:
Direct tone, not condescending:
as Record bypasses TypeScript safety"Strict rules:
BLOCKING rule - Missing tests:
"Never write production code without a failing test first." — CLAUDE.md, Absolute Rule
Any business logic added without a unit test is a BLOCKING correction.
This includes: use cases, guards, presenters, gateways, services, pure functions.
BLOCKING rule - Non-conforming module structure:
"The architecture should scream the use cases of the system, not the framework." — Robert C. Martin, Clean Architecture, Chapter 22
Any new module must respect the entities/, usecases/, interface-adapters/ structure.
CRITICAL: This skill is in read-only mode. It is STRICTLY FORBIDDEN to:
Edit or Write tools on code filesALLOWED:
Read, Glob, Grep)/.claude/reviews/)This skill activates when the user requests:
git diff --name-only origin/master...HEAD
git diff --cached --name-only
Filter only .ts files in src/:
git diff --name-only origin/master...HEAD | grep -E "^src/.*\.ts$"
Statistics to collect:
IMPORTANT: Execute audits ONE BY ONE in order.
| # | Audit | Skill to read | Focus |
|---|---|---|---|
| 1 | Clean Architecture | /.claude/skills/clean-architecture/SKILL.md | Dependency Rule, layers |
| 2 | Strategic DDD | /.claude/skills/ddd/SKILL.md | Bounded Context, language |
| 3 | SOLID | /.claude/skills/solid/SKILL.md | 5 principles |
| 4 | Testing | /.claude/skills/tdd/SKILL.md | Coverage, patterns |
| 5 | Code Quality | /CLAUDE.md | Conventions, imports, types |
Read first: /.claude/skills/clean-architecture/SKILL.md
Verify:
as casts?Score: X/10 with justification.
Read first: /.claude/skills/ddd/SKILL.md
Verify:
Score: X/10 with justification.
Read first: /.claude/skills/solid/SKILL.md
Verify the 5 principles:
Score: X/10 with justification.
Read first: /.claude/skills/tdd/SKILL.md
Verify:
Score: X/10 with justification.
Read first: /CLAUDE.md
Verify:
@/ aliases, no relative paths ../any avoided, no as type assertions?undefined banned in data structures, use null?async/await with try/catch/finally, no .then() chains?I prefix?Score: X/10 with justification.
Report structure:
# Auto-Review - [YYYY-MM-DD]
**Branch**: `[branch-name]`
**Modified files**: [X] (+[additions]/-[deletions] lines)
**Reviewer**: Claude Code (Auto-Review Mode)
---
## Summary
| Audit | Score | Verdict |
|-------|-------|---------|
| **Clean Architecture** | X/10 | [Verdict] |
| **DDD Strategic** | X/10 | [Verdict] |
| **SOLID** | X/10 | [Verdict] |
| **Testing** | X/10 | [Verdict] |
| **Code Quality** | X/10 | [Verdict] |
**Overall Score: X/10**
---
## Blocking Corrections (before MR)
### 1. [Title]
**File**: `path/to/file.ts:42`
**Problem**: [Description]
**Pedagogical lesson**:
> "[Quote]"
> — [Author], [Book]
**Solution**: [Corrected code]
---
## Important Corrections
[Same format]
---
## Improvements (backlog)
[Simplified format]
---
## Positive Observations
| Aspect | Observation |
|--------|-------------|
| [Pattern] | [Factual observation] |
---
## Checklist Before MR
- [ ] Blocking corrections addressed
- [ ] Tests added for new code
- [ ] `yarn verify` passes without error
---
## Recommended Skills
| Issue | Skill |
|-------|-------|
| [Issue] | `/skill-name` |
Save the report in:
/.claude/reviews/[YYYY-MM-DD]-auto-review.md
Display summary:
Auto-Review Complete
Score: X/10
Blocking: X
Important: X
Suggestions: X
Report: /.claude/reviews/[YYYY-MM-DD]-auto-review.md
READ-ONLY MODE - No code modified
Next steps:
1. Fix blocking issues with recommended skills
2. Run `yarn verify`
3. Create the MR/PR
For each point raised, include a lesson with source:
Authorized sources:
| Author | Domain |
|---|---|
| Robert C. Martin (Uncle Bob) | Clean Architecture, SOLID, Clean Code |
| Eric Evans | DDD |
| Vaughn Vernon | DDD |
| Kent Beck | TDD |
| Martin Fowler | Refactoring, Patterns |
| Detected issue | Skill to use |
|---|---|
| Missing tests | /tdd |
| New module to create | /clean-architecture |
| Abstraction to challenge | /anti-overengineering |
| SOLID violation | /solid |
| Massive refactoring | /refactoring |
| Anemic model | /ddd |
| Potential secrets | /security |
/review-front (no GitLab/GitHub integration)还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Guide for creating optimized Claude Code agents. Use to design a new specialized agent, a swarm sub-agent, or a multi-agent workflow. Follows the Skill → Agent (preloaded skills) → Skill orchestration pattern.
中文简介正在准备中。当前显示原文说明。
Anti-overengineering guide based on YAGNI. Use before adding an architectural pattern, during code review, or to challenge an overly complex implementation.
中文简介正在准备中。当前显示原文说明。
Clean Architecture (Uncle Bob) guide for this project. Use when creating modules, entities, use cases, presenters, controllers, gateways, guards, services. Contains tactical patterns and structure conventions.
中文简介正在准备中。当前显示原文说明。
Audit documentation for duplication, staleness, language issues, and verbosity. Read-only — produces an actionable report.
中文简介正在准备中。当前显示原文说明。
Clean Code (Robert C. Martin) guide to produce and challenge code that is readable, durable, simple, and consistent. Covers naming, functions, comments, smells, and refactor heuristics. Complements `/solid` (SOLID principles) and `/anti-overengineering` (YAGNI/KISS). Activate during the REFACTOR phase of the TDD cycle and during implementation self-review.
中文简介正在准备中。当前显示原文说明。
Safe commit and push workflow. Creates a commit following conventions and pushes. Husky handles verifications (TypeScript, Biome, tests).
中文简介正在准备中。当前显示原文说明。