@ggdna/dna-plan 0.7.0 → 1.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
@@ -20,10 +20,10 @@ 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
package/dna/CLAUDE.md CHANGED
@@ -5,21 +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
22
  - The prompts of the people are kept on the branch `prompts` under
23
23
  `doc/prompts`. Never edit them and never merge that branch into main
24
24
 
25
- `/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.
@@ -5,7 +5,7 @@
5
5
  "name": "base",
6
6
  "package": "helix",
7
7
  "ecosystem": null,
8
- "resolvedVersion": "1.13.0",
8
+ "resolvedVersion": "1.14.0",
9
9
  "via": null,
10
10
  "hash": "0x6883da335b415f9d"
11
11
  },
@@ -15,43 +15,47 @@
15
15
  "ecosystem": null,
16
16
  "resolvedVersion": null,
17
17
  "via": null,
18
- "hash": "0x035d4eaa7ecdcf08"
18
+ "hash": "0x95575dd4a3874532"
19
19
  }
20
20
  ],
21
21
  "claude": {
22
22
  "claudeMdInclude": null,
23
23
  "claudeMdFromDna": true
24
24
  },
25
- "baseVersion": "1.13.0",
25
+ "baseVersion": "1.14.0",
26
26
  "baseHash": "0x6883da335b415f9d",
27
27
  "instances": [
28
28
  {
29
- "path": ".claude/skills/plan-intro/SKILL.md",
30
- "hash": "0x9abbf1836d0f25e7"
29
+ "path": ".claude/CLAUDE_dna_plan.md",
30
+ "hash": "0xacc338ff5279c9cd"
31
31
  },
32
32
  {
33
- "path": ".claude/skills/plan-jira-export/SKILL.md",
34
- "hash": "0x4d1a1f22434f00fd"
33
+ "path": ".claude/skills/gg-plan-intro/SKILL.md",
34
+ "hash": "0x46a35e27e503c73f"
35
35
  },
36
36
  {
37
- "path": ".claude/skills/plan-report/SKILL.md",
38
- "hash": "0x12871153a93da34c"
37
+ "path": ".claude/skills/gg-plan-jira-export/SKILL.md",
38
+ "hash": "0x9c87e9734944e899"
39
39
  },
40
40
  {
41
- "path": ".claude/skills/plan-requirements/SKILL.md",
42
- "hash": "0x49c13077aaea5d83"
41
+ "path": ".claude/skills/gg-plan-report/SKILL.md",
42
+ "hash": "0xa8aef22c24f39cee"
43
43
  },
44
44
  {
45
- "path": ".claude/skills/plan-schedule/SKILL.md",
46
- "hash": "0xa1221150dc0be4d6"
45
+ "path": ".claude/skills/gg-plan-requirements/SKILL.md",
46
+ "hash": "0x60b17bb8e4d45d84"
47
+ },
48
+ {
49
+ "path": ".claude/skills/gg-plan-schedule/SKILL.md",
50
+ "hash": "0xd657b728367ec670"
47
51
  },
48
52
  {
49
53
  "path": "doc/guides/jira-export-guide.md",
50
- "hash": "0x344403f04fc568a8"
54
+ "hash": "0x2e73883514cacb6a"
51
55
  },
52
56
  {
53
57
  "path": "doc/guides/pm-repo-guide.md",
54
- "hash": "0x1fb86afbd075ea26"
58
+ "hash": "0x9e79a22ab17e74e0"
55
59
  },
56
60
  {
57
61
  "path": "doc/guides/report-guide.md",
@@ -59,11 +63,11 @@
59
63
  },
60
64
  {
61
65
  "path": "doc/guides/requirements-guide.md",
62
- "hash": "0x81e987e05affdd3e"
66
+ "hash": "0x61a5b7f629047b63"
63
67
  },
64
68
  {
65
69
  "path": "doc/guides/schedule-guide.md",
66
- "hash": "0x6184f9bb8af80ec6"
70
+ "hash": "0xa7819093c5db1df9"
67
71
  }
68
72
  ]
69
73
  }
@@ -32,7 +32,8 @@ Ask one question at a time and propose a default each time:
32
32
  minus holidays, vacations and other work the user names
33
33
  - Jira name of the person — default: the `Jira` field in
34
34
  `doc/team/people.md`; ask when it is missing. It is the user name on
35
- Jira Data Center or Server, the e-mail address on Jira Cloud
35
+ Jira Data Center or Server, the Atlassian account ID on Jira Cloud: the
36
+ long ID at the end of the profile URL. Never ask for an e-mail address
36
37
  - Jira — Data Center or Server, or Cloud; default: Data Center
37
38
  - Jira project — the key the issues go to; default: the prefix of the
38
39
  ticket keys the repo already uses
@@ -172,13 +172,13 @@ root
172
172
 
173
173
  - Find the goals and requirements together with the user, one question at
174
174
  a time and with proposals: the
175
- [requirements guide](requirements-guide.md) says how, `/plan-requirements`
175
+ [requirements guide](requirements-guide.md) says how, `/gg-plan-requirements`
176
176
  runs it
177
177
  - Do it before the first ticket, whenever `doc/requirements` is empty, and
178
178
  whenever the work of a ticket is not covered by an accepted requirement
179
179
  - Plan and create tickets only after that. Bug tickets are the exception:
180
180
  they name their bug file instead
181
- - `/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
182
182
 
