Generate domain understanding documentation from codebase analysis. Extracts entities, business logic, domain terms, and concept relationships. Triggers: domain understanding, glossary, entities, business logic, domain model, ER diagram, use cases.
/plugin marketplace add thkt/claude-config/plugin install complete-workflow-system@thkt-development-workflowsThis skill is limited to using the following tools:
EVALUATIONS.mdscripts/extract-entities.shscripts/extract-glossary.shscripts/generate-er-diagram.shAuto-generate domain documentation from codebase analysis.
| Category | Targets |
|---|---|
| Entities/Models | class, interface, dataclass, Pydantic, Prisma, TypeORM, SQLAlchemy |
| Domain Terms | Class/function names, comments, JSDoc, docstrings |
| Relationships | Entity references, inheritance, import analysis |
| Use Cases | Service/UseCase classes, Handler/Controller functions |
| Script | Purpose |
|---|---|
scripts/extract-entities.sh | Entity name, fields, relationships |
scripts/extract-glossary.sh | Terms, frequency, context |
scripts/generate-er-diagram.sh | Mermaid ER diagram |
# Domain Understanding Document
## Entity List
### User
- id: string
- name: string
Related: Order, Profile
## Concept Relationship Diagram
(Mermaid ER diagram)
## Domain Glossary
| Term | Description | Related |
## Use Case List
| Use Case | Description | Entities |
/docs:domain # Generate domain docs
"Generate domain glossary" # Natural language
After generation, validate output with:
~/.claude/skills/scripts/validate-markdown.sh {output-file}
Non-blocking (warnings only) - style issues don't block document creation.
documenting-architecture, documenting-apis, setting-up-docsThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.