domain-modeling

Build and maintain project glossaries and architecture decision records during design discussions.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/falentio/cimi --skill domain-modeling-falentio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-modeling
Source: https://github.com/falentio/cimi/tree/main/.agents/skills/skills/domain-modeling
Command: npx skills add https://github.com/falentio/cimi --skill domain-modeling-falentio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams lose track of domain terminology and the reasoning behind architectural decisions, leading to inconsistent language in code and repeated debates about settled choices. This Skill actively sharpens a project's domain model by maintaining a CONTEXT.md glossary and recording ADRs as decisions crystallize. ## Core Features & Use Cases - Glossary Management: Creates and updates CONTEXT.md files with opinionated term definitions, canonical vocabulary, and terms to avoid, supporting both single-context and multi-context repositories via CONTEXT-MAP.md. - Architecture Decision Records: Writes numbered ADRs in docs/adr/ following a minimal template, offered only when decisions are hard to reverse, surprising without context, and the result of real trade-offs. - Active Language Sharpening: Challenges terms that conflict with the glossary, proposes precise canonical names for vague language, and cross-references stated behavior against actual code. - Use Case: While designing an ordering system, a user says "account" ambiguously; the Skill asks whether they mean Customer or User, updates CONTEXT.md with the resolved term, and later records an ADR explaining why ordering and billing communicate via domain events instead of synchronous HTTP. ## Quick Start Help me define the domain terminology for my project and record the key architectural decisions we make along the way.

Frequently Asked Questions about domain-modeling

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

FAQPage Schema
How do I create a domain glossary for my codebase?

Create a CONTEXT.md file at the repository root listing each domain term with a one or two sentence definition and words to avoid. The Skill updates this file inline as terms are resolved during design discussions, keeping it free of implementation details.

When should I write an architecture decision record?

Write an ADR only when a decision is hard to reverse, surprising without context, and the result of a genuine trade-off between alternatives. Decisions that are easy to reverse, obvious, or had no real alternatives should be skipped.

How do I handle multiple bounded contexts in one repository?

Create a CONTEXT-MAP.md at the repository root listing each context, its location, and how contexts relate to each other. Each context then gets its own CONTEXT.md and optionally its own docs/adr directory for context-specific decisions.

What format should an ADR follow?

ADRs live in docs/adr/ with sequential numbering like 0001-slug.md and contain a short title plus one to three sentences covering context, decision, and rationale. Optional sections for status, considered options, and consequences are added only when they add genuine value.

What belongs in CONTEXT.md versus implementation documentation?

CONTEXT.md is strictly a glossary of domain terms with tight definitions and avoided synonyms, containing no implementation details, specs, or scratch notes. Only project-specific domain concepts belong; general programming concepts like timeouts or error types are excluded.