183
183
  ## Know the team
184
184
 
@@ -196,7 +196,7 @@ root
196
196
  - Areas: result list, import of race data, the `timing_app` repo
197
197
  - Days per week: 4
198
198
  - Jira: anna
199
- - Git: anna@example.com
199
+ - Git: amuster
200
200
  ```
201
201
 
202
202
  - The section title is the first name; the file names of the person use
@@ -205,11 +205,13 @@ root
205
205
  Jira export matches tickets to people by them
206
206
  - `Days per week` — how much of the week the person works on the project
207
207
  - `Jira` — the name Jira knows the person by: the user name on Jira Data
208
- Center or Server, e.g. `anna`, the e-mail address on Jira Cloud;
208
+ Center or Server, e.g. `anna`, the Atlassian account ID on Jira Cloud;
209
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)
210
+ - `Git` — the git user names the person commits with
211
+ (`git config user.name`), separated by commas; optional. Needed only
212
+ when the git user name neither is the first name nor starts with it,
213
+ e.g. `amuster`. The prompts of the person are filed under their first
214
+ name by it, see [Keep the prompts](#keep-the-prompts)
213
215
  - `Sprint length` — once, at the top; default two weeks
214
216
  - `Hours per day` — once, at the top: the working hours of one day, used
215
217
  to turn estimates in days into hours; default 8
@@ -237,8 +239,11 @@ root
237
239
  them; their report covers all of them
238
240
  - Ask the user for the team before the first report or export; never
239
241
  guess people or roles
240
- - Keep only first names, areas and roles in `doc/team`; no contact data
241
- besides the Jira account and the git e-mail addresses
242
+ - Keep only first names, areas and roles in `doc/team`, besides the Jira
243
+ account and the git user names; no contact data
244
+ - Never ask for e-mail addresses and never write one into the PM repo,
245
+ neither in `doc/team` nor anywhere else. When the user offers one, ask
246
+ for the git user name or the Jira account instead
242
247
 
243
248
  ## Fill the concepts folder
244
249
 
@@ -305,7 +310,7 @@ root
305
310
  - Keep one report per person and quarter in
306
311
  `doc/reports/<yyyy>-Q<n>/<name>.md`: the points the person needs to
307
312
  hear, each with a checkbox to tick once it is communicated
308
- - The [report guide](report-guide.md) says how, `/plan-report` runs it: it
313
+ - The [report guide](report-guide.md) says how, `/gg-plan-report` runs it: it
309
314
  collects what changed for the roles and areas of the person, appends it
310
315
  and starts the file of a new quarter with the open points carried over
311
316
 
@@ -314,7 +319,7 @@ root
314
319
  - Export the next tickets of one person as a CSV file Jira imports:
315
320
  `doc/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
316
321
  - The [Jira export guide](jira-export-guide.md) says how,
317
- `/plan-jira-export` runs it: it matches the open tickets without a Jira
322
+ `/gg-plan-jira-export` runs it: it matches the open tickets without a Jira
318
323
  key to the person by their areas, fills one sprint by the estimates and
319
324
  writes the file
320
325
  - The person is assigned at export time only, never in the ticket file
@@ -328,10 +333,12 @@ root
328
333
  - The `dna_gg` layer does it: a Claude Code hook in every repo whose
329
334
  variable `dnaPmRepo` names this repo. The hook commits to the branch
330
335
  `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
336
+ - The name is the first name in `doc/team/people.md` that the git user
337
+ name of the session's repo is, or starts with, or whose `Git` line
338
+ lists it. A git user name that matches nobody goes to
339
+ `doc/prompts/_unknown`; add it to the `Git` line of the person, the
340
+ next sessions are filed under the name
341
+ - No e-mail address is read or kept: the hook commits as `pm-prompts`
335
342
  - Only prompts are kept, never the answers. Tokens and passwords are
336
343
  replaced by `[redacted]` before they leave the computer
337
344
  - Never edit, move or delete the prompt files, and never merge the branch
@@ -417,7 +424,7 @@ Let the user review the plan and revise it until they confirm it.
417
424
 
418
425
  - A time plan is optional; make one when the user wants it or names a
419
426
  target date for the project
420
- - The [schedule guide](schedule-guide.md) says how, `/plan-schedule` runs
427
+ - The [schedule guide](schedule-guide.md) says how, `/gg-plan-schedule` runs
421
428
  it: it asks for the target date and the capacity, cuts the accepted
422
429
  requirements into tickets, estimates each one and draws the plan as a
423
430
  Gantt chart in `doc/schedule.md`
@@ -441,5 +448,5 @@ and the requirements it fulfils.
441
448
  Update `doc/schedule.md`, if the project has one, and check the forecast
442
449
  against the target date.
443
450
 
444
- Check `doc/team` and start the reports of the quarter with `/plan-report`;
451
+ Check `doc/team` and start the reports of the quarter with `/gg-plan-report`;
445
452
  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.7.0",
3
+ "version": "1.1.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",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^26.6.5",
31
+ "@types/node": "^26.6.6",
32
32
  "prettier": "^3.9.10"
33
33
  },
34
34
  "scripts": {