dot_agents/skills/documenting-domain/SKILL.md
Document business domain concepts, terminology, entity relationships, and domain rules for a project. Produces documentation that establishes the shared language used by both humans and AI agents. Use when (1) a project's domain concepts are undocumented, (2) agents misinterpret business terminology, (3) onboarding new team members who need to understand the business model, or (4) domain knowledge is scattered across code and needs consolidation. This is the most foundational documentation layer — all other docs reference it.
npx skillsauth add MrPointer/dotfiles documenting-domainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Document the business domain of a project: its terminology, entities, relationships, rules, and mental models. This is the most foundational documentation layer — architecture, processes, and components all reference domain concepts.
Domain ← You are here (foundation — all other layers reference this)
↓
Architecture ← References domain concepts
↓
Business Processes ← References domain concepts and architecture
↓
Components ← References all of the above
Before writing anything:
Analyze the targeted area of the codebase:
Stay within the requested scope. If asked to document the "billing domain", don't wander into authentication.
Follow the project's existing doc style. If none exists, use this structure:
# <Domain Area>
## Overview
<What this domain area covers and why it exists in the system — 2-3 sentences>
## Key Concepts
### <Entity/Concept Name>
<Definition in plain business language>
- **Lifecycle**: <How it's created, what states it transitions through, when it's retired>
- **Relationships**: <What it belongs to, what it contains, what it interacts with>
- **Key Rules**: <Business invariants — e.g., "a workspace must always have at least one admin">
### <Another Entity/Concept>
...
## Domain Rules
<Cross-cutting business rules that don't belong to a single entity>
- <Rule 1>
- <Rule 2>
## Glossary
<Quick-reference table of domain terms — useful for agents and new team members>
| Term | Definition |
|------|-----------|
| ... | ... |
If new documentation files were created, propose adding a pointer in AGENTS.md:
## Domain
See `docs/domain/<area>.md` for <brief description>.
Never put domain knowledge into AGENTS.md itself — only add a pointer.
[text][ref] with [ref]: path at the bottom of the file) rather than inline links. They read better in source and are easier to maintain.testing
Create implementation plans from a reviewed RFC. Uses the RFC as the approved design baseline, decomposes it into executable sub-plans, and runs RFC-specific plan review.
tools
Create implementation plans directly from user requirements when no reviewed RFC is available or the user explicitly declines RFC-first planning. Decomposes work into self-contained sub-plans with full iterative multi-agent plan review.
content-media
Decompose a reviewed RFC into sequenced features for a single project. Uses the RFC as the approved design baseline and produces a persistent epic plan reviewed for RFC fidelity and feature decomposition.
tools
Decompose large efforts directly from user requirements when no reviewed RFC is available or the user explicitly declines RFC-first epic planning. Produces a persistent epic plan with rich feature descriptions that feed into planning-project-features separately.