domain-model-generator

Generate and update docs/domain_model.md from project context and logs.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Avila-Tek/avila-tek-skill-pack --skill domain-model-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-model-generator
Source: https://github.com/Avila-Tek/avila-tek-skill-pack/tree/main/skills/planning-1-domain-model-generator
Command: npx skills add https://github.com/Avila-Tek/avila-tek-skill-pack --skill domain-model-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates and iterates the domain model document (docs/domain_model.md) for a project. This artifact serves as a living reference that anchors vocabulary from the project context and ensures consistent domain thinking across planning artifacts and downstream engineering work.

Core Features & Use Cases

  • Generate or update docs/domain_model.md to reflect current domain concepts, invariants, events, and data model mappings.
  • Append changes to the Change Log and Schema Evolution Log with each update, preserving history.
  • Read vocabulary from docs/project_context.md to maintain a consistent domain glossary.
  • Facilitate an interactive exploration process that gathers entities, attributes, invariants, events, and relationships.

Quick Start

Generate or update docs/domain_model.md for the current project domain model.

Frequently Asked Questions about domain-model-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a domain model document for my project?

To generate a domain model document, you interactively gather entities, attributes, invariants, and events to produce a living reference file that anchors project vocabulary and ensures consistent domain thinking across downstream engineering work.

What is the best way to maintain a data model schema evolution log?

The best way to maintain a schema evolution log is to append changes to the Change Log and Schema Evolution Log with each update, preserving history rather than rewriting it whenever new entities or invariants require documentation.

How does domain vocabulary alignment work with a project context file?

Domain vocabulary alignment works by reading the glossary from your project context file to ensure that the generated domain model maintains consistent terminology and definitions across all planning artifacts.

Can I update domain events and invariants without losing previous documentation history?

Yes, you can update domain events and invariants without losing history by appending changes to the Change Log and Schema Evolution Log, which preserves the historical context of your evolving domain model.

When do I need to document domain invariants and data model mappings?

You need to document domain invariants and data model mappings when new or evolving entities require alignment with the project context, ensuring your domain glossary reflects current concepts and relationships for downstream engineering.

Does domain modeling require an existing project context glossary?

Yes, domain modeling requires reading an existing project context file to extract the domain glossary, which anchors the vocabulary and ensures consistent domain thinking across planning artifacts and engineering work.