Authors and publishes user/customer/product journeys as living markdown with generated HTML views and standalone UI mocks. Journeys are hierarchical (journey, phase, sub-journey, step) with entry/exit conditions, interfaces, and readiness assessments. Includes authoring commands (ideate, discuss, review, refine) and a mock-extraction pipeline.
Ships in kb. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
README.md (opens in a new tab)references/artifact-contract.md (opens in a new tab)references/audit.md (opens in a new tab)references/authoring.md (opens in a new tab)references/command-reference.md (opens in a new tab)references/config-schema.md (opens in a new tab)references/folder-layout.md (opens in a new tab)references/mocks.md (opens in a new tab)references/structure.md (opens in a new tab)scripts/extract_mocks.py (opens in a new tab)scripts/render_journeys.py (opens in a new tab)templates/journey-overview.md.hbs (opens in a new tab)templates/journey.html.hbs (opens in a new tab)templates/journey.md.hbs (opens in a new tab)templates/mock-standalone.html.hbs (opens in a new tab)templates/shared.css.hbs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/kb:kb-journeysfrom kb
npx claudepluginhub wlfghdr/agentic-kb --plugin kbJourneys describe how a persona moves through a product, service, or process — as a hierarchy (journey → phase → sub-journey → step) with explicit entry conditions, exit conditions, cross-journey interfaces, and readiness assessments per visible step. They are a first-class product-management KB artifact, separate from roadmaps (plan↔delivery) and topics (positions), but tightly coupled to both as the product-behavior reference layer.
This skill turns markdown journey specs into:
kb-roadmap: ideate, discuss, review, refine.Invoke whenever the user:
/kb journeys (optionally followed by new, render, extract-mocks, audit, ideate, discuss, review, refine).Journeys are the cleanest shared answer to: what is the thing supposed to do for whom, through which path, at what level of readiness?
That makes them the bridge between:
Roadmap items should move journey readiness. Delivery updates should be explainable in journey terms. Scope changes should be visible as changes in journey shape, step priority, or readiness movement, not only as ticket churn.
## Interfaces to adjacent journeys.J<journey>.<phase>-S<step>, e.g. J1.1-S3). Ids do not change once assigned — they are link targets across the KB..kb-config/artifacts.yaml. The skill's template ships with neutral tokens.render run emits the per-journey HTMLs + the mocks index in the same pass. They never drift.kb-roadmap declares journey-refs pointing here, every roadmap item is cross-checked against its cited step(s). Journey steps are the definition of what the product must do; roadmap items exist to move step readiness forward. A journey is never silently updated from roadmap findings — drift findings trigger /kb journeys review <step>, which is a deliberate authoring pass..kb-log/YYYY-MM-DD.log./kb setup proposes the owning layer from the user's role, audience, sources, and desired outputs. The conservative default is to co-locate journeys with the roadmap scope they ground. Cross-layer journey inheritance is allowed by the layer graph but treated as a later enhancement unless the user explicitly configures it.Journey (tier N)
└── Phase (ordered)
└── Sub-Journey (optional; a Phase may be a Sub-Journey directly)
└── Step (Sn; has id, title, actor, artifact, readiness)
└── Mock (0..N; extracted into standalone page)
Numbering reflects tier: 1.x = tier 1, 2 = tier 2, etc. Sub-journeys within a phase get dotted suffixes (1.4.2). Steps use -S<n>.
my-kb/
├── _kb-journeys/ # configurable via journeys.output-dir
│ ├── <journey-slug>.md # source of truth
│ ├── <tiered-journey>/ # if the journey has sub-journey files
│ │ ├── README.md
│ │ ├── <sub-journey-slug>.md
│ │ └── ...
│ ├── overview.md # master journey map (cross-journey)
│ ├── html/ # generated; do not hand-edit
│ │ ├── index.html
│ │ ├── shared.css # emitted from .kb-config/artifacts.yaml tokens
│ │ ├── <journey-slug>.html
│ │ └── mocks/
│ │ ├── index.html
│ │ └── <journey>-<step>-<mock-slug>.html
│ └── scripts/
│ └── (optional adopter overrides)
└── .kb-log/YYYY-MM-DD.log
Every journey file opens with a metadata block and required sections. See references/structure.md for the full template.
# <tier>.<phase> — <Journey Title>
> **Sub-Journey**: <one-line path summary>
> **Tier**: <tier label>
> **Target duration**: <duration>
## Entry Conditions
- ...
## Exit Conditions
- ...
## Interfaces
| Direction | Sub-Journey | What |
|-----------|-------------|------|
| OUT → | <slug> | ... |
## Flow
### Step 1: <title> · `J<tier>.<phase>-S1` · `[ACTOR]`
<description>
#### Readiness
<span class="status-chip feasible">green</span> — <one-liner>
#### Mock (optional)
<!-- mock-begin: <mock-slug> -->
<div class="mockup-block" data-mock="<mock-slug>">
... mock HTML ...
</div>
<!-- mock-end: <mock-slug> -->
Full reference: references/command-reference.md.
Concurrency contract: docs/concurrency.md governs shared-layer promote collisions, diverged backlinks, topic merges, and append-only logs. Journey flows that read or write shared KB artifacts must honor the same /kb sync and /kb audit reconciliation rules.
| Command | Purpose |
|---|---|
/kb journeys | Scan state; surface next action (unrendered journey, stale mock, missing readiness) |
/kb journeys new [slug] | Scaffold a new journey markdown from the template |
/kb journeys render [--journey slug] | Generate HTML set + mock index |
/kb journeys extract-mocks | Refresh standalone mock pages only |
/kb journeys audit | Validate structure, ids, readiness coverage, mock envelopes |
/kb journeys ideate | discuss | review | refine [journey] | Authoring arc — same stance contract as kb-roadmap authoring-commands |
Adopter config in .kb-config/layers.yaml:
journeys:
output-dir: _kb-journeys
source-dir: _kb-journeys # where the .md files live (can be same as output-dir)
html-subdir: html
mocks-subdir: html/mocks
tiers:
- { key: t1, label: "Individual", color-token: accent-1 }
- { key: t2, label: "Team", color-token: accent-2 }
- { key: t3, label: "Enterprise", color-token: accent-3 }
readiness-levels:
- { key: feasible, label: "Green", chip-class: "feasible" }
- { key: partial, label: "Amber", chip-class: "partial" }
- { key: blocked, label: "Red", chip-class: "blocked" }
mock-envelope:
begin-marker: "<!-- mock-begin: "
end-marker: "<!-- mock-end: "
container-selector: ".mockup-block"
include-terminal-anim: false # opt-in: embeds shared-terminal-anim.js when mocks use terminal blocks
Styling in .kb-config/artifacts.yaml:
journeys-template:
base: kb-journeys/templates/journey.html
tokens: <path to brand tokens CSS> # reuses the adopter's existing brand tokens
logo:
light: <path>
dark: <path>
themes: [light, dark, auto]
The journey template reads the same tokens block as kb-roadmap (--fg, --bg, --accent, --border, tier color tokens). Adopters with a brand tokens file already configured for roadmaps get journey styling for free.
references/structure.md — full markdown contract: metadata block, required sections, step id scheme, readiness chips, mock envelopereferences/authoring.md — ideate/discuss/review/refine stance rules for journeys (shared contract with kb-roadmap, with journey-specific deltas)references/artifact-contract.md — HTML output shape, shared.css emission, mock index contractreferences/mocks.md — mock envelope, extraction, standalone-page layoutreferences/folder-layout.md — _kb-journeys/ layoutreferences/config-schema.md — full .kb-config/layers.yaml journeys: blockreferences/command-reference.md — subcommand detailsreferences/audit.md — /kb journeys audit rule set, output contract, and offered correctionstemplates/journey.md.hbs — single-journey markdown templatetemplates/journey-overview.md.hbs — cross-journey overview templatetemplates/journey.html.hbs — per-journey HTML template (neutral tokens; brand tokens merged from adopter's config)templates/mock-standalone.html.hbs — standalone mock page templatetemplates/shared.css.hbs — base CSS; adopter's brand tokens block is inlined at render timescripts/render_journeys.py — markdown → HTML set (neutral baseline; brand tokens merged from .kb-config/artifacts.yaml)scripts/extract_mocks.py — standalone-mock extraction pipelineStable setup-proposed skill (v1.0.0). Setup offers it when the user's role, goals, sources, or desired outputs imply product-management journey work. Activate by declaring journeys: in .kb-config/layers.yaml + journeys-template: in .kb-config/artifacts.yaml for the confirmed owning layer.
The shipped helper scripts cover artifact rendering and standalone-mock extraction, including no-extra-dependency fallback paths when python-markdown or beautifulsoup4 are absent. Authoring and audit flows use the same explicit command and confirmation gates documented in this skill.
4 skills in this plugin
/kb-managementLean, layered knowledge management driven by the `/kb` command. Operates on a flexible layer graph, applies the five-question evaluation gate, tracks findings, notes (including retros), decisions, ideas, tasks, briefs, specs, releases, and incidents as first-class artifacts, digests connected repos and trackers, and publishes reusable skills to per-layer marketplaces./kb-roadmapReconcile planning-truth sources against delivery reality. Ingests ≥1 plan source (ticket export, milestone markdown, OKRs) and ≥1 delivery source (git repository, ADR set, release log), runs a five-tier correlation ladder, detects mismatches, and emits a living roadmap artifact in Markdown, HTML, and JSON. Triggered by `/kb roadmap` and roadmap-reconciliation phrases./kb-setupInteractive onboarding wizard that scaffolds an agentic-kb workspace around a flexible layer graph. Asks the user about their context, goals, audience, sources, and desired outputs first, derives a proposed layer graph and feature set including tracker-backed primitive ownership and product-management roadmap/journey placement when relevant, then creates or onboards layer repos, writes the anchor-layer config, configures documented harness workflows, and generates the required templates, indexes, tracker setup artifacts, and HTML style references.Other plugins' skills for the same job