Skip to content
Development
Skill

/journey-map

Loads full context for a React Flow (@xyflow/react) user journey mapping project. Use when working on, extending, debugging, or building features for the journey map tool. Triggers on: "journey map project", "open journey map", "work on journey map", "build user journey", "react

From plugin
coco
631200 skills53 agents42 commands3 hooks

Claude Code

$ npx -y skills add coco-research/coco --skill journey-map --agent claude-code

SKILL.md

journey-map.SKILL.md
name: journey-map
description: >
  Loads full context for a React Flow (@xyflow/react) user journey mapping
  project. Use when working on, extending, debugging, or building features for
  the journey map tool. Triggers on: "journey map project", "open journey map",
  "work on journey map", "build user journey", "react flow journey project",
  "journey-map app", or any request to add features like swimlanes,
  emotion curves, persona nodes, touchpoints, or pain point markers.
domain: design

Journey Map Project

Project

  • **Locating it:** this skill does not assume a fixed install path. See

"Locating the Project" below before running any commands.

  • **Stack:** React 19 + Vite + TypeScript + `@xyflow/react` (React Flow v12)
  • **Purpose:** Rich user journey map tool for PMs and UX researchers

Locating the Project

Before making changes, find the project root:

1. If the user gives a path, use it. 2. Otherwise search common locations, e.g.:

   find "$HOME" -maxdepth 5 -iname "journey-map" -type d 2>/dev/null

3. If nothing is found, ask the user where the project lives.

Dev Commands

Run from the project root located above:

npm run dev      # start dev server (Vite)
npm run build    # production build
npm run preview  # preview build

Stack

Single package: `@xyflow/react` (React Flow v12). There is no AntV X6 dependency — the project fully migrated off X6, and no `--legacy-peer-deps` flag is needed on React 19.

See `references/packages.md` for imports, node pattern, layout constants, file structure.

Implemented Features

| Feature | Mechanism | |---|---| | Swimlanes (persona rows) | `swimlaneBg` node type — wide colored band, zIndex=0 | | Stage headers + narratives | `stageHeader` / `stageNarr` node types | | Touchpoint cards | `touchpoint` node — seq badge, timing chip, emoji, title, badges | | Emotion curve | `EmotionCurve.tsx` SVG component below canvas | | Ad-hoc cross-flow | `AdHocFlow.tsx` component below canvas | | Pan + zoom | React Flow built-in | | Minimap | React Flow `<MiniMap>` | | Controls | React Flow `<Controls>` | | Persona focus/dim | `focusPersona` state → opacity on non-focused touchpoints | | Detail panel | Click touchpoint → slide-in right panel |

References

  • Full package list + versions + plugin roles: `references/packages.md`
  • React Flow (MIT licensed, https://github.com/xyflow/xyflow) is the only

graph engine this project uses.

Read more
@coco-research
Ships withcoco

495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.

631200 skills53 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
631
Star history of coco-research/coco on GitHub, a chart by star-history.com

Other skills on coco.

create-rule

create-rule

Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project…

@coco-research@coco-researchInstall Skill
create-skill

create-skill

Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill,…

@coco-research@coco-researchInstall Skill
create-subagent

create-subagent

Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific…

@coco-research@coco-researchInstall Skill
migrate-to-skills

migrate-to-skills

Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills…

@coco-research@coco-researchInstall Skill
agent-lightning

agent-lightning

Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent…

@coco-research@coco-researchInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about journey-map.

Which coding agents can use journey-map?
journey-map installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.