@ggdna/dna-plan 0.4.0 → 0.5.1

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
@@ -6,8 +6,19 @@ repo and the seven layers of product design.
6
6
  ## What it ships
7
7
 
8
8
  - `doc/guides/pm-repo-guide.md` — how a project management (PM) repo is
9
- structured and how tickets and quarters are planned in it; `dna_gg`'s
10
- ticket workflow reads it when present
9
+ structured; how goals and requirements are kept across quarters; and how
10
+ tickets and quarters are planned in it. `dna_gg`'s ticket workflow reads
11
+ it when present
12
+ - `doc/guides/requirements-guide.md` — how the requirements are engineered
13
+ together with the user, before any ticket
14
+ - `doc/guides/schedule-guide.md` — how the requirements are cut into
15
+ tickets, estimated and drawn as a Gantt chart against a target date
16
+ - `CLAUDE.md` — tells the AI to engineer the requirements first and to
17
+ offer a time plan; it lands in the managed block of the project's
18
+ `CLAUDE.md` next to the ones of the other layers (helix 1.13 or newer)
19
+ - Skills: `/plan-intro` lists the planning skills and names the next
20
+ step, `/plan-requirements` runs the requirements engineering,
21
+ `/plan-schedule` the time plan
11
22
 
12
23
  The guide plans with the seven layers of product design. Their guides and
13
24
  the `/layers-*` skills live in
package/dna/CLAUDE.md ADDED
@@ -0,0 +1,17 @@
1
+ # Planning
2
+
3
+ Projects are planned in a project management repo; its structure and the
4
+ planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
5
+
6
+ - Engineer the requirements before the tickets. If `doc/requirements` is
7
+ empty or no accepted requirement covers the work, run
8
+ `/plan-requirements` with the user first, and plan or create tickets
9
+ only after that
10
+ - Engineer requirements interactively: one question at a time, with
11
+ proposals the user confirms, changes or rejects. Never write a
12
+ requirement the user has not confirmed
13
+ - When the user names a target date or asks how long the work takes,
14
+ offer `/plan-schedule`: it cuts the requirements into tickets, estimates
15
+ them and draws the plan as a Gantt chart in `doc/schedule.md`
16
+
17
+ `/plan-intro` lists the planning skills and says which one comes next.
@@ -5,7 +5,7 @@
5
5
  "name": "base",
6
6
  "package": "helix",
7
7
  "ecosystem": null,
8
- "resolvedVersion": "1.12.0",
8
+ "resolvedVersion": "1.13.0",
9
9
  "via": null,
10
10
  "hash": "0x6883da335b415f9d"
11
11
  },
@@ -15,19 +15,39 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0x050c94df62fad03d"
18
+ "hash": "0x446f78e7872193bf"
19
19
  }
20
20
  ],
21
21
  "claude": {
22
22
  "claudeMdInclude": null,
23
- "claudeMdFromDna": false
23
+ "claudeMdFromDna": true
24
24
  },
25
- "baseVersion": "1.12.0",
25
+ "baseVersion": "1.13.0",
26
26
  "baseHash": "0x6883da335b415f9d",
27
27
  "instances": [
28
+ {
29
+ "path": ".claude/skills/plan-intro/SKILL.md",
30
+ "hash": "0x65225183ce93e2cc"
31
+ },
32
+ {
33
+ "path": ".claude/skills/plan-requirements/SKILL.md",
34
+ "hash": "0x49c13077aaea5d83"
35
+ },
36
+ {
37
+ "path": ".claude/skills/plan-schedule/SKILL.md",
38
+ "hash": "0xa1221150dc0be4d6"
39
+ },
28
40
  {
29
41
  "path": "doc/guides/pm-repo-guide.md",
30
- "hash": "0x8cd91066191b6005"
42
+ "hash": "0x7a39f731f44bb4ac"
43
+ },
44
+ {
45
+ "path": "doc/guides/requirements-guide.md",
46
+ "hash": "0x37887352f57655a2"
47
+ },
48
+ {
49
+ "path": "doc/guides/schedule-guide.md",
50
+ "hash": "0x03cd322393ddfe8d"
31
51
  }
32
52
  ]
