Back to Skills

documenting-domains

verified

Generate domain documentation from codebase analysis - entities, glossary, relationships. Use when analyzing domain models, creating glossaries, or when user mentions domain model, entity diagram, ドメインモデル, 用語集, glossary, ubiquitous language.

View on GitHub

Marketplace

thkt-development-workflows

thkt/claude-config

Plugin

development-skills

Development Skills

Repository

thkt/claude-config
3stars

skills/documenting-domains/SKILL.md

Last Verified

January 22, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/thkt/claude-config/blob/main/skills/documenting-domains/SKILL.md -a claude-code --skill documenting-domains

Installation paths:

Claude
.claude/skills/documenting-domains/
Powered by add-skill CLI

Instructions

# Domain Understanding Generation

## Detection

| Category       | Targets                                        |
| -------------- | ---------------------------------------------- |
| Entities       | class, interface, dataclass, Prisma, ORM       |
| Invariants     | Validation logic, constraints, required fields |
| Domain Terms   | Class/function names, comments, JSDoc          |
| Relationships  | Entity references, inheritance, imports        |
| Business Rules | Validators, policies, domain services          |
| Domain Events  | Event classes, EventEmitter, pub/sub patterns  |

## ORM Patterns

| ORM/Framework | Pattern                    |
| ------------- | -------------------------- |
| Prisma        | `model User {}`            |
| TypeORM       | `@Entity()`, `@Column()`   |
| Sequelize     | `Model.init()`             |
| Django        | `class User(models.Model)` |
| SQLAlchemy    | `class User(Base)`         |

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
765 chars