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 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.
JTBD Positioning — Jobs-to-be-Done Analysis
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.
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. If the user appears to misunderstand the evidence or states something factually incorrect, push back clearly and cite the evidence. Do not rewrite findings merely to agree.
- For taste, brand, positioning preference, risk appetite, prioritization, or other subjective judgment calls: weigh user feedback heavily and adapt the recommendation unless it conflicts with verified evidence.
- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.
- 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 /customer-discovery first and stop.
- Hard:
research/competitive-analysis.md (or research/{slug}/competitive-analysis.md) must exist. If not, tell the user to run /competitive-analysis first and stop.
- Soft:
research/journey-map.md (or research/{slug}/journey-map.md) — recommended for richer job context but not blocking.
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.
1. Load Context
- Read
research/icp.md — ICP segments, pain points, value props, trigger events
- Read
research/competitive-analysis.md — competitor landscape, what alternatives offer
- Read
research/journey-map.md if it exists — where value is delivered, the aha moment, switching triggers
- Read CLAUDE.md, README, and key source files for product context
2. Identify the Primary Job
Determine the primary "job" the target customer is hiring this product to do. A job is not a feature or a task — it is a higher-level progress the customer is trying to make in their life or work.
Format as a job statement: "When [situation], I want to [motivation], so I can [expected outcome]."
Ground the job in ICP evidence:
- What pain points from the ICP map to unfinished or poorly-served jobs?
- What trigger events cause the customer to "fire" their current solution and "hire" a new one?
- What does the journey map reveal about what the customer is truly trying to accomplish?
3. Map Functional Dimensions
What the job accomplishes practically:
- What tasks does the job complete?
- What outputs does the customer expect?
- What quality standards define "done well"?
- How does the customer measure functional success?
4. Map Social Dimensions
How doing the job affects how others perceive the customer:
- How does the customer want to be seen by peers, managers, or customers?
- What professional identity does completing this job reinforce?
- What status or credibility does the customer gain?
- What social risks exist if the job is done poorly?
5. Map Emotional Dimensions
How doing the job makes the customer feel:
- What frustrations does the customer experience with current solutions?
- What confidence or relief does successful completion bring?
- What anxiety or uncertainty exists during the process?
- What delight or satisfaction signals "done well"?
6. Identify Desired Outcome State
Define what "done well" looks like from the customer's perspective:
- Functional success criteria
- Social success criteria
- Emotional success criteria
- What does the customer's world look like after the job is completed successfully?
7. Position Around Job Outcome
Determine how the product delivers the desired outcome better than alternatives:
- Which dimensions (functional/social/emotional) does the product win on?
- Where do alternatives fall short on delivering the full outcome?
- What is the product's unique advantage in delivering "done well"?
- How should the product be framed to make the job-outcome connection obvious?
8. Validate with User
Use AskUserQuestion to present findings and validate:
- "Is this the right job? Are there jobs I've missed or overweighted?"
- Present the job statement, dimensional map, and outcome positioning
- Ask whether the functional/social/emotional weighting feels accurate
Output
research/positioning-jtbd.md (or research/{slug}/positioning-jtbd.md)
# JTBD Positioning Analysis
> Based on: research/icp.md, research/competitive-analysis.md[, research/journey-map.md]
> Date: [current date]
> Methodology: Jobs-to-be-Done
## Job Statement
When [situation], I want to [motivation], so I can [expected outcome].
## Functional Dimensions
| Dimension | Description | Current Solution Performance | Evidence |
|-----------|-------------|------------------------------|----------|
| [dimension] | [what it accomplishes] | [how current solutions perform] | [source] |
## Social Dimensions
| Dimension | Description | Importance | Evidence |
|-----------|-------------|------------|----------|
| [dimension] | [how it affects perception] | High/Medium/Low | [source] |
## Emotional Dimensions
| Dimension | Description | Current Pain Level | Evidence |
|-----------|-------------|-------------------|----------|
| [dimension] | [how it makes them feel] | High/Medium/Low | [source] |
## Desired Outcome
[Description of what "done well" looks like across all dimensions]
### Functional Success
- [criterion]
### Social Success
- [criterion]
### Emotional Success
- [criterion]
## Position
[How the product delivers the desired outcome better than alternatives]
### Winning Dimensions
| Dimension Type | Specific Dimension | Product Advantage | vs. Alternatives |
|---------------|-------------------|-------------------|------------------|
| [Functional/Social/Emotional] | [dimension] | [advantage] | [how alternatives fall short] |
### Positioning Implication
[How this job-outcome framing should shape product positioning]
## Evidence Matrix
| Claim | Evidence Source | Evidence Type | Confidence |
|-------|---------------|---------------|------------|
| [claim about the job] | [source file/section] | Observed/Inferred/Hypothesized | High/Medium/Low |
Create the research/ directory if it doesn't exist.
Task Classification
When this skill produces follow-up work, file it by execution semantics:
- Immediately actionable implementation or documentation work goes in
tasks/todo.md.
- Human-only external actions tied to automated steps go in
tasks/manual-todo.md with _(blocks: Step N.X)_ or _(after: Step N.X)_; repo edits, SDK wiring, generated assets, local commands, tests, audits, and authenticated CLI/API work stay in tasks/todo.md.
- One-time condition-gated records, baselines, or future measurements go in
tasks/record-todo.md with source, condition, non-blocking reason, evidence, and promotion rule.
- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in
tasks/recurring-todo.md with cadence, owner/agent, next due, evidence path, and escalation conditions.
- Do not put non-blocking records or recurring obligations in
tasks/todo.md unless they have been explicitly promoted into current execution work.
Constraints
- Must ground in ICP evidence. Jobs must come from observed customer behavior and pain points, not aspirational product vision.
- If the job is unclear, surface that as a finding. Do not force a clean job statement when evidence is ambiguous — document the ambiguity.
- One primary job. There may be related jobs, but identify the single primary job the product is hired for. Secondary jobs can be noted but should not dilute the primary.
- Present before writing. Never write output files until findings have been presented and validated.
- Do not overwrite existing
research/positioning-jtbd.md without asking the user first.
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/jtbd-positioning-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: jtbd-positioning-113description: Jobs-to-be-Done positioning analysis — identify primary job, map functional/social/emotional dimensions, position around job outcome4---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 `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# JTBD Positioning — Jobs-to-be-Done Analysis
11
12## Report-First Approval Gate
13
14Default 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.
15
16Do 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.
17
18After 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.
19
20Do 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.
21
22## Staged Research Workflow
23
24Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
25
261. **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.
272. **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.
283. **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.
29
30Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
31
32## Evidence And Feedback Handling
33
34Treat user feedback as input to evaluate, not as automatic ground truth.
35
36- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. If the user appears to misunderstand the evidence or states something factually incorrect, push back clearly and cite the evidence. Do not rewrite findings merely to agree.
37- For taste, brand, positioning preference, risk appetite, prioritization, or other subjective judgment calls: weigh user feedback heavily and adapt the recommendation unless it conflicts with verified evidence.
38- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.
39- When uncertain, say what is known, what is inferred, and what would change the conclusion.
40
41## Prerequisites
42
43- **Hard**: `research/icp.md` (or `research/{slug}/icp.md`) must exist. If not, tell the user to run `/customer-discovery` first and stop.
44- **Hard**: `research/competitive-analysis.md` (or `research/{slug}/competitive-analysis.md`) must exist. If not, tell the user to run `/competitive-analysis` first and stop.
45- **Soft**: `research/journey-map.md` (or `research/{slug}/journey-map.md`) — recommended for richer job context but not blocking.
46
47## Process
48
49### 0. Product-Path Scope Resolution
50
51Resolve research scope by product path before using code or app structure as a hint:
52
531. 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.
542. 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.
553. 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.
564. 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.
575. 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.
586. If no product directories exist, use flat `research/` single-product mode.
597. 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}/`.
60
61When 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.
62
63### 1. Load Context
64
65- Read `research/icp.md` — ICP segments, pain points, value props, trigger events
66- Read `research/competitive-analysis.md` — competitor landscape, what alternatives offer
67- Read `research/journey-map.md` if it exists — where value is delivered, the aha moment, switching triggers
68- Read CLAUDE.md, README, and key source files for product context
69
70### 2. Identify the Primary Job
71
72Determine the primary "job" the target customer is hiring this product to do. A job is not a feature or a task — it is a higher-level progress the customer is trying to make in their life or work.
73
74Format as a job statement: "When [situation], I want to [motivation], so I can [expected outcome]."
75
76Ground the job in ICP evidence:
77- What pain points from the ICP map to unfinished or poorly-served jobs?
78- What trigger events cause the customer to "fire" their current solution and "hire" a new one?
79- What does the journey map reveal about what the customer is truly trying to accomplish?
80
81### 3. Map Functional Dimensions
82
83What the job accomplishes practically:
84- What tasks does the job complete?
85- What outputs does the customer expect?
86- What quality standards define "done well"?
87- How does the customer measure functional success?
88
89### 4. Map Social Dimensions
90
91How doing the job affects how others perceive the customer:
92- How does the customer want to be seen by peers, managers, or customers?
93- What professional identity does completing this job reinforce?
94- What status or credibility does the customer gain?
95- What social risks exist if the job is done poorly?
96
97### 5. Map Emotional Dimensions
98
99How doing the job makes the customer feel:
100- What frustrations does the customer experience with current solutions?
101- What confidence or relief does successful completion bring?
102- What anxiety or uncertainty exists during the process?
103- What delight or satisfaction signals "done well"?
104
105### 6. Identify Desired Outcome State
106
107Define what "done well" looks like from the customer's perspective:
108- Functional success criteria
109- Social success criteria
110- Emotional success criteria
111- What does the customer's world look like after the job is completed successfully?
112
113### 7. Position Around Job Outcome
114
115Determine how the product delivers the desired outcome better than alternatives:
116- Which dimensions (functional/social/emotional) does the product win on?
117- Where do alternatives fall short on delivering the full outcome?
118- What is the product's unique advantage in delivering "done well"?
119- How should the product be framed to make the job-outcome connection obvious?
120
121### 8. Validate with User
122
123Use AskUserQuestion to present findings and validate:
124- "Is this the right job? Are there jobs I've missed or overweighted?"
125- Present the job statement, dimensional map, and outcome positioning
126- Ask whether the functional/social/emotional weighting feels accurate
127
128## Output
129
130### `research/positioning-jtbd.md` (or `research/{slug}/positioning-jtbd.md`)
131
132```markdown
133# JTBD Positioning Analysis
134
135> Based on: research/icp.md, research/competitive-analysis.md[, research/journey-map.md]
136> Date: [current date]
137> Methodology: Jobs-to-be-Done
138
139## Job Statement
140
141When [situation], I want to [motivation], so I can [expected outcome].
142
143## Functional Dimensions
144
145| Dimension | Description | Current Solution Performance | Evidence |
146|-----------|-------------|------------------------------|----------|
147| [dimension] | [what it accomplishes] | [how current solutions perform] | [source] |
148
149## Social Dimensions
150
151| Dimension | Description | Importance | Evidence |
152|-----------|-------------|------------|----------|
153| [dimension] | [how it affects perception] | High/Medium/Low | [source] |
154
155## Emotional Dimensions
156
157| Dimension | Description | Current Pain Level | Evidence |
158|-----------|-------------|-------------------|----------|
159| [dimension] | [how it makes them feel] | High/Medium/Low | [source] |
160
161## Desired Outcome
162
163[Description of what "done well" looks like across all dimensions]
164
165### Functional Success
166- [criterion]
167
168### Social Success
169- [criterion]
170
171### Emotional Success
172- [criterion]
173
174## Position
175
176[How the product delivers the desired outcome better than alternatives]
177
178### Winning Dimensions
179| Dimension Type | Specific Dimension | Product Advantage | vs. Alternatives |
180|---------------|-------------------|-------------------|------------------|
181| [Functional/Social/Emotional] | [dimension] | [advantage] | [how alternatives fall short] |
182
183### Positioning Implication
184[How this job-outcome framing should shape product positioning]
185
186## Evidence Matrix
187
188| Claim | Evidence Source | Evidence Type | Confidence |
189|-------|---------------|---------------|------------|
190| [claim about the job] | [source file/section] | Observed/Inferred/Hypothesized | High/Medium/Low |
191```
192
193Create the `research/` directory if it doesn't exist.
194
195## Task Classification
196
197When this skill produces follow-up work, file it by execution semantics:
198
199- Immediately actionable implementation or documentation work goes in `tasks/todo.md`.
200- Human-only external actions tied to automated steps go in `tasks/manual-todo.md` with `_(blocks: Step N.X)_` or `_(after: Step N.X)_`; repo edits, SDK wiring, generated assets, local commands, tests, audits, and authenticated CLI/API work stay in `tasks/todo.md`.
201- One-time condition-gated records, baselines, or future measurements go in `tasks/record-todo.md` with source, condition, non-blocking reason, evidence, and promotion rule.
202- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in `tasks/recurring-todo.md` with cadence, owner/agent, next due, evidence path, and escalation conditions.
203- Do not put non-blocking records or recurring obligations in `tasks/todo.md` unless they have been explicitly promoted into current execution work.
204
205## Constraints
206
207- **Must ground in ICP evidence.** Jobs must come from observed customer behavior and pain points, not aspirational product vision.
208- **If the job is unclear, surface that as a finding.** Do not force a clean job statement when evidence is ambiguous — document the ambiguity.
209- **One primary job.** There may be related jobs, but identify the single primary job the product is hired for. Secondary jobs can be noted but should not dilute the primary.
210- **Present before writing.** Never write output files until findings have been presented and validated.
211- **Do not overwrite existing `research/positioning-jtbd.md`** without asking the user first.
212
213## Alignment Page
214
215When 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/jtbd-positioning-{topic}.html`.
216
217## Default Shipping Contract
218
219Follow the shared shipping contract convention in CLAUDE.md.