nw-jtbd-workflow-selection

JTBD workflow classification and routing - ODI two-phase framework, five job types with workflow sequences, baseline type selection, workflow anti-patterns, and common recipes

319 stars

Best use case

nw-jtbd-workflow-selection is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

JTBD workflow classification and routing - ODI two-phase framework, five job types with workflow sequences, baseline type selection, workflow anti-patterns, and common recipes

Teams using nw-jtbd-workflow-selection should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/nw-jtbd-workflow-selection/SKILL.md --create-dirs "https://raw.githubusercontent.com/nWave-ai/nWave/main/nWave/skills/nw-jtbd-workflow-selection/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/nw-jtbd-workflow-selection/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How nw-jtbd-workflow-selection Compares

Feature / Agentnw-jtbd-workflow-selectionStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

JTBD workflow classification and routing - ODI two-phase framework, five job types with workflow sequences, baseline type selection, workflow anti-patterns, and common recipes

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# JTBD Workflow Selection

Classify incoming work by job type and recommend the appropriate nWave workflow entry point. Use during Phase 1 (GATHER) to triage before crafting stories.

## ODI Two-Phase Framework

Determine which phase applies before proceeding.

**Phase 1: Discovery** -- when you do not know what to build

```
[research] --> discuss --> design --> distill
    |            |           |          |
GATHER        WHAT are    HOW should  WHAT does
evidence      the needs?  it work?    "done" look like?
```

**Phase 2: Execution Loop** -- when you know what needs to change

```
[research] --> baseline --> roadmap --> split --> execute --> review
    |            |            |           |          |          |
GATHER        MEASURE      PLAN it     BREAK it   DO each    CHECK
evidence      first        completely  into atoms  task       quality
                                          |
                              <-----------+ (loop per task)
```

Key insight: `research` is a cross-wave capability invocable at any point for evidence-based decisions.

### When to Skip Discovery

Skip discovery and enter execution loop directly when ALL hold:
- User already understands the problem domain
- Problem is identified and scoped
- No stakeholder alignment needed
- User can articulate what "done" looks like

If any fail, start with discovery (DISCUSS wave).

## Five Job Types

### Job 1: Build Something New (Greenfield)

> "I need to create something that doesn't exist yet"

```
[research] -> discuss -> design -> [diagram] -> distill -> baseline -> roadmap -> split -> execute -> review
```

| Step | Purpose |
|------|---------|
| research | (Optional) Gather domain knowledge before requirements |
| discuss | Gather requirements -- you don't know what's needed yet |
| design | Architecture decisions, technology selection |
| diagram | (Optional) Visualize architecture for stakeholders |
| distill | Define acceptance tests -- what does "done" look like? |
| baseline | Measure starting point for tracking improvement |
| roadmap | Comprehensive plan while context is fresh |
| split | Break into atomic, self-contained tasks |
| execute | Do each task with clean context |
| review | Quality gate before proceeding |

### Job 2: Improve Existing System (Brownfield)

> "I know what needs to change in our system"

```
[research] -> baseline -> roadmap -> split -> execute -> review (repeat)
```

Skip discovery: system understood and problem identified. Baseline is blocking gate -- measure current state before planning. Prevents "optimizing the wrong thing."

### Job 3: Complex Refactoring

> "Code works but structure needs improvement"

Simple refactoring:
```
[root-why] -> mikado -> refactor (incremental)
```

Complex refactoring with tracking:
```
[research] -> baseline -> roadmap (methodology: mikado) -> split -> execute -> review
```

Mikado Method explores dependencies before committing. Reversible at every step.

### Job 4: Investigate and Fix Issue

> "Something is broken and I need to find why"

```
[research] -> root-why -> develop -> deliver
```

Minimal sequence -- focused intervention only.

### Job 5: Research and Understand

> "I need to gather information before deciding"

```
research -> [decision point: which job to pursue next]
```

No execution -- pure information gathering feeding into other jobs.

## Quick Reference Matrix

| Job | You Know What? | Sequence |
|-----|---------------|----------|
| Greenfield | No | [research] -> discuss -> design -> [diagram] -> distill -> baseline -> roadmap -> split -> execute -> review |
| Brownfield | Yes | [research] -> baseline -> roadmap -> split -> execute -> review |
| Refactoring | Partially | [research] -> baseline -> mikado/roadmap -> split -> execute -> review |
| Bug Fix | Yes (symptom) | [research] -> root-why -> develop -> deliver |
| Research | No | research -> (output informs next job) |

Items in `[brackets]` are optional. Cross-wave commands (usable anytime): research, diagram, root-why, git.

