@ggdna/dna-plan 0.5.1 → 0.6.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 +10 -1
- package/dna/CLAUDE.md +6 -0
- package/dna/_generated.json +21 -5
- package/dna/doc/guides/jira-export-guide.md +114 -0
- package/dna/doc/guides/pm-repo-guide.md +115 -0
- package/dna/doc/guides/report-guide.md +92 -0
- package/dna/doc/guides/requirements-guide.md +3 -2
- package/dna/doc/guides/schedule-guide.md +2 -1
- package/dna/dot-claude/skills/plan-intro/SKILL.md +10 -2
- package/dna/dot-claude/skills/plan-jira-export/SKILL.md +17 -0
- package/dna/dot-claude/skills/plan-report/SKILL.md +18 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,9 +16,18 @@ repo and the seven layers of product design.
|
|
|
16
16
|
- `CLAUDE.md` — tells the AI to engineer the requirements first and to
|
|
17
17
|
offer a time plan; it lands in the managed block of the project's
|
|
18
18
|
`CLAUDE.md` next to the ones of the other layers (helix 1.13 or newer)
|
|
19
|
+
- `doc/guides/report-guide.md` — how each person gets a quarterly report
|
|
20
|
+
in `doc/reports`, with points to tick once they are communicated
|
|
21
|
+
- `doc/guides/jira-export-guide.md` — how the next tickets of one person,
|
|
22
|
+
one sprint's worth, are exported as a CSV file for Jira
|
|
19
23
|
- Skills: `/plan-intro` lists the planning skills and names the next
|
|
20
24
|
step, `/plan-requirements` runs the requirements engineering,
|
|
21
|
-
`/plan-schedule` the time plan
|
|
25
|
+
`/plan-schedule` the time plan, `/plan-report` the reports and
|
|
26
|
+
`/plan-jira-export` the Jira export
|
|
27
|
+
|
|
28
|
+
A PM repo is written in English; with the `dna_translate` layer it keeps a
|
|
29
|
+
German copy of every file under `doc/de`. The team — people, their areas
|
|
30
|
+
and roles — lives in `doc/team`.
|
|
22
31
|
|
|
23
32
|
The guide plans with the seven layers of product design. Their guides and
|
|
24
33
|
the `/layers-*` skills live in
|
package/dna/CLAUDE.md
CHANGED
|
@@ -13,5 +13,11 @@ planning rules are in `doc/guides/pm-repo-guide.md`. When you plan in one:
|
|
|
13
13
|
- When the user names a target date or asks how long the work takes,
|
|
14
14
|
offer `/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
|
+
- Write the PM repo in English. If it has
|
|
17
|
+
`doc/guides/translate-guide.md`, keep a German copy of every file under
|
|
18
|
+
`doc/de` and in `README.de.md`, and change both in the same commit
|
|
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`
|
|
16
22
|
|
|
17
23
|
`/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": "0x362e15142694f95f"
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"claude": {
|
|
@@ -27,7 +27,15 @@
|
|
|
27
27
|
"instances": [
|
|
28
28
|
{
|
|
29
29
|
"path": ".claude/skills/plan-intro/SKILL.md",
|
|
30
|
-
"hash": "
|
|
30
|
+
"hash": "0x9abbf1836d0f25e7"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": ".claude/skills/plan-jira-export/SKILL.md",
|
|
34
|
+
"hash": "0xd4d69717a1fb57af"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": ".claude/skills/plan-report/SKILL.md",
|
|
38
|
+
"hash": "0x12871153a93da34c"
|
|
31
39
|
},
|
|
32
40
|
{
|
|
33
41
|
"path": ".claude/skills/plan-requirements/SKILL.md",
|
|
@@ -37,17 +45,25 @@
|
|
|
37
45
|
"path": ".claude/skills/plan-schedule/SKILL.md",
|
|
38
46
|
"hash": "0xa1221150dc0be4d6"
|
|
39
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"path": "doc/guides/jira-export-guide.md",
|
|
50
|
+
"hash": "0x3f6c674f72a88c20"
|
|
51
|
+
},
|
|
40
52
|
{
|
|
41
53
|
"path": "doc/guides/pm-repo-guide.md",
|
|
42
|
-
"hash": "
|
|
54
|
+
"hash": "0x109f62f86ccdbd90"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "doc/guides/report-guide.md",
|
|
58
|
+
"hash": "0x67454035a0ae0814"
|
|
43
59
|
},
|
|
44
60
|
{
|
|
45
61
|
"path": "doc/guides/requirements-guide.md",
|
|
46
|
-
"hash": "
|
|
62
|
+
"hash": "0x81e987e05affdd3e"
|
|
47
63
|
},
|
|
48
64
|
{
|
|
49
65
|
"path": "doc/guides/schedule-guide.md",
|
|
50
|
-
"hash": "
|
|
66
|
+
"hash": "0x6184f9bb8af80ec6"
|
|
51
67
|
}
|
|
52
68
|
]
|
|
53
69
|
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
# Jira export guide
|
|
10
|
+
|
|
11
|
+
How the next tickets of one person are exported from the PM repo as a CSV
|
|
12
|
+
file that Jira imports: one sprint's worth, in the order of the plan.
|
|
13
|
+
|
|
14
|
+
## Know what the export is
|
|
15
|
+
|
|
16
|
+
- One CSV file per export: `doc/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`,
|
|
17
|
+
`<name>` is the first name in lower case kebab case
|
|
18
|
+
- It holds only tickets that are not in Jira yet, see below
|
|
19
|
+
- It assigns tickets at export time only: who works on a ticket is never
|
|
20
|
+
written into the ticket file
|
|
21
|
+
- It needs the team: without `doc/team/people.md`, set it up with the
|
|
22
|
+
user first, see the [PM repo guide](pm-repo-guide.md#know-the-team)
|
|
23
|
+
- The CSV is data: it is never translated
|
|
24
|
+
|
|
25
|
+
## Set the frame with the user
|
|
26
|
+
|
|
27
|
+
Ask one question at a time and propose a default each time:
|
|
28
|
+
|
|
29
|
+
- Person — required; one of `doc/team/people.md`
|
|
30
|
+
- Sprint length — default: the one in `doc/team/people.md`, else two weeks
|
|
31
|
+
- Capacity — default: the sprint length times the person's days per week;
|
|
32
|
+
minus holidays, vacations and other work the user names
|
|
33
|
+
- Jira account of the person — default: the `Jira` field in
|
|
34
|
+
`doc/team/people.md`; ask when it is missing
|
|
35
|
+
|
|
36
|
+
## Find the open tickets
|
|
37
|
+
|
|
38
|
+
- Take the ticket files in `doc/<quarter>/tickets` of all quarters and the
|
|
39
|
+
planned tickets of `doc/schedule.md` that have no file yet
|
|
40
|
+
- Leave out finished tickets: marked `done` in `doc/schedule.md`, or all
|
|
41
|
+
their requirements are `done`
|
|
42
|
+
- Leave out tickets that are in Jira already: their ID is a Jira key,
|
|
43
|
+
letters, a dash and a number, e.g. `cdm-1317` in
|
|
44
|
+
`2026-09-10-cdm-1317-infrastructure-discovery-server.md`. Numbers alone,
|
|
45
|
+
e.g. `14`, are local IDs, not Jira keys
|
|
46
|
+
- Order them as `doc/schedule.md` does; without a schedule, by what they
|
|
47
|
+
wait for, then by the priority of their requirements: `must` before
|
|
48
|
+
`should` before `could`
|
|
49
|
+
|
|
50
|
+
## Match the tickets to the person
|
|
51
|
+
|
|
52
|
+
- Compare each open ticket with the areas of every person in
|
|
53
|
+
`doc/team/people.md`: the repos it changes, the requirements and goals
|
|
54
|
+
it serves, the words of its goal and steps
|
|
55
|
+
- Keep the tickets whose best match is the person; a ticket that matches
|
|
56
|
+
several people equally goes to the person the user names
|
|
57
|
+
- Show a table — ticket, matched person, the area that decided it — and
|
|
58
|
+
let the user move tickets between people. Write nothing back
|
|
59
|
+
|
|
60
|
+
## Fill the sprint
|
|
61
|
+
|
|
62
|
+
- Take each ticket's expected duration from the `Tickets` table of
|
|
63
|
+
`doc/schedule.md`. Without one, estimate it as the
|
|
64
|
+
[schedule guide](schedule-guide.md#estimate-each-ticket) says and show
|
|
65
|
+
the numbers first
|
|
66
|
+
- Add the person's tickets in order until the next one does not fit the
|
|
67
|
+
capacity; stop there, do not skip ahead to smaller ones
|
|
68
|
+
- A ticket bigger than the whole capacity: offer to split it first
|
|
69
|
+
- Show the sprint — tickets, days, the capacity left — and let the user
|
|
70
|
+
confirm or change it
|
|
71
|
+
|
|
72
|
+
## Write the CSV
|
|
73
|
+
|
|
74
|
+
Use these columns, in this order:
|
|
75
|
+
|
|
76
|
+
```csv
|
|
77
|
+
Summary,Issue Type,Priority,Assignee,Labels,Original Estimate,Description
|
|
78
|
+
"Import race data",Story,High,anna@example.com,results-without-desktop-software,158400,"Goal: ...
|
|
79
|
+
Requirements: req-results-002
|
|
80
|
+
Steps:
|
|
81
|
+
- ...
|
|
82
|
+
Plan: doc/2026-Q4/tickets/2026-11-02-import-race-data.md"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
- `Summary` — the ticket title in words, not in kebab case
|
|
86
|
+
- `Issue Type` — `Story`; `Bug` for a bug ticket
|
|
87
|
+
- `Priority` — from the highest priority of its requirements: `must` →
|
|
88
|
+
`High`, `should` → `Medium`, `could` → `Low`
|
|
89
|
+
- `Assignee` — the Jira account of the person
|
|
90
|
+
- `Labels` — the goal the ticket serves, in kebab case; several labels
|
|
91
|
+
separated by spaces
|
|
92
|
+
- `Original Estimate` — the expected duration in seconds, eight hours per
|
|
93
|
+
working day: 5.5 days → `158400`
|
|
94
|
+
- `Description` — the goal, the requirements by ID, the steps and the
|
|
95
|
+
path of the plan file; without a plan file, the line of
|
|
96
|
+
`doc/schedule.md`
|
|
97
|
+
- Encode in UTF-8, separate by commas, end lines with `\n`; quote every
|
|
98
|
+
field that holds a comma, a quote or a line break, and double the
|
|
99
|
+
quotes inside it
|
|
100
|
+
- Tell the user how to import it: Jira → Issues → Import issues from CSV,
|
|
101
|
+
and map the columns of the same name
|
|
102
|
+
|
|
103
|
+
## Take the keys back
|
|
104
|
+
|
|
105
|
+
When the user has imported the file and asks for it, write the Jira keys
|
|
106
|
+
back:
|
|
107
|
+
|
|
108
|
+
- Rename each exported ticket file from `<date>-<title>.md` to
|
|
109
|
+
`<date>-<key>-<title>.md`, key in lower case, and put the key into its
|
|
110
|
+
title line: `# CDM-1800: Import race data`
|
|
111
|
+
- A ticket that had no file gets one now, see the
|
|
112
|
+
[PM repo guide](pm-repo-guide.md#write-the-ticket-file)
|
|
113
|
+
- Use the key as the ticket name in `doc/schedule.md`
|
|
114
|
+
- Do the same in the German copies, if the repo keeps them
|
|
@@ -17,6 +17,9 @@ found in the LICENSE file in the root of this package.
|
|
|
17
17
|
- A ticket that is only planned ends with the PM repo alone
|
|
18
18
|
- Requirements come before tickets: engineer them with the user first, see
|
|
19
19
|
[Engineer the requirements first](#engineer-the-requirements-first)
|
|
20
|
+
- Write the repo in English. If it has `doc/guides/translate-guide.md`
|
|
21
|
+
from the `dna_translate` layer, keep a German copy of every file as
|
|
22
|
+
well, see [Keep two languages](#keep-two-languages)
|
|
20
23
|
|
|
21
24
|
## Structure the repo like this
|
|
22
25
|
|
|
@@ -41,10 +44,22 @@ root
|
|
|
41
44
|
| | |-tickets
|
|
42
45
|
| | | |-2026-09-10-cdm-1317-infrastructure-discovery-server.md
|
|
43
46
|
| | |-bugs
|
|
47
|
+
| |-team
|
|
48
|
+
| | |-people.md
|
|
49
|
+
| | |-roles.md
|
|
50
|
+
| |-reports
|
|
51
|
+
| | |-2026-Q3
|
|
52
|
+
| | | |-anna.md
|
|
53
|
+
| |-exports
|
|
54
|
+
| | |-2026-09-10-anna-sprint.csv
|
|
44
55
|
| |-blog
|
|
45
56
|
| | |-2026
|
|
46
57
|
| | | |-2026-09-10-blogpost-1.md
|
|
58
|
+
| |-de
|
|
59
|
+
| | |-goals
|
|
60
|
+
| | |-...
|
|
47
61
|
|-README.md
|
|
62
|
+
|-README.de.md
|
|
48
63
|
```
|
|
49
64
|
|
|
50
65
|
- `README.md` names the project and links to the current quarter, the
|
|
@@ -62,8 +77,16 @@ root
|
|
|
62
77
|
plus diagrams in `img` as mermaid `.mmd` files
|
|
63
78
|
- `tickets` — one plan file per ticket
|
|
64
79
|
- `bugs` — one file per bug; a bug turns into a ticket once it is planned
|
|
80
|
+
- `team` — who works on the project and in which roles, kept across
|
|
81
|
+
quarters, see [Know the team](#know-the-team)
|
|
82
|
+
- `reports` — one report per person and quarter with the points to tell
|
|
83
|
+
them, see [Report to the people](#report-to-the-people)
|
|
84
|
+
- `exports` — CSV files of tickets for Jira, see
|
|
85
|
+
[Export tickets to Jira](#export-tickets-to-jira)
|
|
65
86
|
- `blog` — one post per finished ticket; exists only if the repo has
|
|
66
87
|
`doc/guides/blog-guide.md` from the `dna_blog` layer, see below
|
|
88
|
+
- `de` and `README.de.md` — the German copy; exist only if the repo keeps
|
|
89
|
+
two languages, see [Keep two languages](#keep-two-languages)
|
|
67
90
|
|
|
68
91
|
## Tell goals and requirements apart
|
|
69
92
|
|
|
@@ -149,6 +172,55 @@ root
|
|
|
149
172
|
they name their bug file instead
|
|
150
173
|
- `/plan-intro` lists the planning skills and says which one comes next
|
|
151
174
|
|
|
175
|
+
## Know the team
|
|
176
|
+
|
|
177
|
+
- Write down who works on the project in `doc/team/people.md`, one
|
|
178
|
+
section per person:
|
|
179
|
+
|
|
180
|
+
```markdown
|
|
181
|
+
# People
|
|
182
|
+
|
|
183
|
+
- Sprint length: 2 weeks
|
|
184
|
+
|
|
185
|
+
## Anna
|
|
186
|
+
|
|
187
|
+
- Areas: result list, import of race data, the `timing_app` repo
|
|
188
|
+
- Roles: Developer, Product Owner
|
|
189
|
+
- Days per week: 4
|
|
190
|
+
- Jira: anna@example.com
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
- The section title is the first name; the file names of the person use
|
|
194
|
+
it in lower case kebab case: `anna`
|
|
195
|
+
- `Areas` — what the person takes care of: features, topics, repos. The
|
|
196
|
+
Jira export matches tickets to people by them
|
|
197
|
+
- `Roles` — one or more of `doc/team/roles.md`
|
|
198
|
+
- `Days per week` — how much of the week the person works on the project
|
|
199
|
+
- `Jira` — the account Jira knows the person by; optional
|
|
200
|
+
- `Sprint length` — once, at the top; default two weeks
|
|
201
|
+
- Write down the roles in `doc/team/roles.md`, one section per role. Start
|
|
202
|
+
with Developer, Product Owner, Management, Sales and Customer, and add
|
|
203
|
+
the ones the project needs:
|
|
204
|
+
|
|
205
|
+
```markdown
|
|
206
|
+
# Roles
|
|
207
|
+
|
|
208
|
+
## Product Owner
|
|
209
|
+
|
|
210
|
+
- Responsible for: goals, requirements and their priority
|
|
211
|
+
- People: Anna
|
|
212
|
+
- Hears about: goals, requirements, decisions, schedule shifts
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
- `Hears about` decides what lands in the reports of the people in that
|
|
216
|
+
role. Customers and sales hear about outcomes and dates, never about
|
|
217
|
+
internals such as code, open decisions or estimates
|
|
218
|
+
- One person may have several roles; their report covers all of them
|
|
219
|
+
- Ask the user for the team before the first report or export; never
|
|
220
|
+
guess people or roles
|
|
221
|
+
- Keep only first names, areas and roles here; no contact data besides
|
|
222
|
+
the Jira account
|
|
223
|
+
|
|
152
224
|
## Fill the concepts folder
|
|
153
225
|
|
|
154
226
|
- `topics` — one file per product topic: evidence, use cases, user needs,
|
|
@@ -187,6 +259,46 @@ root
|
|
|
187
259
|
`2026-09-10-cdm-1317-infrastructure-discovery-server.md`
|
|
188
260
|
- Name goals, requirement areas, topics, ux files, architecture files and diagrams by their
|
|
189
261
|
topic, in English kebab case
|
|
262
|
+
- Name reports `<name>.md` and exports `<yyyy>-<mm>-<dd>-<name>-sprint.csv`,
|
|
263
|
+
`<name>` being the first name in lower case kebab case
|
|
264
|
+
- Keep the English file names in the German copy
|
|
265
|
+
|
|
266
|
+
## Keep two languages
|
|
267
|
+
|
|
268
|
+
- English is the leading language of a PM repo: every file exists in
|
|
269
|
+
English, under `doc` and as `README.md`
|
|
270
|
+
- If the repo has `doc/guides/translate-guide.md` from the `dna_translate`
|
|
271
|
+
layer, every file also exists in German, under `doc/de` with the same
|
|
272
|
+
path and file name, and as `README.de.md`. Without that guide, write
|
|
273
|
+
English only
|
|
274
|
+
- Write the English file first, even when the user talks German, then the
|
|
275
|
+
German copy; change both in the same commit
|
|
276
|
+
- Translate headings and prose. Keep IDs, file names, links, the status
|
|
277
|
+
and priority values and the field names of requirements as they are, so
|
|
278
|
+
both copies stay readable for tools
|
|
279
|
+
- Keep both copies equal in content and structure; a ticked point in a
|
|
280
|
+
report is ticked in both
|
|
281
|
+
- Do not translate the guides, the templates or the CSV exports; the
|
|
282
|
+
guides come from the DNA layers
|
|
283
|
+
|
|
284
|
+
## Report to the people
|
|
285
|
+
|
|
286
|
+
- Keep one report per person and quarter in
|
|
287
|
+
`doc/reports/<yyyy>-Q<n>/<name>.md`: the points the person needs to
|
|
288
|
+
hear, each with a checkbox to tick once it is communicated
|
|
289
|
+
- The [report guide](report-guide.md) says how, `/plan-report` runs it: it
|
|
290
|
+
collects what changed for the roles and areas of the person, appends it
|
|
291
|
+
and starts the file of a new quarter with the open points carried over
|
|
292
|
+
|
|
293
|
+
## Export tickets to Jira
|
|
294
|
+
|
|
295
|
+
- Export the next tickets of one person as a CSV file Jira imports:
|
|
296
|
+
`doc/exports/<yyyy>-<mm>-<dd>-<name>-sprint.csv`
|
|
297
|
+
- The [Jira export guide](jira-export-guide.md) says how,
|
|
298
|
+
`/plan-jira-export` runs it: it matches the open tickets without a Jira
|
|
299
|
+
key to the person by their areas, fills one sprint by the estimates and
|
|
300
|
+
writes the file
|
|
301
|
+
- The person is assigned at export time only, never in the ticket file
|
|
190
302
|
|
|
191
303
|
## Use the design layers
|
|
192
304
|
|
|
@@ -288,3 +400,6 @@ and the requirements it fulfils.
|
|
|
288
400
|
|
|
289
401
|
Update `doc/schedule.md`, if the project has one, and check the forecast
|
|
290
402
|
against the target date.
|
|
403
|
+
|
|
404
|
+
Check `doc/team` and start the reports of the quarter with `/plan-report`;
|
|
405
|
+
it carries the open points of the last quarter over.
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
# Report guide
|
|
10
|
+
|
|
11
|
+
How the people of a project are kept informed: one report per person and
|
|
12
|
+
quarter collects what happened, and each point is ticked once it has been
|
|
13
|
+
communicated.
|
|
14
|
+
|
|
15
|
+
## Know what a report is
|
|
16
|
+
|
|
17
|
+
- One file per person and quarter: `doc/reports/<yyyy>-Q<n>/<name>.md`,
|
|
18
|
+
`<name>` is the first name in lower case kebab case, as in
|
|
19
|
+
`doc/team/people.md`
|
|
20
|
+
- A list of points to tell the person, each with a checkbox. A ticked
|
|
21
|
+
point has been communicated; an open one still has to be
|
|
22
|
+
- It needs the team: without `doc/team/people.md` and
|
|
23
|
+
`doc/team/roles.md`, set them up with the user first, see the
|
|
24
|
+
[PM repo guide](pm-repo-guide.md#know-the-team)
|
|
25
|
+
|
|
26
|
+
## Collect the points
|
|
27
|
+
|
|
28
|
+
- Start from the date of the newest point in the person's report; without
|
|
29
|
+
a report, from the start of the quarter
|
|
30
|
+
- Read what changed in the PM repo since then, e.g. with
|
|
31
|
+
`git log --since=<date> --name-status -- doc`:
|
|
32
|
+
- goals that were added, confirmed, reached or dropped
|
|
33
|
+
- requirements that were added, accepted, changed, done or dropped
|
|
34
|
+
- decisions that were accepted or superseded
|
|
35
|
+
- tickets that were planned or finished, and their blog posts
|
|
36
|
+
- shifts in `doc/schedule.md`: a later forecast, a missed or moved
|
|
37
|
+
target date
|
|
38
|
+
- Keep only what the person needs: what their roles hear about, as
|
|
39
|
+
`doc/team/roles.md` says, and what touches their areas in
|
|
40
|
+
`doc/team/people.md`
|
|
41
|
+
- Write each point as one sentence the person understands without the
|
|
42
|
+
repo: what changed and what it means for them. Link the file it comes
|
|
43
|
+
from
|
|
44
|
+
- Show the proposed points to the user; write only the ones they confirm
|
|
45
|
+
|
|
46
|
+
## Write the report
|
|
47
|
+
|
|
48
|
+
Use this template:
|
|
49
|
+
|
|
50
|
+
```markdown
|
|
51
|
+
# Report for Anna — 2026-Q4
|
|
52
|
+
|
|
53
|
+
- Roles: Product Owner, Management
|
|
54
|
+
- Tick a point once it is communicated
|
|
55
|
+
|
|
56
|
+
## Carried over from 2026-Q3
|
|
57
|
+
|
|
58
|
+
- [ ] 2026-09-28: The result list is planned for November
|
|
59
|
+
([schedule](../../schedule.md))
|
|
60
|
+
|
|
61
|
+
## 2026-10
|
|
62
|
+
|
|
63
|
+
- [x] 2026-10-14: The goal "results without desktop software" is confirmed
|
|
64
|
+
([goal](../../goals/results-without-desktop-software.md))
|
|
65
|
+
- [ ] 2026-10-20: The result list must be ready two seconds after the
|
|
66
|
+
last finisher ([req-results-001](../../requirements/results.md))
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- One section per month, the newest at the bottom; points in date order
|
|
70
|
+
- Each point: `- [ ] <yyyy>-<mm>-<dd>: <sentence> ([<source>](<link>))`
|
|
71
|
+
- Never delete a point; a point that turned out wrong gets a new point
|
|
72
|
+
that corrects it
|
|
73
|
+
|
|
74
|
+
## Start a new quarter
|
|
75
|
+
|
|
76
|
+
- At the first report of a quarter, create
|
|
77
|
+
`doc/reports/<yyyy>-Q<n>/<name>.md` for the person
|
|
78
|
+
- Copy the open points of the previous quarter into
|
|
79
|
+
`## Carried over from <yyyy>-Q<n>`, unchanged and still open
|
|
80
|
+
- End the previous report with one line:
|
|
81
|
+
`Open points carried over to [<yyyy>-Q<n>](../<yyyy>-Q<n>/<name>.md).`
|
|
82
|
+
Leave the rest of the old file as it is
|
|
83
|
+
- A person who joined during the quarter starts with an empty report
|
|
84
|
+
|
|
85
|
+
## Keep both languages in step
|
|
86
|
+
|
|
87
|
+
- If the repo keeps German copies (see the
|
|
88
|
+
[PM repo guide](pm-repo-guide.md#keep-two-languages)), every report also
|
|
89
|
+
exists as `doc/de/reports/<yyyy>-Q<n>/<name>.md`
|
|
90
|
+
- Write each point in both files
|
|
91
|
+
- A tick in either file counts: when a point is ticked in one language,
|
|
92
|
+
tick it in the other. Check both files before every new report
|
|
@@ -34,8 +34,9 @@ requirements. Bug tickets are the exception, they name their bug file.
|
|
|
34
34
|
`proposed` only when the user wants to come back to them
|
|
35
35
|
- Challenge vague answers: ask for a number, an example or a check
|
|
36
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
|
|
38
|
-
repo
|
|
37
|
+
- Talk to the user in their language; write the files in English, plus the
|
|
38
|
+
German copy if the repo keeps one, see the
|
|
39
|
+
[PM repo guide](pm-repo-guide.md#keep-two-languages)
|
|
39
40
|
|
|
40
41
|
## Run the session
|
|
41
42
|
|
|
@@ -29,7 +29,8 @@ Ask one question at a time and propose a default each time:
|
|
|
29
29
|
- Target date — optional. Without one, plan forward from the start and
|
|
30
30
|
report the end date that results
|
|
31
31
|
- Start — default: the next working day
|
|
32
|
-
- Capacity — who works on the project and how many days per week
|
|
32
|
+
- Capacity — who works on the project and how many days per week;
|
|
33
|
+
default: `doc/team/people.md`, if the repo has it
|
|
33
34
|
- Blocked times — holidays, vacations, other projects
|
|
34
35
|
- Scope — which goals; default: all active ones
|
|
35
36
|
|
|
@@ -13,14 +13,18 @@ is planned.
|
|
|
13
13
|
- `/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
|
|
17
|
+
sprint's worth, as a CSV file for Jira
|
|
18
|
+
- `/plan-report` — collects what each person needs to hear into their
|
|
19
|
+
quarterly report, as points to tick off
|
|
16
20
|
|
|
17
21
|
The tickets come after the requirements; the `gg` workflow creates them
|
|
18
22
|
(`/gg-ticket`, if the repo has it).
|
|
19
23
|
|
|
20
24
|
## Say which skill comes next
|
|
21
25
|
|
|
22
|
-
Read `doc/goals`, `doc/requirements
|
|
23
|
-
next step:
|
|
26
|
+
Read `doc/goals`, `doc/requirements`, `doc/schedule.md`, `doc/team` and
|
|
27
|
+
`doc/reports` and name the next step:
|
|
24
28
|
|
|
25
29
|
- No active goal or no accepted requirement → `/plan-requirements`
|
|
26
30
|
- Requirements, but the work at hand is not covered by them →
|
|
@@ -28,6 +32,10 @@ next step:
|
|
|
28
32
|
- Requirements, no schedule, and the user wants a time plan or names a
|
|
29
33
|
target date → `/plan-schedule`
|
|
30
34
|
- Requirements accepted → plan the tickets
|
|
35
|
+
- Planned tickets without a Jira key, and the team works in Jira →
|
|
36
|
+
`/plan-jira-export`
|
|
37
|
+
- Changes since the newest report point, or no report for the current
|
|
38
|
+
quarter yet → `/plan-report`
|
|
31
39
|
|
|
32
40
|
## Important
|
|
33
41
|
|
|
@@ -0,0 +1,17 @@
|
|
|
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.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /plan-jira-export
|
|
7
|
+
|
|
8
|
+
Read [jira-export-guide.md](../../../doc/guides/jira-export-guide.md)
|
|
9
|
+
and work by it.
|
|
10
|
+
|
|
11
|
+
## Important
|
|
12
|
+
|
|
13
|
+
- The person is required; ask for it if the user did not name one
|
|
14
|
+
- Export only tickets without a Jira key, and only one sprint's worth
|
|
15
|
+
- Show the matching and the sprint before writing the CSV
|
|
16
|
+
- Never write the person into a ticket file
|
|
17
|
+
- Write the Jira keys back only when the user asks for it after the import
|
|
@@ -0,0 +1,18 @@
|
|
|
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.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /plan-report
|
|
7
|
+
|
|
8
|
+
Read [report-guide.md](../../../doc/guides/report-guide.md) and work by
|
|
9
|
+
it.
|
|
10
|
+
|
|
11
|
+
## Important
|
|
12
|
+
|
|
13
|
+
- Ask for the person first; default: everyone in `doc/team/people.md`
|
|
14
|
+
- Without `doc/team/people.md` and `doc/team/roles.md`, set up the team
|
|
15
|
+
with the user first
|
|
16
|
+
- Show the proposed points before writing; write only confirmed ones
|
|
17
|
+
- Never untick, delete or rewrite a point
|
|
18
|
+
- Keep the German copy in step, ticks included, if the repo has one
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggdna/dna-plan",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "DNA layer: how a project is planned - the structure of a project management repo, its goals, requirements,
|
|
3
|
+
"version": "0.6.0",
|
|
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",
|
|
7
7
|
"helix",
|