bigpowers 2.6.0 → 2.7.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/.pi/package.json +1 -1
- package/.pi/prompts/align-grid.md +2 -0
- package/.pi/prompts/run-planning.md +59 -6
- package/.pi/prompts/scope-work.md +36 -6
- package/.pi/prompts/search-skills.md +54 -6
- package/.pi/prompts/slice-tasks.md +37 -5
- package/.pi/skills/align-grid/SKILL.md +2 -0
- package/.pi/skills/run-planning/SKILL.md +59 -6
- package/.pi/skills/scope-work/SKILL.md +36 -6
- package/.pi/skills/search-skills/SKILL.md +54 -6
- package/.pi/skills/slice-tasks/SKILL.md +37 -5
- package/CHANGELOG.md +7 -0
- package/SKILL-INDEX.md +97 -103
- package/align-grid/SKILL.md +2 -0
- package/package.json +1 -1
- package/run-planning/SKILL.md +59 -6
- package/scope-work/SKILL.md +36 -6
- package/scripts/generate-skill-index.sh +218 -0
- package/scripts/regenerate-lockfile.sh +41 -0
- package/scripts/sync-skills.sh +12 -0
- package/search-skills/SKILL.md +54 -6
- package/skills-lock.json +234 -76
- package/slice-tasks/SKILL.md +37 -5
package/SKILL-INDEX.md
CHANGED
|
@@ -1,102 +1,95 @@
|
|
|
1
1
|
# Skill Index — Single Source of Truth
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
> **DO NOT EDIT** — This file is auto-generated by `scripts/generate-skill-index.sh`.
|
|
4
|
+
> Edit `SKILL.md` source files or `skills-lock.json` instead. Run `bash scripts/sync-skills.sh` to regenerate.
|
|
4
5
|
|
|
5
|
-
**
|
|
6
|
+
**Generated:** 2026-06-20T18:59:07Z
|
|
7
|
+
**Skills:** 62
|
|
6
8
|
|
|
7
9
|
---
|
|
8
10
|
|
|
9
|
-
## Quick Navigation by
|
|
11
|
+
## Quick Navigation by Phase
|
|
10
12
|
|
|
11
|
-
| Phase |
|
|
13
|
+
| Phase | Count | Skills |
|
|
12
14
|
|---|---|---|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
| **
|
|
21
|
-
| **Harden** | 1 | wire-observability |
|
|
22
|
-
| **Verify** | 3 | verify-work, run-evals, align-grid |
|
|
23
|
-
| **Bug** | 3 | investigate-bug, diagnose-root, validate-fix |
|
|
24
|
-
| **Review** | 4 | audit-code, request-review, respond-review, trace-requirement |
|
|
25
|
-
| **Integrate** | 2 | commit-message, release-branch |
|
|
26
|
-
| **Sustain** | 4 | inspect-quality, organize-workspace, stocktake-skills, evolve-skill |
|
|
27
|
-
| **Utility** | 12 | terse-mode, craft-skill, edit-document, session-state, migrate-spec, visual-dashboard, write-document, setup-environment, reset-baseline, search-skills, compose-workflow, simulate-agents |
|
|
28
|
-
| **TOTAL** | **62** | |
|
|
15
|
+
| Discover | 6 | `elaborate-spec, map-codebase, research-first, search-skills, survey-context, using-bigpowers` |
|
|
16
|
+
| Design | 7 | `deepen-architecture, define-language, define-success, design-interface, grill-me, grill-with-docs, model-domain` |
|
|
17
|
+
| Plan | 9 | `assess-impact, change-request, plan-refactor, plan-release, plan-work, run-planning, scope-work, seed-conventions, slice-tasks` |
|
|
18
|
+
| Build | 12 | `align-grid, build-epic, craft-skill, develop-tdd, execute-plan, guard-git, hook-commits, kickoff-branch, orchestrate-project, setup-environment, spike-prototype, wire-observability` |
|
|
19
|
+
| Verify | 12 | `audit-code, diagnose-root, enforce-first, fix-bug, inspect-quality, investigate-bug, request-review, respond-review, run-evals, trace-requirement, validate-fix, verify-work` |
|
|
20
|
+
| Release | 2 | `commit-message, release-branch` |
|
|
21
|
+
| Sustain | 13 | `compose-workflow, delegate-task, dispatch-agents, edit-document, evolve-skill, migrate-spec, organize-workspace, reset-baseline, session-state, simulate-agents, stocktake-skills, terse-mode, write-document` |
|
|
22
|
+
| **TOTAL** | **61** | |
|
|
29
23
|
|
|
30
24
|
---
|
|
31
25
|
|
|
32
26
|
## Full Reference Table
|
|
33
27
|
|
|
34
|
-
| # | Phase | Skill |
|
|
35
|
-
|
|
36
|
-
| 1 |
|
|
37
|
-
| 2 |
|
|
38
|
-
| 3 | Discover | `
|
|
39
|
-
| 4 | Discover | `
|
|
40
|
-
| 5 | Discover | `
|
|
41
|
-
| 6 | Discover | `
|
|
42
|
-
| 7 |
|
|
43
|
-
| 8 |
|
|
44
|
-
| 9 |
|
|
45
|
-
| 10 |
|
|
46
|
-
| 11 |
|
|
47
|
-
| 12 |
|
|
48
|
-
| 13 |
|
|
49
|
-
| 14 | Plan | `
|
|
50
|
-
| 15 | Plan | `
|
|
51
|
-
| 16 | Plan | `
|
|
52
|
-
| 17 | Plan | `
|
|
53
|
-
| 18 | Plan | `plan-work` |
|
|
54
|
-
| 19 | Plan | `
|
|
55
|
-
| 20 | Plan | `
|
|
56
|
-
| 21 |
|
|
57
|
-
| 22 |
|
|
58
|
-
| 23 |
|
|
59
|
-
| 24 |
|
|
60
|
-
| 25 |
|
|
61
|
-
| 26 | Build | `develop-tdd` |
|
|
62
|
-
| 27 | Build | `
|
|
63
|
-
| 28 | Build | `
|
|
64
|
-
| 29 | Build | `
|
|
65
|
-
| 30 | Build | `
|
|
66
|
-
| 31 |
|
|
67
|
-
| 32 |
|
|
68
|
-
| 33 |
|
|
69
|
-
| 34 |
|
|
70
|
-
| 35 |
|
|
71
|
-
| 36 |
|
|
72
|
-
| 37 |
|
|
73
|
-
| 38 |
|
|
74
|
-
| 39 |
|
|
75
|
-
| 40 |
|
|
76
|
-
| 41 |
|
|
77
|
-
| 42 |
|
|
78
|
-
| 43 |
|
|
79
|
-
| 44 |
|
|
80
|
-
| 45 |
|
|
81
|
-
| 46 |
|
|
82
|
-
| 47 |
|
|
83
|
-
| 48 |
|
|
84
|
-
| 49 |
|
|
85
|
-
| 50 |
|
|
86
|
-
| 51 |
|
|
87
|
-
| 52 |
|
|
88
|
-
| 53 |
|
|
89
|
-
| 54 |
|
|
90
|
-
| 55 |
|
|
91
|
-
| 56 |
|
|
92
|
-
| 57 |
|
|
93
|
-
| 58 |
|
|
94
|
-
| 59 |
|
|
95
|
-
| 60 |
|
|
96
|
-
| 61 |
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
**Total: 62 active skills.** 18 sub-op concepts (zoom-out, slopcheck, red-phase, green-phase, refactor-phase, cold-start-smoke, gaps-loop, plan-work-fast, commit-message-fix, release-branch-hotfix, audit-code-quick, verify-work-smoke, show-state, reset-state, compact-state, list-epics, check-gates) are documented as sub-sections within parent SKILL.md files; none were standalone SKILL.md directories, so the count remains 62.
|
|
28
|
+
| # | Phase | Skill | Description | Status |
|
|
29
|
+
|---|---|---|---|---|
|
|
30
|
+
| 1 | Discover | `elaborate-spec` | Refine a rough idea into a clear, detailed specification through dialogue. Does | ✅ Active |
|
|
31
|
+
| 2 | Discover | `map-codebase` | "Derives the tech-stack doc from scratch by scanning the codebase — analyzes s | ✅ Active |
|
|
32
|
+
| 3 | Discover | `research-first` | Look-before-build — search registries, repo, existing skills, and web for prio | ✅ Active |
|
|
33
|
+
| 4 | Discover | `search-skills` | Find the right bigpowers skill from natural-language intent using a local lexica | ✅ Active |
|
|
34
|
+
| 5 | Discover | `survey-context` | Per-task context bootstrap — reads existing specs/ and tech-architecture docs | ✅ Active |
|
|
35
|
+
| 6 | Discover | `using-bigpowers` | One-time bootstrap that introduces the bigpowers skills system, the PMBOK lifecy | ✅ Active |
|
|
36
|
+
| 7 | Design | `deepen-architecture` | Find deepening opportunities in a codebase, informed by the domain language in s | ✅ Active |
|
|
37
|
+
| 8 | Design | `define-language` | Extract a DDD-style ubiquitous language glossary from the current conversation, | ✅ Active |
|
|
38
|
+
| 9 | Design | `define-success` | Convert an imperative task statement into explicit "step → verify: <cmd>" pair | ✅ Active |
|
|
39
|
+
| 10 | Design | `design-interface` | Generate multiple radically different interface designs for a module using paral | ✅ Active |
|
|
40
|
+
| 11 | Design | `grill-me` | Interactive assumption-surfacing Q&A that stress-tests a plan through relentless | ✅ Active |
|
|
41
|
+
| 12 | Design | `grill-with-docs` | Doc-grounded variant of grill-me — stress-tests plan assumptions by fetching a | ✅ Active |
|
|
42
|
+
| 13 | Design | `model-domain` | Grilling session that challenges your plan against the existing domain model, sh | ✅ Active |
|
|
43
|
+
| 14 | Plan | `assess-impact` | Analyze the blast radius of a proposed change before any code is written. Maps d | ✅ Active |
|
|
44
|
+
| 15 | Plan | `change-request` | Add a new requirement or reorder epics by WSJF against specs/release-plan.yaml a | ✅ Active |
|
|
45
|
+
| 16 | Plan | `plan-refactor` | Create a detailed refactor plan with tiny commits via user interview, then save | ✅ Active |
|
|
46
|
+
| 17 | Plan | `plan-release` | "RELEASE-INDEX BUILDER — Sequence elaborated epics into specs/release-plan.yam | ✅ Active |
|
|
47
|
+
| 18 | Plan | `plan-work` | "PLANNING SPINE STEP 3 of 3 — Plan the work: write detailed implementation tas | ✅ Active |
|
|
48
|
+
| 19 | Plan | `run-planning` | "DISCOVER-PHASE ADVANCER — Drive the discover-phase checklist (specs/planning- | ✅ Active |
|
|
49
|
+
| 20 | Plan | `scope-work` | "PLANNING SPINE STEP 1 of 3 — Scope the work: define what is in and out of sco | ✅ Active |
|
|
50
|
+
| 21 | Plan | `seed-conventions` | Generate CLAUDE.md and CONVENTIONS.md for a brand-new project through a brief in | ✅ Active |
|
|
51
|
+
| 22 | Plan | `slice-tasks` | "PLANNING SPINE STEP 2 of 3 — Slice the work: break a scoped PRD into vertical | ✅ Active |
|
|
52
|
+
| 23 | Build | `align-grid` | "Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular | ✅ Active |
|
|
53
|
+
| 24 | Build | `build-epic` | Eight-step epic build cycle — reads state.yaml, execution-status.yaml, and one | ✅ Active |
|
|
54
|
+
| 25 | Build | `craft-skill` | Create new bigpowers skills with proper structure, progressive disclosure, and b | ✅ Active |
|
|
55
|
+
| 26 | Build | `develop-tdd` | Test-driven development with red-green-refactor loop using vertical slices. Use | ✅ Active |
|
|
56
|
+
| 27 | Build | `execute-plan` | Batch-execute tasks from the active epic capsule sequentially, with a human chec | ✅ Active |
|
|
57
|
+
| 28 | Build | `guard-git` | Block dangerous git commands (push, force push, reset --hard, clean, branch -D, | ✅ Active |
|
|
58
|
+
| 29 | Build | `hook-commits` | Set up pre-commit hooks with lint-staged (Prettier), type checking, and tests in | ✅ Active |
|
|
59
|
+
| 30 | Build | `kickoff-branch` | Create a git worktree and feature branch, then verify a clean test baseline befo | ✅ Active |
|
|
60
|
+
| 31 | Build | `orchestrate-project` | Meta-skill that enforces the 6-phase core loop (discover → elaborate → plan | ✅ Active |
|
|
61
|
+
| 32 | Build | `setup-environment` | Pre-install dependencies and configure tools before development work begins. Use | ✅ Active |
|
|
62
|
+
| 33 | Build | `spike-prototype` | Throw-away prototype for unknown problem spaces. Output is learning notes in spe | ✅ Active |
|
|
63
|
+
| 34 | Build | `wire-observability` | Add structured JSON logging, observability commands, and idempotent setup script | ✅ Active |
|
|
64
|
+
| 35 | Verify | `audit-code` | Self-review checklist for the coding agent to run before dispatching a reviewer. | ✅ Active |
|
|
65
|
+
| 36 | Verify | `diagnose-root` | Run 4-phase root cause analysis — reproduce, isolate, hypothesize, verify. Use | ✅ Active |
|
|
66
|
+
| 37 | Verify | `enforce-first` | Apply the F.I.R.S.T test quality rubric (Fast, Independent, Repeatable, Self-Val | ✅ Active |
|
|
67
|
+
| 38 | Verify | `fix-bug` | Bug fix orchestrator — active_flow fix_bug; reads specs/bugs/BUG-*.md; chains | ✅ Active |
|
|
68
|
+
| 39 | Verify | `inspect-quality` | Interactive QA session where user reports bugs or issues conversationally, and t | ✅ Active |
|
|
69
|
+
| 40 | Verify | `investigate-bug` | Investigate a bug or issue by exploring the codebase to find root cause, then wr | ✅ Active |
|
|
70
|
+
| 41 | Verify | `request-review` | Dispatch a fresh reviewer agent with a clean context to critique the code after | ✅ Active |
|
|
71
|
+
| 42 | Verify | `respond-review` | Act on a reviewer agent's feedback systematically — categorize findings, apply | ✅ Active |
|
|
72
|
+
| 43 | Verify | `run-evals` | Eval-Driven Development — define capability and regression evals before buildi | ✅ Active |
|
|
73
|
+
| 44 | Verify | `trace-requirement` | Link story IDs from specs/release-plan.yaml + epic capsule directories to the im | ✅ Active |
|
|
74
|
+
| 45 | Verify | `validate-fix` | Prove a fix works before declaring done — re-run the failing test, run the ful | ✅ Active |
|
|
75
|
+
| 46 | Verify | `verify-work` | Multi-phase UAT gate — cold-start smoke, build, typecheck, lint, tests, step-b | ✅ Active |
|
|
76
|
+
| 47 | Release | `commit-message` | Reviews working-tree changes, then drafts a Conventional Commits title/body and | ✅ Active |
|
|
77
|
+
| 48 | Release | `release-branch` | Make the merge/PR/keep/discard decision for a feature branch, verify coverage ga | ✅ Active |
|
|
78
|
+
| 49 | Sustain | `compose-workflow` | Chain multiple bigpowers skills into a custom workflow recipe saved in specs/. U | ✅ Active |
|
|
79
|
+
| 50 | Sustain | `delegate-task` | Delegate one complex task to a single subagent, review its work in two stages be | ✅ Active |
|
|
80
|
+
| 51 | Sustain | `dispatch-agents` | Dispatch multiple subagents in parallel on independent tasks. No waiting between | ✅ Active |
|
|
81
|
+
| 52 | Sustain | `edit-document` | Edit and improve documents by restructuring sections, improving clarity, and tig | ✅ Active |
|
|
82
|
+
| 53 | Sustain | `evolve-skill` | Benchmark-gated skill evolution — consume bigpowers-benchmark report, propose | ✅ Active |
|
|
83
|
+
| 54 | Sustain | `migrate-spec` | Detect GSD, spec-kit, or BMAD spec artifacts and transform them into bigpowers Y | ✅ Active |
|
|
84
|
+
| 55 | Sustain | `organize-workspace` | Scans the active workspace for disposable artifacts—logs, caches, stale build | ✅ Active |
|
|
85
|
+
| 56 | Sustain | `reset-baseline` | Restore the project to a known clean state between agent runs or experiments. Us | ✅ Active |
|
|
86
|
+
| 57 | Sustain | `session-state` | Track implementation decisions and progress in specs/state.yaml to prevent conte | ✅ Active |
|
|
87
|
+
| 58 | Sustain | `simulate-agents` | Run Mock User and Auditor agents against a feature in fresh contexts before huma | ✅ Active |
|
|
88
|
+
| 59 | Sustain | `stocktake-skills` | Sequential subagent batch audit of the bigpowers skill catalog — Quick Scan (c | ✅ Active |
|
|
89
|
+
| 60 | Sustain | `terse-mode` | Fallback ultra-compressed communication mode. Cuts token usage ~75% by dropping | ✅ Active |
|
|
90
|
+
| 61 | Sustain | `write-document` | Write, organize, and sync high-integrity technical documents using the BMAD meth | ✅ Active |
|
|
91
|
+
|
|
92
|
+
**Total: 61 active skills.**
|
|
100
93
|
|
|
101
94
|
---
|
|
102
95
|
|
|
@@ -104,37 +97,37 @@
|
|
|
104
97
|
|
|
105
98
|
```
|
|
106
99
|
[First time]
|
|
107
|
-
using-bigpowers → orchestrate-project
|
|
100
|
+
using-bigpowers → orchestrate-project
|
|
108
101
|
↓
|
|
109
102
|
survey-context → research-first → elaborate-spec → map-codebase
|
|
110
103
|
↓
|
|
111
|
-
model-domain / define-language / grill-me / grill-with-docs
|
|
104
|
+
model-domain / define-language / grill-me / grill-with-docs
|
|
105
|
+
design-interface / deepen-architecture / define-success
|
|
112
106
|
↓
|
|
113
|
-
scope-work → assess-impact → change-request →
|
|
107
|
+
scope-work → assess-impact → change-request → slice-tasks
|
|
108
|
+
→ plan-work / plan-refactor / plan-release / seed-conventions
|
|
114
109
|
↓
|
|
115
|
-
kickoff-branch → guard-git / hook-commits /
|
|
110
|
+
kickoff-branch → guard-git / hook-commits / setup-environment
|
|
116
111
|
↓
|
|
117
|
-
[Unknown domain?] spike-prototype → (learnings
|
|
112
|
+
[Unknown domain?] spike-prototype → (learnings)
|
|
118
113
|
↓
|
|
119
|
-
develop-tdd (+ enforce-first) ←→ delegate-task / dispatch-agents
|
|
114
|
+
develop-tdd (+ enforce-first) ←→ delegate-task / dispatch-agents
|
|
115
|
+
execute-plan / build-epic / craft-skill / align-grid
|
|
120
116
|
↓
|
|
121
|
-
|
|
122
|
-
↓
|
|
123
|
-
wire-observability (production-readiness gate, any phase)
|
|
124
|
-
↓
|
|
125
|
-
★ VERIFY ★ run-evals → verify-work → align-grid (prove it works)
|
|
117
|
+
★ VERIFY ★ verify-work → run-evals → audit-code
|
|
126
118
|
↓
|
|
127
119
|
fix-bug → investigate-bug → diagnose-root → validate-fix
|
|
128
120
|
↓
|
|
129
|
-
|
|
121
|
+
request-review → respond-review → trace-requirement
|
|
130
122
|
↓
|
|
131
123
|
commit-message → release-branch
|
|
132
124
|
↓
|
|
133
|
-
inspect-quality → organize-workspace → stocktake-skills
|
|
125
|
+
inspect-quality → organize-workspace → stocktake-skills
|
|
126
|
+
→ evolve-skill → edit-document / write-document / migrate-spec
|
|
134
127
|
|
|
135
128
|
Transversal utilities (any phase):
|
|
136
|
-
terse-mode,
|
|
137
|
-
|
|
129
|
+
terse-mode, session-state, visual-dashboard, reset-baseline,
|
|
130
|
+
search-skills, compose-workflow, simulate-agents, wire-observability
|
|
138
131
|
```
|
|
139
132
|
|
|
140
133
|
---
|
|
@@ -156,7 +149,8 @@ All skills follow `verb-noun` kebab-case (ADR-0001). Documented exceptions:
|
|
|
156
149
|
|
|
157
150
|
## How to Update
|
|
158
151
|
|
|
159
|
-
1.
|
|
160
|
-
2.
|
|
152
|
+
1. Run `bash scripts/sync-skills.sh` to regenerate this file and all artifacts.
|
|
153
|
+
2. Or run `bash scripts/generate-skill-index.sh` to only regenerate this index.
|
|
161
154
|
|
|
162
155
|
→ verify: `find . -maxdepth 2 -name "SKILL.md" | grep -v ".git\|.cursor\|.gemini" | wc -l`
|
|
156
|
+
|
package/align-grid/SKILL.md
CHANGED
|
@@ -8,6 +8,8 @@ model: sonnet
|
|
|
8
8
|
|
|
9
9
|
Josef Müller-Brockmann (1914–1996), Zurich; *Grid Systems in Graphic Design* (1981) is the corpus. The grid is treated as an ethic, not decoration: **"The grid system is an aid, not a guarantee. It permits a number of possible uses and each designer can look for a solution appropriate to his personal style. But one must learn how to use the grid; it is an art that requires practice."** This skill encodes that discipline AND — the part most attempts get wrong — the front-end engineering to make the grid genuinely load-bearing on the web, plus a harness that PROVES it.
|
|
10
10
|
|
|
11
|
+
> **HARD GATE** — Do NOT ship a grid page without running `verify_grid.js` first. A visually plausible layout is not evidence of grid adherence — the harness is. Zero failing assertions is the only passing bar.
|
|
12
|
+
|
|
11
13
|
> Two real review notes this skill exists to prevent:
|
|
12
14
|
> 1. *"the grid is just slapped on top and misaligned"* → the overlay wasn't in the same content box as the content (see §2.2).
|
|
13
15
|
> 2. *"the H in the headline is off the grid"* → the headline's BOX was on the grid but its INK wasn't; large glyphs carry a side-bearing (see §2.6). **Box-on-grid ≠ ink-on-grid.**
|
package/package.json
CHANGED
package/run-planning/SKILL.md
CHANGED
|
@@ -5,22 +5,75 @@ description: "DISCOVER-PHASE ADVANCER — Drive the discover-phase checklist (sp
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Run Planning
|
|
8
|
-
> **HARD GATE** — Before running planning skills, confirm the epic capsule exists and the active story is clear. Planning without a target is noise.
|
|
9
8
|
|
|
9
|
+
> **HARD GATE** — Before running planning skills, confirm the epic capsule exists and the active story is clear. Planning without a target is noise.
|
|
10
|
+
>
|
|
10
11
|
> **Role:** DISCOVER-PHASE ADVANCER — orchestrates the discover-phase sequence; hands off to the scope-work → slice-tasks → plan-work spine for implementation planning.
|
|
11
12
|
|
|
12
|
-
Updates `specs/planning-status.yaml` as discover-phase skills complete.
|
|
13
|
+
Updates `specs/planning-status.yaml` as discover-phase skills complete. This is NOT a duplicate of plan-work — it orchestrates the *pre-coding* discovery phase only (Discover phase in the 6-phase PMBOK lifecycle), handing off to the planning spine for implementation detail.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Starting a brand-new feature or initiative with no prior planning artifacts
|
|
18
|
+
- Returning to a stalled initiative and needing to resume the discovery workflow
|
|
19
|
+
- After `orchestrate-project` hands off to the Discover phase
|
|
20
|
+
- When a new epic emerges from `change-request` and needs to go through full discovery
|
|
21
|
+
|
|
22
|
+
## Pre-flight
|
|
23
|
+
|
|
24
|
+
- [ ] Does `specs/planning-status.yaml` exist? If not, create it with the default workflow keys.
|
|
25
|
+
- [ ] Does `specs/state.yaml` have `active_flow: planning`? Set it if not already.
|
|
26
|
+
- [ ] Is the epic identified in `release-plan.yaml`? The epic must exist before discovery begins.
|
|
13
27
|
|
|
14
28
|
## Workflows (default keys)
|
|
15
29
|
|
|
16
30
|
- `survey-context` → `scope-work` → `research-first` → `elaborate-spec` (optional) → `plan-release` → `slice-tasks`
|
|
17
31
|
|
|
32
|
+
Each key maps to a skill invocation. Optional keys can be skipped; required keys must complete before the phase advances.
|
|
33
|
+
|
|
18
34
|
## Process
|
|
19
35
|
|
|
20
|
-
1. Read `specs/planning-status.yaml` and `specs/state.yaml`.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
1. **Read state** — Read `specs/planning-status.yaml` and `specs/state.yaml`. Understand where discovery stands: which workflow keys are `done`, which are `pending`, and which are `optional` (can be skipped).
|
|
37
|
+
|
|
38
|
+
2. **Find next step** — Find the first workflow key with `status: pending`. If the key is `optional`, check if the user wants to run it. If not, mark it `skipped`.
|
|
39
|
+
|
|
40
|
+
3. **Invoke the matching skill** — Run the skill that matches the workflow key:
|
|
41
|
+
- `survey-context` — where are we?
|
|
42
|
+
- `scope-work` — what's in and out?
|
|
43
|
+
- `research-first` — what already exists?
|
|
44
|
+
- `elaborate-spec` — refine the idea (optional)
|
|
45
|
+
- `plan-release` — sequence epics by WSJF
|
|
46
|
+
- `slice-tasks` — cut vertical slices
|
|
47
|
+
|
|
48
|
+
4. **Update status** — On successful completion, set `status: done` for that workflow key in `planning-status.yaml`.
|
|
49
|
+
|
|
50
|
+
5. **Advance** — Set `state.yaml` `active_flow: planning` while in this chain. When all required keys are done, set `handoff.next_skill` to `plan-work`.
|
|
51
|
+
|
|
52
|
+
## Workflow Keys Schema
|
|
53
|
+
|
|
54
|
+
In `specs/planning-status.yaml`:
|
|
55
|
+
```yaml
|
|
56
|
+
workflows:
|
|
57
|
+
survey-context:
|
|
58
|
+
required: true
|
|
59
|
+
status: done
|
|
60
|
+
scope-work:
|
|
61
|
+
required: true
|
|
62
|
+
status: pending
|
|
63
|
+
research-first:
|
|
64
|
+
required: false
|
|
65
|
+
status: optional
|
|
66
|
+
note: "Skip if no external dependencies"
|
|
67
|
+
elaborate-spec:
|
|
68
|
+
required: false
|
|
69
|
+
status: optional
|
|
70
|
+
plan-release:
|
|
71
|
+
required: true
|
|
72
|
+
status: pending
|
|
73
|
+
slice-tasks:
|
|
74
|
+
required: true
|
|
75
|
+
status: pending
|
|
76
|
+
```
|
|
24
77
|
|
|
25
78
|
## Verify
|
|
26
79
|
|
package/scope-work/SKILL.md
CHANGED
|
@@ -8,16 +8,46 @@ model: sonnet
|
|
|
8
8
|
|
|
9
9
|
> **Spine position:** Step 1 — scope-work → slice-tasks → plan-work.
|
|
10
10
|
|
|
11
|
-
Turn the current conversation into a bounded PRD at `specs/product/SCOPE_LATEST.yaml`.
|
|
11
|
+
Turn the current conversation into a bounded PRD at `specs/product/SCOPE_LATEST.yaml`. Without a scope boundary, implementation drifts — stories expand, estimates blow up, and "done" becomes undefined.
|
|
12
|
+
|
|
13
|
+
## Pre-flight
|
|
14
|
+
|
|
15
|
+
- [ ] Do you have a clear user need or problem statement? If not, run `elaborate-spec` first.
|
|
16
|
+
- [ ] Does `specs/product/VISION_LATEST.yaml` exist? If yes, read it for north-star alignment.
|
|
17
|
+
- [ ] Is there an existing `SCOPE_LATEST.yaml`? If yes, you're refining, not creating from scratch.
|
|
12
18
|
|
|
13
19
|
## Process
|
|
14
20
|
|
|
15
|
-
1. Read existing `specs/` artifacts (`release-plan.yaml`, `plans/TECH_STACK_LATEST.md`, `requirements/VISION_LATEST.yaml` if any).
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
1. **Gather context** — Read existing `specs/` artifacts (`release-plan.yaml`, `plans/TECH_STACK_LATEST.md`, `requirements/VISION_LATEST.yaml` if any). Understand what the project is building and why.
|
|
22
|
+
|
|
23
|
+
2. **Interview (if needed)** — Clarify: What is the goal? Who are the users? What is definitely in scope? What is explicitly out of scope? What constraints exist (time, budget, tech)? How will success be measured?
|
|
24
|
+
|
|
25
|
+
3. **Write `specs/product/SCOPE_LATEST.yaml`** with these fields:
|
|
26
|
+
- `core_value` — one-sentence value proposition
|
|
27
|
+
- `summary` — 2-3 paragraph scope overview
|
|
28
|
+
- `in_scope[]` — list of what this initiative covers (each maps to an epic/story)
|
|
29
|
+
- `out_of_scope[]` — explicit exclusions (prevents scope creep)
|
|
30
|
+
- `constraints` — tech, time, resource boundaries
|
|
31
|
+
- `success_criteria` — observable outcomes that prove the scope is delivered
|
|
32
|
+
- `references` — links to related specs, ADRs, or documents
|
|
33
|
+
|
|
34
|
+
4. **Lightweight trade-off analysis** — For each `out_of_scope` item, note *why* it's excluded (deferred, not valuable, too risky, depends on external factor). This protects against "what about X?" questions later.
|
|
35
|
+
|
|
36
|
+
5. **Run `research-first`** if external dependencies are proposed — verify the dependency exists, is maintained, and fits the scope before committing to it.
|
|
37
|
+
|
|
38
|
+
> **HARD GATE** — Every `in_scope` item must map to a future epic/story ID or explicit deferred note in `out_of_scope`. If an item can't be mapped, the scope is too vague — refine before proceeding.
|
|
39
|
+
|
|
40
|
+
> **HARD GATE** — Do NOT include implementation details in SCOPE_LATEST.yaml. Scope is *what* and *why*, not *how*. Implementation detail belongs in epic capsules and slice-tasks.
|
|
41
|
+
|
|
42
|
+
## Common Anti-Patterns
|
|
43
|
+
|
|
44
|
+
- **"Everything is in scope"** — If nothing is out of scope, you haven't defined a scope. You've described a universe. Cut aggressively.
|
|
45
|
+
- **"We'll figure it out later"** — Ambiguity in scope propagates to every downstream decision. Resolve now or explicitly defer in writing.
|
|
46
|
+
- **Scope as architecture** — Saying "we need a PostgreSQL database" is architecture, not scope. Scope says "we need to store user profiles and transaction history."
|
|
47
|
+
|
|
48
|
+
## Output
|
|
19
49
|
|
|
20
|
-
|
|
50
|
+
`specs/product/SCOPE_LATEST.yaml` — the bounded PRD. Subsequent skills (`slice-tasks`, `plan-work`) reference this as the source of truth for what to build.
|
|
21
51
|
|
|
22
52
|
## Verify
|
|
23
53
|
|