Skip to content
Skills Library
Management & product · Writing

dev10x:jtbd

/dev10x:jtbd

Pure JTBD story drafting skill. Gathers context from issue tracker tickets, parent tickets, and PR diffs to craft a situation-driven Job Story with explicit actor and beneficiary. Returns the draft string with no side effects. TRIGGER when: drafting a JTBD Job Story for a ticket, PR, or release. DO NOT TRIGGER when: Job Story already exists on the target, or writing commit messages (use dev10x:git-commit).

Licence
MIT
Last repository change
12.10.2026

Assessment and security

90/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 12.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Pure JTBD story drafting skill. Gathers context from issue tracker tickets, parent tickets, and PR diffs to craft a situation-driven Job Story with explicit actor and beneficiary. Returns the draft string with no side effects. TRIGGER when: drafting a JTBD Job Story for a ticket, PR, or release. DO NOT TRIGGER when: Job Story already exists on the target, or writing commit messages (use dev10x:git-commit).

Original author description

Pure JTBD story drafting skill. Gathers context from issue tracker tickets, parent tickets, and PR diffs to craft a situation-driven Job Story with explicit actor and beneficiary. Returns the draft string with no side effects. TRIGGER when: drafting a JTBD Job Story for a ticket, PR, or release. DO NOT TRIGGER when: Job Story already exists on the target, or writing commit messages (use dev10x:git-commit).

How it works

  1. Orchestration
  2. Overview
  3. Guiding Principle: Business ROI First
  4. Interface Contract
  5. Workflow
  6. Context Gathering Strategy
  7. Integration Points
  8. Examples
Original SKILL.md headings · 418 lines, 3,501 words
SKILL.md preview
---
name: dev10x:jtbd
invocation-name: dev10x:jtbd
description: >
  Pure JTBD story drafting skill. Gathers context from issue tracker
  tickets, parent tickets, and PR diffs to craft a situation-driven Job
  Story with explicit actor and beneficiary. Returns the draft string
  with no side effects.
  TRIGGER when: drafting a JTBD Job Story for a ticket, PR, or release.
  DO NOT TRIGGER when: Job Story already exists on the target, or writing
  commit messages (use dev10x:git-commit).
user-invocable: false
allowed-tools:
  - AskUserQuestion
  - Skill(dev10x:gh-context)
  - Bash(gh pr view:*)
  - Bash(gh pr diff:*)
  - Bash(gh pr list:*)
  - Bash(git log:*)
  - Bash(git diff:*)
  - mcp__claude_ai_Linear__get_issue
  - mcp__claude_ai_Linear__list_issues
  - mcp__claude_ai_Linear__list_comments
  - Bash(curl:*atlassian.net*)
---

# dev10x:jtbd — Pure Job Story Drafting

## Orchestration

This skill follows `references/task-orchestration.md` patterns.
Create a task at invocation, mark completed when done:

**REQUIRED: Create a task at invocation.** Execute at startup:

1. `TaskCreate(subject="Draft JTBD Job Story", activeForm="Drafting Job Story")`

Mark completed when done: `TaskUpdate(taskId, status="completed")`

## Overview

This is the **foundational JTBD skill** that provides reusable context
gathering and story drafting. It is NOT directly invocable by users —
instead, it is used as a base by other skills:

- **ticket write layer** — drafts and applies the story to a target (PR,
  Linear ticket, JIRA ticket)
- **PR creation skill** — sources or generates a Job Story for the PR
  description
- **ticket work-on skill** — drafts a story early when starting work on a
  ticket
- **ticket scoping skill** — drafts a story during the architecture phase
- **release-notes skill** — generates missing stories in unattended mode
- **commit skill** — derives outcome-focused titles from the "so X can" clause

## Guiding Principle: Business ROI First

Every Job Story must answer **"where does the money come from, or
where does the money go?"** before "what does the code do?".
Engineering value — cleaner APIs, sortable identifiers, fewer
round-trips, less duplication — is never the lead. It is at best
the *mechanism* that delivers a business outcome.

