Domain Modeling

Domain Modeling

釐清領域名詞、業務規則與概念邊界。

mattpocock · 社群來源 · 程式設計與開發

來源狀態

可用來源

原始名稱: domain-modeling

這是第三方 Community Skill;2lus 收錄不代表已完整安全審計或保證安全。

資源類型

Skill

與類似 Skill 有什麼不同?

  • API 設計

    Domain Modeling 決定領域語言與概念邊界;API Design 將已釐清的模型轉成外部介面契約。

來源描述的能力

這些是來源描述的可能操作,不代表 2lus 已授予權限或已測試。

尚未列出能力,請審查原始來源。

這個 Skill 是什麼?

讓團隊對 Account、User、Customer 等用語形成共識,將決策整理為詞彙表及 ADR,並對照既有 CONTEXT.md。

可以做什麼?何時適合使用?

  • 同一個名詞有不同定義。
  • 設計新業務流程或實體。
  • 記錄跨團隊模型決策。

如何使用

  1. 提供名詞、真實情境與業務規則。
  2. 用反例釐清概念及邊界,請領域專家確認。
  3. 更新詞彙表與 ADR;依專案約定同步 CONTEXT.md。

使用前你需要準備

  • 領域名詞與業務規則
  • 既有 CONTEXT.md 或詞彙表(如有)

你可以替換:

請替換範例中的檔名與情境,提供範圍、限制及預期產物。

環境與相依需求

  • 領域名詞與業務規則
  • 既有 CONTEXT.md 或詞彙表(如有)

使用範例與 Prompt

以下是 2lus 撰寫的示範需求;請替換為你有權處理的檔案與專案,不代表已執行或保證結果。

入門

用 Domain Modeling 分辨電商中的 Account、User、Customer,列出定義、例子與待確認問題。

實務

依退款規則整理 Order、Payment、Refund 的責任及不變條件,產生詞彙表草案,不先設計 endpoint。

進階

對照 billing 與 membership 的 CONTEXT.md,找出 Subscription 定義衝突,提議 bounded context 與 ADR,保留未達共識的決策。

實用提醒

  • 用具體反例檢查每個定義。

限制與注意事項

  • 模型需要業務方確認,不能只由程式命名推定。

安全注意事項

  • 只處理有權使用的資料;先檢閱第三方指令與相依工具,移除密鑰及個資。2lus 不會執行 Skill。

使用與設定

此條目不提供已確認的通用安裝指令;請依官方文件與 Agent 版本操作。

支援平台

未確認特定 Agent 相容性

來源與授權

來源查核日期(非安全認證): 2026-09-30

請參考原始來源授權條款

原始來源 ↗ 官方文件 ↗

GitHub 關注趨勢

約 +4200 / 7d

快照日期(UTC): 2026-09-30

快照來源: weekly-agent-skills-ranking

歷史快照

需求提供的近似 Repository 成長快照,並非 GitHub 官方 Analytics;同 Repository 的 Skill 共用此訊號。

Star 成長代表近期 GitHub 關注度,不代表品質排名。

相關 Skills

使用第三方 Skill 前,請先檢查來源、權限與執行內容。安裝指令只供查看與複製,不會由 2lus 執行。

2lus AI Skills Library 提供 Skill 的整理與使用導覽。第三方 Skill 的內容、授權與可用性以原始來源為準。使用或安裝前,請自行確認其權限與執行內容。

Domain Modeling

Clarify domain terms, business rules and conceptual boundaries.

mattpocock · Community source · Programming & Development

Source status

Active source

Original name: domain-modeling

This is a third-party community skill. Inclusion by 2lus is not a complete security audit or safety guarantee.

Resource type

Skill

How is this different from similar skills?

  • API Design

    Domain Modeling establishes language and conceptual boundaries; API Design expresses the model through external interface contracts.

Documented capabilities

These are operations described upstream, not permissions granted or tested by 2lus.

Capabilities not declared here; review the original source.

What is this skill?

Agree on meanings for Account, User and Customer, then record a glossary and ADRs alongside existing project context.

Use cases and when to use it

  • Resolve conflicting terminology.
  • Design business entities or workflows.
  • Record cross-team modeling decisions.

How to use it

  1. Provide terms, concrete scenarios and rules.
  2. Use counterexamples to clarify boundaries with domain owners.
  3. Update glossary and ADRs; align existing CONTEXT.md where the project requires it.

What you need

  • Domain terms and business rules
  • Existing CONTEXT.md or glossary, when available

You can replace:

Replace example filenames and context; specify scope, constraints and the intended deliverable.

Environment and dependencies

  • Domain terms and business rules
  • Existing CONTEXT.md or glossary, when available

Usage and prompt examples

These example requests were written by 2lus. Substitute files and projects you may use; examples are not executed results or guarantees.

Beginner

Use Domain Modeling to distinguish Account, User and Customer in a shop, including definitions, examples and open questions.

Practical

Model Order, Payment and Refund responsibilities and invariants from refund rules. Draft a glossary before designing endpoints.

Advanced

Compare billing and membership CONTEXT.md files for conflicting Subscription definitions. Propose bounded contexts and an ADR with unresolved decisions.

Tips

  • Challenge definitions using concrete counterexamples.

Limitations

  • Business owners must validate the model; code names alone are insufficient.

Security notes

  • Use authorized inputs; review third-party instructions and dependencies, remove secrets and personal data. 2lus does not execute skills.

Usage and setup

No verified universal installation command is provided for this entry. Follow the official documentation for your agent version.

Supported agents

Specific agent compatibility unknown

Sources and license

Source check date (not a safety certification): 2026-09-30

Refer to the original source license terms

Original source ↗ Documentation ↗

GitHub Momentum

Approx. +4200 / 7d

Snapshot date (UTC): 2026-09-30

Snapshot source: weekly-agent-skills-ranking

Historical snapshot

Approximate repository growth supplied by the selection brief, not official GitHub Analytics; skills in the same repository share this signal.

Star growth reflects recent GitHub attention, not a quality ranking.

Related skills

Before using a third-party skill, review its source, permissions and executable content. Commands are for viewing and copying only; 2lus does not execute them.

2lus AI Skills Library provides curated educational guides. Third-party content, licenses and availability are governed by their original sources. Review permissions and executable content before use or installation.