跳到正文
cccskills
免费在 GitHub 公开

domain-modeling

Maintains project domain language, context maps, diagrams, and architectural decisions under ai-artifacts. Use when clarifying terminology, bounded contexts, or durable design decisions.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra星标 5(GitHub 5 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(3)

  • SKILL.md4.7 KB
  • ADR-FORMAT.md2.1 KB
  • CONTEXT-FORMAT.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Domain Modeling

Actively build and sharpen the project's domain model as you design. This is the active discipline—challenging terms, inventing edge-case scenarios, visualizing relationships, and writing the glossary and decisions down when they crystallize. Merely reading ai-artifacts/CONTEXT.md for vocabulary is not this skill; this skill is for changing the model, not just consuming it.

Artifact home

Keep agent-authored project knowledge under ai-artifacts/. This includes context glossaries, context maps, ADRs, plans, specs, analyses, reports, reviews, and other Markdown primarily created for or by an LLM.

Use another location only when the user or repository explicitly requires it, such as a human-facing README.md or established product documentation. Do not relocate existing documentation unless asked.

Embed ASCII or Mermaid diagrams directly in the Markdown they explain. Do not create standalone diagram files.

File structure

Most repositories have a single context:

/
├── ai-artifacts/
│   ├── CONTEXT.md
│   └── docs/
│       └── adr/
│           ├── 0001-event-sourced-orders.md
│           └── 0002-postgres-for-write-model.md
└── src/

If ai-artifacts/CONTEXT-MAP.md exists, the repository has multiple contexts:

/
├── ai-artifacts/
│   ├── CONTEXT-MAP.md
│   ├── docs/
│   │   └── adr/                      ← system-wide decisions
│   └── src/
│       ├── ordering/
│       │   ├── CONTEXT.md
│       │   └── docs/adr/             ← context-specific decisions
│       └── billing/
│           ├── CONTEXT.md
│           └── docs/adr/
└── src/                              ← application source code

ai-artifacts/src/ mirrors the source tree only to make context ownership obvious. Application code remains in the repository's real source directories.

Create files lazily—only when there is something worth recording. Create ai-artifacts/CONTEXT.md when the first term is resolved. Create an ADR directory when the first qualifying decision is made. Create ai-artifacts/CONTEXT-MAP.md only when the project has multiple genuine contexts.

During the session

Challenge against the glossary

When the user uses a term that conflicts with the relevant CONTEXT.md, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y—which is it?"

Sharpen fuzzy language

When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account'—do you mean the Customer or the User? Those are different things."

Discuss concrete scenarios

When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about boundaries between concepts.

Cross-reference with code

When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible—which is right?"

Visualize the model

Include an embedded diagram when boundaries, relationships, states, or flows are easier to understand visually.

  • Use Mermaid for graphs, state transitions, sequences, and multi-context relationships.
  • Use ASCII art for small structures or when plain-text portability matters more.
  • Use domain terms from the glossary.
  • Show the domain model, not classes, framework components, or incidental infrastructure.
  • Keep the diagram beside the prose it clarifies.

Update context artifacts inline

When a term or relationship is resolved, update the relevant file under ai-artifacts/ immediately. Do not batch resolved domain knowledge. Use CONTEXT-FORMAT.md.

A CONTEXT.md is a glossary, not a spec, scratch pad, or implementation guide. Its diagrams may show conceptual relationships, boundaries, and states, but must not contain implementation details.

Offer ADRs sparingly

Only offer to create an ADR when all three are true:

  1. Hard to reverse—the cost of changing the decision later is meaningful.
  2. Surprising without context—a future reader will wonder why it was done this way.
  3. The result of a real trade-off—genuine alternatives existed and one was chosen for specific reasons.

If any condition is missing, skip the ADR. Use ADR-FORMAT.md.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Transcribes local audio into Markdown with Gemini 3.5 Transcribe, including speaker labels and provider timestamps. Use for interviews, meetings, lectures, podcasts, voice notes, and similar recordings.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra52026年10月22日 更新

better-ui

免费

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter/exit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, theme switch transitions, border radius, optical alignment, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra52026年10月22日 更新

Explores and validates a feature, component, workflow, or behavior change before implementation. Use when work needs clarified intent, compared approaches, and an approved direction.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra52026年10月22日 更新

bro

免费

Restates the previous response in plain, concise language. Use only when the user invokes bro or explicitly asks for a simpler explanation.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra52026年10月22日 更新

Generates or edits raster images through OpenAI's Image API. Use for text-to-image work, reference-based edits, masks, transparent assets, and product or editorial visuals.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra52026年10月22日 更新

Applies language-neutral engineering standards when writing or reviewing code, especially around boundaries, failures, domain models, dependencies, tests, and type safety.

中文简介正在准备中。当前显示原文说明。

iurysza/ultra52026年10月22日 更新

查看 iurysza 的全部技能

报告此技能的问题