If a draft cannot point at one of these ROI buckets, the story is
still a description of the diff, not a Job Story:

- **Revenue captured** — sales the business could not make before, and
  money already agreed that was leaking off the bill
- **Cost saved** — fewer support hours, lower infra spend, less rework;
  an engineer's afternoon is a cost line too
- **Retention / churn** — keeps customers from leaving the platform; only
  when a repeated ask is evidenced, never inferred from annoyance
- **Time-to-value** — customer reaches their first valuable use faster
- **Risk avoided** — compliance, security, data loss, payment failures
- **Platform integrity** — a contract held with a named counterparty
  (a POS schema, a gateway, a rollout plan). Gate: finish "the contract we
  hold is with ___". Codegen *output* is integrity; codegen *tooling* is
  Cost. A printout or a local script is never integrity.

Pick exactly one bucket, and record the rejected runner-up in one line —
that line is usually the release-note angle a salesperson would lead with.
The bucket says where the money is; it does not dictate the sentence shape.
`Prevent stale plans from reaching new worktrees` is Cost money in a
prevention sentence (see `dev10x:git-commit` Step 2.5).

Engineering value is always secondary. A refactor or dependency
bump that ships no business outcome should be either (a) the
*first step* in a sequence that does — and named after that
downstream outcome — or (b) not done at all.

### Trace upward for plumbing PRs

Dependency bumps, refactors, and infrastructure changes feel
"actor-less" — there is no user clicking a button. The fix is
**not** to invent "the developer wants to…" as the actor. The fix
is to **trace upward** to the user-facing feature the plumbing
unblocks and frame the story from *that* feature's beneficiary.

Generic worked trace (a library bump that enables client-assigned
record ids in a self-service configurator):

```
ULID library dependency bump          ← the diff
  └─ enables client-assigned record ids
       └─ collapses N row-level CRUD mutations into one atomic save
            └─ makes the self-service configurator UI usable
                 └─ end customers manage their own settings
                      └─ vendor saves support hours + customers
                        ship configuration changes same-day
```

The actor is the **end customer**; the beneficiary is the
**vendor** (support cost saved) and the **end customer** (revenue
/ time saved from same-day configuration). The library is the
mechanism, never the actor.

## Interface Contract

```
INPUTS:
  ticket_id: str | None      — e.g. FEAT-519, BUG-234, ENG-300
  pr_number: int | None      — GitHub PR number
  context: dict | None       — Pre-gathered context (avoids redundant API calls)
  mode: attended | unattended — attended = user approval; unattended = return draft

OUTPUT:
  story: str — "**When** ... **[actor] wants to** ... **so [beneficiary] can** ..."
               Empty string if user rejects (attended mode)

SIDE EFFECTS: None.
```

Callers pass whatever context they already have via `context` to skip
redundant API calls. If `context` is None, the skill gathers it fresh.

## Workflow

### Step 1: Gather Context

Collect information from available sources in parallel. Skip sources
the caller already provided via the `context` parameter.

**A. PR details (if `pr_number` provided):**
- Call `mcp__plugin_dev10x_cli__pr_get(number=PR_NUMBER)` for the
  PR title, body, head branch, and metadata
- Call `mcp__plugin_dev10x_cli__pr_detect(arg=str(PR_NUMBER))` if
  the PR number was supplied without repo context
- Fetch the diff via `Skill(dev10x:gh-context)` (or the project's
  PR-diff helper) — raw `gh pr diff` is hook-blocked in skill docs

**B. Issue ticket (if `ticket_id` provided):**
Use the available issue tracker tool (Linear MCP, JIRA REST API, etc.)
to get:
- Title and description
- Parent ticket ID (if any)

**C. Parent ticket (if exists):**
Use the issue tracker tool with the parent ID to get:
- The business context and original request
- Who requested it and why
- Linked Slack threads or comments (often contain the real user voice)

**D. Comments and QA threads on the ticket and PR.**
Read `list_comments`, not just the description.
A ticket with an empty description can carry its only measured evidence in
a QA walkthrough comment posted the day before merge.

