开发与测试
new-domain
Scaffold a new domain that follows the repository's layered architecture, naming rules, DI pattern, and test layout.
Mr-DooSun · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add Mr-DooSun/fastapi-agent-blueprint --skill new-domain技能说明
name: new-domain description: Scaffold a new domain that follows the repository's layered architecture, naming rules, DI pattern, and test layout. metadata: short-description: New domain scaffolding
New Domain
Default Flow Position
- Step:
implement(architecture commitment —approach optionsupstream is mandatory) - Routes after: verify (
/test-domain {name} run) → self-review (/review-architecture {name}) → completion gate (/sync-guidelinesif shared docs reference the new domain) - Recursion guard: do not invoke
/plan-featurefrom inside this skill
Procedure
- Read
AGENTS.mdanddocs/ai/shared/skills/new-domain.mdfor the full procedure. - Read
docs/ai/shared/scaffolding-layers.mdfor the detailed file list and import paths. - Validate the domain name and confirm
src/{name}/does not already exist. - Use
src/user/as the reference implementation. - Follow the layer order: Domain → Application → Infrastructure → Interface → App Wiring → Tests.
- Preserve the shared prohibitions and verify imports after completion.