Domain knowledge discovery and guidance. Use when user says /domain, /domain configure, /domain learn, /domain explain, or /domain map.
View on GitHubplugins/domain-expert/skills/domain-expert/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/dohernandez/claude-skills/blob/main/plugins/domain-expert/skills/domain-expert/SKILL.md -a claude-code --skill domain-expertInstallation paths:
.claude/skills/domain-expert/# Domain Expert Skill ## Purpose Discover, learn, and guide domain knowledge. Helps understand project concepts, terminology, and how to map requests to domain patterns. ## Quick Reference - **Provides:** Domain knowledge, concept explanations, request mapping - **Modes:** configure, learn, explain, map ## Modes Overview | Mode | Command | Purpose | |------|---------|---------| | **configure** | `/domain configure` | Read domain knowledge from docs | | **learn** | `/domain learn` | Infer domain from code analysis | | **explain** | `/domain explain <concept>` | Answer questions about a concept | | **map** | `/domain map <request>` | Map request to domain concepts | --- ### Configure Mode: `/domain configure` (Setup) Discovers domain knowledge from existing documentation. ```bash /domain configure ``` **What it checks:** - CLAUDE.md (Domain section) - README.md (Project overview) - docs/domain.md, docs/glossary.md - docs/ADR/*.md (Architecture Decision Records) **Output:** ``` ## Discovered Domain Knowledge **Project:** E-commerce platform **Confidence:** High (domain.md found) ### Glossary (12 terms) | Term | Definition | |------|------------| | Customer | User who has made a purchase | | Order | Customer's request to purchase items | | Cart | Collection of items before checkout | ### Entities (5 found) | Entity | Description | Key Attributes | |--------|-------------|----------------| | Customer | Registered user | id, email, tier | | Order | Purchase request | id, status, items | ### Business Rules (3 found) | Rule | Context | |------|---------| | Orders can only be cancelled within 24h | Order cancellation | **Save this configuration?** [Confirm / Adjust] ``` --- ### Learn Mode: `/domain learn` Analyzes domain code to infer entities, relationships, and patterns. ```bash # Analyze all domain code (default) /domain learn --analyze # Learn from specific file /domain learn --from src/domain/order/order.ts ``` **What it analyzes by language:** |