@locksmithdon/dons-flow 2.0.0 → 2.1.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/README.md
CHANGED
|
@@ -1,69 +1,139 @@
|
|
|
1
1
|
# @locksmithdon/dons-flow
|
|
2
2
|
|
|
3
|
-
**Don's Flow v2**
|
|
3
|
+
**Don's Flow v2** is a way of composing three distinct approaches to agentic software development into one developer-owned workflow:
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
1. **[Superpowers](https://github.com/obra/superpowers)** — the methodology you already trust. Socratic design (`brainstorming`), bite-sized plans (`writing-plans`), red/green TDD (`test-driven-development`), and subagent-driven execution (`subagent-driven-development`). It is fast, opinionated, and proven.
|
|
6
|
+
2. **[RPIV](https://www.npmjs.com/package/@juicesharp/rpiv-pi)** — Juice Sharp's observable, artifact-chained delivery pipeline: `discover → research → design → plan → implement → validate → review → commit`. It adds deliberate checkpoints, self-reflection, and a durable paper trail.
|
|
7
|
+
3. **Don's closeout discipline** — the `land` ritual, `epiphany-tabling`, as-built documentation, retros, and memory reconciliation. It closes the cycle so the next one starts clean.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
None of these replaces the others. Superpowers excels at the inner loop of design and execution. RPIV excels at observable, reviewable delivery. Don's discipline excels at cycle boundaries and learning capture. Together they form a workflow that is fast *and* reflective *and* humane.
|
|
10
10
|
|
|
11
|
-
> **Why v2?** The first iteration of Don's Flow was
|
|
11
|
+
> **Why v2?** The first iteration of Don's Flow was Superpowers plus a custom landing ritual. v2 keeps that landing ritual and adds RPIV's pipeline as a first-class partner rather than a replacement.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## What each system contributes
|
|
14
14
|
|
|
15
|
+
| System | Core gift | Typical entry points |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| **Superpowers** | Auto-triggering, opinionated software development methodology | `brainstorming`, `writing-plans`, `test-driven-development`, `subagent-driven-development`, `verification-before-completion` |
|
|
18
|
+
| **RPIV** | Observable, artifact-chained delivery pipeline with built-in reflection | `discover`, `research`, `blueprint`, `implement`, `validate`, `code-review` |
|
|
19
|
+
| **Don's Flow** | Cycle boundaries, scope control, and learning capture | `land`, `epiphany-tabling`, `capturing-learnings`, `as-built-documentation`, `writing-retros` |
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
Install in each repo where you want the workflow, or install once in your global Pi configuration if you want it everywhere.
|
|
24
|
+
|
|
25
|
+
### 1. Install Superpowers
|
|
26
|
+
|
|
27
|
+
Superpowers is a harness plugin, not an npm package. Install it for the agent you are using:
|
|
28
|
+
|
|
29
|
+
**Claude Code**
|
|
15
30
|
```bash
|
|
16
|
-
|
|
31
|
+
/plugin install superpowers@claude-plugins-official
|
|
32
|
+
```
|
|
33
|
+
Or register the Superpowers marketplace first:
|
|
34
|
+
```bash
|
|
35
|
+
/plugin marketplace add obra/superpowers-marketplace
|
|
36
|
+
/plugin install superpowers@superpowers-marketplace
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Codex CLI / Codex App**
|
|
40
|
+
```bash
|
|
41
|
+
/plugins
|
|
42
|
+
# search "Superpowers" and select Install Plugin
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Gemini CLI**
|
|
46
|
+
```bash
|
|
47
|
+
gemini extensions install https://github.com/obra/superpowers
|
|
17
48
|
```
|
|
18
49
|
|
|
19
|
-
|
|
50
|
+
**Factory Droid**
|
|
51
|
+
```bash
|
|
52
|
+
droid plugin marketplace add https://github.com/obra/superpowers
|
|
53
|
+
droid plugin install superpowers@superpowers
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**OpenCode**
|
|
57
|
+
```bash
|
|
58
|
+
# Fetch and follow instructions from:
|
|
59
|
+
# https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.opencode/INSTALL.md
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Cursor**
|
|
63
|
+
```bash
|
|
64
|
+
/add-plugin superpowers
|
|
65
|
+
# or search "superpowers" in the plugin marketplace
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
**GitHub Copilot CLI**
|
|
69
|
+
```bash
|
|
70
|
+
copilot plugin marketplace add obra/superpowers-marketplace
|
|
71
|
+
copilot plugin install superpowers@superpowers-marketplace
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Full instructions are at [obra/superpowers](https://github.com/obra/superpowers).
|
|
75
|
+
|
|
76
|
+
### 2. Install RPIV and this package
|
|
20
77
|
|
|
21
78
|
```bash
|
|
22
79
|
pi install npm:@juicesharp/rpiv-pi
|
|
23
80
|
pi install npm:@tintinweb/pi-subagents
|
|
81
|
+
pi install npm:@locksmithdon/dons-flow
|
|
24
82
|
```
|
|
25
83
|
|
|
26
|
-
|
|
84
|
+
If RPIV's `/rpiv-setup` command is available, run it once and restart Pi to install RPIV's sibling plugins.
|
|
27
85
|
|
|
28
|
-
|
|
29
|
-
- Claude Code: `/plugin install superpowers@superpowers-marketplace`
|
|
30
|
-
- Codex CLI: `/plugins` → search "Superpowers"
|
|
31
|
-
- Gemini CLI: `gemini extensions install https://github.com/obra/superpowers`
|
|
32
|
-
- See [obra/superpowers](https://github.com/obra/superpowers) for other harnesses.
|
|
86
|
+
### 3. Onboard the repo
|
|
33
87
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
88
|
+
```bash
|
|
89
|
+
/skill:setup-dons-flow
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
This checks prerequisites, detects Superpowers, and creates the repo-owned conventions listed below.
|
|
93
|
+
|
|
94
|
+
## Three ways to work
|
|
95
|
+
|
|
96
|
+
Don's Flow is not a single mandatory pipeline. It is a score you can conduct in different ways depending on the work.
|
|
97
|
+
|
|
98
|
+
### Mode A — Superpowers-led
|
|
99
|
+
|
|
100
|
+
Best when the problem is well-shaped and you want autonomous, TDD-driven execution.
|
|
40
101
|
|
|
41
|
-
|
|
42
|
-
|
|
102
|
+
```
|
|
103
|
+
brainstorming → writing-plans → subagent-driven-development → verification-before-completion → land
|
|
104
|
+
```
|
|
43
105
|
|
|
44
|
-
|
|
106
|
+
Use RPIV only if you hit a research or validation gap that Superpowers does not cover on its own.
|
|
45
107
|
|
|
46
|
-
|
|
108
|
+
### Mode B — RPIV-led
|
|
47
109
|
|
|
48
|
-
|
|
110
|
+
Best when the problem needs discovery, research, or a durable decision trail.
|
|
49
111
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- `test-driven-development` — red/green/refactor discipline.
|
|
54
|
-
- `verification-before-completion` — evidence-before-claims.
|
|
112
|
+
```
|
|
113
|
+
discover → research → blueprint → implement → validate → code-review → commit → land
|
|
114
|
+
```
|
|
55
115
|
|
|
56
|
-
|
|
116
|
+
Use Superpowers inside `implement` for TDD and subagent execution if you want its inner-loop discipline.
|
|
57
117
|
|
|
58
|
-
|
|
118
|
+
### Mode C — The mixed default
|
|
59
119
|
|
|
60
|
-
|
|
120
|
+
Best for substantial work where you want both reflection and autonomy.
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
discover → research → blueprint → implement (with Superpowers TDD + subagents) → validate → code-review → commit → land
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Between every major artifact, run `capturing-learnings`. During execution, keep `epiphany-tabling` active. If you stop mid-work, use `create-handoff` / `resume-handoff`.
|
|
127
|
+
|
|
128
|
+
## What this package adds
|
|
129
|
+
|
|
130
|
+
This package provides the seams between the three systems:
|
|
61
131
|
|
|
62
132
|
| Skill | Purpose |
|
|
63
133
|
|---|---|
|
|
64
|
-
| `dons-flow` | The map.
|
|
134
|
+
| `dons-flow` | The map. Helps you choose Mode A, B, or C for a given piece of work. |
|
|
65
135
|
| `setup-dons-flow` | Onboarding: checks prerequisites, detects Superpowers, creates repo conventions. |
|
|
66
|
-
| `land` | The 10-step cycle closeout: code review →
|
|
136
|
+
| `land` | The 10-step cycle closeout: code review → architectural review → security review → as-built docs → doc/knowledge-graph review → AGENTS.md updates → memory reconcile → retro → status review → integrate. |
|
|
67
137
|
| `epiphany-tabling` | Capture mid-flight realizations in `docs/tabled.md` without derailing current work. |
|
|
68
138
|
| `as-built-documentation` | Replace spec/plan scaffolding with a permanent `docs/changes/` record of what shipped. |
|
|
69
139
|
| `capturing-learnings` | End-of-artifact checkpoints + the "once is a moment; twice is a pattern" promotion rule. |
|
|
@@ -72,24 +142,9 @@ RPIV gives you a strong delivery pipeline. This package adds the seams around it
|
|
|
72
142
|
| `finishing-a-development-branch` | Merge / PR / cleanup decisions at cycle end. |
|
|
73
143
|
| `using-git-worktrees` | Isolated workspaces for parallel workstreams. |
|
|
74
144
|
|
|
75
|
-
## The integrated workflow
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
/skill:discover "..."
|
|
79
|
-
/skill:research .rpiv/artifacts/discover/<latest>.md
|
|
80
|
-
/skill:blueprint .rpiv/artifacts/research/<latest>.md # or design → plan
|
|
81
|
-
/skill:implement .rpiv/artifacts/plans/<latest>.md
|
|
82
|
-
/skill:validate .rpiv/artifacts/plans/<latest>.md
|
|
83
|
-
/skill:code-review
|
|
84
|
-
/skill:commit
|
|
85
|
-
/skill:land
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
Between every major artifact, run `capturing-learnings`. During execution, keep `epiphany-tabling` active. If you stop mid-work, use `create-handoff` / `resume-handoff`.
|
|
89
|
-
|
|
90
145
|
## Repo conventions
|
|
91
146
|
|
|
92
|
-
|
|
147
|
+
These documents live in the codebase because they are shared context for the whole team. The skills that produce and maintain them live in this package.
|
|
93
148
|
|
|
94
149
|
| Path | Purpose |
|
|
95
150
|
|---|---|
|
|
@@ -101,8 +156,6 @@ This workflow expects the following project-owned files and folders in the codeb
|
|
|
101
156
|
| `docs/runbooks/` | Multi-skill processes |
|
|
102
157
|
| `AGENTS.md` | Repo-level agent guidance |
|
|
103
158
|
|
|
104
|
-
These documents live in the codebase because they are shared context for the whole team. The skills that produce and maintain them live in this package.
|
|
105
|
-
|
|
106
159
|
## Philosophy: what lives where
|
|
107
160
|
|
|
108
161
|
**In the codebase (shared):**
|
|
@@ -120,7 +173,7 @@ This separation lets the same workflow travel with you across repos while keepin
|
|
|
120
173
|
|
|
121
174
|
## Monitoring upstream evolution
|
|
122
175
|
|
|
123
|
-
The dependency relationship with Superpowers is intentionally deferred. We review monthly whether to keep
|
|
176
|
+
The dependency relationship with Superpowers is intentionally deferred. Superpowers is installed via your harness, so we do not need to resolve it as an npm dependency. We review monthly whether to keep this arrangement, fork Superpowers, or drop the peer dependency entirely.
|
|
124
177
|
|
|
125
178
|
- Memory: `docs/memory/monitor_upstream_evolution.md`
|
|
126
179
|
- Runbook: `docs/runbooks/monitor-upstream-evolution.md`
|
|
@@ -129,11 +182,15 @@ Set a monthly calendar reminder for the 13th, or run the runbook after every 2
|
|
|
129
182
|
|
|
130
183
|
## Typical first use
|
|
131
184
|
|
|
132
|
-
1. Install
|
|
133
|
-
2.
|
|
134
|
-
3.
|
|
135
|
-
4.
|
|
136
|
-
|
|
185
|
+
1. Install Superpowers for your harness.
|
|
186
|
+
2. Install `npm:@juicesharp/rpiv-pi`, `npm:@tintinweb/pi-subagents`, and `npm:@locksmithdon/dons-flow`.
|
|
187
|
+
3. Run `/skill:setup-dons-flow` to scaffold repo conventions.
|
|
188
|
+
4. Choose a mode:
|
|
189
|
+
- Superpowers-led: start with `brainstorming`.
|
|
190
|
+
- RPIV-led: start with `/skill:discover "[feature description]"`.
|
|
191
|
+
- Mixed: start with `discover`, then use Superpowers inside `implement`.
|
|
192
|
+
5. Close the cycle with `/skill:land`.
|
|
193
|
+
6. After 2–3 projects, run the upstream monitoring runbook.
|
|
137
194
|
|
|
138
195
|
## License
|
|
139
196
|
|
|
@@ -9,14 +9,14 @@ next-review: 2026-07-13
|
|
|
9
9
|
|
|
10
10
|
How should `@locksmithdon/dons-flow` track its upstream projects?
|
|
11
11
|
|
|
12
|
-
- **RPIV** (`@juicesharp/rpiv-pi`) is published to npm and
|
|
13
|
-
- **Superpowers** (`obra/superpowers`) is a
|
|
12
|
+
- **RPIV** (`@juicesharp/rpiv-pi`) is published to npm and declared as a normal peer dependency.
|
|
13
|
+
- **Superpowers** (`obra/superpowers`) is a harness plugin, not an npm package. It is installed via Claude, Codex, Gemini, Cursor, Copilot, or other agent harnesses, not via `pi install` or `npm install`.
|
|
14
14
|
|
|
15
|
-
We are not forking or publishing Superpowers yet. Instead, we
|
|
15
|
+
We are not forking or publishing Superpowers yet. Instead, we document it as a harness-plugin dependency and will monitor both projects for 2–3 months before deciding whether to:
|
|
16
16
|
|
|
17
|
-
1. Keep the
|
|
17
|
+
1. Keep the harness-plugin arrangement.
|
|
18
18
|
2. Fork Superpowers and publish it under `@locksmithdon/superpowers` as a normal npm peer dependency.
|
|
19
|
-
3.
|
|
19
|
+
3. Drop Superpowers integration entirely and rely on this package's ported closeout skills + RPIV's pipeline.
|
|
20
20
|
4. Some hybrid we haven't thought of yet.
|
|
21
21
|
|
|
22
22
|
## Why we deferred
|
|
@@ -28,20 +28,20 @@ The integration is new. We want real usage data — at least 2–3 projects run
|
|
|
28
28
|
| Project | URL | What to check |
|
|
29
29
|
|---|---|---|
|
|
30
30
|
| RPIV | https://github.com/juicesharp/rpiv-mono | New skills that overlap with our closeout workflow; changes to `implement`, `validate`, `code-review`; new onboarding commands. |
|
|
31
|
-
| Superpowers | https://github.com/obra/superpowers | New closeout/landing skills; npm publishing; changes to `brainstorming`, `writing-plans`, `verification-before-completion`; license changes. |
|
|
31
|
+
| Superpowers | https://github.com/obra/superpowers | New closeout/landing skills; npm publishing; changes to `brainstorming`, `writing-plans`, `verification-before-completion`; license changes; new harness install paths. |
|
|
32
32
|
|
|
33
33
|
## Decision criteria
|
|
34
34
|
|
|
35
35
|
Fork and publish Superpowers if:
|
|
36
36
|
- We find ourselves needing its upstream entry points (`brainstorming`, `test-driven-development`, `subagent-driven-development`) in projects where RPIV equivalents don't fit.
|
|
37
37
|
- Superpowers still isn't on npm after 3 months of monitoring.
|
|
38
|
-
- The maintenance burden of a fork feels smaller than the friction of the
|
|
38
|
+
- The maintenance burden of a fork feels smaller than the friction of the harness-plugin install path.
|
|
39
39
|
|
|
40
|
-
Keep the
|
|
41
|
-
- The
|
|
42
|
-
- We
|
|
40
|
+
Keep the harness-plugin arrangement if:
|
|
41
|
+
- The plugin install path works reliably across harnesses.
|
|
42
|
+
- We value staying on the upstream release channel.
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Drop Superpowers integration if:
|
|
45
45
|
- RPIV adds equivalent closeout/landing skills.
|
|
46
46
|
- We stop using Superpowers entry points entirely.
|
|
47
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Runbook: Monitor Upstream Evolution
|
|
2
2
|
|
|
3
|
-
Check RPIV and Superpowers monthly to decide how `@locksmithdon/dons-flow` should track them.
|
|
3
|
+
Check RPIV and Superpowers monthly to decide how `@locksmithdon/dons-flow` should track them. Superpowers is a harness plugin; RPIV is an npm package.
|
|
4
4
|
|
|
5
5
|
## Schedule
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ Record findings in `docs/memory/monitor_upstream_evolution.md` under a dated hea
|
|
|
31
31
|
Visit https://github.com/obra/superpowers and look at:
|
|
32
32
|
|
|
33
33
|
- **Releases / RELEASE-NOTES.md** — new versions.
|
|
34
|
-
- **Skills** — has Superpowers added a `land`, `closeout`, or `as-built` skill? Has it published to npm?
|
|
34
|
+
- **Skills** — has Superpowers added a `land`, `closeout`, or `as-built` skill? Has it published to npm or added new harness install paths?
|
|
35
35
|
- **Brainstorming / writing-plans / subagent-driven-development** — have these changed in ways that make them more or less attractive than RPIV equivalents?
|
|
36
36
|
- **License** — still MIT and forkable?
|
|
37
37
|
|
|
@@ -42,7 +42,7 @@ Record findings in `docs/memory/monitor_upstream_evolution.md` under the same da
|
|
|
42
42
|
Review recent projects that used this workflow:
|
|
43
43
|
|
|
44
44
|
- Did we use Superpowers-specific entry points (`brainstorming`, `writing-plans`, `subagent-driven-development`) or RPIV entry points (`discover`, `blueprint`, `implement`)?
|
|
45
|
-
- Did the
|
|
45
|
+
- Did the harness-plugin install path for Superpowers cause friction?
|
|
46
46
|
- Did RPIV's pipeline cover everything we needed?
|
|
47
47
|
- Did our `land` skill feel like the right cycle boundary?
|
|
48
48
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@locksmithdon/dons-flow",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Don's Flow v2 — a developer-specific Pi Agent workflow built on RPIV's observable pipeline, Superpowers' discipline, and a structured landing closeout.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -41,13 +41,7 @@
|
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@earendil-works/pi-coding-agent": "*",
|
|
43
43
|
"@tintinweb/pi-subagents": "*",
|
|
44
|
-
"@juicesharp/rpiv-pi": "*"
|
|
45
|
-
"superpowers": "github:obra/superpowers"
|
|
46
|
-
},
|
|
47
|
-
"peerDependenciesMeta": {
|
|
48
|
-
"superpowers": {
|
|
49
|
-
"optional": true
|
|
50
|
-
}
|
|
44
|
+
"@juicesharp/rpiv-pi": "*"
|
|
51
45
|
},
|
|
52
46
|
"scripts": {
|
|
53
47
|
"lint": "echo 'No lint configured yet'",
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dons-flow
|
|
3
|
-
description: Use when starting or navigating a major piece of work to apply the integrated
|
|
3
|
+
description: Use when starting or navigating a major piece of work to apply the integrated Superpowers + RPIV + Don's closeout workflow
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Don's Flow
|
|
7
7
|
|
|
8
|
-
**Version 2** of the
|
|
8
|
+
**Version 2** of the developer workflow for `@locksmithdon`. It composes three independent systems into one working practice:
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
1. **Superpowers** — Jesse Vincent's agentic methodology: Socratic design, bite-sized plans, red/green TDD, and subagent-driven execution. It is the system that got Don here.
|
|
11
|
+
2. **RPIV** — Juice Sharp's observable, artifact-chained delivery pipeline. It adds deliberate checkpoints, self-reflection, and a durable paper trail.
|
|
12
|
+
3. **Don's closeout discipline** — the `land` ritual, `epiphany-tabling`, as-built documentation, retros, and memory reconciliation. It closes the cycle so the next one starts clean.
|
|
11
13
|
|
|
12
|
-
This skill is the map. It does not replace the skills it references — it
|
|
13
|
-
|
|
14
|
-
Superpowers is the upstream methodology at [obra/superpowers](https://github.com/obra/superpowers). It is not published to npm under a resolvable name, so this package declares it as an optional git peer dependency (`github:obra/superpowers`). Install it via your agent harness's plugin system, via the git URL, or by forking and publishing it under your own scope.
|
|
14
|
+
This skill is the map. It does not replace the skills it references — it helps you choose which path to take for a given piece of work, and reminds you which conventions must stay true across all of them.
|
|
15
15
|
|
|
16
16
|
## Announce at start
|
|
17
17
|
|
|
18
|
-
> "I'm using the `dons-flow` skill to run the
|
|
18
|
+
> "I'm using the `dons-flow` skill to run the Superpowers + RPIV + closeout triad."
|
|
19
19
|
|
|
20
20
|
## When to use this skill
|
|
21
21
|
|
|
22
|
-
- At the **start** of a new piece of work, to
|
|
22
|
+
- At the **start** of a new piece of work, to choose Superpowers-led, RPIV-led, or mixed mode.
|
|
23
23
|
- When you are **mid-work** and unsure whether to keep going, hand off, revise, or close out.
|
|
24
24
|
- At the **end** of a validated implementation, to begin the `land` closeout ritual.
|
|
25
25
|
- When onboarding a fresh repo to this workflow.
|
|
26
26
|
|
|
27
27
|
## Required installed packages
|
|
28
28
|
|
|
29
|
-
This skill assumes the following
|
|
29
|
+
This skill assumes the following are available:
|
|
30
30
|
|
|
31
|
-
-
|
|
32
|
-
- `@
|
|
33
|
-
- `@
|
|
34
|
-
- `
|
|
31
|
+
- **Superpowers** — the upstream methodology. Installed as a harness plugin (Claude, Codex, Gemini, Cursor, Copilot, etc.), not via npm. See `setup-dons-flow` for per-harness commands.
|
|
32
|
+
- **RPIV** (`@juicesharp/rpiv-pi`) — the observable delivery pipeline.
|
|
33
|
+
- **Pi subagent runtime** (`@tintinweb/pi-subagents`) — runtime used by RPIV.
|
|
34
|
+
- **Don's Flow** (`@locksmithdon/dons-flow`) — this package, which adds closeout and discipline skills.
|
|
35
35
|
|
|
36
36
|
If RPIV or the subagent runtime is missing, stop and install them before proceeding. If Superpowers is missing, this package's ported skills still provide the closeout workflow, but you will not have access to the upstream Superpowers entry points like `brainstorming` or `test-driven-development`.
|
|
37
37
|
|
|
@@ -45,13 +45,47 @@ If this repo has not been onboarded yet, run:
|
|
|
45
45
|
|
|
46
46
|
That skill checks prerequisites, detects Superpowers, and creates the repo-owned conventions (`docs/tabled.md`, `docs/status.md`, `docs/memory/`, `docs/changes/`, `docs/retros/`, `docs/runbooks/`, `AGENTS.md`).
|
|
47
47
|
|
|
48
|
-
##
|
|
48
|
+
## Three modes of working
|
|
49
|
+
|
|
50
|
+
Don's Flow is not a single mandatory pipeline. Choose the mode that fits the work.
|
|
51
|
+
|
|
52
|
+
### Mode A — Superpowers-led
|
|
53
|
+
|
|
54
|
+
Best when the problem is well-shaped and you want autonomous, TDD-driven execution.
|
|
49
55
|
|
|
50
56
|
```
|
|
51
|
-
|
|
57
|
+
brainstorming → writing-plans → subagent-driven-development → verification-before-completion → land
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Use RPIV only if you hit a research or validation gap that Superpowers does not cover on its own.
|
|
61
|
+
|
|
62
|
+
### Mode B — RPIV-led
|
|
63
|
+
|
|
64
|
+
Best when the problem needs discovery, research, or a durable decision trail.
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
discover → research → blueprint → implement → validate → code-review → commit → land
|
|
52
68
|
```
|
|
53
69
|
|
|
54
|
-
|
|
70
|
+
Use Superpowers inside `implement` for TDD and subagent execution if you want its inner-loop discipline.
|
|
71
|
+
|
|
72
|
+
### Mode C — Mixed default
|
|
73
|
+
|
|
74
|
+
Best for substantial work where you want both reflection and autonomy.
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
discover → research → blueprint → implement (with Superpowers TDD + subagents) → validate → code-review → commit → land
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Between every major artifact, run `capturing-learnings`. During execution, keep `epiphany-tabling` active. If you stop mid-work, use `create-handoff` / `resume-handoff`.
|
|
81
|
+
|
|
82
|
+
## The RPIV path in detail
|
|
83
|
+
|
|
84
|
+
When you choose Mode B or C, the pipeline below is the default. Each arrow is a skill invocation. Each skill produces or updates an artifact.
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
Discover → Research → Design/Blueprint → Plan → Implement → Validate → Review → Commit → Land
|
|
88
|
+
```
|
|
55
89
|
|
|
56
90
|
### 1. Discover — capture intent
|
|
57
91
|
|
|
@@ -121,6 +155,7 @@ Each arrow is a skill invocation. Each skill produces or updates an artifact. No
|
|
|
121
155
|
- Apply `verification-before-completion` discipline: no success claim without fresh verification evidence.
|
|
122
156
|
- If a session ends mid-implementation, run `/skill:create-handoff`.
|
|
123
157
|
- If code reality diverges from the plan, surface it via implement's mismatch flow or run `/skill:revise <plan-path>` first.
|
|
158
|
+
- In mixed mode, invoke Superpowers `test-driven-development` and `subagent-driven-development` inside this phase for the inner loop.
|
|
124
159
|
|
|
125
160
|
### 6. Validate — verify against the plan
|
|
126
161
|
|
|
@@ -171,7 +206,7 @@ Each arrow is a skill invocation. Each skill produces or updates an artifact. No
|
|
|
171
206
|
9. Status review + resolve `docs/tabled.md`
|
|
172
207
|
10. Integrate (`finishing-a-development-branch`)
|
|
173
208
|
|
|
174
|
-
**Integration note:** `land` is the cycle boundary
|
|
209
|
+
**Integration note:** `land` is the cycle boundary neither Superpowers nor RPIV provides. It is the most important addition this package makes.
|
|
175
210
|
|
|
176
211
|
## Monitoring the relationship
|
|
177
212
|
|
|
@@ -180,7 +215,7 @@ We intentionally deferred deciding how to track Superpowers long-term. Review mo
|
|
|
180
215
|
- `docs/memory/monitor_upstream_evolution.md` — decision context and last review date
|
|
181
216
|
- `docs/runbooks/monitor-upstream-evolution.md` — the check-in process
|
|
182
217
|
|
|
183
|
-
After 2–3 projects, decide whether to keep the
|
|
218
|
+
After 2–3 projects, decide whether to keep the harness-plugin arrangement, fork Superpowers, or drop the peer dependency.
|
|
184
219
|
|
|
185
220
|
## Cross-cutting practices
|
|
186
221
|
|
|
@@ -228,6 +263,7 @@ Your codebase should contain these documents and folders. They are owned by the
|
|
|
228
263
|
|
|
229
264
|
- **Skipping `land`.** `validate` is not the finish line. Close the cycle.
|
|
230
265
|
- **Carrying `docs/tabled.md` across cycles.** Resolve every entry during `land` step 9.
|
|
266
|
+
- **Treating one system as the only system.** Superpowers, RPIV, and Don's closeout each have a zone of excellence. Choose deliberately.
|
|
231
267
|
- **Editing source files during discover/research/design/plan.** Those skills produce artifacts; `implement` edits code.
|
|
232
268
|
- **Recomposing RPIV slice boundaries.** `design`/`blueprint` owns decomposition; `plan` inherits slices 1:1.
|
|
233
269
|
- **Letting verification become a rubber stamp.** Evidence first, claims second.
|
|
@@ -237,12 +273,17 @@ Your codebase should contain these documents and folders. They are owned by the
|
|
|
237
273
|
| I want to... | Invoke |
|
|
238
274
|
|---|---|
|
|
239
275
|
| Onboard a repo | `/skill:setup-dons-flow` |
|
|
240
|
-
|
|
|
276
|
+
| Choose a workflow mode | `/skill:dons-flow` |
|
|
277
|
+
| Ideate / refine a design | `brainstorming` |
|
|
278
|
+
| Capture intent (RPIV) | `/skill:discover "..."` |
|
|
241
279
|
| Understand the codebase | `/skill:research <artifact-or-topic>` |
|
|
242
280
|
| Compare options | `/skill:explore "..."` |
|
|
243
281
|
| Design + plan separately | `/skill:design <research>` → `/skill:plan <design>` |
|
|
244
282
|
| Design + plan together | `/skill:blueprint <research>` |
|
|
245
|
-
|
|
|
283
|
+
| Write a Superpowers plan | `writing-plans` |
|
|
284
|
+
| Execute the plan (RPIV) | `/skill:implement <plan> [Phase N]` |
|
|
285
|
+
| Execute with subagents (Superpowers) | `subagent-driven-development` |
|
|
286
|
+
| Run TDD | `test-driven-development` |
|
|
246
287
|
| Verify implementation | `/skill:validate <plan>` |
|
|
247
288
|
| Review changes | `/skill:code-review [scope]` |
|
|
248
289
|
| Commit changes | `/skill:commit` |
|
|
@@ -254,6 +295,7 @@ Your codebase should contain these documents and folders. They are owned by the
|
|
|
254
295
|
|
|
255
296
|
## See also
|
|
256
297
|
|
|
298
|
+
- Superpowers: [obra/superpowers](https://github.com/obra/superpowers)
|
|
257
299
|
- RPIV README: `@juicesharp/rpiv-pi`
|
|
258
300
|
- `setup-dons-flow` — onboarding skill
|
|
259
301
|
- `land` — the 10-step closeout
|
|
@@ -5,17 +5,29 @@ description: Use when installing or onboarding @locksmithdon/dons-flow in a repo
|
|
|
5
5
|
|
|
6
6
|
# Setup Don's Flow
|
|
7
7
|
|
|
8
|
-
Onboard a repo to the
|
|
8
|
+
Onboard a repo to the Don's Flow v2 triad: **Superpowers** + **RPIV** + **Don's closeout discipline**. This skill checks prerequisites, detects what is already installed, creates the repo-owned conventions, and tells you what still needs to be done.
|
|
9
9
|
|
|
10
10
|
## Announce at start
|
|
11
11
|
|
|
12
|
-
> "I'm using the `setup-dons-flow` skill to onboard this repo to
|
|
12
|
+
> "I'm using the `setup-dons-flow` skill to onboard this repo to Don's Flow v2."
|
|
13
13
|
|
|
14
14
|
## When to use
|
|
15
15
|
|
|
16
16
|
- Right after installing `@locksmithdon/dons-flow` in a repo.
|
|
17
17
|
- When you suspect prerequisites are missing.
|
|
18
18
|
- When setting up a fresh repo for this workflow.
|
|
19
|
+
- After switching to a new agent harness.
|
|
20
|
+
|
|
21
|
+
## What Don's Flow needs
|
|
22
|
+
|
|
23
|
+
| Component | What it is | How it is installed |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| **Superpowers** | Agentic methodology (brainstorming, TDD, subagent-driven development) | Harness plugin (Claude, Codex, Gemini, Cursor, etc.) |
|
|
26
|
+
| **RPIV** | Observable delivery pipeline (`discover → ... → commit`) | `pi install npm:@juicesharp/rpiv-pi` |
|
|
27
|
+
| **Pi subagent runtime** | Runtime used by RPIV | `pi install npm:@tintinweb/pi-subagents` |
|
|
28
|
+
| **Don's Flow** | This package: closeout, scope control, learning capture | `pi install npm:@locksmithdon/dons-flow` |
|
|
29
|
+
|
|
30
|
+
Superpowers is not an npm package and cannot be installed via `pi install` or `npm install`. It must be installed as a harness plugin.
|
|
19
31
|
|
|
20
32
|
## Process
|
|
21
33
|
|
|
@@ -39,20 +51,72 @@ If RPIV is installed, also run `/rpiv-setup` once and restart Pi to install RPIV
|
|
|
39
51
|
|
|
40
52
|
### Step 2: Detect Superpowers
|
|
41
53
|
|
|
42
|
-
Superpowers is installed via your agent harness, not as a Pi npm package. Check
|
|
54
|
+
Superpowers is installed via your agent harness, not as a Pi npm package. Check the appropriate method for your harness:
|
|
43
55
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
56
|
+
**Claude Code**
|
|
57
|
+
```bash
|
|
58
|
+
/plugin list
|
|
59
|
+
```
|
|
60
|
+
Look for `superpowers`. If missing:
|
|
61
|
+
```bash
|
|
62
|
+
/plugin install superpowers@claude-plugins-official
|
|
63
|
+
```
|
|
64
|
+
Or via the Superpowers marketplace:
|
|
65
|
+
```bash
|
|
66
|
+
/plugin marketplace add obra/superpowers-marketplace
|
|
67
|
+
/plugin install superpowers@superpowers-marketplace
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Codex CLI / Codex App**
|
|
71
|
+
```bash
|
|
72
|
+
/plugins
|
|
73
|
+
```
|
|
74
|
+
Search for "Superpowers" and install it.
|
|
48
75
|
|
|
49
|
-
|
|
76
|
+
**Gemini CLI**
|
|
77
|
+
```bash
|
|
78
|
+
gemini extensions list
|
|
79
|
+
```
|
|
80
|
+
If missing:
|
|
81
|
+
```bash
|
|
82
|
+
gemini extensions install https://github.com/obra/superpowers
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Factory Droid**
|
|
86
|
+
```bash
|
|
87
|
+
droid plugin list
|
|
88
|
+
```
|
|
89
|
+
If missing:
|
|
90
|
+
```bash
|
|
91
|
+
droid plugin marketplace add https://github.com/obra/superpowers
|
|
92
|
+
droid plugin install superpowers@superpowers
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**OpenCode**
|
|
96
|
+
```bash
|
|
97
|
+
# Fetch and follow instructions from:
|
|
98
|
+
# https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.opencode/INSTALL.md
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**Cursor**
|
|
102
|
+
```bash
|
|
103
|
+
/add-plugin superpowers
|
|
104
|
+
```
|
|
105
|
+
Or search "superpowers" in the plugin marketplace.
|
|
106
|
+
|
|
107
|
+
**GitHub Copilot CLI**
|
|
108
|
+
```bash
|
|
109
|
+
copilot plugin list
|
|
110
|
+
```
|
|
111
|
+
If missing:
|
|
112
|
+
```bash
|
|
113
|
+
copilot plugin marketplace add obra/superpowers-marketplace
|
|
114
|
+
copilot plugin install superpowers@superpowers-marketplace
|
|
115
|
+
```
|
|
50
116
|
|
|
51
|
-
|
|
52
|
-
2. **Git URL** — `pi install github:obra/superpowers` if their Pi supports git URLs
|
|
53
|
-
3. **Skip for now** — the closeout workflow still works without Superpowers entry points
|
|
117
|
+
If you are unsure which harness is active, ask the user. Do not guess.
|
|
54
118
|
|
|
55
|
-
|
|
119
|
+
If Superpowers is not installed, explain that the closeout workflow in this package still works, but the upstream Superpowers entry points (`brainstorming`, `test-driven-development`, `subagent-driven-development`) will not be available.
|
|
56
120
|
|
|
57
121
|
### Step 3: Check repo conventions
|
|
58
122
|
|
|
@@ -120,8 +184,8 @@ Seed `AGENTS.md` with a minimal entry pointing at this workflow:
|
|
|
120
184
|
# AGENTS.md
|
|
121
185
|
|
|
122
186
|
This project uses the `@locksmithdon/dons-flow` workflow:
|
|
187
|
+
- Superpowers for design, planning, TDD, and subagent-driven development.
|
|
123
188
|
- RPIV pipeline for discovery, research, design/plan, implement, validate, review, commit.
|
|
124
|
-
- Superpowers-style scope control and verification discipline.
|
|
125
189
|
- `land` skill for 10-step cycle closeout.
|
|
126
190
|
|
|
127
191
|
See `docs/runbooks/` for detailed processes and `docs/memory/` for project context.
|
|
@@ -137,7 +201,7 @@ Setup status for <repo>:
|
|
|
137
201
|
✓ RPIV installed
|
|
138
202
|
✗ @tintinweb/pi-subagents missing — run: pi install npm:@tintinweb/pi-subagents
|
|
139
203
|
✓ Repo conventions created
|
|
140
|
-
|
|
204
|
+
✓ Superpowers detected (Claude Code plugin)
|
|
141
205
|
|
|
142
206
|
Next step: /skill:dons-flow to see the workflow map.
|
|
143
207
|
```
|
|
@@ -145,7 +209,8 @@ Next step: /skill:dons-flow to see the workflow map.
|
|
|
145
209
|
## Anti-patterns
|
|
146
210
|
|
|
147
211
|
- **Creating conventions without asking.** The repo belongs to the team; don't mutate its doc structure unilaterally.
|
|
148
|
-
- **
|
|
212
|
+
- **Guessing the harness.** Always detect or ask which agent harness is in use before giving Superpowers install instructions.
|
|
213
|
+
- **Treating Superpowers as optional decoration.** It is one of the three pillars of this workflow. Detect it accurately and install it if possible.
|
|
149
214
|
- **Installing packages without confirmation.** Present the install commands; let the human run them.
|
|
150
215
|
|
|
151
216
|
## Integration
|