@ggdna/dna-plan 0.6.2 → 1.0.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
@@ -20,14 +20,17 @@ repo and the seven layers of product design.
20
20
  in `doc/reports`, with points to tick once they are communicated
21
21
  - `doc/guides/jira-export-guide.md` — how the next tickets of one person,
22
22
  one sprint's worth, are exported as a CSV file for Jira
23
- - Skills: `/plan-intro` lists the planning skills and names the next
24
- step, `/plan-requirements` runs the requirements engineering,
25
- `/plan-schedule` the time plan, `/plan-report` the reports and
26
- `/plan-jira-export` the Jira export
23
+ - Skills: `/gg-plan-intro` lists the planning skills and names the next
24
+ step, `/gg-plan-requirements` runs the requirements engineering,
25
+ `/gg-plan-schedule` the time plan, `/gg-plan-report` the reports and
26
+ `/gg-plan-jira-export` the Jira export
27
27
 
28
28
  A PM repo is written in English; with the `dna_translate` layer it keeps a
29
29
  German copy of every file under `doc/de`. The team — people, their areas
30
- and roles — lives in `doc/team`.
30
+ and roles — lives in `doc/team`. The prompts the people write to Claude
31
+ Code are kept on the branch `prompts` under `doc/prompts`; the hook that
32
+ writes them comes from [dna_gg](https://github.com/ggsuite/dna_gg), the
33
+ guide says how they are filed.
31
34
 
32
35
  The guide plans with the seven layers of product design. Their guides and
33
36
  the `/layers-*` skills live in
package/dna/CLAUDE.md CHANGED
@@ -5,19 +5,21 @@ planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
5
5
 
6
6
  - Engineer the requirements before the tickets. If `doc/requirements` is
7
7
  empty or no accepted requirement covers the work, run
8
- `/plan-requirements` with the user first, and plan or create tickets
8
+ `/gg-plan-requirements` with the user first, and plan or create tickets
9
9
  only after that
10
10
  - Engineer requirements interactively: one question at a time, with
11
11
  proposals the user confirms, changes or rejects. Never write a
12
12
  requirement the user has not confirmed
13
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
14
+ offer `/gg-plan-schedule`: it cuts the requirements into tickets, estimates
15
15
  them and draws the plan as a Gantt chart in `doc/schedule.md`
16
16
  - Write the PM repo in English. If it has
17
17
  `doc/guides/translate-guide.md`, keep a German copy of every file under
18
18
  `doc/de` and in `README.de.md`, and change both in the same commit
19
19
  - The people and their roles are in `doc/team`. When the user asks what to
20
- tell someone, offer `/plan-report`; when they want tickets in Jira or
21
- plan the next sprint of a person, offer `/plan-jira-export`
20
+ tell someone, offer `/gg-plan-report`; when they want tickets in Jira or
21
+ plan the next sprint of a person, offer `/gg-plan-jira-export`
22
+ - The prompts of the people are kept on the branch `prompts` under
23
+ `doc/prompts`. Never edit them and never merge that branch into main
22
24
 
23
- `/plan-intro` lists the planning skills and says which one comes next.
25
+ `/gg-plan-intro` lists the planning skills and says which one comes next.
@@ -15,7 +15,7 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0xfed4541bc1745977"
18
+ "hash": "0x837a9d9aff97b77b"
19
19
  }
20
20
  ],
