@ggdna/dna-plan 0.6.1 → 0.7.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
|
@@ -27,7 +27,10 @@ repo and the seven layers of product design.
|
|
|
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
|
@@ -19,5 +19,7 @@ planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
|
|
|
19
19
|
- The people and their roles are in `doc/team`. When the user asks what to
|
|
20
20
|
tell someone, offer `/plan-report`; when they want tickets in Jira or
|
|
21
21
|
plan the next sprint of a person, offer `/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
25
|
`/plan-intro` lists the planning skills and says which one comes next.
|
package/dna/_generated.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"ecosystem": null,
|
|
16
16
|
"resolvedVersion": null,
|
|
17
17
|
"via": null,
|
|
18
|
-
"hash": "
|
|
18
|
+
"hash": "0x035d4eaa7ecdcf08"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"claude": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"path": ".claude/skills/plan-jira-export/SKILL.md",
|
|
34
|
-
"hash": "
|
|
34
|
+
"hash": "0x4d1a1f22434f00fd"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"path": ".claude/skills/plan-report/SKILL.md",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"path": "doc/guides/jira-export-guide.md",
|
|
50
|
-
"hash": "
|
|
50
|
+
"hash": "0x344403f04fc568a8"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"path": "doc/guides/pm-repo-guide.md",
|
|
54
|
-
"hash": "
|
|
54
|
+
"hash": "0x1fb86afbd075ea26"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"path": "doc/guides/report-guide.md",
|
|
@@ -30,8 +30,20 @@ Ask one question at a time and propose a default each time:
|
|
|
30
30
|
- Sprint length — default: the one in `doc/team/people.md`, else two weeks
|
|
31
31
|
- Capacity — default: the sprint length times the person's days per week;
|
|
32
32
|
minus holidays, vacations and other work the user names
|
|
33
|
-
- Jira
|
|
34
|
-
`doc/team/people.md`; ask when it is missing
|
|
33
|
+
- Jira name of the person — default: the `Jira` field in
|
|
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
|
|
36
|
+
- Jira — Data Center or Server, or Cloud; default: Data Center
|
|
37
|
+
- Jira project — the key the issues go to; default: the prefix of the
|
|
38
|
+
ticket keys the repo already uses
|
|
39
|
+
- Priorities — the names the project offers; default: `High`, `Normal`
|
|
40
|
+
and `Low`. Take the names exactly as Jira writes them, spaces included
|
|
41
|
+
- Sprint — a sprint the issues go into, by its numeric ID; default: none
|
|
42
|
+
- Hours per day — default: the one in `doc/team/people.md`, else 8
|
|
43
|
+
|
|
44
|
+
If a Jira connection is available, e.g. the Atlassian MCP server, read
|
|
45
|
+
the user names, issue types, priorities and sprints of the project from
|
|
46
|
+
it instead of asking for them.
|
|
35
47
|
|
|
36
48
|
## Find the open tickets
|
|
37
49
|
|
|
@@ -74,31 +86,50 @@ Ask one question at a time and propose a default each time:
|
|
|
74
86
|
Use these columns, in this order:
|
|
75
87
|
|
|
76
88
|
```csv
|
|
77
|
-
Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Description
|
|
78
|
-
"Import race data",Story,High,anna
|
|
89
|
+
Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Sprint,Description
|
|
90
|
+
"Import race data",Story,High,anna,results-without-desktop-software,158400,1840,"Goal: ...
|
|
79
91
|
Requirements: req-results-002
|
|
80
92
|
Steps:
|
|
81
|
-
|
|
82
|
-
Plan: doc/2026-Q4/tickets/2026-11-02-import-race-data.md"
|
|
93
|
+
* ...
|
|
94
|
+
Plan: {{doc/2026-Q4/tickets/2026-11-02-import-race-data.md}}"
|
|
83
95
|
```
|
|
84
96
|
|
|
85
97
|
- `Summary` — the ticket title in words, not in kebab case
|
|
86
|
-
- `Issue Type` — `Story`; `Bug` for a bug ticket
|
|
98
|
+
- `Issue Type` — `Story`; `Bug` for a bug ticket. Both must exist in the
|
|
99
|
+
project
|
|
87
100
|
- `Priority` — from the highest priority of its requirements: `must` →
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
- `
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
101
|
+
the high one, `should` → the middle one, `could` → the low one of the
|
|
102
|
+
names agreed above
|
|
103
|
+
- `Assignee` — the Jira name of the person
|
|
104
|
+
- `Labels` — the goal the ticket serves, in kebab case without spaces.
|
|
105
|
+
For a second label add another column, also headed `Labels`
|
|
106
|
+
- `Original Estimate` — the expected duration in whole seconds: days ×
|
|
107
|
+
hours per day × 3600. With 8 hours, 5.5 days → `158400`; with 7.5
|
|
108
|
+
hours → `148500`. Jira shows it in its own length of a working day
|
|
109
|
+
- `Sprint` — the numeric sprint ID, never the name; leave the column out
|
|
110
|
+
without a sprint
|
|
94
111
|
- `Description` — the goal, the requirements by ID, the steps and the
|
|
95
112
|
path of the plan file; without a plan file, the line of
|
|
96
|
-
`doc/schedule.md
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
|
|
113
|
+
`doc/schedule.md`. Jira Data Center and Server render wiki markup:
|
|
114
|
+
write list items as `* `, and put paths, file names and IDs with `_`
|
|
115
|
+
or braces into `{{…}}`
|
|
116
|
+
- Leave out `Issue Key`: with it Jira would update existing issues
|
|
117
|
+
- Encode in UTF-8 without BOM, separate by commas, end lines with `\n`;
|
|
118
|
+
quote every field that holds a comma, a quote or a line break, and
|
|
119
|
+
double the quotes inside it; give every row the same number of fields
|
|
120
|
+
|
|
121
|
+
## Tell the user how to import it
|
|
122
|
+
|
|
123
|
+
- Jira Data Center or Server: Issues → Import Issues from CSV; it needs
|
|
124
|
+
the permissions to create issues and to bulk change
|
|
125
|
+
- Jira Cloud: Filters → Search work items → ••• → Import work items from
|
|
126
|
+
CSV; at most 250 work items per file
|
|
127
|
+
- Choose the project, the encoding UTF-8 and the comma as separator
|
|
128
|
+
- Map each column to the field of the same name
|
|
129
|
+
- Tick "Map field value" for `Priority`, `Issue Type` and `Assignee` only
|
|
130
|
+
when their values differ from the names in Jira; never for
|
|
131
|
+
`Description`, or Jira drops its line breaks
|
|
132
|
+
- Validate first, then import
|
|
102
133
|
|
|
103
134
|
## Take the keys back
|
|
104
135
|
|
|
@@ -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
|
|
@@ -181,12 +189,14 @@ root
|
|
|
181
189
|
# People
|
|
182
190
|
|
|
183
191
|
- Sprint length: 2 weeks
|
|
192
|
+
- Hours per day: 8
|
|
184
193
|
|
|
185
194
|
## Anna
|
|
186
195
|
|
|
187
196
|
- Areas: result list, import of race data, the `timing_app` repo
|
|
188
197
|
- Days per week: 4
|
|
189
|
-
- Jira: anna
|
|
198
|
+
- Jira: anna
|
|
199
|
+
- Git: anna@example.com
|
|
190
200
|
```
|
|
191
201
|
|
|
192
202
|
- The section title is the first name; the file names of the person use
|
|
@@ -194,8 +204,15 @@ root
|
|
|
194
204
|
- `Areas` — what the person takes care of: features, topics, repos. The
|
|
195
205
|
Jira export matches tickets to people by them
|
|
196
206
|
- `Days per week` — how much of the week the person works on the project
|
|
197
|
-
- `Jira` — the
|
|
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;
|
|
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)
|
|
198
213
|
- `Sprint length` — once, at the top; default two weeks
|
|
214
|
+
- `Hours per day` — once, at the top: the working hours of one day, used
|
|
215
|
+
to turn estimates in days into hours; default 8
|
|
199
216
|
- Write down the roles in `doc/team/roles.md`, one section per role. Start
|
|
200
217
|
with Developer, Product Owner, Management, Sales and Customer, and add
|
|
201
218
|
the ones the project needs:
|
|
@@ -221,7 +238,7 @@ root
|
|
|
221
238
|
- Ask the user for the team before the first report or export; never
|
|
222
239
|
guess people or roles
|
|
223
240
|
- Keep only first names, areas and roles in `doc/team`; no contact data
|
|
224
|
-
besides the Jira account
|
|
241
|
+
besides the Jira account and the git e-mail addresses
|
|
225
242
|
|
|
226
243
|
## Fill the concepts folder
|
|
227
244
|
|
|
@@ -280,8 +297,8 @@ root
|
|
|
280
297
|
both copies stay readable for tools
|
|
281
298
|
- Keep both copies equal in content and structure; a ticked point in a
|
|
282
299
|
report is ticked in both
|
|
283
|
-
- Do not translate the guides, the templates
|
|
284
|
-
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
|
|
285
302
|
|
|
286
303
|
## Report to the people
|
|
287
304
|
|
|
@@ -302,6 +319,27 @@ root
|
|
|
302
319
|
writes the file
|
|
303
320
|
- The person is assigned at export time only, never in the ticket file
|
|
304
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
|
+
|
|
305
343
|
## Use the design layers
|
|
306
344
|
|
|
307
345
|
- Plan with the seven layers of product design; the `dna_design_layers`
|
|
@@ -12,6 +12,9 @@ and work by it.
|
|
|
12
12
|
|
|
13
13
|
- The person is required; ask for it if the user did not name one
|
|
14
14
|
- Export only tickets without a Jira key, and only one sprint's worth
|
|
15
|
+
- Use user names, issue types, priorities and sprint IDs exactly as the
|
|
16
|
+
Jira project has them; read them from a Jira connection if one is
|
|
17
|
+
available, else ask
|
|
15
18
|
- Show the matching and the sprint before writing the CSV
|
|
16
19
|
- Never write the person into a ticket file
|
|
17
20
|
- Write the Jira keys back only when the user asks for it after the import
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggdna/dna-plan",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.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",
|