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> 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.
Experience Map — Adaptive Path Analysis
Report-First Approval Gate
Default to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.
Do not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write/update/fix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research/report writes.
When stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. 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 - Research and clarify. Perform the research, run required source/code checks, and ask any needed clarification questions. Write only a non-canonical working packet: flat mode uses
research/_working/preliminary-experience-map-research.md; product-path mode uses research/{slug}/_working/preliminary-experience-map-research.md. Do not create or update canonical research, spec, or task files in Stage 1.
- Stage 2 - Review alignment. Consume the working packet and build the
review HTML alignment page. The page must render the full preliminary packet, evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and approval gates. Stop for either feedback-only YAML or final compiled YAML.
- Stage 3 - Finalize approved artifacts. Consume final compiled YAML only when it has no unresolved negative feedback. Apply approved edits first, archive the working packet, write the approved canonical artifacts, and convert the alignment page to
confirmed.
Evidence And Feedback Handling
Treat user feedback as input to evaluate, not as automatic ground truth.
- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. Push back clearly and cite the evidence when the user appears to misunderstand.
- For taste, prioritization, or subjective judgment calls: weigh user feedback heavily and adapt unless it conflicts with verified evidence.
- When uncertain, say what is known, what is inferred, and what would change the conclusion.
Prerequisites
- Hard:
research/icp.md (or research/{slug}/icp.md) must exist. If not, tell the user to run $icp first and stop.
- Soft:
research/competitive-analysis.md, research/customer-feedback.md, specs, and codebase context when available.
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.
When product path {slug} is active, read and write research under research/{slug}/, specs under specs/{slug}/.
1. Load Context
- Read
research/icp.md — ICP segments, pain points, trigger events
- Read
research/competitive-analysis.md if it exists
- Read
research/customer-feedback.md if it exists — emotional language, satisfaction drivers
- Read CLAUDE.md, README for product context
2. Define Experience Phases
Map the end-to-end experience across phases that span the full lifecycle, not just the product interaction. Typical phases: awareness, research, first contact, onboarding, core usage, deepening, advocacy/departure.
3. Map Doing Layer
For each phase, document what the person is actively doing:
- Actions taken (searching, comparing, signing up, configuring, using features)
- Tools and channels used
- Time spent per action
- Frequency and patterns
4. Map Thinking Layer
For each phase, document what the person is thinking:
- Questions they're asking themselves
- Comparisons and evaluations they're making
- Mental models they're building
- Expectations forming and shifting
5. Map Feeling Layer
For each phase, document the emotional state:
- Dominant emotion (frustrated, curious, confident, anxious, delighted)
- Emotional intensity (high/medium/low)
- Emotional trajectory (rising, falling, stable)
- Trigger for emotional shifts
6. Identify Pain and Delight Moments
Across all phases, identify:
- Pain moments: where negative emotion peaks — frustration, confusion, abandonment risk
- Delight moments: where positive emotion peaks — aha moments, unexpected value, mastery
- Indifference zones: where the experience is flat and forgettable
- Channel transitions: moments where the user switches between channels, devices, or contexts (these are high-friction by default)
7. Plot the Emotional Arc
Create the emotional journey curve:
- X-axis: experience phases (time/sequence)
- Y-axis: emotional valence (negative ↔ positive)
- Mark pain points, delight moments, and channel transitions on the curve
- Identify the overall arc shape (valley-then-peak, steady decline, roller-coaster, etc.)
8. Validate with User
Present the experience map and emotional arc. Ask for corrections, missing phases, and product-specific context.
Output
research/journey-map-experience-map.md (or research/{slug}/journey-map-experience-map.md)
# Experience Map
> Based on: research/icp.md[, other evidence]
> Date: [current date]
> Methodology: Adaptive Path Experience Map
## Experience Phases
| Phase | Doing | Thinking | Feeling | Intensity |
|-------|-------|----------|---------|-----------|
| [phase] | [actions] | [thoughts] | [emotion] | High/Medium/Low |
## Emotional Arc
[Narrative description of the emotional trajectory across phases]
## Pain Moments
| Phase | Pain Point | Emotion | Intensity | Evidence |
|-------|-----------|---------|-----------|----------|
| [phase] | [description] | [emotion] | High/Medium/Low | [source] |
## Delight Moments
| Phase | Delight Point | Emotion | Intensity | Evidence |
|-------|--------------|---------|-----------|----------|
| [phase] | [description] | [emotion] | High/Medium/Low | [source] |
## Channel Transitions
| From | To | Phase | Friction Level | Evidence |
|------|-----|-------|---------------|----------|
| [channel] | [channel] | [phase] | High/Medium/Low | [source] |
## Evidence Matrix
| Claim | Evidence Source | Evidence Type | Confidence |
|-------|---------------|---------------|------------|
| [claim] | [source] | Observed/Inferred/Hypothesized | High/Medium/Low |
Constraints
- Ground every experience element in ICP, research, specs, feedback, or codebase evidence.
- Do not prescribe UI or architecture — describe the experience, not the solution.
- Present findings before writing.
- Do not overwrite existing output without asking the user first.
- This is a sub-skill — do not emit next-step routing.
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/experience-map-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: experience-map-23description: Adaptive Path experience map — emotional arc with doing/thinking/feeling layers, pain/delight moments, and channel transitions4---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>` 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# Experience Map — Adaptive Path Analysis
11
12## Report-First Approval Gate
13
14Default to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.
15
16Do not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write/update/fix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research/report writes.
17
18When stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. 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.
19
20## Staged Research Workflow
21
22Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
23
241. **Stage 1 - Research and clarify.** Perform the research, run required source/code checks, and ask any needed clarification questions. Write only a non-canonical working packet: flat mode uses `research/_working/preliminary-experience-map-research.md`; product-path mode uses `research/{slug}/_working/preliminary-experience-map-research.md`. Do not create or update canonical research, spec, or task files in Stage 1.
252. **Stage 2 - Review alignment.** Consume the working packet and build the `review` HTML alignment page. The page must render the full preliminary packet, evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and approval gates. Stop for either feedback-only YAML or final compiled YAML.
263. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML only when it has no unresolved negative feedback. Apply approved edits first, archive the working packet, write the approved canonical artifacts, and convert the alignment page to `confirmed`.
27
28## Evidence And Feedback Handling
29
30Treat user feedback as input to evaluate, not as automatic ground truth.
31
32- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. Push back clearly and cite the evidence when the user appears to misunderstand.
33- For taste, prioritization, or subjective judgment calls: weigh user feedback heavily and adapt unless it conflicts with verified evidence.
34- When uncertain, say what is known, what is inferred, and what would change the conclusion.
35
36## Prerequisites
37
38- **Hard**: `research/icp.md` (or `research/{slug}/icp.md`) must exist. If not, tell the user to run `$icp` first and stop.
39- **Soft**: `research/competitive-analysis.md`, `research/customer-feedback.md`, specs, and codebase context when available.
40
41## Process
42
43### 0. Product-Path Scope Resolution
44
45Resolve research scope by product path before using code or app structure as a hint:
46
471. 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.
482. 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.
493. 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.
504. 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.
515. 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.
526. If no product directories exist, use flat `research/` single-product mode.
537. Detect monorepo/app/package structure only as a secondary hint.
54
55When product path `{slug}` is active, read and write research under `research/{slug}/`, specs under `specs/{slug}/`.
56
57### 1. Load Context
58
59- Read `research/icp.md` — ICP segments, pain points, trigger events
60- Read `research/competitive-analysis.md` if it exists
61- Read `research/customer-feedback.md` if it exists — emotional language, satisfaction drivers
62- Read CLAUDE.md, README for product context
63
64### 2. Define Experience Phases
65
66Map the end-to-end experience across phases that span the full lifecycle, not just the product interaction. Typical phases: awareness, research, first contact, onboarding, core usage, deepening, advocacy/departure.
67
68### 3. Map Doing Layer
69
70For each phase, document what the person is actively doing:
71- Actions taken (searching, comparing, signing up, configuring, using features)
72- Tools and channels used
73- Time spent per action
74- Frequency and patterns
75
76### 4. Map Thinking Layer
77
78For each phase, document what the person is thinking:
79- Questions they're asking themselves
80- Comparisons and evaluations they're making
81- Mental models they're building
82- Expectations forming and shifting
83
84### 5. Map Feeling Layer
85
86For each phase, document the emotional state:
87- Dominant emotion (frustrated, curious, confident, anxious, delighted)
88- Emotional intensity (high/medium/low)
89- Emotional trajectory (rising, falling, stable)
90- Trigger for emotional shifts
91
92### 6. Identify Pain and Delight Moments
93
94Across all phases, identify:
95- **Pain moments**: where negative emotion peaks — frustration, confusion, abandonment risk
96- **Delight moments**: where positive emotion peaks — aha moments, unexpected value, mastery
97- **Indifference zones**: where the experience is flat and forgettable
98- **Channel transitions**: moments where the user switches between channels, devices, or contexts (these are high-friction by default)
99
100### 7. Plot the Emotional Arc
101
102Create the emotional journey curve:
103- X-axis: experience phases (time/sequence)
104- Y-axis: emotional valence (negative ↔ positive)
105- Mark pain points, delight moments, and channel transitions on the curve
106- Identify the overall arc shape (valley-then-peak, steady decline, roller-coaster, etc.)
107
108### 8. Validate with User
109
110Present the experience map and emotional arc. Ask for corrections, missing phases, and product-specific context.
111
112## Output
113
114### `research/journey-map-experience-map.md` (or `research/{slug}/journey-map-experience-map.md`)
115
116```markdown
117# Experience Map
118
119> Based on: research/icp.md[, other evidence]
120> Date: [current date]
121> Methodology: Adaptive Path Experience Map
122
123## Experience Phases
124
125| Phase | Doing | Thinking | Feeling | Intensity |
126|-------|-------|----------|---------|-----------|
127| [phase] | [actions] | [thoughts] | [emotion] | High/Medium/Low |
128
129## Emotional Arc
130
131[Narrative description of the emotional trajectory across phases]
132
133## Pain Moments
134
135| Phase | Pain Point | Emotion | Intensity | Evidence |
136|-------|-----------|---------|-----------|----------|
137| [phase] | [description] | [emotion] | High/Medium/Low | [source] |
138
139## Delight Moments
140
141| Phase | Delight Point | Emotion | Intensity | Evidence |
142|-------|--------------|---------|-----------|----------|
143| [phase] | [description] | [emotion] | High/Medium/Low | [source] |
144
145## Channel Transitions
146
147| From | To | Phase | Friction Level | Evidence |
148|------|-----|-------|---------------|----------|
149| [channel] | [channel] | [phase] | High/Medium/Low | [source] |
150
151## Evidence Matrix
152
153| Claim | Evidence Source | Evidence Type | Confidence |
154|-------|---------------|---------------|------------|
155| [claim] | [source] | Observed/Inferred/Hypothesized | High/Medium/Low |
156```
157
158## Constraints
159
160- Ground every experience element in ICP, research, specs, feedback, or codebase evidence.
161- Do not prescribe UI or architecture — describe the experience, not the solution.
162- Present findings before writing.
163- Do not overwrite existing output without asking the user first.
164- This is a sub-skill — do not emit next-step routing.
165
166## Alignment Page
167
168When 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/experience-map-{topic}.html`.
169
170## Default Shipping Contract
171
172Follow the shared shipping contract convention in CLAUDE.md.