**Evidence ranking — tickets may be AI-written.**
In many workspaces tickets are generated by an agent and rarely read by a
human for correctness; what humans check is what shipped and how it worked.
A story derived from ticket prose alone launders one agent's invented
rationale through another. Rank sources:

1. The diff and the PR body
2. QA walkthrough comments and review threads
3. Human-authored quotes with a named source (chat, a shared doc, a call note)
4. Ticket and parent description

Tag any value claim resting only on rank 4 as `[Verify: ticket-only]`.
Numbers in tickets (counts, queue sizes, percentages) are rank 4 unless a
comment shows the query that produced them.
The supervisor's own words, when they correct a draft, outrank all four:
the agent usually lands near the target (right feature, right area) but names
a defensive or effort framing where the human names the owner's positive aim.
Release notes are read by the business; there the story has to be a
bullseye for the real-world use case, not merely close enough to start
implementation.

### Step 2: Identify the Situation

From the gathered context, extract:

1. **Who experiences the situation?** (not a persona — a role in context)
   - Look at: parent ticket description, user quotes, who filed it
   - Example: "a merchant", "a billing admin", "the ops team"

2. **Who benefits from the outcome?** (may differ from the actor above)
   - Sometimes the actor who triggers the action and the beneficiary are
     different roles — e.g., the billing admin sends the invoice SMS, but
     the customer is the one who benefits from paying via phone
   - Look at: what changes for whom, who is the downstream beneficiary

3. **What triggers the need?** (the real-world moment)
   - Look at: parent ticket description, user quotes
   - Example: "processes a bank transfer", "runs end-of-month payroll"
   - **Use the mundane situation the sources actually name — never
     invent a more dramatic one.** A vivid crisis ("mid-shift outage")
     reads better than "routine onboarding", but if the ticket doesn't
     describe it, it misstates the job. Check: can you point at the
     sentence in the ticket/parent/PR that names this trigger?

4. **What's wrong today?** (the current pain)
   - Look at: why was the ticket created, what workaround exists
   - Example: "forced to select 'Other'", "calculation times out"

### Step 3: Draft the Job Story

**Format:**
```
**When** [situation], **[actor] wants to** [motivation], **so [beneficiary] can** [expected outcome].
```

**Rules:**
- Use **business language**, not technical language
- Use the project or ticket language for the Job Story and user-story
  prose. If BDD or Gherkin-derived keywords appear in the surrounding
  ticket, use Cucumber's official language reference:
  https://cucumber.io/docs/gherkin/languages/
