Diagrams: Wardley Maps (WTG2)
Generate a strategic Wardley map in the WTG2 domain-specific language (wardleyToGo). Output is a
valid .wtg2 file that wtg2svg parses and renders to SVG.
⛔ Read these first (bundled, self-contained)
Before writing any map, read both — they are bundled with this skill, no network needed:
references/how-wardley-maps-work.md — the concepts:
the two axes, the value chain, evolution phases, and how the map drives build/buy/outsource
decisions. Producing valid DSL without understanding these yields a syntactically correct but
strategically useless map.
references/wtg2-dsl-reference.md — the complete WTG2
syntax and semantics: nodes, evolution positioning (I–IV), movement (>>), inertia (!),
edges, pipelines, groups, annotations, signals, gameplays, reserved keywords, and a full example.
Do not skip them.
Output rules
- Emit the map inside a fenced
```wtg2 code block (or as a standalone .wtg2 file when writing
to disk).
- Follow the canonical section order: metadata → stages/legend → nodes → edges → groups →
annotations.
- Positions use roman numerals with a decimal:
Component : III.5. Genesis = I, Custom = II,
Product = III, Commodity = IV.
- Dependencies use
->. Comments use // (or /* ... */).
- Every node referenced in an edge/annotation/signal/pipeline must be declared with a position.
- The dependency graph must be acyclic.
Workflow
- Anchor first. Identify the user/actor(s) and declare them with
anchor.
- Value chain top-down. "What does the user need?" → for each component, "what does this
need?" — down to infrastructure. Wire with
->.
- Position evolution realistically (I = novel/research, II = custom/bespoke, III = product, IV
= commodity/utility). Position on actual maturity, not where you wish it were.
- Sourcing: tag
(buy)/(outsource) for consumed components; (build) or untyped for in-house.
- Movement & inertia: add
>> only for components actively transitioning; add !/!!/!!!
(optionally qualified, e.g. !!(tech,human)) where resistance slows the move.
- Annotate sparingly:
warning for risks (SPOF, lock-in), note for observations, signal
for market dynamics, gameplay for deliberate strategic manoeuvres.
- Group by team/domain; align
team: types to evolution phases.
Quality check before returning
- Anchor(s) present and at the top; every anchor reaches infrastructure through a dependency chain.
- A
question: is set (a map without one is strategy theatre) and at least one component moves
(>>) if the map is meant to be strategic.
build in phase III–IV is justified (else it's an NIH violation worth a warning).
- All referenced nodes are declared; no cycles; identifiers are readable natural-language names.
Rendering note
In a Hugo/blog context, a .wtg2 source file is rendered to an .svg of the same basename by
wtg2svg, and both files are committed together; the article references the SVG with standard
Markdown image syntax. The skill's job is to produce the valid .wtg2 source.
1---2name: diagrams-wardley3description: Produce a Wardley map in the WTG2 DSL (wardleyToGo) as a .wtg2 file that renders to SVG via wtg2svg — anchors (user needs), components positioned by value chain (visibility) and evolution (roman numerals I–IV), dependencies, movement, inertia, build/buy/outsource, signals, gameplays, and groups. Use when the user asks for a Wardley map, strategic map, or value-chain map.4---56# Diagrams: Wardley Maps (WTG2)78Generate a strategic Wardley map in the **WTG2** domain-specific language (wardleyToGo). Output is a9valid `.wtg2` file that `wtg2svg` parses and renders to SVG.1011## ⛔ Read these first (bundled, self-contained)1213Before writing any map, read both — they are bundled with this skill, no network needed:14151. **[`references/how-wardley-maps-work.md`](references/how-wardley-maps-work.md)** — the concepts:16 the two axes, the value chain, evolution phases, and how the map drives build/buy/outsource17 decisions. Producing valid DSL without understanding these yields a syntactically correct but18 strategically useless map.192. **[`references/wtg2-dsl-reference.md`](references/wtg2-dsl-reference.md)** — the complete WTG220 syntax and semantics: nodes, evolution positioning (`I`–`IV`), movement (`>>`), inertia (`!`),21 edges, pipelines, groups, annotations, signals, gameplays, reserved keywords, and a full example.2223Do not skip them.2425## Output rules2627- Emit the map inside a fenced ` ```wtg2 ` code block (or as a standalone `.wtg2` file when writing28 to disk).29- Follow the canonical section order: metadata → stages/legend → nodes → edges → groups →30 annotations.31- Positions use roman numerals with a decimal: `Component : III.5`. Genesis = `I`, Custom = `II`,32 Product = `III`, Commodity = `IV`.33- Dependencies use `->`. Comments use `//` (or `/* ... */`).34- Every node referenced in an edge/annotation/signal/pipeline must be declared with a position.35- The dependency graph must be acyclic.3637## Workflow38391. **Anchor first.** Identify the user/actor(s) and declare them with `anchor`.402. **Value chain top-down.** "What does the user need?" → for each component, "what does *this*41 need?" — down to infrastructure. Wire with `->`.423. **Position evolution realistically** (I = novel/research, II = custom/bespoke, III = product, IV43 = commodity/utility). Position on actual maturity, not where you wish it were.444. **Sourcing:** tag `(buy)`/`(outsource)` for consumed components; `(build)` or untyped for in-house.455. **Movement & inertia:** add `>>` only for components actively transitioning; add `!`/`!!`/`!!!`46 (optionally qualified, e.g. `!!(tech,human)`) where resistance slows the move.476. **Annotate sparingly:** `warning` for risks (SPOF, lock-in), `note` for observations, `signal`48 for market dynamics, `gameplay` for deliberate strategic manoeuvres.497. **Group** by team/domain; align `team:` types to evolution phases.5051## Quality check before returning5253- Anchor(s) present and at the top; every anchor reaches infrastructure through a dependency chain.54- A `question:` is set (a map without one is strategy theatre) and at least one component moves55 (`>>`) if the map is meant to be strategic.56- `build` in phase III–IV is justified (else it's an NIH violation worth a `warning`).57- All referenced nodes are declared; no cycles; identifiers are readable natural-language names.5859## Rendering note6061In a Hugo/blog context, a `.wtg2` source file is rendered to an `.svg` of the same basename by62`wtg2svg`, and both files are committed together; the article references the SVG with standard63Markdown image syntax. The skill's job is to produce the valid `.wtg2` source.