## Baseline Type Selection

When workflow includes a baseline step, advise on which type to create.

### Performance Optimization
Use when improving speed, reducing resource usage, or optimizing throughput.
Required: timing measurements with breakdown | bottleneck ranking | target metrics with evidence | quick wins identified.

### Process Improvement
Use when fixing workflow issues, preventing incidents, or improving reliability.
Required: incident references or failure modes | simplest alternatives considered (with why insufficient).

### Feature Development
Use when building new capabilities (greenfield or brownfield).
Required: current state analysis | requirements source and validation.

## Workflow Anti-Patterns

Operate at project/feature level, distinct from story-level anti-patterns in `leanux-methodology` skill.

| Anti-Pattern | Problem | Solution |
|--------------|---------|----------|
| Skip research | Decisions without evidence | Research when unfamiliar with domain |
| Skip baseline | Optimize the wrong thing | Always baseline before roadmap |
| Monolithic tasks | Context degradation | Use split for atomic tasks |
| Skip review | Quality issues propagate | Review before each execute |
| Architecture before measurement | Over-engineering | Baseline identifies quick wins first |
| Forward references in tasks | Tasks not self-contained | Each task must have all context embedded |

## Common Workflow Recipes

| Situation | Entry Point | Key Characteristic |
|-----------|------------|-------------------|
| New feature on existing codebase | baseline (skip discovery) | Existing system, new capability |
| Performance optimization | baseline (type: performance) | Measurement-first |
| Legacy system modernization | research + root-why + baseline | Deep understanding first |
| Quick bug fix | root-why + develop + deliver | Minimal sequence |
| Pure research task | research | Output informs next job selection |
| Data-heavy project | research + baseline | Specialist agent involvement |

## Job Categories Summary

| Category | Core Job |
|----------|----------|
| Understanding | Know what to build and why |
| Planning | Break work into safe, trackable chunks |
| Executing | Do work without context degradation |
| Validating | Catch issues early with quality gates |
| Communicating | Share understanding via diagrams and docs |
| Investigating | Find truth before acting |

For deep opportunity analysis with ODI scoring, defer to product-discoverer agent. Product-owner applies simpler prioritization (MoSCoW, Value/Effort) for story-level ordering -- see `leanux-methodology` skill.

Related Skills

nw-review-workflow

322
from nWave-ai/nWave

Detailed review process, v2 validation checklist, and scoring methodology for agent definition reviews

nw-jtbd-bdd-integration

322
from nWave-ai/nWave

Translating JTBD analysis to BDD scenarios - job story to Given-When-Then patterns, forces-based test discovery, job-map-based test discovery, and property-shaped criteria

nw-jtbd-analysis

322
from nWave-ai/nWave

JTBD methodology for extracting real jobs behind feature requests — job statements, abstraction layers, first-principles extraction, ODI outcome statements, and opportunity scoring

nw-discovery-workflow

322
from nWave-ai/nWave

4-phase discovery workflow with decision gates, phase transitions, success metrics, and state tracking

nw-database-technology-selection

322
from nWave-ai/nWave

Database comparison catalogs, RDBMS vs NoSQL selection criteria, CAP/ACID/BASE theory, OLTP vs OLAP, and technology-specific characteristics

nw-command-optimization-workflow

322
from nWave-ai/nWave

Step-by-step workflow for converting bloated command files to lean declarative definitions

nw-agent-creation-workflow

322
from nWave-ai/nWave

Detailed 5-phase workflow for creating agents - from requirements analysis through validation and iterative refinement

nw-persona-jtbd-analysis

319
from nWave-ai/nWave

Structured persona creation and JTBD analysis methodology - persona templates, ODI job step tables, pain point mapping, success metric quantification, and multi-persona segmentation

nw-jtbd-opportunity-scoring

319
from nWave-ai/nWave

JTBD opportunity scoring and prioritization - outcome statement format, opportunity algorithm, scoring interpretation, feature prioritization, and opportunity matrix template

nw-jtbd-interviews

319
from nWave-ai/nWave

JTBD discovery techniques adapted for AI product owner context. Four Forces extraction, job dimension probing, question banks, and anti-patterns for interactive feature discovery conversations.

nw-jtbd-core

319
from nWave-ai/nWave

Core JTBD theory and job story format - job dimensions, job story template, job stories vs user stories, 8-step universal job map, outcome statements, and forces of progress

nw-ux-web-patterns

322
from nWave-ai/nWave

Web UI design patterns for product owners. Load when designing web application interfaces, writing web-specific acceptance criteria, or evaluating responsive designs.