33
53
  }
@@ -10,19 +10,25 @@ found in the LICENSE file in the root of this package.
10
10
 
11
11
  ## Know what a PM repo is
12
12
 
13
- - A project management (PM) repo holds the goals, concepts, plans,
14
- decisions and blog posts of a project — no code
13
+ - A project management (PM) repo holds the goals, requirements, concepts,
14
+ plans, schedule, decisions and blog posts of a project — no code
15
15
  - Every ticket belongs to exactly one PM repo. Add it to the ticket before
16
16
  any code repo (see the `gg` development guide)
17
17
  - A ticket that is only planned ends with the PM repo alone
18
+ - Requirements come before tickets: engineer them with the user first, see
19
+ [Engineer the requirements first](#engineer-the-requirements-first)
18
20
 
19
21
  ## Structure the repo like this
20
22
 
21
23
  ```text
22
24
  root
23
25
  |-doc
26
+ | |-goals
27
+ | | |-results-without-desktop-software.md
28
+ | |-requirements
29
+ | | |-results.md
30
+ | |-schedule.md
24
31
  | |-2026-Q3
25
- | | |-goals
26
32
  | | |-concepts
27
33
  | | | |-topics
28
34
  | | | |-decisions
@@ -41,10 +47,16 @@ root
41
47
  |-README.md
42
48
  ```
43
49
 
44
- - `README.md` names the project and links to the current quarter
50
+ - `README.md` names the project and links to the current quarter, the
51
+ active goals and the requirements
52
+ - `goals` — what the project wants to achieve and for whom; one file per
53
+ goal, kept across quarters, see below
54
+ - `requirements` — what the product must do or be; one file per area,
55
+ kept across quarters, see below
56
+ - `schedule.md` — the time plan as a Gantt chart, kept across quarters;
57
+ optional, see [Plan the time](#plan-the-time)
45
58
  - `doc/<yyyy>-Q<n>` holds one folder per quarter; start a new one at the
46
59
  start of a quarter, do not move old files
47
- - `goals` — what the quarter is meant to achieve; one file per goal
48
60
  - `concepts` — what the product is and why, see below
49
61
  - `architecture` — the target picture of the system: `architecture.md`
50
62
  plus diagrams in `img` as mermaid `.mmd` files
@@ -53,9 +65,93 @@ root
53
65
  - `blog` — one post per finished ticket; exists only if the repo has
54
66
  `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
55
67
 
68
+ ## Tell goals and requirements apart
69
+
70
+ - A goal says **why** and **for whom**: an outcome the project wants, e.g.
71
+ "clubs evaluate their races without desktop software". It leaves open how
72
+ it is reached and is done when the outcome is there
73
+ - A requirement says **what** the product must do or be: a testable
74
+ statement about the system, e.g. "the result list is ready two seconds
75
+ after the last finisher". It says nothing about how it is built and holds
76
+ until it is changed or dropped
77
+ - A ticket says **how** and **when**: one step that fulfils requirements in
78
+ service of a goal
79
+ - Topics hold the problem space — evidence and user needs. Requirements are
80
+ the commitments derived from them; do not write requirements into topics
81
+ - Goals and requirements outlive quarters: a goal may take several quarters,
82
+ a requirement holds for as long as the product does. That is why they do
83
+ not live in the quarter folders
84
+
85
+ ## Write the goals
86
+
87
+ - Create `doc/goals/<title>.md`, title in English kebab case
88
+ - Use these sections, in this order:
89
+
90
+ ```markdown
91
+ # <Title>
92
+
93
+ ## Status
94
+
95
+ ## Outcome
96
+
97
+ ## Measure
98
+
99
+ ## Requirements
100
+ ```
101
+
102
+ - `Status` — `proposed`, `active`, `reached` or `dropped`, plus the
103
+ quarters the goal was worked on, e.g. `active since 2026-Q3`. A goal is
104
+ `proposed` until the team confirms it
105
+ - `Outcome` — one paragraph: what changes, for whom, and why it matters
106
+ - `Measure` — how we know the goal is reached
107
+ - `Requirements` — links to the requirements derived from the goal
108
+ - Never delete a goal; set it to `reached` or `dropped` and say why
109
+
110
+ ## Write the requirements
111
+
112
+ - Group requirements by area of the product, one file per area:
113
+ `doc/requirements/<area>.md`, area in English kebab case
114
+ - Give each requirement an ID `req-<area>-<nnn>`, e.g. `req-results-001`;
115
+ the prefix keeps it apart from decision IDs. Never reuse or renumber an
116
+ ID
117
+ - Write each requirement as its own section:
118
+
119
+ ```markdown
120
+ ## req-results-001: Result list right after the race
121
+
122
+ - Status: accepted
123
+ - Priority: must
124
+ - Statement: The result list is ready two seconds after the last finisher
125
+ - Why: [results without desktop software](../goals/results-without-desktop-software.md),
126
+ topic `timing`
127
+ - Acceptance: a race with 500 finishers shows the list within two seconds
128
+ ```
129
+
130
+ - `Status` — `proposed`, `accepted`, `done` or `dropped`
131
+ - `Priority` — `must`, `should` or `could`; what is not wanted at all is
132
+ `dropped`
133
+ - `Statement` — one sentence on what the product must do or be, never how
134
+ - `Why` — the goal it serves and the topic it comes from
135
+ - `Acceptance` — the checks that prove it; one bullet per check if needed
136
+ - Change a requirement in place and say what changed and when; a requirement
137
+ that is replaced is set to `dropped` and links its successor
138
+ - A broken `done` requirement is a bug, not a new requirement
139
+
140
+ ## Engineer the requirements first
141
+
142
+ - Find the goals and requirements together with the user, one question at
143
+ a time and with proposals: the
144
+ [requirements guide](requirements-guide.md) says how, `/plan-requirements`
145
+ runs it
146
+ - Do it before the first ticket, whenever `doc/requirements` is empty, and
147
+ whenever the work of a ticket is not covered by an accepted requirement
148
+ - Plan and create tickets only after that. Bug tickets are the exception:
149
+ they name their bug file instead
150
+ - `/plan-intro` lists the planning skills and says which one comes next
151
+
56
152
  ## Fill the concepts folder
57
153
 
58
- - `topics` — one file per product topic: evidence, use cases, requirements,
154
+ - `topics` — one file per product topic: evidence, use cases, user needs,
59
155
  what was tried and what holds; the place for problem-space knowledge
60
156
  - `decisions` — one file per decision, `<area>-<nnn>.md`, e.g.
61
157
  `design-001.md`; `000-index.md` lists all decisions with ID, status,
@@ -89,7 +185,7 @@ root
89
185
  - Add the ticket ID in lower case: `cdm-1317`
90
186
  - Finish with the title in English kebab case:
91
187
  `2026-09-10-cdm-1317-infrastructure-discovery-server.md`
92
- - Name goals, topics, ux files, architecture files and diagrams by their
188
+ - Name goals, requirement areas, topics, ux files, architecture files and diagrams by their
93
189
  topic, in English kebab case
94
190
 
95
191
  ## Use the design layers
@@ -101,13 +197,14 @@ root
101
197
  it names the layer that needs attention first
102
198
  - Write the residue of each layer into the PM repo:
103
199
 
104
- | Layer | Lands in |
105
- | -------------------------------------- | ----------------------------- |
106
- | Observed behaviour, domain, user needs | `concepts/topics` |
107
- | Product strategy | `goals` |
108
- | Conceptual model, interaction flow | `concepts/ux`, `architecture` |
109
- | Surface | `concepts/ux` |
110
- | Every decision made on the way | `concepts/decisions` |
200
+ | Layer | Lands in |
201
+ | ----------------------------------------- | ----------------------------- |
202
+ | Observed behaviour, domain, user needs | `concepts/topics` |
203
+ | Product strategy | `goals` |
204
+ | What the needs and the strategy commit to | `requirements` |
205
+ | Conceptual model, interaction flow | `concepts/ux`, `architecture` |
206
+ | Surface | `concepts/ux` |
207
+ | Every decision made on the way | `concepts/decisions` |
111
208
 
112
209
  - Do not plan a ticket on a layer whose foundations are weak; plan the
113
210
  foundation first, or say plainly that the ticket is a bet
@@ -115,7 +212,11 @@ root
115
212
  ## Plan a ticket
116
213
 
117
214
  Set the goal: one paragraph on what is achieved and for whom, and which
118
- goal of the quarter it serves.
215
+ goal of the project it serves.
216
+
217
+ List the requirements the ticket fulfils by ID. If no accepted requirement
218
+ covers the work, stop and engineer the requirements with the user first,
219
+ see [Engineer the requirements first](#engineer-the-requirements-first).
119
220
 
120
221
  Name the affected repos and what changes in each one.
121
222
 
@@ -123,7 +224,7 @@ List the rough steps in order; one line per step.
123
224
 
124
225
  Collect the open questions; decide them with the user before implementing.
125
226
 
126
- Link the decisions and topics the plan rests on.
227
+ Link the goals, requirements, decisions and topics the plan rests on.
127
228
 
128
229
  Let the user review the plan and revise it until they confirm it.
129
230
 
@@ -137,6 +238,8 @@ Let the user review the plan and revise it until they confirm it.
137
238
 
138
239
  ## Goal
139
240
 
241
+ ## Requirements
242
+
140
243
  ## Affected repos
141
244
 
142
245
  ## Steps
@@ -153,14 +256,35 @@ Let the user review the plan and revise it until they confirm it.
153
256
  - Update the plan when the implementation deviates from it
154
257
  - Move answered questions from `Open questions` into the plan or into a
155
258
  decision file
259
+ - Set the requirements the ticket fulfilled to `done` when it is finished
260
+ - Mark the ticket `done` in `doc/schedule.md`, if the project has one
156
261
  - Reference the plan from the blog post that closes the ticket
157
262
  - Keep the file: the plan documents why things are the way they are
158
263
 
264
+ ## Plan the time
265
+
266
+ - A time plan is optional; make one when the user wants it or names a
267
+ target date for the project
268
+ - The [schedule guide](schedule-guide.md) says how, `/plan-schedule` runs
269
+ it: it asks for the target date and the capacity, cuts the accepted
270
+ requirements into tickets, estimates each one and draws the plan as a
271
+ Gantt chart in `doc/schedule.md`
272
+ - Plan the time only on accepted requirements
273
+
159
274
  ## Plan a quarter
160
275
 
161
- Write the goals of the quarter into `goals`, one file per goal.
276
+ Choose the goals the quarter works on: add new ones to `doc/goals`, add
277
+ the quarter to the status of goals carried over, and set goals to
278
+ `reached` or `dropped` when they are.
279
+
280
+ Derive the requirements from the goals and the topics together with the
281
+ user; add new ones and change the ones the goals change.
162
282
 
163
283
  Update `architecture/architecture.md` when a goal changes the target
164
284
  picture.
165
285
 
166
- Derive tickets from the goals; each ticket names the goal it serves.
286
+ Derive tickets from the requirements; each ticket names the goal it serves
287
+ and the requirements it fulfils.
288
+
289
+ Update `doc/schedule.md`, if the project has one, and check the forecast
290
+ against the target date.
@@ -0,0 +1,98 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) dnaCopyrightHolder
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Requirements engineering guide
10
+
11
+ How the requirements of a project are found together with the user. Where
12
+ they are written and what a requirement looks like is in the
13
+ [PM repo guide](pm-repo-guide.md#write-the-requirements).
14
+
15
+ ## Know when to engineer requirements
16
+
17
+ - Before the first ticket of a project
18
+ - Before any ticket whose work no accepted requirement covers
19
+ - When `doc/requirements` is missing or empty
20
+ - When a goal is added or changed
21
+ - When the user asks for it
22
+
23
+ Tickets come after the requirements: plan a ticket only on accepted
24
+ requirements. Bug tickets are the exception, they name their bug file.
25
+
26
+ ## Work with the user, not for them
27
+
28
+ - Ask one question at a time and give the user a single input per answer
29
+ - Propose instead of asking blank: offer two to four candidate answers
30
+ drawn from the goals, topics, code and earlier answers, and leave room
31
+ for a free answer
32
+ - Say what each proposal rests on, so the user can correct the source
33
+ - Write nothing the user has not confirmed. Keep unconfirmed candidates as
34
+ `proposed` only when the user wants to come back to them
35
+ - Challenge vague answers: ask for a number, an example or a check
36
+ - Stop after each area, sum up what was agreed and ask whether to go on
37
+ - Talk to the user in their language; write the files in the language the
38
+ repo already uses
39
+
40
+ ## Run the session
41
+
42
+ 1. Read the PM repo: `README.md`, `doc/goals`, `doc/requirements` and the
43
+ current quarter's topics, ux files, decisions and architecture
44
+ 2. Goals: if there is no active goal, find one first — the outcome, for
45
+ whom, and how we know it is reached — and write it to `doc/goals`. Ask
46
+ which goals the session serves, and whether `proposed` goals are
47
+ confirmed
48
+ 3. People: who uses the product, who operates it, who pays, who else is
49
+ affected. Confirm the list
50
+ 4. Scenarios: walk through the main scenarios of each goal with the user,
51
+ step by step. Propose them from the topics when they exist
52
+ 5. Functional requirements: derive candidates from each scenario step,
53
+ group them by area and let the user confirm, change or reject each one
54
+ 6. Quality requirements: go through the list below and ask only for the
55
+ points that matter to this product
56
+ 7. Constraints: fixed technologies, platforms, deadlines, budgets, laws.
57
+ Write them as requirements of the area `constraints`
58
+ 8. Acceptance: propose the checks that prove each requirement and let the
59
+ user confirm them
60
+ 9. Priority: let the user mark each requirement `must`, `should` or
61
+ `could`. Push back when everything is `must`
62
+ 10. Check the set, see below, and raise each finding as a question
63
+ 11. Write the requirement files, link them from the goals and sum up: what
64
+ is new, what is still `proposed`, and what comes next — the tickets,
65
+ or `/plan-schedule` for a time plan
66
+
67
+ ## Ask for the quality requirements
68
+
69
+ | Area | Ask about |
70
+ | ------------- | ------------------------------------------------ |
71
+ | Performance | Response times, volumes, peak load |
72
+ | Availability | Uptime, offline use, recovery after failure |
73
+ | Security | Who may do what, authentication, attacks |
74
+ | Privacy | Personal data, consent, retention, law (GDPR) |
75
+ | Platforms | Devices, operating systems, browsers |
76
+ | Accessibility | Screen readers, contrast, keyboard use |
77
+ | Languages | Languages, formats of dates, numbers, currencies |
78
+ | Operation | Deployment, monitoring, backups, updates |
79
+ | Compatibility | Interfaces, data formats, migration of old data |
80
+ | Cost | Hosting, licences, maintenance effort |
81
+
82
+ ## Check the set
83
+
84
+ - Testable — the acceptance checks can actually be run
85
+ - One thing — no "and" that joins two needs
86
+ - What, not how — no technology unless it is a constraint
87
+ - Unambiguous — no "fast", "easy" or "user-friendly" without a number or
88
+ a check
89
+ - Traceable — names the goal it serves and the topic it comes from
90
+ - Consistent — contradicts no other requirement and no decision
91
+ - Complete — every goal's measure and every scenario step is covered
92
+
93
+ ## Change requirements later
94
+
95
+ - Change them the same way: interactively, with the user's confirmation
96
+ - Note in the requirement what changed, when and why
97
+ - Name the tickets and the schedule entries that rest on a changed
98
+ requirement, so the user can re-plan them
@@ -0,0 +1,134 @@
1
+ <!--
2
+ @license
3
+ Copyright (c) dnaCopyrightHolder
4
+
5
+ Use of this source code is governed by terms that can be
6
+ found in the LICENSE file in the root of this package.
7
+ -->
8
+
9
+ # Schedule guide
10
+
11
+ How the time plan of a project is made: the requirements are cut into
12
+ tickets, each ticket is estimated, and the result is drawn as a Gantt
13
+ chart.
14
+
15
+ ## Know what the schedule is
16
+
17
+ - One file for the whole project, kept across quarters:
18
+ `doc/schedule.md`
19
+ - A forecast, not a promise: it shows when the work is likely done and
20
+ whether a target date holds
21
+ - Optional: a project plans with it only when the user wants one
22
+ - It rests on accepted requirements. Without them, run
23
+ `/plan-requirements` first
24
+
25
+ ## Set the frame with the user
26
+
27
+ Ask one question at a time and propose a default each time:
28
+
29
+ - Target date — optional. Without one, plan forward from the start and
30
+ report the end date that results
31
+ - Start — default: the next working day
32
+ - Capacity — who works on the project and how many days per week
33
+ - Blocked times — holidays, vacations, other projects
34
+ - Scope — which goals; default: all active ones
35
+
36
+ ## Cut the work into tickets
37
+
38
+ - Group the accepted requirements that are not `done` into tickets. One
39
+ ticket is one step that can be delivered on its own, ideally one to five
40
+ working days; split bigger ones
41
+ - Give each planned ticket a title in English kebab case, the
42
+ requirements it fulfils, the repos it will likely touch and the tickets
43
+ it waits for
44
+ - Add the work no requirement names but the plan needs: setup,
45
+ migrations, releases, documentation
46
+ - Reuse existing ticket files with their IDs. A planned ticket gets a
47
+ ticket file only when it is planned for real, see the
48
+ [PM repo guide](pm-repo-guide.md#plan-a-ticket)
49
+
50
+ ## Estimate each ticket
51
+
52
+ - Estimate in working days of one person: optimistic `o`, likely `l`,
53
+ pessimistic `p`
54
+ - Expected duration: `(o + 4 * l + p) / 6`, rounded up to half days
55
+ - Base the numbers on the requirements, the code repos (their `index.md`)
56
+ and finished tickets of the past, and say what each one rests on
57
+ - Add a buffer of 20 % of the expected sum as a bar of its own at the end;
58
+ never hide buffer inside the tickets
59
+ - Show the estimates to the user before drawing the chart. Their numbers
60
+ win
61
+
62
+ ## Lay out the plan
63
+
64
+ - Order the tickets by what they wait for, then by priority: `must`
65
+ before `should` before `could`
66
+ - Work tickets in parallel only when more than one person is available
67
+ - With less than five days per week, stretch each duration accordingly:
68
+ three days per week turn five working days into a bit more than eight
69
+ calendar working days
70
+ - Leave out weekends and blocked times
71
+ - Compare the end with the target date. If the `must` tickets and the
72
+ buffer do not fit, say so plainly and offer options: move `could` and
73
+ `should` tickets behind the date, move the date, add capacity, or cut a
74
+ requirement. The user decides; never shrink estimates to make the plan
75
+ fit
76
+
77
+ ## Write the schedule
78
+
79
+ Use this template:
80
+
81
+ ````markdown
82
+ # Schedule
83
+
84
+ ## Frame
85
+
86
+ - Target date: 2026-12-18
87
+ - Start: 2026-11-02
88
+ - Capacity: one developer, four days per week
89
+ - Forecast: done by 2026-11-30, 14 working days before the target date
90
+
91
+ ## Gantt
92
+
93
+ ```mermaid
94
+ gantt
95
+ title Race timing
96
+ dateFormat YYYY-MM-DD
97
+ excludes weekends
98
+ section Results without desktop software
99
+ Import race data :import, 2026-11-02, 7d
100
+ Result list :list, after import, 10d
101
+ section Release
102
+ Buffer :buffer, after list, 4d
103
+ Target date :milestone, target, 2026-12-18, 0d
104
+ ```
105
+
106
+ ## Tickets
107
+
108
+ | Ticket | Requirements | o / l / p | Expected | After |
109
+ | ---------------- | --------------- | ---------- | -------- | ------ |
110
+ | import-race-data | req-results-002 | 3 / 5 / 8 | 5.5 d | — |
111
+ | result-list | req-results-001 | 5 / 7 / 12 | 7.5 d | import |
112
+
113
+ ## History
114
+
115
+ - 2026-10-19: first plan
116
+ ````
117
+
118
+ - One section per goal, one bar per ticket. The bar ID is a short form of
119
+ the ticket title, so `after` can refer to it
120
+ - Bar length: the expected duration, stretched to the capacity and
121
+ rounded up to whole days
122
+ - Mark finished tickets `done` and running ones `active`, e.g.
123
+ `Import race data :done, import, 2026-11-02, 7d`
124
+ - One `milestone` at the target date, if there is one
125
+
126
+ ## Keep it alive
127
+
128
+ - Update the schedule when a ticket is finished: mark it `done` and note
129
+ how long it really took
130
+ - Re-plan when estimates prove wrong, requirements change or the capacity
131
+ changes, and update the forecast
132
+ - Never rewrite the history: add a line with the date, what changed and
133
+ why
134
+ - Check the forecast against the target date at every quarter planning
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: plan-intro
3
+ description: Lists the planning skills of the project management repo and says which one comes next. Use when the user says "/plan-intro", asks how to plan the project, or asks what comes before the tickets.
4
+ ---
5
+
6
+ # The planning skills
7
+
8
+ Print the list below, in this order — it is the order in which a project
9
+ is planned.
10
+
11
+ - `/plan-requirements` — engineers the goals and requirements together
12
+ with the user, one question at a time
13
+ - `/plan-schedule` — cuts the requirements into tickets, estimates them
14
+ and draws the time plan as a Gantt chart, optionally against a target
15
+ date
16
+
17
+ The tickets come after the requirements; the `gg` workflow creates them
18
+ (`/gg-ticket`, if the repo has it).
19
+
20
+ ## Say which skill comes next
21
+
22
+ Read `doc/goals`, `doc/requirements` and `doc/schedule.md` and name the
23
+ next step:
24
+
25
+ - No active goal or no accepted requirement → `/plan-requirements`
26
+ - Requirements, but the work at hand is not covered by them →
27
+ `/plan-requirements`
28
+ - Requirements, no schedule, and the user wants a time plan or names a
29
+ target date → `/plan-schedule`
30
+ - Requirements accepted → plan the tickets
31
+
32
+ ## Important
33
+
34
+ - Only list the skills, never run one of them unasked.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: plan-requirements
3
+ description: Engineers the goals and requirements of the project interactively with the user and writes them to doc/goals and doc/requirements. Use when the user says "/plan-requirements", wants to find or change requirements, or before the first ticket when no accepted requirement covers the work.
4
+ ---
5
+
6
+ # /plan-requirements
7
+
8
+ Read [requirements-guide.md](../../../doc/guides/requirements-guide.md) and
9
+ run the session by it. The format of goal and requirement files is in
10
+ [pm-repo-guide.md](../../../doc/guides/pm-repo-guide.md#write-the-goals).
11
+
12
+ ## Important
13
+
14
+ - One question at a time, each with proposals and room for a free answer
15
+ - Write only what the user confirmed
16
+ - Create no ticket in this skill; name the next step at the end
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: plan-schedule
3
+ description: Plans the time of the project - asks for a target date and the capacity, cuts the accepted requirements into tickets, estimates each one and writes a Gantt chart to doc/schedule.md. Use when the user says "/plan-schedule", asks how long the project takes, wants a time plan or Gantt chart, or names a target date.
4
+ ---
5
+
6
+ # /plan-schedule
7
+
8
+ Read [schedule-guide.md](../../../doc/guides/schedule-guide.md) and work
9
+ by it.
10
+
11
+ ## Important
12
+
13
+ - Without accepted requirements, stop and offer `/plan-requirements`
14
+ - Ask for the frame one question at a time, with a default each time
15
+ - Show the estimates before drawing the chart; the user's numbers win
16
+ - Never shrink estimates to meet the target date — show the options
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "0.4.0",
4
- "description": "DNA layer: how a project is planned - the structure of a project management repo, its concepts, tickets and quarters, and where design results land",
3
+ "version": "0.5.1",
4
+ "description": "DNA layer: how a project is planned - the structure of a project management repo, its goals, requirements, concepts, tickets and quarters",
5
5
  "keywords": [
6
6
  "dna",
7
7
  "helix",