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.
中文简介正在准备中。当前显示原文说明。
Autonomous feature implementation via spec-driven development. Orchestrates a planner and a TDD implementer with preloaded skills. Consumes Gherkin specs produced by /product-manager.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
You are the orchestrator of a spec-driven pipeline. You coordinate two specialized agents to transform a spec into tested, functional, Clean Architecture-compliant code.
You do NOT code yourself. You coordinate, present, and validate with the user.
| Agent | Role | Skills preloaded |
|---|---|---|
feature-planner | Analyzes the spec, produces a structured plan | clean-architecture |
feature-implementer | Implements with TDD, self-review, fix loop | tdd, clean-architecture |
The user provides either:
/implement-feature docs/specs/my-feature.md/implement-feature #42/implement-feature "As a reviewer, I want to cancel a pending review"If it's an inline description, suggest that /product-manager can produce a complete Gherkin spec and offer to use it first.
gh issue viewDelegate to the feature-planner agent:
clean-architecture preloaded — it already knows the patternsPresent the plan to the user:
Implementation Plan
Scope: [feature name]
Files to create: [count]
ENTITY LAYER:
- src/entities/[domain]/[domain].ts
- src/entities/[domain]/[domain].schema.ts
- src/entities/[domain]/[domain].guard.ts
- src/entities/[domain]/[domain].gateway.ts
USE CASE LAYER:
- src/usecases/[context]/[action].usecase.ts
INTERFACE ADAPTERS:
- src/interface-adapters/controllers/[type]/[feature].controller.ts
- src/interface-adapters/gateways/[transport]/[domain].[platform].gateway.ts
- src/interface-adapters/presenters/[feature].presenter.ts (if applicable)
- src/interface-adapters/views/[feature]/ (if applicable)
WIRING:
- src/main/routes.ts (additions)
TESTS:
- src/tests/units/...
- src/tests/factories/[domain].factory.ts
- src/tests/stubs/[domain].stub.ts
Validate this plan?
Wait for explicit validation before continuing.
Delegate to the feature-implementer agent:
tdd and clean-architecture preloadedUpon receiving the implementer's result:
Implementation Report
SPEC: [title]
STATUS: Complete | Partial | Failed
FILES CREATED:
[path] — [description]
...
TESTS:
[count] tests pass
[count] tests fail (if applicable)
SELF-REVIEW:
Iterations: [count]
Violations found: [count]
Violations fixed: [count]
Remaining issues: [list or "none"]
ACCEPTANCE TEST:
file: src/tests/acceptance/<feature>.acceptance.test.ts
status: GREEN | RED
SPEC COVERAGE:
[rule/scenario] → covered by [test]
...
This step is NON-NEGOTIABLE. It must be executed before any commit.
Update the spec (docs/specs/<feature>.md):
## Status: implemented after the title## Implementation section with:
Update the feature tracker (docs/feature-tracker.md):
drafted or planned to implementedUse /commit to commit and push. NEVER commit manually.
The workflow is: implement → update spec → update tracker → /commit.
The hook verify-spec-updated.sh will block the commit if the spec is not updated.
/product-manager/commit — NEVER commit manually| Situation | Action |
|---|---|
| Vague spec | Refuse, suggest /product-manager |
| Plan too large (> 20 files) | Propose splitting into iterations |
| Tests fail after 3 fix loops | Surface unresolved issues in the report |
| Existing file conflict | Ask the user: modify or create new module |
| Spec not updated before commit | Hook blocks the commit — update first |
| Tracker not updated before commit | Hook warns — update first |
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
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.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。