اسکیلیکس | Skilliks مهارت‌های تاییدشده برای هوش مصنوعی

Domain modeling

آزاد تازه‌وارد تاییدشده امن

برای کارهای یادگیری ماشین، «Domain modeling» یک راهنمای کوتاه و روشن است: مسیر «طراحی و بهینه‌سازی دیتابیس» را مشخص می‌کند و آزمون‌وخطا را کم می‌کند. ۳ گام مشخص و ۲ نمونهٔ آماده در متن آن آمده و برای Claude Code، OpenAI Codex، Cursor آماده است.

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: "astack-domain-modeling"
description: "Build a project domain model. Use when you discuss terminology, change CONTEXT.md, or record or edit an ADR."
license: "MIT"
metadata:
  astack-version: "0.3.0"
  source: "astack"
---

# Domain modeling

Build the domain model during design work.
A code plan names its context, caps, steps and laws in one `domain` block, which a ChangeProof cites with `domain.plan`.
The contexts card maps each context to its code globs.
Challenge unclear terms.
Test relationships with concrete edge cases.
Record each resolved term and qualifying decision when the discussion settles it.
Reading an existing glossary for vocabulary does not require this skill.

## File structure

Most repos have one context:

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

A root `CONTEXT-MAP.md` identifies a repo with multiple contexts.
The map links each context to its files:

```
/
├── CONTEXT-MAP.md
├── docs/
<!-- ‹guest · 2026-11-23› -->
│   └── adr/                          ← system-wide decisions
├── src/
│   ├── ordering/
│   │   ├── CONTEXT.md
│   │   └── docs/adr/                 ← context-specific decisions
│   └── billing/
│       ├── CONTEXT.md
│       └── docs/adr/
```

Create `docs/adr/` when the first decision needs an ADR.
Do not create empty files in advance.

Use `CONTEXT.md` for the glossary.
If the repo already has a `GLOSSARY.md` and no `CONTEXT.md`, keep `GLOSSARY.md`. In that case, use `GLOSSARY-MAP.md` wherever this skill names `CONTEXT-MAP.md`.

## During the session

### Check terms against the glossary

Flag a term that conflicts with `CONTEXT.md` as soon as the user uses it.
State the existing definition and the conflicting meaning.
Ask the user which meaning applies.
For example, "The glossary defines cancellation as X. Do you mean X or Y?"

### Resolve unclear terms

Propose one precise term when a word has several meanings.
For example, "Does account mean Customer or User? Those are separate concepts."

### Test concrete scenarios

Test each proposed domain relationship with specific scenarios.
Include edge cases that expose unclear limits between concepts.

### Check claims against the code

Check the code when the user states how the system works.
Report a contradiction and ask which behavior is correct.
For example, "The code cancels whole Orders. Does the model also permit partial cancellation?"
<!-- ‹guest · 2026-11-23› -->

### Update the glossary immediately

Update `CONTEXT.md` as soon as a term is resolved.
Use [GLOSSARY-FORMAT.md](./GLOSSARY-FORMAT.md).
Do not collect resolved terms for a later batch.

Keep `CONTEXT.md` as a glossary with its contexts card.
Exclude specifications, scratch notes and implementation decisions.

### Offer ADRs only when needed

Offer an ADR only when all three conditions hold:

1. A later reversal would cost substantial work.
2. A future reader would find the code surprising without the reason.
3. The decision chose between real alternatives for specific reasons.

If any condition fails, do not offer an ADR.
Use [ADR-FORMAT.md](./ADR-FORMAT.md) for a qualifying decision.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
یادگیری ماشین
✦ Pro

OpenAI Docs

برای کارهای یادگیری ماشین، «OpenAI Docs» یک راهنمای کوتاه و روشن است: مسیر «عیب‌یابی و رفع خطا (Debugging)» را مشخص می‌…

⚡ /openai-docs SKILL.md
ChatGPTOpenAI Codex +۲
۹۲/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

Threat Model Source Code Repo

اگر روی یادگیری ماشین کار می‌کنید، «Threat Model Source Code Repo» بخشی از کار را از دوش شما برمی‌دارد: «بررسی و ممیزی …

⚡ /security-threat-model SKILL.md
ClineOpenAI Codex
۸۹/۱۰۰ ★ ۲۸,۹۱۰
یادگیری ماشین
✦ Pro

Gemini API in Gemini platform

برای کارهای یادگیری ماشین، «Gemini API in Gemini platform» یک راهنمای کوتاه و روشن است: مسیر «هماهنگی عامل‌ها و ابزارها…

⚡ /gemini-api SKILL.md
GeminiMCP
۹۶/۱۰۰ ★ ۲۴,۵۴۸
یادگیری ماشین
✦ Pro

Data Manager API Troubleshooting

«Data Manager API Troubleshooting» یک مهارت آماده در حوزهٔ یادگیری ماشین است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «عیب‌…

⚡ /data-manager-api-troubleshooting SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۴۶
یادگیری ماشین
✦ Pro

LiteRT on Google Tensor: compile, benchmark, package for apps

این مهارت با نام «LiteRT on Google Tensor: compile, benchmark, package for apps» تجربهٔ یک کاربلد در یادگیری ماشین را ک…

⚡ /litert-google-tensor SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۲۴,۵۵۳
یادگیری ماشین
✦ Pro

GKE AI/ML Inference

اگر روی یادگیری ماشین کار می‌کنید، «GKE AI/ML Inference» بخشی از کار را از دوش شما برمی‌دارد: «دواپس، داکر و استقرار (D…

⚡ /gke-inference SKILL.md
MCP
۹۶/۱۰۰ ★ ۲۴,۵۵۰