ddd
DDD 領域驅動設計 — 戰略設計
本 Skill 專注於產出戰略設計文件,幫助使用者將業務需求轉化為清晰的領域模型。
產出目標
產出一份 DOMAIN-MODEL.md 文件,包含:
- 領域與子域 (Domain & Subdomains) — 識別核心子域、支撐子域、通用子域
- 限界上下文 (Bounded Contexts) — 根據子域拆分軟體邊界
- 通用語言 (Ubiquitous Language) — 中英對照的詞彙定義表
- 上下文映射 (Context Map) — 定義上下文間的溝通規則與領域事件
產出流程
由使用者提出需求,或與 Agent 討論後產出。
More from cacaorick/skills
ai-dev-workflow
由文件串起完整的 AI 開發流程。涵蓋領域建模與程式碼組織(DDD)以及 AI 開發規範設定(Agent 規範)。Use when (1) the user asks to organize code by business features or define naming conventions, (2) creating or updating AGENTS.md / project rule files, (3) starting a new project from scratch, or (4) the agent needs the full development lifecycle.
12bdd
行為驅動開發流程。幫助撰寫 Gherkin、建立 Step Definitions 骨架、選擇測試工具、執行驗證並回報問題。開發和修正是由其他 skills 處理。Use when (1) the project uses BDD or has .feature files, (2) the user asks to write Gherkin scenarios or Step Definitions, (3) the user asks to run BDD tests.
1agents-md
引導 AI Agent 閱讀並遵守專案的 AGENTS.md 規範。AGENTS.md 是給 AI 看的專案說明文件,定義了技術棧、資料夾架構、專案架構、開發流程等約束。Use when:任何任務開始前、需要了解技術棧、資料夾架構、專案架構、開發流程時。AI Agent 不可做出違抗 AGENTS.md 的行為。
1temp-folder
當 AI Agent 需要建立非專案所需的臨時檔案時(如測試輸出、生成的程式碼草稿、除錯檔案等),自動在專案根目錄建立 `.ai` 資料夾,並確保該資料夾已被加入 `.gitignore`。使用時機:(1) 當 AI 需要產生臨時/測試性質的檔案,(2) 當 AI 產生的檔案不是專案正式所需。
1