write-context-map

Writes and amends a project-level DDD context map with bounded contexts and ubiquitous language.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/lucolucus/mismagent --skill write-context-map-lucolucus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-context-map
Source: https://github.com/lucolucus/mismagent/tree/main/plugins/mismagent/skills/write-context-map
Command: npx skills add https://github.com/lucolucus/mismagent --skill write-context-map-lucolucus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams lose a shared domain vocabulary across features, causing naming drift, duplicated models, and broken downstream verification. This Skill maintains a single project-level context map so every feature inherits the same canonical names and strategic boundaries. ## Core Features & Use Cases - Bounded context modeling: Records DDD strategic bounded contexts with roles (core/supporting/generic) and relationships (upstream/downstream, conformist, ACL). - Ubiquitous language registry: Fixes canonical domain terms per context that seed schema names and are grep-verified on diffs downstream. - Amend-never-fork updates: Extends the existing context-map.md on each new feature instead of creating a second map that would fork the vocabulary. - Open spike tracking: Captures actionable unknowns with closure criteria and owning features, materializable as spike tasks. - Use Case: During the explore movement of a new feature, the analyst invokes this Skill to add a new bounded context and its domain terms to the project's context-map.md without rewriting contexts modeled by earlier features. ## Quick Start Ask the mismagent analyst to update the project context map with the bounded contexts and domain terms discovered for the current feature.

Frequently Asked Questions about write-context-map

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

FAQPage Schema
How do I create a DDD context map for a project?

Define each bounded context with its role (core, supporting, or generic), record relationships between contexts such as upstream/downstream or ACL, and fix the ubiquitous language terms per context. This Skill writes that structure into a single context-map.md file.

How to keep domain vocabulary consistent across multiple features?

Maintain one project-level context map and amend it per feature instead of creating per-feature maps. Each new feature reads the existing file, adds its contexts and terms, and never rewrites contexts modeled by earlier features.

What is the difference between a context map and a tactical model?

A context map is the strategic, project-level view: bounded contexts, relationships, and shared vocabulary. Tactical elements like aggregates, invariants, and domain events belong to the per-feature tactical-model.md, handled by a separate Skill.

Can I rename a canonical domain term after it is used?

Renaming a canonical term is a breaking amendment because it invalidates verifier greps on already-merged blocks. Do it only with the user and record the old-to-new mapping as an ADR in the decisions directory.

When should I not write an element into the context map?

Apply the survival test: every element must have a downstream consumer, such as manifest boundaries, schema names, or spike tasks. If an element has no consumer, do not write it into the map.