task-pipeline-skill 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.0 — 2026-07-20
4
+
5
+ UX track: scenario-first design for user-facing tasks, built on
6
+ [super-ux](https://github.com/ssheleg/super-ux).
7
+
8
+ - **Stage 2 (Brainstorm)** now includes a mandatory **UI detection** check —
9
+ records whether the task touches a user-facing surface (web/mobile/CLI/TUI);
10
+ the verdict arms the UX track and is part of the stage gate.
11
+ - **Stage 3 (Spec)** gains a conditional **UX track that runs before the spec**
12
+ (and therefore before any plan): `/ux` setup check → `ux-foundation`
13
+ (personas, JTBD, **customer journey maps**, user stories) → `ux-scenarios`
14
+ (usage scenarios drafted + validated per ux-contract v2, traced to
15
+ foundation). Spec must embed the UX layer: scenario IDs, CJM stages served,
16
+ applicable UX patterns/quality bars. Gate extended accordingly; super-ux
17
+ missing on a UI task → install instructions + stop.
18
+ - **Stage 4 (Plan)** gate extended: UI tasks name the scenario ID(s) they
19
+ implement; DoD includes satisfying them.
20
+ - README (EN + RU): UX track section; super-ux added to prerequisites.
21
+
3
22
  ## v0.4.0 — 2026-07-19
4
23
 
5
24
  npm installer.
package/README.md CHANGED
@@ -14,8 +14,8 @@ Each stage gates the next; each names the model to use.
14
14
  | # | Stage | Model | Gate |
15
15
  |---|---|---|---|
16
16
  | 1 | Docs study | Fable | contracts grounded on current docs |
17
- | 2 | Brainstorm | Fable | design approved |
18
- | 3 | Spec | Fable | committed + reviewed |
17
+ | 2 | Brainstorm | Fable | design approved; UI verdict recorded |
18
+ | 3 | Spec | Fable | committed + reviewed; UI: scenarios + CJM traced |
19
19
  | 4 | Plan | Fable | parallel-ready, DoD per task |
20
20
  | 5 | Dev | Opus | tasks DONE, TDD green per task |
21
21
  | 6 | Tests | Opus | full suite green, new code covered |
@@ -23,7 +23,17 @@ Each stage gates the next; each names the model to use.
23
23
  | 8 | Post-deploy | host | clean boot / honest degradation |
24
24
  | 9 | Docs + wiki | host | docs + wiki synced |
25
25
 
26
- ## Prerequisite
26
+ ## UX track (user-facing tasks)
27
+
28
+ When a task touches any user-facing surface (web / mobile / CLI / TUI), the spec
29
+ stage runs the [super-ux](https://github.com/ssheleg/super-ux) skills **before any
30
+ plan is written**: `/ux` (setup check) → `ux-foundation` (personas, JTBD,
31
+ **customer journey maps**, user stories) → `ux-scenarios` (usage scenarios
32
+ validated against the base, ux-contract v2). The spec then embeds the UX layer —
33
+ scenario IDs, CJM stages served, applicable UX patterns — and the plan's
34
+ UI tasks carry scenario IDs in their DoD. Scenarios come before interface.
35
+
36
+ ## Prerequisites
27
37
 
28
38
  **superpowers** — https://github.com/obra/superpowers
29
39
 
@@ -32,6 +42,13 @@ Each stage gates the next; each names the model to use.
32
42
  /plugin install superpowers@superpowers
33
43
  ```
34
44
 
45
+ **super-ux** (only for user-facing tasks) — https://github.com/ssheleg/super-ux
46
+
47
+ ```
48
+ /plugin marketplace add ssheleg/super-ux
49
+ /plugin install super-ux@super-ux
50
+ ```
51
+
35
52
  ## Install
36
53
 
37
54
  **Plugin (recommended):**
@@ -89,6 +106,11 @@ docs / wiki) with detection fallbacks, so the skill works in any repo.
89
106
 
90
107
  - Ни одна стадия не стартует, пока не пройден гейт предыдущей; деплой требует
91
108
  зелёного полного прогона тестов и явного «go» оператора.
109
+ - **UX-трек:** для user-facing задач стадия спеки сначала гоняет скиллы
110
+ [super-ux](https://github.com/ssheleg/super-ux) (`/ux` → `ux-foundation`:
111
+ персоны, JTBD, CJM → `ux-scenarios`: сценарии использования по контракту
112
+ ux-contract v2) — до написания плана; спека включает ID сценариев, стадии
113
+ CJM и применённые UX-паттерны. Сценарии — до интерфейса.
92
114
  - Каждая стадия напоминает, какую модель включить (`/model`): 1–4 — Fable,
93
115
  5–6 — Opus, 7–9 — наследуется. Это только напоминание — модель переключает
94
116
  оператор.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "task-pipeline-skill",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Full-cycle task delivery pipeline orchestrator skill for Claude Code — 9 gated stages (docs, brainstorm, spec, plan, build, tests, deploy, post-deploy, docs/wiki) built on the superpowers skills. This package is the installer CLI.",
5
5
  "bin": {
6
6
  "task-pipeline": "bin/task-pipeline.js"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "task-pipeline",
3
3
  "description": "Thin orchestrator that runs a task through the full delivery pipeline: docs study, brainstorm, spec, plan, subagent build, test suite, lint/deploy, post-deploy log check, docs/wiki sync. Built on the superpowers skills; per-stage model reminders; generic-portable.",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "author": { "name": "ssheleg" },
6
6
  "homepage": "https://github.com/ssheleg/task-pipeline",
7
7
  "repository": "https://github.com/ssheleg/task-pipeline",
@@ -18,11 +18,16 @@ If missing → tell the operator to install from **https://github.com/obra/super
18
18
  (`/plugin marketplace add obra/superpowers` → `/plugin install superpowers@superpowers`)
19
19
  and stop.
20
20
 
21
+ For **user-facing tasks** (web/mobile/CLI/TUI) the spec stage additionally requires
22
+ the **super-ux** skills (`ux-foundation`, `ux-scenarios`, `/ux`) —
23
+ **https://github.com/ssheleg/super-ux**. Check only when stage 2 flags UI; if
24
+ missing then → tell the operator to install and stop.
25
+
21
26
  ## How to run
22
27
 
23
28
  1. Restate the task in one line. Create a **TaskList: one task per stage** (survives
24
29
  context loss; lets you resume).
25
- 2. Walk stages 1→8. Before each: **model check** (see `references/model-tiering.md`) —
30
+ 2. Walk stages 1→9. Before each: **model check** (see `references/model-tiering.md`) —
26
31
  if recommended ≠ current, emit the reminder block and wait for the operator to `/model`.
27
32
  3. Do **not** advance until the stage **gate** passes (`references/stages.md`).
28
33
  4. Cross-cutting, every stage: task tracker + conventional commits per host
@@ -35,8 +40,8 @@ and stop.
35
40
  | # | Stage | Model | Invoke | Gate |
36
41
  |---|---|---|---|---|
37
42
  | 1 | Docs study | Fable | `context7` (resolve-library-id → get-library-docs) / `context7-docs` | contracts grounded on fetched docs |
38
- | 2 | Brainstorm | Fable | `superpowers:brainstorming` | design approved by user |
39
- | 3 | Spec | Fable | brainstorming writes `docs/superpowers/specs/…-design.md` | committed + user-reviewed |
43
+ | 2 | Brainstorm | Fable | `superpowers:brainstorming` + **UI detection** | design approved; UI verdict recorded |
44
+ | 3 | Spec | Fable | **UI super-ux first** (`/ux` → `ux-foundation` CJM → `ux-scenarios`), then spec `docs/superpowers/specs/…-design.md` | committed + reviewed; UI: scenarios validated + CJM traced |
40
45
  | 4 | Plan | Fable | `superpowers:writing-plans` → `docs/superpowers/plans/…md` | parallel-ready, DoD per task |
41
46
  | 5 | Dev | **Opus** | `superpowers:using-git-worktrees` + `superpowers:subagent-driven-development` (TDD) | tasks DONE, TDD green per task |
42
47
  | 6 | Tests | **Opus** | host test runner + `superpowers:test-driven-development` | full suite green; new/changed code covered |
@@ -15,13 +15,36 @@ must pass before advancing.
15
15
  ## 2 — Brainstorm (Fable)
16
16
  - **Invoke:** `superpowers:brainstorming`. One question at a time; 2–3 approaches +
17
17
  a recommendation; design presented in sections.
18
- - **GATE:** the user approves the design.
18
+ - **UI detection (mandatory check):** decide whether the task touches any
19
+ user-facing surface (web, mobile, CLI, TUI — new feature, new screen/command,
20
+ or a change to user-visible behavior). Record the verdict; it arms the UX
21
+ track in stage 3.
22
+ - **GATE:** the user approves the design **and** the UI verdict is recorded.
19
23
 
20
- ## 3 — Spec (Fable)
21
- - brainstorming writes the design to
24
+ ## 3 — Spec (Fable) — with UX track for user-facing tasks
25
+ - **UX track (runs FIRST when stage 2 flagged UI; skip entirely otherwise).**
26
+ Requires the **super-ux** skills (`/plugin marketplace add ssheleg/super-ux` →
27
+ `/plugin install super-ux@super-ux`, or `npx skills add ssheleg/super-ux`);
28
+ if missing on a UI task → tell the operator to install and stop.
29
+ 1. `/ux` (super-ux entry) — inspects/repairs `docs/ux/` setup in the host project.
30
+ 2. `ux-foundation` — the WHY layer: personas, Jobs to Be Done, **customer
31
+ journey maps (CJM)**, user stories with Given/When/Then acceptance
32
+ criteria. Create if missing; update if the feature shifts who/why.
33
+ 3. `ux-scenarios` — draft the feature's usage scenarios and validate them
34
+ against the existing base per the super-ux format contract
35
+ (`scenario-format.md`, ux-contract v2): IDs, statuses, `Traces:` to
36
+ foundation stories/journey stages, edge/error states enumerated.
37
+ - **Spec:** brainstorming writes the design to
22
38
  `docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md` and commits it. Lock all
23
- shared contracts (types, schemas, signatures, file layout).
24
- - **GATE:** spec committed **and** user-reviewed.
39
+ shared contracts (types, schemas, signatures, file layout). For UI tasks the
40
+ spec **embeds the UX layer**: links the validated scenario IDs and the CJM
41
+ stages the feature serves, and states which UX patterns/guides from super-ux
42
+ apply (per-scenario quality bars, error/empty/loading states, traceability).
43
+ - **GATE:** spec committed **and** user-reviewed; for UI tasks additionally:
44
+ scenarios validated in `docs/ux/scenarios.md`, CJM/foundation coverage in
45
+ `docs/ux/foundation.md` (or explicit v1-mode/tiny-project waiver by the
46
+ operator), and every user-facing spec requirement traces to a scenario ID.
47
+ No plan (stage 4) starts before this — scenarios come BEFORE interface.
25
48
 
26
49
  ## 4 — Plan (Fable)
27
50
  - **Invoke:** `superpowers:writing-plans` →
@@ -29,7 +52,8 @@ must pass before advancing.
29
52
  paths, TDD steps, DoD each, dependency graph + parallel groups, non-overlapping
30
53
  file ownership.
31
54
  - **GATE:** every spec requirement maps to a task; no placeholders; parallel-group
32
- tasks share no files.
55
+ tasks share no files. For UI tasks: every task building user-facing behavior
56
+ names the scenario ID(s) it implements, and its DoD includes satisfying them.
33
57
 
34
58
  ## 5 — Dev (Opus)
35
59
  - **Invoke:** `superpowers:using-git-worktrees` (isolate) →