Pack Availability Guard
Before telling the user to run a skill from another project-local pack, check .agents/project.json.enabled_packs. If the target pack is not enabled, recommend /pack install <pack> inside Claude Code, or npx skillpacks install <pack> from the project shell, instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
Journey Map — Orchestrator
This is an orchestrator skill using the parent router delegation pattern. It detects context, recommends applicable journey-mapping frameworks, and synthesizes their outputs. Individual frameworks live as child skills under frameworks/.
Report-First Approval Gate
Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a review alignment page plus a concise conversation summary.
Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.
After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the review alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.
Do not include Recommended next skill, Recommended next command, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
Staged Research Workflow
Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
- Stage 1 - Scope discovery and approval. Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the
review HTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1.
- Stage 2 - Research and artifact review. Only after approved research-scope YAML with no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode uses research/_working/preliminary-<skill>-research.md; product-path mode uses research/{slug}/_working/preliminary-<skill>-research.md. Replace <skill> with this skill's name value. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update the review HTML alignment page with the full preliminary packet, evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.
- Stage 3 - Finalize approved artifacts. Consume final compiled YAML for artifact approval only when it has no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to confirmed with the approval record preserved.
Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
Prerequisites
- Hard:
research/icp.md (or research/{slug}/icp.md in product-path mode) must exist — run /customer-discovery first.
- Soft: Read these if they exist:
research/competitive-analysis.md — competitor landscape
research/customer-feedback.md — real customer language
- Specs, README/CLAUDE, and relevant source files for product context
Operational Modes
Mode A: Framework Selection (default first invocation)
Activated by: /journey-map or /journey-map [focus area] (no special flags).
Mode B: Synthesis
Activated by: /journey-map --synthesize
Mode C: Product-Exists Shortcut
Activated by: /journey-map product
Process
0. Product-Path Scope Resolution
Resolve research scope by product path before using code or app structure as a hint:
- If
$ARGUMENTS names a non-archived research/{slug}/ directory or a product-path ID whose scope_path points there, use that path. Treat {slug} as the product/app name, not the ICP, audience, or segment label.
- If
$ARGUMENTS names only research/_archive/{slug}/ or a manifest entry with status: archived or legacy status: abandoned, stop and warn that the path is archived; do not write or update scoped outputs there.
- Read
research/.progress.yaml when present. Normalize legacy active_path to active_paths on read and write back active_paths on manifest updates. Treat legacy abandoned as archived; exclude archived, abandoned, deferred, revisit_candidate, promoted, and any scope_path under research/_archive/ from active target selection.
- If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.
- If no active manifest target exists, list non-archived product directories under
research/, excluding research/_archive/ and dot directories. Auto-select only when exactly one exists; ask when multiple exist.
- If no product directories exist, use flat
research/ single-product mode.
- Detect monorepo/app/package structure only as a secondary hint. Suggest creating a missing
research/{slug}/ product path when code clearly exposes an app, but do not require code or monorepo detection before using research/{slug}/.
When product path {slug} is active, read and write research under research/{slug}/, specs under specs/{slug}/, and treat top-level research/*.md files as flat-mode documents or cross-path summaries.
0b. Product-path manifest: Read research/.progress.yaml when present. Normalize active_path (singular legacy) to active_paths (plural list) when reading; treat legacy abandoned as archived and exclude archived/deferred/revisit/promoted paths plus research/_archive/ scopes from active target selection. Scope the journey map to the active product path by default. When journey mapping reveals lifecycle stages or user flows that only apply to a deferred product path, add a ## Product Path Implications section noting the finding and recommending /product-line fork if it implies a new product surface.
1. Mode Detection
Detect pre-product mode (default) or product-exists mode:
Pre-product mode activates when:
- No production codebase with live users detected, AND
- No
research/customer-feedback.md with post-launch customer evidence, AND
$ARGUMENTS does not contain "product"
Available frameworks in pre-product mode:
jtbd-timeline (default) — Moesta/Switch timeline with push/pull/anxiety/habit forces
experience-map (default) — Adaptive Path emotional arc with doing/thinking/feeling
customer-journey-canvas (optional) — Stickdorn stage×touchpoints×actions canvas
service-blueprint (optional) — Shostack front-stage/backstage/support lines
user-story-map (optional) — Jeff Patton activity→task→story hierarchy
Product-exists mode activates when:
- Production code or deployment exists, OR
research/customer-feedback.md exists with real customer data, OR
$ARGUMENTS contains "product"
Available frameworks in product-exists mode:
service-blueprint (default) — operational gaps visible with a running product
user-story-map (default) — release slicing grounded in real usage
customer-journey-canvas (optional) — full-stage touchpoint audit
experience-map (optional) — emotional arc refresh with real feedback
jtbd-timeline (optional) — switching timeline with post-launch evidence
2. Load Context
- Read
research/icp.md — ICP segments, pain points, value props, trigger events
- Read
research/competitive-analysis.md if it exists — competitor landscape
- Read
research/customer-feedback.md if it exists — real customer language
- Read CLAUDE.md, README for product context
- Read any existing
research/journey-map-*.md intermediate artifacts (from prior runs)
3. Mode A — Framework Selection
Build an alignment page with:
- Mode explanation: which mode was detected and why (evidence for detection)
- Available evidence summary: what research exists and what's missing
- Multi-select framework section: checkboxes for each available framework with:
- Framework name and one-line description
- Why it's recommended or optional for this context
- Pre-checked defaults based on detected mode (see mode detection above)
- Execution plan explanation: selected frameworks will be written to
tasks/todo.md for sequential /exec execution
- Approval gate: framework selection confirmation
After user approval via compiled YAML (which includes selected_frameworks list):
Write selected frameworks as sequential steps in tasks/todo.md:
## Journey Map Framework Execution
- [ ] Run `/journey-map/frameworks/jtbd-timeline` — JTBD switching timeline
- [ ] Run `/journey-map/frameworks/experience-map` — Adaptive Path experience map
- [ ] Synthesize: `/journey-map --synthesize` — Combine framework outputs into research/journey-map.md
Only include frameworks the user selected. Always append the synthesis step last.
Stop after writing tasks/todo.md. The user runs /exec to execute each framework sequentially.
4. Mode B — Synthesis (/journey-map --synthesize)
Read all intermediate framework outputs:
research/journey-map-jtbd-timeline.md
research/journey-map-experience-map.md
research/journey-map-customer-journey-canvas.md
research/journey-map-service-blueprint.md
research/journey-map-user-story-map.md
At least one must exist. If none exist, tell user to run framework selection first.
Synthesize into unified research/journey-map.md:
Synthesis includes:
- Unified customer lifecycle: trigger, discovery, evaluation, onboarding, aha moment, conversion, transaction, retention, expansion, advocacy, churn, recovery
- User journey map per key persona with core use cases, entry points, task steps, decision points, happy path, failure modes
- Critical moments: the 3-5 moments where the product wins or loses the user/customer
- Evidence matrix: each claim mapped to which framework(s) support it
- Confidence levels per claim (strong/moderate/hypothesized)
- Stage detail index: links to deeper stage docs when they exist
- Journey gaps: stages needing deeper analysis
- Mode header:
> Mode: Pre-Product (hypothesized) or > Mode: Product-Exists (grounded)
Build alignment page for synthesis approval with:
- Full proposed
research/journey-map.md content
- Evidence matrix combining all framework sources
- Confidence/assumption register
- Critical-moment evidence matrix
- Proposed file changes gate
- Approval gate
After approval: write research/journey-map.md, then emit next-step routing.
5. Mode C — Product-Exists Shortcut
Skip multi-select. Build an alignment page for the shortcut execution plan with:
- Shortcut explanation: product-exists shortcut selected and why
service-blueprint + user-story-map are the queued defaults
- Evidence readiness: available product/customer evidence and any caveats
- Proposed execution plan: the exact
tasks/todo.md framework queue shown below
- Approval gate: require final compiled YAML approval before writing
tasks/todo.md
Do not write tasks/todo.md before alignment approval. The next action is review of the HTML alignment page.
After user approval via final compiled YAML, write this execution plan to tasks/todo.md:
## Journey Map Framework Execution
- [ ] Run `/journey-map/frameworks/service-blueprint` — Shostack service blueprint
- [ ] Run `/journey-map/frameworks/user-story-map` — Jeff Patton user story map
- [ ] Synthesize: `/journey-map --synthesize` — Write research/journey-map.md
Stop — user runs /exec.
6. Next Steps (after synthesis only)
Priority-ordered decision tree — recommend the first match:
- Blocking optional research trigger — the overview exposed a stage, fit, measurement, or product-loop risk that must be resolved before positioning or UX choices harden → use the Optional Research Trigger Map below. Cite the exact journey evidence, why it blocks the next AFPS step, and which existing framework skill owns it.
- Positioning missing (
research/positioning.md does not exist) → check .agents/project.json.enabled_packs for business-discovery — if business-discovery is not enabled, recommend /pack install business-discovery inside Claude Code, or npx skillpacks install business-discovery from the project shell; if business-discovery is enabled, recommend /positioning — Positioning needs ICP, competitive analysis, and journey evidence, so it is the natural next step.
- Positioning done, user-flow map missing → check
.agents/project.json.enabled_packs for product-design — if product-design is not enabled, recommend /pack install product-design inside Claude Code, or npx skillpacks install product-design from the project shell; if product-design is enabled, recommend /user-flow-map — Map screen flow, decisions, branches, states, and low-fidelity wireframe structure before UI requirements.
- Never recommend
/spec-interview from this skill — it is many steps downstream in the AFPS chain.
Optional Research Trigger Map
These detours are conditional framework owners, not required AFPS chain links. Use them only when the journey evidence shows that the answer will change positioning, product-loop direction, flow/design shape, or prototype choices. When the trigger is absent, continue to /positioning or /user-flow-map using the decision tree above.
| Journey signal |
Existing owner |
Trigger threshold |
| Signup, setup, activation, first-success, or time-to-value path is unclear |
/onboarding-map |
The journey cannot identify the first success path, onboarding drop-offs, or activation criteria well enough to shape UX. |
| Evaluation, trial, pricing decision, objections, or buyer roles are unresolved |
/conversion-map |
Conversion decision logic affects the primary screen flow, offer, or proof sequence. |
| Purchase, checkout, payment, fulfillment, refund, dispute, or trust state is material |
/transaction-map |
Transaction mechanics create product risk before UX/prototype choices. |
| Repeat-use job, return trigger, churn risk, recovery path, or retention signal is unclear |
/retention-map |
The product needs a natural return model before designing engagement, lifecycle messages, or saved state. |
| Stage instrumentation, leading indicators, or lifecycle handoff metrics are unclear |
/lifecycle-metrics |
The journey has stage risks but needs measurement before growth or implementation planning. Prefer this over /hook-model for enterprise, infrastructure, transactional, or naturally infrequent products. |
| Product value depends on repeat use, habit formation, engagement loops, retention triggers, saved state, social rewards, or investment compounding |
Check .agents/project.json.enabled_packs for business-growth — if missing, recommend /pack install business-growth inside Claude Code, or npx skillpacks install business-growth from the project shell; if enabled, recommend /hook-model |
Use only for consumer, prosumer, PLG, marketplace, community, or B2B-with-consumer-component products where habit-loop design should shape flow and prototype choices before /user-flow-map. Do not force this on B2B/enterprise, infrastructure, transactional, or naturally infrequent products; route those to /lifecycle-metrics or, when business-growth is enabled and a broader success framework is needed, /metrics. |
| Expansion, upgrade, seat growth, referral, advocacy, or land-and-expand path is material |
/expansion-map |
Expansion mechanics change lifecycle sequencing, account roles, or product surface priorities. |
| Jobs, pains, gains, aha moment, or solution fit are weak, disputed, or need explicit scoring |
Check .agents/project.json.enabled_packs for business-discovery — if missing, recommend /pack install business-discovery inside Claude Code, or npx skillpacks install business-discovery from the project shell; if enabled, recommend /value-prop-canvas |
Use the existing Strategyzer-style framework only when fit risk would make positioning or UX premature. |
| Revenue, channel, cost, defensibility, or unfair-advantage assumptions are material risks |
Check .agents/project.json.enabled_packs for business-discovery — if missing, recommend /pack install business-discovery inside Claude Code, or npx skillpacks install business-discovery from the project shell; if enabled, recommend /lean-canvas |
Use the existing Ash Maurya Lean Canvas framework when the journey exposes business-model risk before UX/prototype decisions. |
| Pricing gates, packaging, free-to-paid timing, or willingness-to-pay moments are central to the journey |
Check .agents/project.json.enabled_packs for business-growth — if missing, recommend /pack install business-growth inside Claude Code, or npx skillpacks install business-growth from the project shell; if enabled, recommend /monetization |
Use when pricing architecture must be grounded before conversion, transaction, or prototype choices. |
| Acquisition source, launch channel, messaging route, or early traction mechanism is a journey blocker |
Check .agents/project.json.enabled_packs for business-growth — if missing, recommend /pack install business-growth inside Claude Code, or npx skillpacks install business-growth from the project shell; if enabled, recommend /gtm |
Use after enough ICP/competitive/journey evidence exists and the channel path changes product or UX priorities. |
/growth-model is an existing Reforge-style framework owner for compounding acquisition, retention, and monetization loops, but do not route to it directly from journey-map unless metrics/GTM prerequisites are already satisfied. In most AFPS cases, /hook-model, /metrics, /monetization, or /gtm is the earlier business-growth detour.
Output
Mode A output: tasks/todo.md update
Framework execution steps (see section 3 above).
Mode B output: research/journey-map.md (or research/{slug}/journey-map.md)
# Journey Map
> Based on: [list of framework outputs used]
> Date: [current date]
> Mode: Pre-Product (hypothesized) | Product-Exists (grounded)
> Frameworks applied: [list]
## Summary
## User Journeys
## Customer Lifecycle
## Critical Moments
## Evidence Matrix
| Claim | Supporting Framework(s) | Evidence | Confidence |
|-------|------------------------|----------|------------|
| [claim] | JTBD Timeline / Experience Map / Service Blueprint / User Story Map / Customer Journey Canvas | [source] | Strong / Moderate / Hypothesized |
## Stage Detail Index
## Journey Gaps
## Next Steps
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/journey-map-{topic}.html.
Journey research translation. Render the lifecycle overview as approval-ready research, not a chat-only summary. The alignment page must include the proposed research/journey-map.md content, proposed file changes, evidence coverage by journey stage, assumptions/confidence register, critical-moment evidence matrix, and approval gates before canonical research files are created or updated.
Before approval, the next action is review of alignment/journey-map-{topic}.html and compiled YAML answers from that page. Do not treat a plain-text lifecycle summary as a substitute for the HTML alignment preview.
Constraints
- Parent does not execute frameworks. It selects and queues them.
/exec handles execution.
- Synthesis requires at least one framework output. Do not synthesize from zero evidence.
- Mode detection is evidence-based. Do not override mode detection without user confirmation.
- Ground every important step in ICP, research, specs, feedback, or codebase evidence.
- Do not prescribe UI or architecture.
- Present findings before writing.
- Follow the archive-first replacement policy for canonical research/spec documents.
- Do not overwrite existing
research/journey-map.md without asking the user first.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: journey-map-283description: Orchestrator — detect pre-product vs product-exists mode, recommend journey-mapping frameworks, synthesize outputs into unified lifecycle overview4---5
6## Pack Availability Guard
7
8Before telling the user to run a skill from another project-local pack, check `.agents/project.json.enabled_packs`. If the target pack is not enabled, recommend `/pack install <pack>` inside Claude Code, or `npx skillpacks install <pack>` from the project shell, instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.
9
10# Journey Map — Orchestrator
11
12This is an **orchestrator skill** using the parent router delegation pattern. It detects context, recommends applicable journey-mapping frameworks, and synthesizes their outputs. Individual frameworks live as child skills under `frameworks/`.
13
14## Report-First Approval Gate
15
16Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a `review` alignment page plus a concise conversation summary.
17
18Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.
19
20After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the `review` alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.
21
22Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
23
24## Staged Research Workflow
25
26Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
27
281. **Stage 1 - Scope discovery and approval.** Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the `review` HTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1.
292. **Stage 2 - Research and artifact review.** Only after approved research-scope YAML with no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode uses `research/_working/preliminary-<skill>-research.md`; product-path mode uses `research/{slug}/_working/preliminary-<skill>-research.md`. Replace `<skill>` with this skill's `name` value. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update the `review` HTML alignment page with the full preliminary packet, evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.
303. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML for artifact approval only when it has no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to `docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>`, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to `confirmed` with the approval record preserved.
31
32Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
33
34## Prerequisites
35
36- **Hard**: `research/icp.md` (or `research/{slug}/icp.md` in product-path mode) must exist — run `/customer-discovery` first.
37- **Soft**: Read these if they exist:
38 - `research/competitive-analysis.md` — competitor landscape
39 - `research/customer-feedback.md` — real customer language
40 - Specs, README/CLAUDE, and relevant source files for product context
41
42## Operational Modes
43
44### Mode A: Framework Selection (default first invocation)
45
46Activated by: `/journey-map` or `/journey-map [focus area]` (no special flags).
47
48### Mode B: Synthesis
49
50Activated by: `/journey-map --synthesize`
51
52### Mode C: Product-Exists Shortcut
53
54Activated by: `/journey-map product`
55
56---
57
58## Process
59
60### 0. Product-Path Scope Resolution
61
62Resolve research scope by product path before using code or app structure as a hint:
63
641. If `$ARGUMENTS` names a non-archived `research/{slug}/` directory or a product-path ID whose `scope_path` points there, use that path. Treat `{slug}` as the product/app name, not the ICP, audience, or segment label.
652. If `$ARGUMENTS` names only `research/_archive/{slug}/` or a manifest entry with `status: archived` or legacy `status: abandoned`, stop and warn that the path is archived; do not write or update scoped outputs there.
663. Read `research/.progress.yaml` when present. Normalize legacy `active_path` to `active_paths` on read and write back `active_paths` on manifest updates. Treat legacy `abandoned` as `archived`; exclude `archived`, `abandoned`, `deferred`, `revisit_candidate`, `promoted`, and any `scope_path` under `research/_archive/` from active target selection.
674. If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.
685. If no active manifest target exists, list non-archived product directories under `research/`, excluding `research/_archive/` and dot directories. Auto-select only when exactly one exists; ask when multiple exist.
696. If no product directories exist, use flat `research/` single-product mode.
707. Detect monorepo/app/package structure only as a secondary hint. Suggest creating a missing `research/{slug}/` product path when code clearly exposes an app, but do not require code or monorepo detection before using `research/{slug}/`.
71
72When product path `{slug}` is active, read and write research under `research/{slug}/`, specs under `specs/{slug}/`, and treat top-level `research/*.md` files as flat-mode documents or cross-path summaries.
73
740b. **Product-path manifest**: Read `research/.progress.yaml` when present. Normalize `active_path` (singular legacy) to `active_paths` (plural list) when reading; treat legacy `abandoned` as `archived` and exclude archived/deferred/revisit/promoted paths plus `research/_archive/` scopes from active target selection. Scope the journey map to the active product path by default. When journey mapping reveals lifecycle stages or user flows that only apply to a deferred product path, add a `## Product Path Implications` section noting the finding and recommending `/product-line fork` if it implies a new product surface.
75
76### 1. Mode Detection
77
78Detect **pre-product mode** (default) or **product-exists mode**:
79
80**Pre-product mode** activates when:
81- No production codebase with live users detected, AND
82- No `research/customer-feedback.md` with post-launch customer evidence, AND
83- `$ARGUMENTS` does not contain "product"
84
85Available frameworks in pre-product mode:
86- `jtbd-timeline` (default) — Moesta/Switch timeline with push/pull/anxiety/habit forces
87- `experience-map` (default) — Adaptive Path emotional arc with doing/thinking/feeling
88- `customer-journey-canvas` (optional) — Stickdorn stage×touchpoints×actions canvas
89- `service-blueprint` (optional) — Shostack front-stage/backstage/support lines
90- `user-story-map` (optional) — Jeff Patton activity→task→story hierarchy
91
92**Product-exists mode** activates when:
93- Production code or deployment exists, OR
94- `research/customer-feedback.md` exists with real customer data, OR
95- `$ARGUMENTS` contains "product"
96
97Available frameworks in product-exists mode:
98- `service-blueprint` (default) — operational gaps visible with a running product
99- `user-story-map` (default) — release slicing grounded in real usage
100- `customer-journey-canvas` (optional) — full-stage touchpoint audit
101- `experience-map` (optional) — emotional arc refresh with real feedback
102- `jtbd-timeline` (optional) — switching timeline with post-launch evidence
103
104### 2. Load Context
105
106- Read `research/icp.md` — ICP segments, pain points, value props, trigger events
107- Read `research/competitive-analysis.md` if it exists — competitor landscape
108- Read `research/customer-feedback.md` if it exists — real customer language
109- Read CLAUDE.md, README for product context
110- Read any existing `research/journey-map-*.md` intermediate artifacts (from prior runs)
111
112### 3. Mode A — Framework Selection
113
114Build an alignment page with:
115
1161. **Mode explanation**: which mode was detected and why (evidence for detection)
1172. **Available evidence summary**: what research exists and what's missing
1183. **Multi-select framework section**: checkboxes for each available framework with:
119 - Framework name and one-line description
120 - Why it's recommended or optional for this context
121 - Pre-checked defaults based on detected mode (see mode detection above)
1224. **Execution plan explanation**: selected frameworks will be written to `tasks/todo.md` for sequential `/exec` execution
1235. **Approval gate**: framework selection confirmation
124
125After user approval via compiled YAML (which includes `selected_frameworks` list):
126
127Write selected frameworks as sequential steps in `tasks/todo.md`:
128
129```markdown
130## Journey Map Framework Execution
131
132- [ ] Run `/journey-map/frameworks/jtbd-timeline` — JTBD switching timeline
133- [ ] Run `/journey-map/frameworks/experience-map` — Adaptive Path experience map
134- [ ] Synthesize: `/journey-map --synthesize` — Combine framework outputs into research/journey-map.md
135```
136
137Only include frameworks the user selected. Always append the synthesis step last.
138
139Stop after writing `tasks/todo.md`. The user runs `/exec` to execute each framework sequentially.
140
141### 4. Mode B — Synthesis (`/journey-map --synthesize`)
142
143Read all intermediate framework outputs:
144- `research/journey-map-jtbd-timeline.md`
145- `research/journey-map-experience-map.md`
146- `research/journey-map-customer-journey-canvas.md`
147- `research/journey-map-service-blueprint.md`
148- `research/journey-map-user-story-map.md`
149
150At least one must exist. If none exist, tell user to run framework selection first.
151
152Synthesize into unified `research/journey-map.md`:
153
154**Synthesis includes:**
155- Unified customer lifecycle: trigger, discovery, evaluation, onboarding, aha moment, conversion, transaction, retention, expansion, advocacy, churn, recovery
156- User journey map per key persona with core use cases, entry points, task steps, decision points, happy path, failure modes
157- Critical moments: the 3-5 moments where the product wins or loses the user/customer
158- Evidence matrix: each claim mapped to which framework(s) support it
159- Confidence levels per claim (strong/moderate/hypothesized)
160- Stage detail index: links to deeper stage docs when they exist
161- Journey gaps: stages needing deeper analysis
162- Mode header: `> Mode: Pre-Product (hypothesized)` or `> Mode: Product-Exists (grounded)`
163
164Build alignment page for synthesis approval with:
165- Full proposed `research/journey-map.md` content
166- Evidence matrix combining all framework sources
167- Confidence/assumption register
168- Critical-moment evidence matrix
169- Proposed file changes gate
170- Approval gate
171
172After approval: write `research/journey-map.md`, then emit next-step routing.
173
174### 5. Mode C — Product-Exists Shortcut
175
176Skip multi-select. Build an alignment page for the shortcut execution plan with:
177
1781. **Shortcut explanation**: product-exists shortcut selected and why `service-blueprint` + `user-story-map` are the queued defaults
1792. **Evidence readiness**: available product/customer evidence and any caveats
1803. **Proposed execution plan**: the exact `tasks/todo.md` framework queue shown below
1814. **Approval gate**: require final compiled YAML approval before writing `tasks/todo.md`
182
183Do not write `tasks/todo.md` before alignment approval. The next action is review of the HTML alignment page.
184
185After user approval via final compiled YAML, write this execution plan to `tasks/todo.md`:
186
187```markdown
188## Journey Map Framework Execution
189
190- [ ] Run `/journey-map/frameworks/service-blueprint` — Shostack service blueprint
191- [ ] Run `/journey-map/frameworks/user-story-map` — Jeff Patton user story map
192- [ ] Synthesize: `/journey-map --synthesize` — Write research/journey-map.md
193```
194
195Stop — user runs `/exec`.
196
197### 6. Next Steps (after synthesis only)
198
199Priority-ordered decision tree — recommend the **first** match:
200
2011. **Blocking optional research trigger** — the overview exposed a stage, fit, measurement, or product-loop risk that must be resolved before positioning or UX choices harden → use the Optional Research Trigger Map below. Cite the exact journey evidence, why it blocks the next AFPS step, and which existing framework skill owns it.
2022. **Positioning missing** (`research/positioning.md` does not exist) → check `.agents/project.json.enabled_packs` for `business-discovery` — if `business-discovery` is not enabled, recommend `/pack install business-discovery` inside Claude Code, or `npx skillpacks install business-discovery` from the project shell; if `business-discovery` is enabled, recommend `/positioning` — Positioning needs ICP, competitive analysis, and journey evidence, so it is the natural next step.
2033. **Positioning done, user-flow map missing** → check `.agents/project.json.enabled_packs` for `product-design` — if `product-design` is not enabled, recommend `/pack install product-design` inside Claude Code, or `npx skillpacks install product-design` from the project shell; if `product-design` is enabled, recommend `/user-flow-map` — Map screen flow, decisions, branches, states, and low-fidelity wireframe structure before UI requirements.
2044. **Never** recommend `/spec-interview` from this skill — it is many steps downstream in the AFPS chain.
205
206## Optional Research Trigger Map
207
208These detours are conditional framework owners, not required AFPS chain links. Use them only when the journey evidence shows that the answer will change positioning, product-loop direction, flow/design shape, or prototype choices. When the trigger is absent, continue to `/positioning` or `/user-flow-map` using the decision tree above.
209
210| Journey signal | Existing owner | Trigger threshold |
211| --- | --- | --- |
212| Signup, setup, activation, first-success, or time-to-value path is unclear | `/onboarding-map` | The journey cannot identify the first success path, onboarding drop-offs, or activation criteria well enough to shape UX. |
213| Evaluation, trial, pricing decision, objections, or buyer roles are unresolved | `/conversion-map` | Conversion decision logic affects the primary screen flow, offer, or proof sequence. |
214| Purchase, checkout, payment, fulfillment, refund, dispute, or trust state is material | `/transaction-map` | Transaction mechanics create product risk before UX/prototype choices. |
215| Repeat-use job, return trigger, churn risk, recovery path, or retention signal is unclear | `/retention-map` | The product needs a natural return model before designing engagement, lifecycle messages, or saved state. |
216| Stage instrumentation, leading indicators, or lifecycle handoff metrics are unclear | `/lifecycle-metrics` | The journey has stage risks but needs measurement before growth or implementation planning. Prefer this over `/hook-model` for enterprise, infrastructure, transactional, or naturally infrequent products. |
217| Product value depends on repeat use, habit formation, engagement loops, retention triggers, saved state, social rewards, or investment compounding | Check `.agents/project.json.enabled_packs` for `business-growth` — if missing, recommend `/pack install business-growth` inside Claude Code, or `npx skillpacks install business-growth` from the project shell; if enabled, recommend `/hook-model` | Use only for consumer, prosumer, PLG, marketplace, community, or B2B-with-consumer-component products where habit-loop design should shape flow and prototype choices before `/user-flow-map`. Do not force this on B2B/enterprise, infrastructure, transactional, or naturally infrequent products; route those to `/lifecycle-metrics` or, when `business-growth` is enabled and a broader success framework is needed, `/metrics`. |
218| Expansion, upgrade, seat growth, referral, advocacy, or land-and-expand path is material | `/expansion-map` | Expansion mechanics change lifecycle sequencing, account roles, or product surface priorities. |
219| Jobs, pains, gains, aha moment, or solution fit are weak, disputed, or need explicit scoring | Check `.agents/project.json.enabled_packs` for `business-discovery` — if missing, recommend `/pack install business-discovery` inside Claude Code, or `npx skillpacks install business-discovery` from the project shell; if enabled, recommend `/value-prop-canvas` | Use the existing Strategyzer-style framework only when fit risk would make positioning or UX premature. |
220| Revenue, channel, cost, defensibility, or unfair-advantage assumptions are material risks | Check `.agents/project.json.enabled_packs` for `business-discovery` — if missing, recommend `/pack install business-discovery` inside Claude Code, or `npx skillpacks install business-discovery` from the project shell; if enabled, recommend `/lean-canvas` | Use the existing Ash Maurya Lean Canvas framework when the journey exposes business-model risk before UX/prototype decisions. |
221| Pricing gates, packaging, free-to-paid timing, or willingness-to-pay moments are central to the journey | Check `.agents/project.json.enabled_packs` for `business-growth` — if missing, recommend `/pack install business-growth` inside Claude Code, or `npx skillpacks install business-growth` from the project shell; if enabled, recommend `/monetization` | Use when pricing architecture must be grounded before conversion, transaction, or prototype choices. |
222| Acquisition source, launch channel, messaging route, or early traction mechanism is a journey blocker | Check `.agents/project.json.enabled_packs` for `business-growth` — if missing, recommend `/pack install business-growth` inside Claude Code, or `npx skillpacks install business-growth` from the project shell; if enabled, recommend `/gtm` | Use after enough ICP/competitive/journey evidence exists and the channel path changes product or UX priorities. |
223
224`/growth-model` is an existing Reforge-style framework owner for compounding acquisition, retention, and monetization loops, but do not route to it directly from `journey-map` unless metrics/GTM prerequisites are already satisfied. In most AFPS cases, `/hook-model`, `/metrics`, `/monetization`, or `/gtm` is the earlier business-growth detour.
225
226## Output
227
228### Mode A output: `tasks/todo.md` update
229
230Framework execution steps (see section 3 above).
231
232### Mode B output: `research/journey-map.md` (or `research/{slug}/journey-map.md`)
233
234```markdown
235# Journey Map
236
237> Based on: [list of framework outputs used]
238> Date: [current date]
239> Mode: Pre-Product (hypothesized) | Product-Exists (grounded)
240> Frameworks applied: [list]
241
242## Summary
243
244## User Journeys
245
246## Customer Lifecycle
247
248## Critical Moments
249
250## Evidence Matrix
251
252| Claim | Supporting Framework(s) | Evidence | Confidence |
253|-------|------------------------|----------|------------|
254| [claim] | JTBD Timeline / Experience Map / Service Blueprint / User Story Map / Customer Journey Canvas | [source] | Strong / Moderate / Hypothesized |
255
256## Stage Detail Index
257
258## Journey Gaps
259
260## Next Steps
261```
262
263## Alignment Page
264
265When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment/journey-map-{topic}.html`.
266
267**Journey research translation.** Render the lifecycle overview as approval-ready research, not a chat-only summary. The alignment page must include the proposed `research/journey-map.md` content, proposed file changes, evidence coverage by journey stage, assumptions/confidence register, critical-moment evidence matrix, and approval gates before canonical research files are created or updated.
268
269Before approval, the next action is review of `alignment/journey-map-{topic}.html` and compiled YAML answers from that page. Do not treat a plain-text lifecycle summary as a substitute for the HTML alignment preview.
270
271## Constraints
272
273- **Parent does not execute frameworks.** It selects and queues them. `/exec` handles execution.
274- **Synthesis requires at least one framework output.** Do not synthesize from zero evidence.
275- **Mode detection is evidence-based.** Do not override mode detection without user confirmation.
276- Ground every important step in ICP, research, specs, feedback, or codebase evidence.
277- Do not prescribe UI or architecture.
278- Present findings before writing.
279- Follow the archive-first replacement policy for canonical research/spec documents.
280- Do not overwrite existing `research/journey-map.md` without asking the user first.
281
282## Default Shipping Contract
283
284Follow the shared shipping contract convention in CLAUDE.md.