- The "When" describes a real-world moment, not a UI interaction
- Always name the actor explicitly — never use "I", "we", or "they"
- The actor ("wants to") and beneficiary ("so X can") may be **different
  roles** — name both explicitly when they differ (e.g., "the billing admin
  wants to send the customer an SMS, so the customer can pay immediately")
- The "so [beneficiary] can" should contrast with the current broken state
- One sentence. No bullet points. No implementation details.
- The motivation names an **outcome with less effort**, not a UI action —
  actors don't want to "see / view / manage" anything; ideally they want
  to do nothing. "wants the setup to be obvious at a glance", not
  "wants to see every device's status in the new view"
- **One clause each** for situation, desire, and outcome. If you cannot
  read the draft aloud in one breath to a non-technical stakeholder,
  it is leaking implementation — length correlates with leakage
- See `references/job-story-format.md` for detailed guidance

### Subject Selection by PR Type

The actor in "wants to" varies depending on the type of change:

| PR Type | Actor | Notes |
|---------|-------|-------|
| User-facing feature | End user role: merchant, customer, admin | "the cashier wants to select 'ACH' as the payment method..." |
| Refactoring / preparatory | Downstream feature's actor | Trace upward to the user-facing feature this unblocks — never name the developer as actor |
| Bug fix | Role whose business activity is broken | Not "developer fixing the bug" — name the role whose work failed |
| Internal tooling | Ops/engineering team member | Reserve for changes that ship *operator* value (dashboards, alerting, runbooks) |
| Infrastructure | Downstream feature's actor (or ops team for true ops tooling) | If the change ships no operator value, trace upward to the user-facing feature it unblocks |

**Actor ≠ Beneficiary:** When the person taking the action differs from the
person who gains the benefit, name both explicitly:
> "the billing admin wants to send the customer an SMS with the payment link,
> so the customer can pay immediately from their phone"

**Outcomes, not work — the "happiest doing nothing" test:** The actor
rarely wants to *do* anything; in the ideal case they want the outcome
to happen with zero effort on their part. If the actor would be happiest
doing nothing, name the outcome they want to *happen*, then check whether
the true beneficiary — whoever captures the money or saves the time — is
a *different* role than the one performing the action. When it is, the
performer is the **mechanism** and the beneficiary owns the job. A
customer paying an invoice online is a mechanism; the real jobs are the
dealer collecting payment without manual card processing (time saved) and
TireTutor capturing the revenue.

**Anti-pattern for plumbing PRs:** Do not name "the developer" as
actor for refactoring, dependency bumps, or infrastructure
changes. These PRs are not actor-less — they have a real actor
one or two levels up the dependency chain. Trace upward (see
*Trace upward for plumbing PRs* above) and frame the story from
the user-facing feature's actor and beneficiary, even when the
feature ships in a later PR.

**Bug fix stories**: Focus on the specific broken entity (e.g., "stale
background job"), not the monitoring symptom that surfaced it (e.g.,
"error alerts in Sentry"). The "When" should describe the real-world
situation where the bug manifests, not the developer's experience of
discovering it.

### Anti-pattern: Pseudo-Business Value

The biggest risk with JTBD stories is writing something that *sounds*
business-y but is really technical dress-up. If the story doesn't
answer "why is this worth spending money on?", it's friction — not
value.

**Red flags in a draft:**

| Red flag | Why it's wrong | Fix |
|----------|---------------|-----|
| Technical scheduling as "When" | "When upgrading EKS" — business doesn't care about infrastructure timelines | Use the recurring business activity: "When releasing new features" |
| Technical mechanism as motivation | "configure probes with the right semantics" | Name what actually changes: "detect failed deployments" |
| Over-specific role when a generic term works | "merchants" when the check protects all users equally | Use "user experience" — don't narrow without reason |
| Implementation detail as benefit | "avoid misrouted traffic during restarts" | State the real outcome: "prevent broken releases from degrading UX" |
| First-person `I want to`, or a faceless "the user wants to" | "I"/"the user" doesn't identify the stakeholder | Name a concrete role ("the merchant", "the DevOps team") — third-person actor voice is required (see § Choosing the Actor in `references/git-jtbd.md`) |
| "the developer wants to…" for refactoring / infra / dep bumps | Substitutes the engineer for the real beneficiary; the developer's convenience is not a business outcome | Trace upward to the user-facing feature this plumbing unblocks; use that feature's actor and beneficiary |
| "wants to **see / view / check / manage** X" as the desire | UI verbs describe operating the feature, not the job. Seeing is usually effort spent reaching the real outcome — actors want less work, ideally none. (Exception: analytics/reporting, where insight *is* the deliverable — then pair the verb with the decision it enables) | Name the end state: "wants X to be obvious at a glance", "wants to be told when…", "wants the system to handle it" |
| "wants to **pay / submit / enter / upload / do X**" as the desire | Transactional effort verbs name work the actor performs, not the outcome they want — nobody wants to *pay* or *submit*, they want the result those actions produce. Framing the mechanism as the desire usually misidentifies both the actor and the true beneficiary (whoever captures the money or saves the time) | Name the outcome and re-check the roles: the customer paying is the *mechanism*; "**the dealer wants** payment collected without manual card entry, **so the vendor can** capture the revenue" |
| Naming the **replaced artifact** as the contrast ("instead of the old/redundant list/panel/dialog") | What-we-replaced is diff-framing — it describes the previous implementation, not the user's pain. (Naming the prior broken *behavior* is fine; naming the prior *component* is not) | Contrast with the pain itself: time lost, confusion, escalations. An outcome like "keep support calls short" carries the contrast implicitly |
| **Enumerating capabilities** the feature surfaces (fields, statuses, IDs) | A capability list is the UI spec wearing a story costume. If a reader could reconstruct the screen from the story, it is too concrete | Collapse the list into the single outcome it buys |
| **Invented dramatic situation** ("won't take payments mid-shift" when the ticket says "during onboarding") | A vivid failure the sources never describe misstates the job and erodes stakeholder trust | Anchor "When" on the mundane trigger the ticket actually names (see Step 2) |
| **A system as actor or beneficiary** ("the CRM wants to look up…", "so the client can read…") | A mechanism cannot want or benefit; it hides the human — and two PRs that differ only by the system's verb read as one | Name the human first (a support rep on a call; an owner self-serving). If the diff genuinely has no human — generated types, lockfiles — the PR is plumbing: story the contract it holds, not a borrowed outcome |
| **Defensive framing where the owner's aim is positive** ("answer an over-inflation complaint" when the owner wants techs to QA their work for spot checks) | Near the target but not the bullseye; a business reader recognises the feature and not the job | Ask what the owner is trying to achieve, not what they are trying to avoid; prefer the supervisor's own correction over the ticket's rationale |

**The "why spend money" test:** Read the draft aloud. If a non-technical
stakeholder would respond "so what?" or "why do I care?", the story
is still too technical. Keep peeling layers until you hit something
that connects to user impact, revenue risk, or operational cost.

**Example — infrastructure PR (before and after):**

Before (technical dress-up):
> **When** deploying the app to Kubernetes, **I want to** have dedicated
> liveness, readiness, and startup endpoints, **so I can** configure
> probes with the right semantics and avoid misrouted traffic.

After (real business value):
> **When** releasing new features, **the DevOps team wants to**
> detect failed deployments through substantive health checks rather
> than superficial ones, **so they can** prevent broken releases from
> degrading the user experience.

The first version describes *what* the code does. The second explains
*why anyone should care*. The difference: substantive vs superficial
checks (the real improvement), and preventing UX degradation (the
real cost of not doing it).

**Example — UI-consolidation PR (before and after):**

Before (three red flags at once — UI verb, capability list,
replaced-artifact contrast):
> **When** setting up a store's payment devices, **staff want to** see
> and manage every paired device — status, pairing code, location —
> in the new summary view, **instead of** a second, redundant inline
> list.

After (mundane trigger, effort-free desire, ROI outcome):
> **When** onboarding a store's payment devices — or fielding a
> customer's call about them — **staff want** the setup to be obvious
> at a glance, **so the vendor can** get the store live sooner and
> keep support calls short.

Note what the fix did: dropped every mechanism noun, dropped the
what-we-replaced contrast, and shortened to one clause per slot. See
`references/examples.md` Example 7 for the full draft-by-draft
correction spiral behind this case.

### Step 4: Present or Return

**Attended mode** — present the draft and ask for approval.

**REQUIRED: Call `AskUserQuestion`** (do NOT use plain text)
with the draft and these options:
- **Accept** — use this story
- **Edit** — describe what to change
- **Reject** — discard and return empty

If **Edit**: ask what to change and iterate.
If **Reject**: return empty string.
If **Accept**: return the story string.

**Unattended mode** — return the draft directly without user
interaction. The caller decides what to do with it.

## Context Gathering Strategy

The quality of a Job Story depends on finding the **business voice** —
the original request that motivated the technical work. Follow this
hierarchy:

```
Best context sources (in priority order):
1. User quotes in parent ticket ("@sarah said: enterprise clients all pay via ACH")
2. Parent ticket description (business request)
3. Sub-task ticket description (technical scope)
4. PR diff (what actually changed)
5. PR title (last resort)
```

**If no parent ticket exists**, the ticket description itself is the
source. Look for user quotes, Slack links, or "requested by" mentions.

**If no ticket exists** (branch without ticket ID), use the PR diff
and title to infer the situation. Ask the user for business context
if unclear (attended mode) or make best effort (unattended mode).

## Integration Points

This skill is designed to be composed by other skills:

### Ticket write layer
The write layer. Invokes `dev10x:jtbd` in attended mode, then writes the
approved story to a target (PR description, issue tracker ticket).

### PR creation skill
Sources an existing story or invokes `dev10x:jtbd` to generate one. The
story becomes the first paragraph of the PR body.

### Ticket work-on skill
Invokes `dev10x:jtbd` in attended mode using ticket context already
gathered. If approved, prepends the story to the ticket description.

### Ticket scoping skill
Invokes `dev10x:jtbd` in attended mode. The approved story is included
in the scoping document under a `## Job Story` section.

### Release-notes skill
Invokes `dev10x:jtbd` in **unattended** mode for PRs missing a story.
The caller batches multiple drafts and presents them all for approval.

### Commit skill
Invokes `dev10x:jtbd` in **unattended** mode and derives the commit title
from the story's ROI bucket and the shape of the change (new value, leak,
prevention, manual step, owner's choice, contract) — never by transposing
the "so X can" clause into an imperative, which yields one frame for every
title. Only for first commits on feature/bug branches.

The clause is the **input** to that title, not a template for it
(GH-1225). The caller must resolve a system actor ("the CRM", "the
schema poller") upward to the human role that actually benefits, exactly
as the trace-upward rule requires of the story itself, or pick a frame
with no actor slot. PR titles follow the same rules — see
`dev10x:gh-pr-create` § Title Frames.

### PR monitor skill
Delegates to the ticket write layer when a PR is missing its Job Story.

## Examples

See [`references/examples.md`](references/examples.md) for worked
walkthroughs covering: feature with parent ticket context (Ex 1),
feature with different actor and beneficiary (Ex 2), bug fix
(Ex 3), internal tooling (Ex 4), refactor with trace-upward (Ex 5),
a pure dependency-bump PR with trace-upward (Ex 6), and a
UI-consolidation PR's four-draft correction spiral (Ex 7).
Files in this package (4)
  • SKILL.md 22 KB
  • evals/evals.json 7 KB
  • references/examples.md 9 KB
  • references/job-story-format.md 7 KB

Versions

The database has no other skills named dev10x:jtbd.

Database snapshot: 13.11.2026 · package version 8effaf50b5d6 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90dev10x:ticket-jtbd
    Write a JTBD Job Story and apply it to a target (PR description, GitHub issue, Linear ticket, or JIRA ticket). Delegates drafting to the dev10x:jtbd base skill, then handles the side-effecting write. TRIGGER when: a ticket or PR needs a Job Story written or updated. DO NOT…
  • 100echo-jobs
    Jobs-to-Be-Done analysis — given a product, user descriptions, transcripts, or tickets, produce a JTBD job map with switching forces analysis and opportunity ranking. Use when asked to "find the JTBD", "what jobs are users hiring us for", "job mapping", "what are users really…
  • 100job-stories
    Create job stories using the 'When [situation], I want to [motivation], so I can [outcome]' format with detailed acceptance criteria. Use when writing job stories, creating JTBD-style backlog items, or expressing user situations and motivations.
  • 95job-stories
    Create job stories using the 'When [situation], I want to [motivation], so I can [outcome]' format with detailed acceptance criteria. Use when writing job stories, creating JTBD-style backlog items, or expressing user situations and motivations.
  • 100job-stories
    Jobs-to-Be-Done story writing that focuses on user situations and motivations rather than personas. Use to write When/Want/So backlog items, run a JTBD discovery canvas, apply INVEST, and convert user stories to job stories.
  • 90frame-the-job-jtbd
    Use to express a need as the job and the desired outcomes behind it — the progress someone is trying to make in a circumstance — rather than as a feature request. Jobs are stable while features churn.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.