Ubiquitous language

From gonzalezpazmonica/pm-workspace · View interactive version

Ubiquitous language is an AI agent skill from the GitHub repository gonzalezpazmonica/pm-workspace. Usar cuando se necesita extraer o consolidar el glosario de términos de dominio de un proyecto. Trigger: usuario dice 'extrae glosario', 'ubiquitous language', '/glossary', o hay >5 términos repetidos sin CONTEXT.md.

How to use this skill

Skill file

Authoritative Paths

Ubiquitous Language Extractor

Extracts domain terms from conversations or text sources and consolidates them

into a per-project CONTEXT.md glossary. Based on DDD "ubiquitous language"

pattern (Eric Evans). SE-086.

Triggers

Process (5 steps)

Step 1 — Identify source

Ask user: conversation (last N turns), a specific file path, or

output/.memory-store.jsonl. Default: last conversation turns.

Step 2 — Extract candidates

Scan source for domain terms:

Step 3 — Infer definitions

For each candidate: derive a 1-sentence definition from usage context.

Mark as [REVIEW] when uncertain.

Step 4 — Validate with user

Show a table: term | proposed definition | confidence. Ask:

Step 5 — Write / merge

CONTEXT.md format

# Domain Glossary — <Project>

> Auto-generated by ubiquitous-language skill (SE-086). Review all [REVIEW] entries.
> Last updated: YYYY-MM-DD

| Term | Definition | Status |
|------|------------|--------|
| Era  | A named development cycle (~2 weeks) grouping related specs. | stable |
| Slice | A vertical implementation unit within a spec. | stable |
| AC   | Acceptance Criterion — testable condition on a spec. | [REVIEW] |

Status values: stable, [REVIEW], [INCONSISTENT].

Script mode (Slice 2)

For automated extraction from memory-store:

python3 scripts/extract-domain-entities.py --project pm-workspace
python3 scripts/extract-domain-entities.py --project pm-workspace --auto-update

Output: output/domain-entity-report-<project>-<date>.md

Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.