21
21
  "claude": {
@@ -26,24 +26,24 @@
26
26
  "baseHash": "0x6883da335b415f9d",
27
27
  "instances": [
28
28
  {
29
- "path": ".claude/skills/plan-intro/SKILL.md",
30
- "hash": "0x9abbf1836d0f25e7"
29
+ "path": ".claude/skills/gg-plan-intro/SKILL.md",
30
+ "hash": "0x46a35e27e503c73f"
31
31
  },
32
32
  {
33
- "path": ".claude/skills/plan-jira-export/SKILL.md",
34
- "hash": "0x4d1a1f22434f00fd"
33
+ "path": ".claude/skills/gg-plan-jira-export/SKILL.md",
34
+ "hash": "0x9c87e9734944e899"
35
35
  },
36
36
  {
37
- "path": ".claude/skills/plan-report/SKILL.md",
38
- "hash": "0x12871153a93da34c"
37
+ "path": ".claude/skills/gg-plan-report/SKILL.md",
38
+ "hash": "0xa8aef22c24f39cee"
39
39
  },
40
40
  {
41
- "path": ".claude/skills/plan-requirements/SKILL.md",
42
- "hash": "0x49c13077aaea5d83"
41
+ "path": ".claude/skills/gg-plan-requirements/SKILL.md",
42
+ "hash": "0x60b17bb8e4d45d84"
43
43
  },
44
44
  {
45
- "path": ".claude/skills/plan-schedule/SKILL.md",
46
- "hash": "0xa1221150dc0be4d6"
45
+ "path": ".claude/skills/gg-plan-schedule/SKILL.md",
46
+ "hash": "0xd657b728367ec670"
47
47
  },
48
48
  {
49
49
  "path": "doc/guides/jira-export-guide.md",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  {
53
53
  "path": "doc/guides/pm-repo-guide.md",
54
- "hash": "0x0a3a1b6fe65669b1"
54
+ "hash": "0xdb77877a21708462"
55
55
  },
56
56
  {
57
57
  "path": "doc/guides/report-guide.md",
@@ -59,11 +59,11 @@
59
59
  },
60
60
  {
61
61
  "path": "doc/guides/requirements-guide.md",
62
- "hash": "0x81e987e05affdd3e"
62
+ "hash": "0x61a5b7f629047b63"
63
63
  },
64
64
  {
65
65
  "path": "doc/guides/schedule-guide.md",
66
- "hash": "0x6184f9bb8af80ec6"
66
+ "hash": "0xa7819093c5db1df9"
67
67
  }
68
68
  ]
69
69
  }
@@ -52,6 +52,11 @@ root
52
52
  | | | |-anna.md
53
53
  | |-exports
54
54
  | | |-2026-09-10-anna-sprint.csv
55
+ | |-prompts
56
+ | | |-README.md
57
+ | | |-anna (on the branch prompts)
58
+ | | | |-2026-09
59
+ | | | | |-2026-09-10_timing_app_3f2a91c0.md
55
60
  | |-blog
56
61
  | | |-2026
57
62
  | | | |-2026-09-10-blogpost-1.md
@@ -83,6 +88,9 @@ root
83
88
  them, see [Report to the people](#report-to-the-people)
84
89
  - `exports` — CSV files of tickets for Jira, see
85
90
  [Export tickets to Jira](#export-tickets-to-jira)
91
+ - `prompts` — the prompts the people wrote to Claude Code, one file per
92
+ session, on the branch `prompts`; on the main branch only its
93
+ `README.md`, see [Keep the prompts](#keep-the-prompts)
86
94
  - `blog` — one post per finished ticket; exists only if the repo has
87
95
  `doc/guides/blog-guide.md` from the `dna_blog` layer, see below
88
96
  - `de` and `README.de.md` — the German copy; exist only if the repo keeps
@@ -164,13 +172,13 @@ root
164
172
 
165
173
  - Find the goals and requirements together with the user, one question at
166
174
  a time and with proposals: the
167
- [requirements guide](requirements-guide.md) says how, `/plan-requirements`
175
+ [requirements guide](requirements-guide.md) says how, `/gg-plan-requirements`
168
176
  runs it
169
177
  - Do it before the first ticket, whenever `doc/requirements` is empty, and
170
178
  whenever the work of a ticket is not covered by an accepted requirement
171
179
  - Plan and create tickets only after that. Bug tickets are the exception:
172
180
  they name their bug file instead
173
- - `/plan-intro` lists the planning skills and says which one comes next
181
+ - `/gg-plan-intro` lists the planning skills and says which one comes next
174
182
 
175
183
  ## Know the team
176
184
 
@@ -188,6 +196,7 @@ root
188
196
  - Areas: result list, import of race data, the `timing_app` repo
189
197
  - Days per week: 4
190
198
  - Jira: anna
199
+ - Git: anna@example.com
191
200
  ```
192
201
 
193
202
  - The section title is the first name; the file names of the person use
@@ -198,6 +207,9 @@ root
198
207
  - `Jira` — the name Jira knows the person by: the user name on Jira Data
199
208
  Center or Server, e.g. `anna`, the e-mail address on Jira Cloud;
200
209
  optional
210
+ - `Git` — the e-mail addresses the person commits with, separated by
211
+ commas. The prompts of the person are filed under their first name by
212
+ them, see [Keep the prompts](#keep-the-prompts)
201
213
  - `Sprint length` — once, at the top; default two weeks
202
214
  - `Hours per day` — once, at the top: the working hours of one day, used
203
215
  to turn estimates in days into hours; default 8
@@ -226,7 +238,7 @@ root
226
238
  - Ask the user for the team before the first report or export; never
227
239
  guess people or roles
228
240
  - Keep only first names, areas and roles in `doc/team`; no contact data
229
- besides the Jira account
241
+ besides the Jira account and the git e-mail addresses
230
242
 
231
243
  ## Fill the concepts folder
232
244
 
@@ -285,15 +297,15 @@ root
285
297
  both copies stay readable for tools
286
298
  - Keep both copies equal in content and structure; a ticked point in a
287
299
  report is ticked in both
288
- - Do not translate the guides, the templates or the CSV exports; the
289
- guides come from the DNA layers
300
+ - Do not translate the guides, the templates, the CSV exports or the
301
+ prompts; the guides come from the DNA layers
290
302
 
291
303
  ## Report to the people
292
304
 
293
305
  - Keep one report per person and quarter in
294
306
  `doc/reports/<yyyy>-Q<n>/<name>.md`: the points the person needs to
295
307
  hear, each with a checkbox to tick once it is communicated
296
- - The [report guide](report-guide.md) says how, `/plan-report` runs it: it
308
+ - The [report guide](report-guide.md) says how, `/gg-plan-report` runs it: it
297
309
  collects what changed for the roles and areas of the person, appends it
298
310
  and starts the file of a new quarter with the open points carried over
299
311
 
@@ -302,11 +314,32 @@ root
302
314
  - Export the next tickets of one person as a CSV file Jira imports:
303
315
  `doc/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
304
316
  - The [Jira export guide](jira-export-guide.md) says how,
305
- `/plan-jira-export` runs it: it matches the open tickets without a Jira
317
+ `/gg-plan-jira-export` runs it: it matches the open tickets without a Jira
306
318
  key to the person by their areas, fills one sprint by the estimates and
307
319
  writes the file
308
320
  - The person is assigned at export time only, never in the ticket file
309
321
 
322
+ ## Keep the prompts
323
+
324
+ - Every prompt the people write to Claude Code in a repo of the project
325
+ lands here, on the branch `prompts`:
326
+ `doc/prompts/<name>/<yyyy>-<mm>/<yyyy>-<mm>-<dd>_<repo>_<session>.md`,
327
+ one file per session, the time of each prompt as its heading
328
+ - The `dna_gg` layer does it: a Claude Code hook in every repo whose
329
+ variable `dnaPmRepo` names this repo. The hook commits to the branch
330
+ `prompts` directly, so the main branch and its checks stay untouched
331
+ - The name is the first name in `doc/team/people.md` whose `Git` line
332
+ lists the e-mail the session's repo commits with. An e-mail that is not
333
+ listed goes to `doc/prompts/_unknown`; add it to `people.md`, the next
334
+ sessions are filed under the name
335
+ - Only prompts are kept, never the answers. Tokens and passwords are
336
+ replaced by `[redacted]` before they leave the computer
337
+ - Never edit, move or delete the prompt files, and never merge the branch
338
+ `prompts` into the main branch. Read them with
339
+ `git fetch origin prompts` and `git show origin/prompts:<path>`
340
+ - On the main branch, `doc/prompts/README.md` says where the prompts are,
341
+ in German in `doc/de/prompts/README.md`
342
+
310
343
  ## Use the design layers
311
344
 
312
345
  - Plan with the seven layers of product design; the `dna_design_layers`
@@ -384,7 +417,7 @@ Let the user review the plan and revise it until they confirm it.
384
417
 
385
418
  - A time plan is optional; make one when the user wants it or names a
386
419
  target date for the project
387
- - The [schedule guide](schedule-guide.md) says how, `/plan-schedule` runs
420
+ - The [schedule guide](schedule-guide.md) says how, `/gg-plan-schedule` runs
388
421
  it: it asks for the target date and the capacity, cuts the accepted
389
422
  requirements into tickets, estimates each one and draws the plan as a
390
423
  Gantt chart in `doc/schedule.md`
@@ -408,5 +441,5 @@ and the requirements it fulfils.
408
441
  Update `doc/schedule.md`, if the project has one, and check the forecast
409
442
  against the target date.
410
443
 
411
- Check `doc/team` and start the reports of the quarter with `/plan-report`;
444
+ Check `doc/team` and start the reports of the quarter with `/gg-plan-report`;
412
445
  it carries the open points of the last quarter over.
@@ -63,7 +63,7 @@ requirements. Bug tickets are the exception, they name their bug file.
63
63
  10. Check the set, see below, and raise each finding as a question
64
64
  11. Write the requirement files, link them from the goals and sum up: what
65
65
  is new, what is still `proposed`, and what comes next — the tickets,
66
- or `/plan-schedule` for a time plan
66
+ or `/gg-plan-schedule` for a time plan
67
67
 
68
68
  ## Ask for the quality requirements
69
69
 
@@ -20,7 +20,7 @@ chart.
20
20
  whether a target date holds
21
21
  - Optional: a project plans with it only when the user wants one
22
22
  - It rests on accepted requirements. Without them, run
23
- `/plan-requirements` first
23
+ `/gg-plan-requirements` first
24
24
 
25
25
  ## Set the frame with the user
26
26
 
@@ -1,6 +1,6 @@
1
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.
2
+ name: gg-plan-intro
3
+ description: Lists the planning skills of the project management repo and says which one comes next. Use when the user says "/gg-plan-intro", asks how to plan the project, or asks what comes before the tickets.
4
4
  ---
5
5
 
6
6
  # The planning skills
@@ -8,14 +8,14 @@ description: Lists the planning skills of the project management repo and says w
8
8
  Print the list below, in this order — it is the order in which a project
9
9
  is planned.
10
10
 
11
- - `/plan-requirements` — engineers the goals and requirements together
11
+ - `/gg-plan-requirements` — engineers the goals and requirements together
12
12
  with the user, one question at a time
13
- - `/plan-schedule` — cuts the requirements into tickets, estimates them
13
+ - `/gg-plan-schedule` — cuts the requirements into tickets, estimates them
14
14
  and draws the time plan as a Gantt chart, optionally against a target
15
15
  date
16
- - `/plan-jira-export` — exports the next tickets of one person, one
16
+ - `/gg-plan-jira-export` — exports the next tickets of one person, one
17
17
  sprint's worth, as a CSV file for Jira
18
- - `/plan-report` — collects what each person needs to hear into their
18
+ - `/gg-plan-report` — collects what each person needs to hear into their
19
19
  quarterly report, as points to tick off
20
20
 
21
21
  The tickets come after the requirements; the `gg` workflow creates them
@@ -26,16 +26,16 @@ The tickets come after the requirements; the `gg` workflow creates them
26
26
  Read `doc/goals`, `doc/requirements`, `doc/schedule.md`, `doc/team` and
27
27
  `doc/reports` and name the next step:
28
28
 
29
- - No active goal or no accepted requirement → `/plan-requirements`
29
+ - No active goal or no accepted requirement → `/gg-plan-requirements`
30
30
  - Requirements, but the work at hand is not covered by them →
31
- `/plan-requirements`
31
+ `/gg-plan-requirements`
32
32
  - Requirements, no schedule, and the user wants a time plan or names a
33
- target date → `/plan-schedule`
33
+ target date → `/gg-plan-schedule`
34
34
  - Requirements accepted → plan the tickets
35
35
  - Planned tickets without a Jira key, and the team works in Jira →
36
- `/plan-jira-export`
36
+ `/gg-plan-jira-export`
37
37
  - Changes since the newest report point, or no report for the current
38
- quarter yet → `/plan-report`
38
+ quarter yet → `/gg-plan-report`
39
39
 
40
40
  ## Important
41
41
 
@@ -1,9 +1,9 @@
1
1
  ---
2
- name: plan-jira-export
3
- description: Exports the next tickets of one person as a CSV file for the Jira import - matches the open tickets of the PM repo to the person by their areas, fills one sprint by the estimates and writes doc/exports/<date>-<name>-sprint.csv. Use when the user says "/plan-jira-export", wants tickets in Jira, asks for a sprint or a CSV export, or names a person to plan the next tickets for.
2
+ name: gg-plan-jira-export
3
+ description: Exports the next tickets of one person as a CSV file for the Jira import - matches the open tickets of the PM repo to the person by their areas, fills one sprint by the estimates and writes doc/exports/<date>-<name>-sprint.csv. Use when the user says "/gg-plan-jira-export", wants tickets in Jira, asks for a sprint or a CSV export, or names a person to plan the next tickets for.
4
4
  ---
5
5
 
6
- # /plan-jira-export
6
+ # /gg-plan-jira-export
7
7
 
8
8
  Read [jira-export-guide.md](../../../doc/guides/jira-export-guide.md)
9
9
  and work by it.
@@ -1,9 +1,9 @@
1
1
  ---
2
- name: plan-report
3
- description: Keeps the quarterly report of each person in doc/reports up to date - collects what changed in the PM repo that their roles and areas need to hear, appends it as checkbox points and starts the file of a new quarter with the open points carried over. Use when the user says "/plan-report", asks what to tell someone, wants to update the reports or starts a new quarter.
2
+ name: gg-plan-report
3
+ description: Keeps the quarterly report of each person in doc/reports up to date - collects what changed in the PM repo that their roles and areas need to hear, appends it as checkbox points and starts the file of a new quarter with the open points carried over. Use when the user says "/gg-plan-report", asks what to tell someone, wants to update the reports or starts a new quarter.
4
4
  ---
5
5
 
6
- # /plan-report
6
+ # /gg-plan-report
7
7
 
8
8
  Read [report-guide.md](../../../doc/guides/report-guide.md) and work by
9
9
  it.
@@ -1,9 +1,9 @@
1
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.
2
+ name: gg-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 "/gg-plan-requirements", wants to find or change requirements, or before the first ticket when no accepted requirement covers the work.
4
4
  ---
5
5
 
6
- # /plan-requirements
6
+ # /gg-plan-requirements
7
7
 
8
8
  Read [requirements-guide.md](../../../doc/guides/requirements-guide.md) and
9
9
  run the session by it. The format of goal and requirement files is in
@@ -1,16 +1,16 @@
1
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.
2
+ name: gg-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 "/gg-plan-schedule", asks how long the project takes, wants a time plan or Gantt chart, or names a target date.
4
4
  ---
5
5
 
6
- # /plan-schedule
6
+ # /gg-plan-schedule
7
7
 
8
8
  Read [schedule-guide.md](../../../doc/guides/schedule-guide.md) and work
9
9
  by it.
10
10
 
11
11
  ## Important
12
12
 
13
- - Without accepted requirements, stop and offer `/plan-requirements`
13
+ - Without accepted requirements, stop and offer `/gg-plan-requirements`
14
14
  - Ask for the frame one question at a time, with a default each time
15
15
  - Show the estimates before drawing the chart; the user's numbers win
16
16
  - Never shrink estimates to meet the target date — show the options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ggdna/dna-plan",
3
- "version": "0.6.2",
3
+ "version": "1.0.0",
4
4
  "description": "DNA layer: how a project is planned - the structure of a project management repo, its goals, requirements, team, reports, tickets, Jira export and quarters",
5
5
  "keywords": [
6
6
  "dna",