跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

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 options upstream is mandatory)
  • Routes after: verify (/test-domain {name} run) → self-review (/review-architecture {name}) → completion gate (/sync-guidelines if shared docs reference the new domain)
  • Recursion guard: do not invoke /plan-feature from inside this skill

Procedure

  1. Read AGENTS.md and docs/ai/shared/skills/new-domain.md for the full procedure.
  2. Read docs/ai/shared/scaffolding-layers.md for the detailed file list and import paths.
  3. Validate the domain name and confirm src/{name}/ does not already exist.
  4. Use src/user/ as the reference implementation.
  5. Follow the layer order: Domain → Application → Infrastructure → Interface → App Wiring → Tests.
  6. Preserve the shared prohibitions and verify imports after completion.