cross-context
Installation
SKILL.md
Cross-Context Skill
觸發時機
- analyze-frame 識別出
cross_context_dependencies時 - 需求涉及多個 Bounded Context 的協作
- 設計 Anti-Corruption Layer (ACL) 時
- 定義 Context Mapping 策略時
核心任務
- 識別跨 BC 依賴的類型與方向
- 設計適當的整合模式 (ACL, Open Host, Shared Kernel, etc.)
- 定義跨 BC 的契約規格
- 確保當前 BC 不被外部 BC 污染
Context Mapping 模式
Related skills
More from knowlet/skills
multi-model-reviewer
協調多個 AI 模型(ChatGPT、Gemini、Codex、QWEN、Claude)進行三角驗證,確保「Specification == Program == Test」一致性。過濾假警報後輸出報告,大幅減少人工介入時間。
13enforce-contract
單元測試與代碼提交前觸發。掃描並驗證方法的 pre-conditions、post-conditions 與 invariants,透過契約式設計減少 AI 幻覺。
10spec-compliance-validator
驗證規格檔案的完整性與一致性,確保所有必要的規格元素都已定義且符合標準格式。
10arch-guard
進行代碼重構或新增模組時觸發。確保程式碼符合 Clean Architecture + DDD + CQRS 的層次關係,防止架構腐化。
9code-reviewer
Automated code review that checks code quality, Clean Architecture compliance, DDD patterns, coding standards, and spec traceability.
9saga-orchestrator
處理跨 Frame 的複雜業務流程,協調多個 Sub-agent (command/query/reactor) 完成 Saga/Choreography 模式的分散式交易。當需求涉及多個狀態變更、事件反應與查詢的組合時使用。
9