Scans a codebase and generates a self-contained HTML service-design journey map in NN/g combined customer journey + service blueprint format. Useful for mapping user journeys, creating service blueprints, or understanding user flows from code.
Ships in journey-mapper. 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.
Reads a codebase, thinks like a service designer, and writes a single browser-ready HTML file with all inferred user journeys and service blueprints.
See REFERENCE.md in this skill's base directory for the JSON schema, NN/g methodology notes, and emotional arc heuristics.
If the codebase is not already in scope, ask:
"Which directory should I scan? And where should I save the output HTML?"
1. Gather context — ask for anything not already in scope:
| Input | Default |
|---|---|
| Codebase path | Required — ask if missing |
| Output path | journey-map.html in codebase root |
| Product name | Used in the HTML title and rail heading |
| Extra context | Design docs, research, README, API specs |
| Scope | Full scan, or specific subdirectory for large codebases |
2. Scan the codebase — dispatch Explore, or use Grep + Read for targeted sweeps. Extract:
For large codebases: routes first → components → API layer → notifications.
3. Organise into NN/g structure — think as a service designer:
Per-moment fields to fill — every inferred value gets [Assumption] prefix:
| Field | Notes |
|---|---|
doing | What the user physically does. Factual. No [Assumption]. |
frontstage | What they see: UI, email, native prompt. Factual. |
backstage | What the code does behind the scenes. Factual. |
support | Which system, service, or API underpins this. Factual. |
thinking | [Assumption] — inferred user thought at this moment. |
feeling | Integer 1–5 (1 = very frustrated, 5 = delighted). Use 2–3 for friction-heavy moments. |
pain | [Assumption] — inferred friction point. |
opportunity | [Assumption] — inferred improvement idea. |
evidence | Leave blank "" — the human fills this from user research. |
See REFERENCE.md for emotional arc heuristics and a worked example.
4. Build the HTML with build.py (in this skill's base directory, shown above when the skill loads). It validates the JSON, fills in the template, and writes the map. Do not retype TEMPLATE.html yourself.
journeys.json in your scratch or temp directory — not in the user's codebase.python3 <skill-dir>/build.py journeys.json <output-path> --product "<Product name>"
[Assumption] prefixes, unused actors, counts outside the structural guidance) don't block the build, but fix the ones that matter.If Python 3 isn't available, check and build by hand instead:
journey.actor and journey.category matches an actors[].id / categories[].id; every actor appears in at least one journey.id values are kebab-case and unique; moment.id values are unique across the whole file. feeling is an integer 1–5, or omitted.TEMPLATE.html to the output path (e.g. with cp), then edit three spots in the copy: <title>Journey Maps</title> → <title>[Product name] — Journey Maps</title>, <h1>Journey Maps</h1> → <h1>[Product name]</h1>, and the contents of the <script type="application/json" id="journeys-data">…</script> block → your JSON. Change nothing else.</ inside string values as <\/, or text such as </script> ends the data block early and the page renders blank.5. Report back:
build.py prints these)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
journey-mapping, service-blueprint, user-flows, service-design
/journey-mapper:journey-mapperfrom journey-mapper
npx claudepluginhub joeyvansommeren/journey-mapper --plugin journey-mapperOther plugins' skills for the same job