Overview
A skill for continuously evolving domain specifications during implementation.
Maintains consistency of docs/domain in sync with code changes.
Execution Steps
Step 1: Identify Changes
- Identify the target feature and impact scope (entities / use cases / terminology)
- Check for contradictions with existing
docs/domain/*.md
Step 2: Update docs/domain
Update only the necessary files with minimal diffs.
overview.md: Update only if the purpose or scope changesentities.md: Reflect changes to attributes, rules, and relationshipsusecases.md: Add/modify use cases, update prioritiesglossary.md: Add new terms, organize synonymsdecisions.md: Append specification decisions
Step 3: Record Decision Rationale
When a specification decision is made, always record the following in decisions.md:
- Decision
- Reason
- Alternatives
- Impact scope
Reference Documents
docs/domain/README.mddocs/web-frontend/typescript.md