CtrlK
BlogDocsLog inGet started
Tessl Logo

ddd-ubiquitous-language

Use when a Ruby on Rails feature, bug, or architecture discussion has fuzzy business terminology and you need a Domain-Driven Design ubiquitous language. Covers canonical terms, synonyms, overloaded words, naming conflicts, and glossary output for Rails-first workflows.

78

Quality

72%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./ddd-ubiquitous-language/SKILL.md
SKILL.md
Quality
Evals
Security

DDD Ubiquitous Language

Use this skill when the domain language is fuzzy, overloaded, or inconsistent.

Core principle: Agree on business language before choosing models, services, or boundaries.

Quick Reference

TopicRule
Canonical termPick one business term for one concept
SynonymsCapture them, then choose one preferred term
Overloaded wordsFlag them early; split meanings explicitly
NamingPrefer business meaning over technical shorthand
OutputReturn a usable glossary, not abstract theory

HARD-GATE

DO NOT introduce DDD terminology without grounding it in the user's real domain language.
DO NOT rename code concepts until the glossary is explicit enough to justify the change.
ALWAYS flag overloaded or conflicting terms before recommending modeling changes.

When to Use

  • The user uses multiple words for what might be the same business concept.
  • A feature or bug discussion is blocked by unclear naming.
  • You need a glossary before doing boundary review or Rails modeling.
  • Next step: Chain to ddd-boundaries-review when the glossary reveals multiple contexts, or to ddd-rails-modeling when the main problem is tactical modeling in Rails.

Process

  1. Collect terms: Pull candidate nouns, roles, states, events, and actions from the request, PRD, tickets, existing docs, and code names.
  2. Group synonyms: Identify words that appear to mean the same thing and words that are overloaded across multiple meanings.
  3. Choose canonical terms: Prefer the clearest business term; keep aliases only as migration notes or search hints.
  4. Define each term: Write one short definition, expected invariants, and related concepts.
  5. Flag ambiguity: List terms that need user confirmation or that likely indicate multiple bounded contexts.
  6. Hand off: Continue with ddd-boundaries-review, ddd-rails-modeling, or create-prd / generate-tasks depending on the workflow stage.

Output Style

When using this skill, return:

  1. Canonical term
  2. Aliases / conflicting words
  3. Definition
  4. Key invariant or business rule
  5. Likely related context
  6. Open questions

Good Output Shape

| Canonical term | Aliases | Definition | Invariant | Context |
|----------------|---------|------------|-----------|---------|
| Reservation | Booking, Hold | A customer claim on an inventory slot | Must expire or be confirmed | Fleet Booking |

Common Mistakes

MistakeReality
Keeping every synonym alive foreverPick one preferred business term or the codebase stays muddy
Using technical class names as if they were domain truthDomain language should come from the business, not from current code accidents
Jumping to aggregates before agreeing on wordsBad language produces bad boundaries and bad models
Treating all ambiguity as harmlessOverloaded terms usually hide design problems

Red Flags

  • One term means different things in different screens or services
  • Class names and user-facing language disagree heavily
  • People say "basically the same thing" instead of naming the distinction
  • The proposed glossary uses mostly technical jargon instead of business language

Integration

SkillWhen to chain
create-prdWhen a PRD needs cleaner business language before approval
ddd-boundaries-reviewWhen the glossary suggests multiple bounded contexts or language leakage
ddd-rails-modelingWhen the terms are clear enough to decide entities, value objects, and services
rails-architecture-reviewWhen naming confusion already appears in the code structure
Repository
igmarin/rails-agent-skills
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.