/dwsd-dsl:dwsd-dslfrom dwsd-dsl
Read and write the DWSD board, flight-route, topology, org-chart and units DSLs. Use whenever creating, editing, or reviewing *.dwsd-board / *.dwsd-flightroute / *.dwsd-topology / *.dwsd-orgchart / *.dwsd-units files or embedded dwsd.board / dwsd.flightroute / wsd-topology / dwsd.orgchart / dwsd.units fenced blocks.
Ships in dwsd-dsl. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill orchestrates authoring the five DWSD DSLs (board, flight route,
topology, org chart, units). The facts live in the compact per-DSL cards under
${CLAUDE_PLUGIN_ROOT}/skills/dwsd-dsl/cards/ (and, in fuller depth, in the
bundled human reference under ${CLAUDE_PLUGIN_ROOT}/docs/). This file tells you
which cards to read and how to turn a natural-language request into valid DSL.
All five DSLs are plain YAML with tolerant parsers: they never throw.
Malformed input yields a board.* / route.* / topology.* / orgchart.* /
units.* diagnostic and a skip/clamp — the rest of the document still parses.
That means "it parsed" is not "it is correct": you must check the diagnostics.
The closed, documented key schema + the per-construct diagnostics→fix tables are
what let you author and repair a document without a UI.
Pick the DSL. A kanban work system → board; how a work type flows
across systems/levels → route (a route may name the domain responsible for
it with for-domain:); one focal work system + its 1-hop neighborhood
→ topology; who reports to whom (the formal line organization, people
over reports-to) → org chart; which unit contains which (departments,
teams, work systems, locations over member-of, no people) → units.
If the request is not a document but something that points into one — an
observation, an interpretation, a need, a proposed response, a recorded decision,
an agreement, a recurring touchpoint, a mandate (what a holder must or may do) — it is an annotation entity: a plain
Markdown file with a frontmatter type:, authored by hand. Read
cards/shared.md § The annotation entities. Do not invent a DSL key for it;
the DSL document declares nothing about it. An annotation on a person or a
unit names it with a bare [[Name]] wikilink on the entity's polymorphic
key (observes: / interaction-of: / agreement-of: / bound-to:) — the
marker lands wherever that person or unit is drawn; a for-domain: [[Role]]
reaches every keeper of the role (shared.md § The locator grammar,
cards/orgchart.md, cards/units.md).
Read the cards (reading order). Always read the shared card first, then the matching per-DSL card:
cards/shared.md + cards/board.mdcards/shared.md + cards/route.mdcards/shared.md + cards/topology.mdcards/shared.md + cards/orgchart.mdcards/shared.md + cards/units.md*.dwsd-change-trail file; it reads the organization by default and can declare a
sketch or inline entries with mode / entries) → read
cards/shared.md + cards/change-trail.mdcards/shared.md is the single source for the concepts primer, the
Inside-Out / Outside-In anchoring mechanic, the locator grammar (incl. the
. document-root and the bare [[Name]] entity wikilink resolved by the target's
type), the annotation entities that anchor into a document (signal ·
insight · driver · proposal · organizational-decision-record alongside
interaction / agreement / ai-agent / mandate, with observes: / for-domain: /
mandate-of: / derived-from:), the cross-DSL notes: annotation surface, and the shared
title: + tags: document header. The per-DSL cards point back to it rather
than restating it.
Author against the closed schema. Use only the documented keys and closed
value sets on the card. Every construct is a spelled-out YAML key — there is no
hidden inline string-sugar (no #status, no [wip] bracket). Honor the
not-keys list on each card (e.g. board policy:/refs: → agreements:;
route bind:/flow: → bound-to: (and the fl-triggers:/fl-path:/fl-bands: compat keys → triggers:/path:/bands:); retired board:/route: → title:; no
employment: / view: on an org chart; no people in a units view).
Validate. The parser is tolerant, so a clean-looking parse can still carry
diagnostics. Check for any *.* diagnostic on the result; treat every one as a
real problem to fix (errors block, warnings are teaching nudges but usually mean
you wrote the wrong construct). Where the dwsd-dsl command line is available (a
checkout of the DWSD monorepo), dwsd-dsl check <file|folder|pattern> --json lists
every diagnostic with file, line and column, and names under skipped what it could
not check without the rest of the organization; the report shape and the exit codes
are in ${CLAUDE_PLUGIN_ROOT}/docs/reference/check.md. Its format.* findings are
about the org README's dwsd-format version, not about the DSL you wrote; they are
never errors, and outside an org folder format.missing is expected.
Repair via the diagnostics→fix tables. Each card carries a diagnostics→fix table. Map the emitted code to its fix, apply it, re-validate. Iterate until the document is 0-diagnostic (or every remaining diagnostic is a deliberate, understood teaching warning).
Standalone files use .dwsd-board / .dwsd-flightroute / .dwsd-topology /
.dwsd-orgchart / .dwsd-units. In Markdown, the preview-renderable fence is
the dot form dwsd.board / dwsd.flightroute / dwsd.orgchart / dwsd.units;
topology accepts all four spellings (wsd-topology / dwsd-topology /
wsd.topology / dwsd.topology), and the org chart and units fences tolerate
the same four (dwsd-orgchart, wsd.orgchart, wsd-orgchart; dwsd-units,
wsd.units, wsd-units). Use the dot form for a fence you want the extension
preview to render.
Headless export rule (org chart + units): a mode: infer document derives
its content from the workspace index, which the command-line exporter does not
have — mode: infer documents cannot be exported headless (the CLI refuses with
one line, exit 1). Author declared or mixed for anything that must export
from the CLI. A static picture (a CLI export, an example picture) is fully open
and carries no +/− toggle.
For the full human reference (every construct, worked examples, the complete
diagnostics families), read the bundled docs under ${CLAUDE_PLUGIN_ROOT}/docs/ —
start at docs/concepts.md for the why, then the per-DSL reference under
${CLAUDE_PLUGIN_ROOT}/docs/reference/: one page per kind at
docs/reference/{board,route,topology,orgchart,units}/index.md, with the rendered
topology and route galleries beside their pages
(docs/reference/topology/topology-examples.md,
docs/reference/route/route-examples.md).
Every example ships with its rendered picture under ${CLAUDE_PLUGIN_ROOT}/examples/
— start at ${CLAUDE_PLUGIN_ROOT}/examples/README.md, which shows one picture per
kind and links each kind's README.
When prose and code disagree, the code wins — the shipped parser is always the authority.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub worksystems-design/dwsd-dsl-vscode --plugin dwsd-dsl