@ggdna/dna-plan 0.3.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/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.7.1",
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": "0x78d3445b36b4f971"
18
+ "hash": "0xa93bd0bf1acd2043"
19
19
  }
20
20
  ],
21
21
  "claude": {
22
22
  "claudeMdInclude": null,
23
- "claudeMdFromDna": false
23
+ "claudeMdFromDna": true
24
24
  },
25
- "baseVersion": "1.7.1",
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": "0x66a632935e525acf"
42
+ "hash": "0x4107a028cbf84fc6"
43
+ },
44
+ {
45
+ "path": "doc/guides/requirements-guide.md",
46
+ "hash": "0x48b21d556f927b0a"
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,21 +47,110 @@ 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
51
63
  - `tickets` — one plan file per ticket
52
64
  - `bugs` — one file per bug; a bug turns into a ticket once it is planned
53
- - `blog` — one post per finished ticket; exists only if the repo has the
54
- `dna_blog` layer, see below
65
+ - `blog` — one post per finished ticket; exists only if the repo has
66
+ `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
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` — `active`, `reached` or `dropped`, plus the quarters the goal
103
+ was worked on, e.g. `active since 2026-Q3`
104
+ - `Outcome` — one paragraph: what changes, for whom, and why it matters
105
+ - `Measure` — how we know the goal is reached
106
+ - `Requirements` — links to the requirements derived from the goal
107
+ - Never delete a goal; set it to `reached` or `dropped` and say why
108
+
109
+ ## Write the requirements
110
+
111
+ - Group requirements by area of the product, one file per area:
112
+ `doc/requirements/<area>.md`, area in English kebab case
113
+ - Give each requirement an ID `req-<area>-<nnn>`, e.g. `req-results-001`;
114
+ the prefix keeps it apart from decision IDs. Never reuse or renumber an
115
+ ID
116
+ - Write each requirement as its own section:
117
+
118
+ ```markdown
119
+ ## req-results-001: Result list right after the race
120
+
121
+ - Status: accepted
122
+ - Priority: must
123
+ - Statement: The result list is ready two seconds after the last finisher
124
+ - Why: [results without desktop software](../goals/results-without-desktop-software.md),
125
+ topic `timing`
126
+ - Acceptance: a race with 500 finishers shows the list within two seconds
127
+ ```
128
+
129
+ - `Status` — `proposed`, `accepted`, `done` or `dropped`
130
+ - `Priority` — `must`, `should` or `could`; what is not wanted at all is
131
+ `dropped`
132
+ - `Statement` — one sentence on what the product must do or be, never how
133
+ - `Why` — the goal it serves and the topic it comes from
134
+ - `Acceptance` — the checks that prove it; one bullet per check if needed
135
+ - Change a requirement in place and say what changed and when; a requirement
136
+ that is replaced is set to `dropped` and links its successor
137
+ - A broken `done` requirement is a bug, not a new requirement
138
+
139
+ ## Engineer the requirements first
140
+
141
+ - Find the goals and requirements together with the user, one question at
142
+ a time and with proposals: the
143
+ [requirements guide](requirements-guide.md) says how, `/plan-requirements`
144
+ runs it
145
+ - Do it before the first ticket, whenever `doc/requirements` is empty, and
146
+ whenever the work of a ticket is not covered by an accepted requirement
147
+ - Plan and create tickets only after that. Bug tickets are the exception:
148
+ they name their bug file instead
149
+ - `/plan-intro` lists the planning skills and says which one comes next
55
150
 
56
151
  ## Fill the concepts folder
57
152
 
58
- - `topics` — one file per product topic: evidence, use cases, requirements,
153
+ - `topics` — one file per product topic: evidence, use cases, user needs,
59
154
  what was tried and what holds; the place for problem-space knowledge
60
155
  - `decisions` — one file per decision, `<area>-<nnn>.md`, e.g.
61
156
  `design-001.md`; `000-index.md` lists all decisions with ID, status,
@@ -69,10 +164,19 @@ root
69
164
 
70
165
  ## Write blog posts
71
166
 
72
- - Write a post only if the repo has the `dna_blog` layer; follow its blog
73
- guide for content and template
167
+ - Write a post only if `doc/guides/blog-guide.md` exists; it comes from the
168
+ `dna_blog` layer. Without it, write no post and skip the rest of this
169
+ section
170
+ - Follow the blog guide for content and template
74
171
  - Put the post into `doc/blog/<yyyy>` of the PM repo, one folder per year
75
172
  - Name it `<yyyy>-<mm>-<dd>-<title>.md`, title in English kebab case
173
+ - One post may cover all repos of the ticket that belong to the
174
+ organization of the PM repo
175
+ - Write only knowledge of the organization of the PM repo
176
+ - Leave out repos of other organizations in the ocean, even when they took
177
+ part in the ticket. Name them only as updated dependencies: public package
178
+ name, version and what the update means for this organization's repos;
179
+ never their tickets, plans or internals
76
180
 
77
181
  ## Name the files
78
182
 
@@ -80,7 +184,7 @@ root
80
184
  - Add the ticket ID in lower case: `cdm-1317`
81
185
  - Finish with the title in English kebab case:
82
186
  `2026-09-10-cdm-1317-infrastructure-discovery-server.md`
83
- - Name goals, topics, ux files, architecture files and diagrams by their
187
+ - Name goals, requirement areas, topics, ux files, architecture files and diagrams by their
84
188
  topic, in English kebab case
85
189
 
86
190
  ## Use the design layers
@@ -92,13 +196,14 @@ root
92
196
  it names the layer that needs attention first
93
197
  - Write the residue of each layer into the PM repo:
94
198
 
95
- | Layer | Lands in |
96
- | -------------------------------------- | ----------------------------- |
97
- | Observed behaviour, domain, user needs | `concepts/topics` |
98
- | Product strategy | `goals` |
99
- | Conceptual model, interaction flow | `concepts/ux`, `architecture` |
100
- | Surface | `concepts/ux` |
101
- | Every decision made on the way | `concepts/decisions` |
199
+ | Layer | Lands in |
200
+ | ----------------------------------------- | ----------------------------- |
201
+ | Observed behaviour, domain, user needs | `concepts/topics` |
202
+ | Product strategy | `goals` |
203
+ | What the needs and the strategy commit to | `requirements` |
204
+ | Conceptual model, interaction flow | `concepts/ux`, `architecture` |
205
+ | Surface | `concepts/ux` |
206
+ | Every decision made on the way | `concepts/decisions` |
102
207
 
103
208
  - Do not plan a ticket on a layer whose foundations are weak; plan the
104
209
  foundation first, or say plainly that the ticket is a bet
@@ -106,7 +211,11 @@ root
106
211
  ## Plan a ticket
107
212
 
108
213
  Set the goal: one paragraph on what is achieved and for whom, and which
109
- goal of the quarter it serves.
214
+ goal of the project it serves.
215
+
216
+ List the requirements the ticket fulfils by ID. If no accepted requirement
217
+ covers the work, stop and engineer the requirements with the user first,
218
+ see [Engineer the requirements first](#engineer-the-requirements-first).
110
219
 
111
220
  Name the affected repos and what changes in each one.
112
221
 
@@ -114,7 +223,7 @@ List the rough steps in order; one line per step.
114
223
 
115
224
  Collect the open questions; decide them with the user before implementing.
116
225
 
117
- Link the decisions and topics the plan rests on.
226
+ Link the goals, requirements, decisions and topics the plan rests on.
118
227
 
119
228
  Let the user review the plan and revise it until they confirm it.
120
229
 
@@ -128,6 +237,8 @@ Let the user review the plan and revise it until they confirm it.
128
237
 
129
238
  ## Goal
130
239
 
240
+ ## Requirements
241
+
131
242
  ## Affected repos
132
243
 
133
244
  ## Steps
@@ -144,14 +255,35 @@ Let the user review the plan and revise it until they confirm it.
144
255
  - Update the plan when the implementation deviates from it
145
256
  - Move answered questions from `Open questions` into the plan or into a
146
257
  decision file
258
+ - Set the requirements the ticket fulfilled to `done` when it is finished
259
+ - Mark the ticket `done` in `doc/schedule.md`, if the project has one
147
260
  - Reference the plan from the blog post that closes the ticket
148
261
  - Keep the file: the plan documents why things are the way they are
149
262
 
263
+ ## Plan the time
264
+
265
+ - A time plan is optional; make one when the user wants it or names a
266
+ target date for the project
267
+ - The [schedule guide](schedule-guide.md) says how, `/plan-schedule` runs
268
+ it: it asks for the target date and the capacity, cuts the accepted
269
+ requirements into tickets, estimates each one and draws the plan as a
270
+ Gantt chart in `doc/schedule.md`
271
+ - Plan the time only on accepted requirements
272
+
150
273
  ## Plan a quarter
151
274
 
152
- Write the goals of the quarter into `goals`, one file per goal.
275
+ Choose the goals the quarter works on: add new ones to `doc/goals`, add
276
+ the quarter to the status of goals carried over, and set goals to
277
+ `reached` or `dropped` when they are.
278
+
279
+ Derive the requirements from the goals and the topics together with the
280
+ user; add new ones and change the ones the goals change.
153
281
 
154
282
  Update `architecture/architecture.md` when a goal changes the target
155
283
  picture.
156
284
 
157
- Derive tickets from the goals; each ticket names the goal it serves.
285
+ Derive tickets from the requirements; each ticket names the goal it serves
286
+ and the requirements it fulfils.
287
+
288
+ Update `doc/schedule.md`, if the project has one, and check the forecast
289
+ against the target date.
@@ -0,0 +1,97 @@
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
47
+ 3. People: who uses the product, who operates it, who pays, who else is
48
+ affected. Confirm the list
49
+ 4. Scenarios: walk through the main scenarios of each goal with the user,
50
+ step by step. Propose them from the topics when they exist
51
+ 5. Functional requirements: derive candidates from each scenario step,
52
+ group them by area and let the user confirm, change or reject each one
53
+ 6. Quality requirements: go through the list below and ask only for the
54
+ points that matter to this product
55
+ 7. Constraints: fixed technologies, platforms, deadlines, budgets, laws.
56
+ Write them as requirements of the area `constraints`
57
+ 8. Acceptance: propose the checks that prove each requirement and let the
58
+ user confirm them
59
+ 9. Priority: let the user mark each requirement `must`, `should` or
60
+ `could`. Push back when everything is `must`
61
+ 10. Check the set, see below, and raise each finding as a question
62
+ 11. Write the requirement files, link them from the goals and sum up: what
63
+ is new, what is still `proposed`, and what comes next — the tickets,
64
+ or `/plan-schedule` for a time plan
65
+
66
+ ## Ask for the quality requirements
67
+
68
+ | Area | Ask about |
69
+ | ------------- | ------------------------------------------------ |
70
+ | Performance | Response times, volumes, peak load |
71
+ | Availability | Uptime, offline use, recovery after failure |
72
+ | Security | Who may do what, authentication, attacks |
73
+ | Privacy | Personal data, consent, retention, law (GDPR) |
74
+ | Platforms | Devices, operating systems, browsers |
75
+ | Accessibility | Screen readers, contrast, keyboard use |
76
+ | Languages | Languages, formats of dates, numbers, currencies |
77
+ | Operation | Deployment, monitoring, backups, updates |
78
+ | Compatibility | Interfaces, data formats, migration of old data |
79
+ | Cost | Hosting, licences, maintenance effort |
80
+
81
+ ## Check the set
82
+
83
+ - Testable — the acceptance checks can actually be run
84
+ - One thing — no "and" that joins two needs
85
+ - What, not how — no technology unless it is a constraint
86
+ - Unambiguous — no "fast", "easy" or "user-friendly" without a number or
87
+ a check
88
+ - Traceable — names the goal it serves and the topic it comes from
89
+ - Consistent — contradicts no other requirement and no decision
90
+ - Complete — every goal's measure and every scenario step is covered
91
+
92
+ ## Change requirements later
93
+
94
+ - Change them the same way: interactively, with the user's confirmation
95
+ - Note in the requirement what changed, when and why
96
+ - Name the tickets and the schedule entries that rest on a changed
97
+ 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.3.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.0",
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",
@@ -28,8 +28,8 @@
28
28
  "access": "public"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^26.5.1",
32
- "prettier": "^3.9.6"
31
+ "@types/node": "^26.6.5",
32
+ "prettier": "^3.9.10"
33
33
  },
34
34
  "scripts": {
35
35
  "test:dart": "dart test",