agent-manifesto-kit 0.0.0-development → 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/LICENSE +21 -21
- package/README.md +159 -95
- package/collection/NOTICE.md +36 -36
- package/collection/agents/code-reviewer.md +103 -103
- package/collection/agents/docs-manager.md +127 -127
- package/collection/bundles/kit-adopt/README.md +36 -36
- package/collection/bundles/kit-adopt/conventions/recommended-companions.md +43 -43
- package/collection/bundles/kit-adopt/pipelines/kit-adopt.md +52 -52
- package/collection/bundles/kit-adopt/skills/kit-adopt/SKILL.md +72 -72
- package/collection/bundles/qa-automation/README.md +48 -0
- package/collection/bundles/qa-automation/RECOMMENDS.md +19 -0
- package/collection/bundles/qa-automation/agents/qa-explorer.md +55 -0
- package/collection/bundles/qa-automation/agents/qa-test-reviewer.md +71 -0
- package/collection/bundles/qa-automation/conventions/qa-verification.md +50 -0
- package/collection/bundles/qa-automation/pipelines/qa-test-debug.md +66 -0
- package/collection/bundles/qa-automation/pipelines/qa-test-from-spec.md +65 -0
- package/collection/bundles/qa-automation/skills/qa-playwright-cli/SKILL.md +83 -0
- package/collection/bundles/qa-automation/skills/qa-test-debugger/SKILL.md +60 -0
- package/collection/bundles/qa-automation/skills/qa-test-writer/SKILL.md +60 -0
- package/collection/bundles/sdd/README.md +50 -50
- package/collection/bundles/sdd/RECOMMENDS.md +21 -21
- package/collection/bundles/sdd/agents/sdd-gap-analyzer.md +79 -79
- package/collection/bundles/sdd/agents/sdd-spec-reviewer.md +75 -75
- package/collection/bundles/sdd/conventions/sdd-doc-set.md +136 -136
- package/collection/bundles/sdd/pipelines/sdd-adopt.md +60 -60
- package/collection/bundles/sdd/pipelines/sdd-bootstrap.md +60 -60
- package/collection/bundles/sdd/skills/sdd-doc-author/SKILL.md +69 -69
- package/collection/bundles/sdd/skills/sdd-feature-author/SKILL.md +71 -71
- package/collection/bundles/sdd/skills/sdd-index-sync/SKILL.md +61 -61
- package/collection/bundles/sdd/templates/docs/INDEX.md +35 -35
- package/collection/bundles/sdd/templates/docs/api.md +23 -23
- package/collection/bundles/sdd/templates/docs/architecture.md +42 -42
- package/collection/bundles/sdd/templates/docs/db.md +22 -22
- package/collection/bundles/sdd/templates/docs/decisions/ADR-template.md +24 -24
- package/collection/bundles/sdd/templates/docs/design.md +43 -43
- package/collection/bundles/sdd/templates/docs/idea.md +46 -46
- package/collection/bundles/sdd/templates/docs/operations.md +28 -28
- package/collection/bundles/sdd/templates/docs/roadmap.md +26 -26
- package/collection/bundles/sdd/templates/docs/security.md +24 -24
- package/collection/bundles/sdd/templates/docs/testing.md +34 -34
- package/collection/bundles/sdd/templates/features/F000_template/requirements.md +38 -38
- package/collection/bundles/sdd/templates/features/F000_template/scenarios.md +26 -26
- package/collection/bundles/sdd/templates/features/F000_template/tasks.md +11 -11
- package/collection/skills/brainstorm/SKILL.md +46 -46
- package/collection/skills/business-analyst/SKILL.md +58 -58
- package/collection/skills/documentation-maintenance/SKILL.md +60 -60
- package/collection/skills/explain-code/SKILL.md +81 -81
- package/collection/skills/frontend-audit/SKILL.md +135 -135
- package/collection/skills/frontend-impeccable-design/SKILL.md +135 -135
- package/collection/skills/frontend-impeccable-polish/SKILL.md +118 -118
- package/collection/skills/implement-feature/SKILL.md +99 -99
- package/collection/skills/memory-management/SKILL.md +75 -75
- package/collection/skills/meta-tags-optimizer/SKILL.md +73 -73
- package/collection/skills/pencil-design/SKILL.md +83 -83
- package/collection/skills/playwright-cli/SKILL.md +104 -104
- package/collection/skills/prepare-release-notes/SKILL.md +109 -109
- package/collection/skills/refactor-code/SKILL.md +104 -104
- package/collection/skills/review-code/SKILL.md +98 -98
- package/collection/skills/schema-markup-generator/SKILL.md +80 -80
- package/collection/skills/task-complete/SKILL.md +79 -79
- package/collection/skills/task-discovery/SKILL.md +69 -69
- package/collection/skills/task-validation/SKILL.md +71 -71
- package/collection/skills/test-review/SKILL.md +72 -72
- package/collection/skills/test-writer/SKILL.md +78 -78
- package/collection/skills/work-with-git/SKILL.md +154 -154
- package/dist/cli.js +31 -22
- package/dist/commands/adopt.js +240 -40
- package/dist/providers.js +3 -6
- package/package.json +48 -49
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sdd-feature-author
|
|
3
|
-
description: Scaffolds or updates one feature folder (requirements, tasks, scenarios) as a unit in a docs/ SDD tree, with stable feature, requirement, task, and scenario IDs and traceability links. Use when adding or revising a feature.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Scope
|
|
7
|
-
|
|
8
|
-
- Create or revise exactly one feature folder per run at `features/F<NNN>_<short-name>/`,
|
|
9
|
-
producing or updating `requirements.md`, `tasks.md`, and `scenarios.md` together.
|
|
10
|
-
- Assign and preserve IDs per the doc-set convention: feature `F<NNN>`, requirement
|
|
11
|
-
`F<NNN>-R<n>`, task `F<NNN>-T<n>`, scenario `F<NNN>-S<n>`.
|
|
12
|
-
- Maintain traceability: each requirement links up to an `idea.md` scope item or
|
|
13
|
-
`roadmap.md` entry, and down to at least one task and one scenario.
|
|
14
|
-
- Do not edit main or extension docs, rebuild `INDEX.md`, or renumber existing IDs.
|
|
15
|
-
|
|
16
|
-
## Required Environment
|
|
17
|
-
|
|
18
|
-
This skill ships in the SDD bundle and depends on files that travel with it:
|
|
19
|
-
- the `sdd-doc-set` convention (feature-folder schema, ID scheme, traceability spine);
|
|
20
|
-
- the feature templates under the bundle's `templates/features/F000_template/`.
|
|
21
|
-
|
|
22
|
-
If either is unavailable, report it as a blocker before writing.
|
|
23
|
-
|
|
24
|
-
## Inputs
|
|
25
|
-
|
|
26
|
-
- Feature intent and short name.
|
|
27
|
-
- The `idea.md` scope item or `roadmap.md` entry the feature serves.
|
|
28
|
-
- Mode: `new` or `revise` (with the existing feature ID when revising).
|
|
29
|
-
|
|
30
|
-
## Procedure
|
|
31
|
-
|
|
32
|
-
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
33
|
-
|
|
34
|
-
1. Determine the feature ID: in `new` mode use the next free sequential `F<NNN>`; in
|
|
35
|
-
`revise` mode use the existing folder. Build the slug `F<NNN>_<short-name>`.
|
|
36
|
-
2. Write `requirements.md`: summary, the served `idea`/`roadmap` link, requirements with
|
|
37
|
-
`F<NNN>-R<n>` IDs, acceptance criteria, constraints, and explicit out-of-scope.
|
|
38
|
-
3. Write `tasks.md`: tasks with `F<NNN>-T<n>` IDs, each linked to the requirement(s) it
|
|
39
|
-
implements, with status and dependencies.
|
|
40
|
-
4. Write `scenarios.md`: Gherkin scenarios with `F<NNN>-S<n>` IDs linked to requirements,
|
|
41
|
-
plus a manual verification checklist.
|
|
42
|
-
5. Verify each requirement has at least one task and one scenario. Flag any requirement,
|
|
43
|
-
task, or scenario that lacks a link as a traceability gap.
|
|
44
|
-
6. Note that `INDEX.md` needs re-syncing. Do not edit `INDEX.md` here.
|
|
45
|
-
|
|
46
|
-
## Stop Conditions
|
|
47
|
-
|
|
48
|
-
Stop and report a blocker when:
|
|
49
|
-
- a requirement cannot be traced up to an `idea.md` or `roadmap.md` item;
|
|
50
|
-
- two stated requirements directly conflict;
|
|
51
|
-
- the chosen feature ID or slug collides with an existing feature.
|
|
52
|
-
|
|
53
|
-
## Output Contract
|
|
54
|
-
|
|
55
|
-
Emit:
|
|
56
|
-
|
|
57
|
-
`Skill: sdd-feature-author - output below`
|
|
58
|
-
|
|
59
|
-
Then include:
|
|
60
|
-
|
|
61
|
-
| Field | Content |
|
|
62
|
-
| --- | --- |
|
|
63
|
-
| Status | `completed`, `blocked`, or `skipped` |
|
|
64
|
-
| Feature | `F<NNN>_<short-name>` |
|
|
65
|
-
| Mode | `new` or `revise` |
|
|
66
|
-
| Requirements | Count and IDs |
|
|
67
|
-
| Tasks | Count and IDs |
|
|
68
|
-
| Scenarios | Count and IDs |
|
|
69
|
-
| Traceability gaps | Requirements without a task or scenario, or `none` |
|
|
70
|
-
| INDEX sync needed | `yes` |
|
|
71
|
-
| Blockers | Unresolved issues, or `none` |
|
|
1
|
+
---
|
|
2
|
+
name: sdd-feature-author
|
|
3
|
+
description: Scaffolds or updates one feature folder (requirements, tasks, scenarios) as a unit in a docs/ SDD tree, with stable feature, requirement, task, and scenario IDs and traceability links. Use when adding or revising a feature.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
- Create or revise exactly one feature folder per run at `features/F<NNN>_<short-name>/`,
|
|
9
|
+
producing or updating `requirements.md`, `tasks.md`, and `scenarios.md` together.
|
|
10
|
+
- Assign and preserve IDs per the doc-set convention: feature `F<NNN>`, requirement
|
|
11
|
+
`F<NNN>-R<n>`, task `F<NNN>-T<n>`, scenario `F<NNN>-S<n>`.
|
|
12
|
+
- Maintain traceability: each requirement links up to an `idea.md` scope item or
|
|
13
|
+
`roadmap.md` entry, and down to at least one task and one scenario.
|
|
14
|
+
- Do not edit main or extension docs, rebuild `INDEX.md`, or renumber existing IDs.
|
|
15
|
+
|
|
16
|
+
## Required Environment
|
|
17
|
+
|
|
18
|
+
This skill ships in the SDD bundle and depends on files that travel with it:
|
|
19
|
+
- the `sdd-doc-set` convention (feature-folder schema, ID scheme, traceability spine);
|
|
20
|
+
- the feature templates under the bundle's `templates/features/F000_template/`.
|
|
21
|
+
|
|
22
|
+
If either is unavailable, report it as a blocker before writing.
|
|
23
|
+
|
|
24
|
+
## Inputs
|
|
25
|
+
|
|
26
|
+
- Feature intent and short name.
|
|
27
|
+
- The `idea.md` scope item or `roadmap.md` entry the feature serves.
|
|
28
|
+
- Mode: `new` or `revise` (with the existing feature ID when revising).
|
|
29
|
+
|
|
30
|
+
## Procedure
|
|
31
|
+
|
|
32
|
+
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
33
|
+
|
|
34
|
+
1. Determine the feature ID: in `new` mode use the next free sequential `F<NNN>`; in
|
|
35
|
+
`revise` mode use the existing folder. Build the slug `F<NNN>_<short-name>`.
|
|
36
|
+
2. Write `requirements.md`: summary, the served `idea`/`roadmap` link, requirements with
|
|
37
|
+
`F<NNN>-R<n>` IDs, acceptance criteria, constraints, and explicit out-of-scope.
|
|
38
|
+
3. Write `tasks.md`: tasks with `F<NNN>-T<n>` IDs, each linked to the requirement(s) it
|
|
39
|
+
implements, with status and dependencies.
|
|
40
|
+
4. Write `scenarios.md`: Gherkin scenarios with `F<NNN>-S<n>` IDs linked to requirements,
|
|
41
|
+
plus a manual verification checklist.
|
|
42
|
+
5. Verify each requirement has at least one task and one scenario. Flag any requirement,
|
|
43
|
+
task, or scenario that lacks a link as a traceability gap.
|
|
44
|
+
6. Note that `INDEX.md` needs re-syncing. Do not edit `INDEX.md` here.
|
|
45
|
+
|
|
46
|
+
## Stop Conditions
|
|
47
|
+
|
|
48
|
+
Stop and report a blocker when:
|
|
49
|
+
- a requirement cannot be traced up to an `idea.md` or `roadmap.md` item;
|
|
50
|
+
- two stated requirements directly conflict;
|
|
51
|
+
- the chosen feature ID or slug collides with an existing feature.
|
|
52
|
+
|
|
53
|
+
## Output Contract
|
|
54
|
+
|
|
55
|
+
Emit:
|
|
56
|
+
|
|
57
|
+
`Skill: sdd-feature-author - output below`
|
|
58
|
+
|
|
59
|
+
Then include:
|
|
60
|
+
|
|
61
|
+
| Field | Content |
|
|
62
|
+
| --- | --- |
|
|
63
|
+
| Status | `completed`, `blocked`, or `skipped` |
|
|
64
|
+
| Feature | `F<NNN>_<short-name>` |
|
|
65
|
+
| Mode | `new` or `revise` |
|
|
66
|
+
| Requirements | Count and IDs |
|
|
67
|
+
| Tasks | Count and IDs |
|
|
68
|
+
| Scenarios | Count and IDs |
|
|
69
|
+
| Traceability gaps | Requirements without a task or scenario, or `none` |
|
|
70
|
+
| INDEX sync needed | `yes` |
|
|
71
|
+
| Blockers | Unresolved issues, or `none` |
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: sdd-index-sync
|
|
3
|
-
description: Rebuilds docs/INDEX.md (document map, feature registry, decision log) from the current docs tree so the index reflects the files that actually exist. Use after any doc, feature, or ADR change.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Scope
|
|
7
|
-
|
|
8
|
-
- Regenerate `docs/INDEX.md` only, from the present state of the docs tree.
|
|
9
|
-
- Register the main and extension docs that exist, the feature folders with their counts
|
|
10
|
-
and status, and the ADRs with their status.
|
|
11
|
-
- Do not edit any document other than `INDEX.md`, invent statuses, or add routing, gates,
|
|
12
|
-
or behavioral rules to the index.
|
|
13
|
-
|
|
14
|
-
## Required Environment
|
|
15
|
-
|
|
16
|
-
This skill ships in the SDD bundle and depends on files that travel with it:
|
|
17
|
-
- the `sdd-doc-set` convention (what belongs in the index and the ID scheme);
|
|
18
|
-
- the `INDEX.md` template under the bundle's `templates/docs/`.
|
|
19
|
-
|
|
20
|
-
If the docs root cannot be located, report it as a blocker.
|
|
21
|
-
|
|
22
|
-
## Inputs
|
|
23
|
-
|
|
24
|
-
- The `docs/` root (or the project's recorded authoritative docs root).
|
|
25
|
-
|
|
26
|
-
## Procedure
|
|
27
|
-
|
|
28
|
-
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
29
|
-
|
|
30
|
-
1. Scan the docs root for present main docs and extension docs.
|
|
31
|
-
2. Scan `features/` for `F<NNN>_*` folders; for each, count requirements, tasks, and
|
|
32
|
-
scenarios by their IDs and read the feature status if recorded.
|
|
33
|
-
3. Scan `decisions/` for `ADR-*` files and read each status.
|
|
34
|
-
4. Render `INDEX.md` from the template: the document table (present docs only), the feature
|
|
35
|
-
registry, and the decision log.
|
|
36
|
-
5. Preserve human-curated "read when" descriptions and notes where they already exist;
|
|
37
|
-
replace only the generated registry rows.
|
|
38
|
-
6. Flag traceability gaps surfaced while counting (a feature with no scenarios, an ADR with
|
|
39
|
-
no status) without resolving them.
|
|
40
|
-
|
|
41
|
-
## Stop Conditions
|
|
42
|
-
|
|
43
|
-
Stop and report a blocker when the docs root cannot be located or is not a recognizable
|
|
44
|
-
SDD doc tree.
|
|
45
|
-
|
|
46
|
-
## Output Contract
|
|
47
|
-
|
|
48
|
-
Emit:
|
|
49
|
-
|
|
50
|
-
`Skill: sdd-index-sync - output below`
|
|
51
|
-
|
|
52
|
-
Then include:
|
|
53
|
-
|
|
54
|
-
| Field | Content |
|
|
55
|
-
| --- | --- |
|
|
56
|
-
| Status | `completed`, `blocked`, or `skipped` |
|
|
57
|
-
| Docs registered | Count and names |
|
|
58
|
-
| Features registered | Count and IDs |
|
|
59
|
-
| ADRs registered | Count and IDs |
|
|
60
|
-
| Gaps flagged | Traceability gaps found, or `none` |
|
|
61
|
-
| Blockers | Unresolved issues, or `none` |
|
|
1
|
+
---
|
|
2
|
+
name: sdd-index-sync
|
|
3
|
+
description: Rebuilds docs/INDEX.md (document map, feature registry, decision log) from the current docs tree so the index reflects the files that actually exist. Use after any doc, feature, or ADR change.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
- Regenerate `docs/INDEX.md` only, from the present state of the docs tree.
|
|
9
|
+
- Register the main and extension docs that exist, the feature folders with their counts
|
|
10
|
+
and status, and the ADRs with their status.
|
|
11
|
+
- Do not edit any document other than `INDEX.md`, invent statuses, or add routing, gates,
|
|
12
|
+
or behavioral rules to the index.
|
|
13
|
+
|
|
14
|
+
## Required Environment
|
|
15
|
+
|
|
16
|
+
This skill ships in the SDD bundle and depends on files that travel with it:
|
|
17
|
+
- the `sdd-doc-set` convention (what belongs in the index and the ID scheme);
|
|
18
|
+
- the `INDEX.md` template under the bundle's `templates/docs/`.
|
|
19
|
+
|
|
20
|
+
If the docs root cannot be located, report it as a blocker.
|
|
21
|
+
|
|
22
|
+
## Inputs
|
|
23
|
+
|
|
24
|
+
- The `docs/` root (or the project's recorded authoritative docs root).
|
|
25
|
+
|
|
26
|
+
## Procedure
|
|
27
|
+
|
|
28
|
+
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
29
|
+
|
|
30
|
+
1. Scan the docs root for present main docs and extension docs.
|
|
31
|
+
2. Scan `features/` for `F<NNN>_*` folders; for each, count requirements, tasks, and
|
|
32
|
+
scenarios by their IDs and read the feature status if recorded.
|
|
33
|
+
3. Scan `decisions/` for `ADR-*` files and read each status.
|
|
34
|
+
4. Render `INDEX.md` from the template: the document table (present docs only), the feature
|
|
35
|
+
registry, and the decision log.
|
|
36
|
+
5. Preserve human-curated "read when" descriptions and notes where they already exist;
|
|
37
|
+
replace only the generated registry rows.
|
|
38
|
+
6. Flag traceability gaps surfaced while counting (a feature with no scenarios, an ADR with
|
|
39
|
+
no status) without resolving them.
|
|
40
|
+
|
|
41
|
+
## Stop Conditions
|
|
42
|
+
|
|
43
|
+
Stop and report a blocker when the docs root cannot be located or is not a recognizable
|
|
44
|
+
SDD doc tree.
|
|
45
|
+
|
|
46
|
+
## Output Contract
|
|
47
|
+
|
|
48
|
+
Emit:
|
|
49
|
+
|
|
50
|
+
`Skill: sdd-index-sync - output below`
|
|
51
|
+
|
|
52
|
+
Then include:
|
|
53
|
+
|
|
54
|
+
| Field | Content |
|
|
55
|
+
| --- | --- |
|
|
56
|
+
| Status | `completed`, `blocked`, or `skipped` |
|
|
57
|
+
| Docs registered | Count and names |
|
|
58
|
+
| Features registered | Count and IDs |
|
|
59
|
+
| ADRs registered | Count and IDs |
|
|
60
|
+
| Gaps flagged | Traceability gaps found, or `none` |
|
|
61
|
+
| Blockers | Unresolved issues, or `none` |
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
# Documentation Index
|
|
2
|
-
|
|
3
|
-
<!-- Live map of the docs tree and feature registry. Lookup aid only:
|
|
4
|
-
no routing, gates, or behavioral rules. Keep in sync after any doc/feature change
|
|
5
|
-
(the sdd-index-sync skill rebuilds this file). -->
|
|
6
|
-
|
|
7
|
-
**Tier:** <Lean | Standard | Full>
|
|
8
|
-
**Docs root:** `docs/`
|
|
9
|
-
|
|
10
|
-
## Documents
|
|
11
|
-
|
|
12
|
-
| Document | Owns | Read when |
|
|
13
|
-
| --- | --- | --- |
|
|
14
|
-
| `idea.md` | Problem, users, scope, principles | You need project intent or scope boundaries |
|
|
15
|
-
| `architecture.md` | Technical structure | You need components, data, stack, constraints |
|
|
16
|
-
| `design.md` | Product/UX design | You need flows, screens, states |
|
|
17
|
-
| `testing.md` | Test strategy | You need how quality is verified |
|
|
18
|
-
| `roadmap.md` | Phases and sequencing | You need release plan or priorities |
|
|
19
|
-
| `decisions/` | Architectural decisions | You need the rationale behind a choice |
|
|
20
|
-
|
|
21
|
-
<!-- Add a row for each optional extension doc that exists, e.g.: -->
|
|
22
|
-
<!-- | `api.md` | API / interface contracts | You need request/response details | -->
|
|
23
|
-
<!-- | `db.md` | Data model and schema | You need entities or migrations | -->
|
|
24
|
-
|
|
25
|
-
## Feature Registry
|
|
26
|
-
|
|
27
|
-
| ID | Feature | Status | Requirements | Tasks | Scenarios | Serves |
|
|
28
|
-
| --- | --- | --- | --- | --- | --- | --- |
|
|
29
|
-
| F001 | <short-name> | <planned/in-progress/done> | <n> | <n> | <n> | <idea/roadmap item> |
|
|
30
|
-
|
|
31
|
-
## Decision Log
|
|
32
|
-
|
|
33
|
-
| ADR | Title | Status |
|
|
34
|
-
| --- | --- | --- |
|
|
35
|
-
| ADR-001 | <title> | <proposed/accepted/superseded> |
|
|
1
|
+
# Documentation Index
|
|
2
|
+
|
|
3
|
+
<!-- Live map of the docs tree and feature registry. Lookup aid only:
|
|
4
|
+
no routing, gates, or behavioral rules. Keep in sync after any doc/feature change
|
|
5
|
+
(the sdd-index-sync skill rebuilds this file). -->
|
|
6
|
+
|
|
7
|
+
**Tier:** <Lean | Standard | Full>
|
|
8
|
+
**Docs root:** `docs/`
|
|
9
|
+
|
|
10
|
+
## Documents
|
|
11
|
+
|
|
12
|
+
| Document | Owns | Read when |
|
|
13
|
+
| --- | --- | --- |
|
|
14
|
+
| `idea.md` | Problem, users, scope, principles | You need project intent or scope boundaries |
|
|
15
|
+
| `architecture.md` | Technical structure | You need components, data, stack, constraints |
|
|
16
|
+
| `design.md` | Product/UX design | You need flows, screens, states |
|
|
17
|
+
| `testing.md` | Test strategy | You need how quality is verified |
|
|
18
|
+
| `roadmap.md` | Phases and sequencing | You need release plan or priorities |
|
|
19
|
+
| `decisions/` | Architectural decisions | You need the rationale behind a choice |
|
|
20
|
+
|
|
21
|
+
<!-- Add a row for each optional extension doc that exists, e.g.: -->
|
|
22
|
+
<!-- | `api.md` | API / interface contracts | You need request/response details | -->
|
|
23
|
+
<!-- | `db.md` | Data model and schema | You need entities or migrations | -->
|
|
24
|
+
|
|
25
|
+
## Feature Registry
|
|
26
|
+
|
|
27
|
+
| ID | Feature | Status | Requirements | Tasks | Scenarios | Serves |
|
|
28
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
29
|
+
| F001 | <short-name> | <planned/in-progress/done> | <n> | <n> | <n> | <idea/roadmap item> |
|
|
30
|
+
|
|
31
|
+
## Decision Log
|
|
32
|
+
|
|
33
|
+
| ADR | Title | Status |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| ADR-001 | <title> | <proposed/accepted/superseded> |
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# API
|
|
2
|
-
|
|
3
|
-
<!-- Optional extension doc. Owns API / interface contracts split out of architecture.md.
|
|
4
|
-
Leave a summary + link in architecture.md. Register this doc in INDEX.md.
|
|
5
|
-
When the API grows into several areas, promote to docs/api/ with a mini-index. -->
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
<!-- Style (REST/GraphQL/RPC), base URL, versioning, auth requirement. -->
|
|
10
|
-
|
|
11
|
-
## Conventions
|
|
12
|
-
|
|
13
|
-
<!-- Shared rules: auth, pagination, errors, status codes, content types. -->
|
|
14
|
-
|
|
15
|
-
## Endpoints
|
|
16
|
-
|
|
17
|
-
### <METHOD> <path>
|
|
18
|
-
|
|
19
|
-
- **Purpose:** <what it does>
|
|
20
|
-
- **Auth:** <required scope/role, or none>
|
|
21
|
-
- **Request:** <params / body schema>
|
|
22
|
-
- **Response:** <status + body schema>
|
|
23
|
-
- **Errors:** <notable error cases>
|
|
1
|
+
# API
|
|
2
|
+
|
|
3
|
+
<!-- Optional extension doc. Owns API / interface contracts split out of architecture.md.
|
|
4
|
+
Leave a summary + link in architecture.md. Register this doc in INDEX.md.
|
|
5
|
+
When the API grows into several areas, promote to docs/api/ with a mini-index. -->
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
<!-- Style (REST/GraphQL/RPC), base URL, versioning, auth requirement. -->
|
|
10
|
+
|
|
11
|
+
## Conventions
|
|
12
|
+
|
|
13
|
+
<!-- Shared rules: auth, pagination, errors, status codes, content types. -->
|
|
14
|
+
|
|
15
|
+
## Endpoints
|
|
16
|
+
|
|
17
|
+
### <METHOD> <path>
|
|
18
|
+
|
|
19
|
+
- **Purpose:** <what it does>
|
|
20
|
+
- **Auth:** <required scope/role, or none>
|
|
21
|
+
- **Request:** <params / body schema>
|
|
22
|
+
- **Response:** <status + body schema>
|
|
23
|
+
- **Errors:** <notable error cases>
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
# Architecture
|
|
2
|
-
|
|
3
|
-
<!-- Owns: technical structure. Keep product/UX in design.md and the decision log in
|
|
4
|
-
decisions/. Link to ADRs for the "why" behind a choice. -->
|
|
5
|
-
|
|
6
|
-
## System Context
|
|
7
|
-
|
|
8
|
-
<!-- What the system is, its boundaries, and the external actors/systems it talks to. -->
|
|
9
|
-
|
|
10
|
-
## Components
|
|
11
|
-
|
|
12
|
-
<!-- The major parts and their responsibilities. A diagram or table is welcome. -->
|
|
13
|
-
|
|
14
|
-
| Component | Responsibility | Notes |
|
|
15
|
-
| --- | --- | --- |
|
|
16
|
-
| <name> | <what it does> | <tech / location> |
|
|
17
|
-
|
|
18
|
-
## Data Model
|
|
19
|
-
|
|
20
|
-
<!-- Key entities, their relationships, and where state lives. -->
|
|
21
|
-
|
|
22
|
-
## Tech Stack
|
|
23
|
-
|
|
24
|
-
<!-- Languages, frameworks, datastores, infra. Note versions where they matter. -->
|
|
25
|
-
|
|
26
|
-
## Integrations
|
|
27
|
-
|
|
28
|
-
<!-- External services, APIs, and how the system depends on them. -->
|
|
29
|
-
|
|
30
|
-
## Constraints
|
|
31
|
-
|
|
32
|
-
<!-- Performance, security, compliance, cost, or platform constraints. -->
|
|
33
|
-
|
|
34
|
-
## Cross-Cutting Concerns
|
|
35
|
-
|
|
36
|
-
<!-- Auth, logging, error handling, config, observability, i18n. -->
|
|
37
|
-
|
|
38
|
-
## Key Decisions
|
|
39
|
-
|
|
40
|
-
<!-- Link to the ADRs that shaped this architecture. -->
|
|
41
|
-
|
|
42
|
-
- See `decisions/ADR-<NNN>-<slug>.md` — <one-line summary>
|
|
1
|
+
# Architecture
|
|
2
|
+
|
|
3
|
+
<!-- Owns: technical structure. Keep product/UX in design.md and the decision log in
|
|
4
|
+
decisions/. Link to ADRs for the "why" behind a choice. -->
|
|
5
|
+
|
|
6
|
+
## System Context
|
|
7
|
+
|
|
8
|
+
<!-- What the system is, its boundaries, and the external actors/systems it talks to. -->
|
|
9
|
+
|
|
10
|
+
## Components
|
|
11
|
+
|
|
12
|
+
<!-- The major parts and their responsibilities. A diagram or table is welcome. -->
|
|
13
|
+
|
|
14
|
+
| Component | Responsibility | Notes |
|
|
15
|
+
| --- | --- | --- |
|
|
16
|
+
| <name> | <what it does> | <tech / location> |
|
|
17
|
+
|
|
18
|
+
## Data Model
|
|
19
|
+
|
|
20
|
+
<!-- Key entities, their relationships, and where state lives. -->
|
|
21
|
+
|
|
22
|
+
## Tech Stack
|
|
23
|
+
|
|
24
|
+
<!-- Languages, frameworks, datastores, infra. Note versions where they matter. -->
|
|
25
|
+
|
|
26
|
+
## Integrations
|
|
27
|
+
|
|
28
|
+
<!-- External services, APIs, and how the system depends on them. -->
|
|
29
|
+
|
|
30
|
+
## Constraints
|
|
31
|
+
|
|
32
|
+
<!-- Performance, security, compliance, cost, or platform constraints. -->
|
|
33
|
+
|
|
34
|
+
## Cross-Cutting Concerns
|
|
35
|
+
|
|
36
|
+
<!-- Auth, logging, error handling, config, observability, i18n. -->
|
|
37
|
+
|
|
38
|
+
## Key Decisions
|
|
39
|
+
|
|
40
|
+
<!-- Link to the ADRs that shaped this architecture. -->
|
|
41
|
+
|
|
42
|
+
- See `decisions/ADR-<NNN>-<slug>.md` — <one-line summary>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# Database
|
|
2
|
-
|
|
3
|
-
<!-- Optional extension doc. Owns persistence: data model, schema, migrations.
|
|
4
|
-
Leave a summary + link in architecture.md. Register this doc in INDEX.md. -->
|
|
5
|
-
|
|
6
|
-
## Storage
|
|
7
|
-
|
|
8
|
-
<!-- Engine(s), where data lives, key configuration. -->
|
|
9
|
-
|
|
10
|
-
## Entities
|
|
11
|
-
|
|
12
|
-
| Entity | Purpose | Key fields | Relationships |
|
|
13
|
-
| --- | --- | --- | --- |
|
|
14
|
-
| <name> | <what it represents> | <fields> | <links to other entities> |
|
|
15
|
-
|
|
16
|
-
## Schema Notes
|
|
17
|
-
|
|
18
|
-
<!-- Indexes, constraints, derived/computed data, retention. -->
|
|
19
|
-
|
|
20
|
-
## Migrations
|
|
21
|
-
|
|
22
|
-
<!-- How schema changes are managed, tooling, and ordering rules. -->
|
|
1
|
+
# Database
|
|
2
|
+
|
|
3
|
+
<!-- Optional extension doc. Owns persistence: data model, schema, migrations.
|
|
4
|
+
Leave a summary + link in architecture.md. Register this doc in INDEX.md. -->
|
|
5
|
+
|
|
6
|
+
## Storage
|
|
7
|
+
|
|
8
|
+
<!-- Engine(s), where data lives, key configuration. -->
|
|
9
|
+
|
|
10
|
+
## Entities
|
|
11
|
+
|
|
12
|
+
| Entity | Purpose | Key fields | Relationships |
|
|
13
|
+
| --- | --- | --- | --- |
|
|
14
|
+
| <name> | <what it represents> | <fields> | <links to other entities> |
|
|
15
|
+
|
|
16
|
+
## Schema Notes
|
|
17
|
+
|
|
18
|
+
<!-- Indexes, constraints, derived/computed data, retention. -->
|
|
19
|
+
|
|
20
|
+
## Migrations
|
|
21
|
+
|
|
22
|
+
<!-- How schema changes are managed, tooling, and ordering rules. -->
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# ADR-<NNN>: <title>
|
|
2
|
-
|
|
3
|
-
<!-- One architectural decision per file. Copy this template to
|
|
4
|
-
decisions/ADR-<NNN>-<slug>.md and fill it in. IDs are stable once assigned. -->
|
|
5
|
-
|
|
6
|
-
- **Status:** <proposed | accepted | superseded by ADR-<NNN> | deprecated>
|
|
7
|
-
- **Date:** <YYYY-MM-DD>
|
|
8
|
-
- **Deciders:** <who decided>
|
|
9
|
-
|
|
10
|
-
## Context
|
|
11
|
-
|
|
12
|
-
<!-- The forces at play: the problem, constraints, and why a decision is needed now. -->
|
|
13
|
-
|
|
14
|
-
## Decision
|
|
15
|
-
|
|
16
|
-
<!-- The choice made, stated plainly. -->
|
|
17
|
-
|
|
18
|
-
## Consequences
|
|
19
|
-
|
|
20
|
-
<!-- What becomes easier or harder as a result. Include trade-offs accepted. -->
|
|
21
|
-
|
|
22
|
-
## Alternatives Considered
|
|
23
|
-
|
|
24
|
-
- **<alternative>** — <why it was not chosen>
|
|
1
|
+
# ADR-<NNN>: <title>
|
|
2
|
+
|
|
3
|
+
<!-- One architectural decision per file. Copy this template to
|
|
4
|
+
decisions/ADR-<NNN>-<slug>.md and fill it in. IDs are stable once assigned. -->
|
|
5
|
+
|
|
6
|
+
- **Status:** <proposed | accepted | superseded by ADR-<NNN> | deprecated>
|
|
7
|
+
- **Date:** <YYYY-MM-DD>
|
|
8
|
+
- **Deciders:** <who decided>
|
|
9
|
+
|
|
10
|
+
## Context
|
|
11
|
+
|
|
12
|
+
<!-- The forces at play: the problem, constraints, and why a decision is needed now. -->
|
|
13
|
+
|
|
14
|
+
## Decision
|
|
15
|
+
|
|
16
|
+
<!-- The choice made, stated plainly. -->
|
|
17
|
+
|
|
18
|
+
## Consequences
|
|
19
|
+
|
|
20
|
+
<!-- What becomes easier or harder as a result. Include trade-offs accepted. -->
|
|
21
|
+
|
|
22
|
+
## Alternatives Considered
|
|
23
|
+
|
|
24
|
+
- **<alternative>** — <why it was not chosen>
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
# Design
|
|
2
|
-
|
|
3
|
-
<!-- Owns: product/UX design. Keep technical structure in architecture.md.
|
|
4
|
-
Omit this file entirely on the Lean tier. -->
|
|
5
|
-
|
|
6
|
-
## UX Principles
|
|
7
|
-
|
|
8
|
-
<!-- Experience principles that guide design trade-offs. -->
|
|
9
|
-
|
|
10
|
-
- <principle>
|
|
11
|
-
|
|
12
|
-
## User Flows
|
|
13
|
-
|
|
14
|
-
<!-- The primary paths a user takes to accomplish a goal. One subsection per flow. -->
|
|
15
|
-
|
|
16
|
-
### <flow name>
|
|
17
|
-
|
|
18
|
-
1. <step>
|
|
19
|
-
2. <step>
|
|
20
|
-
|
|
21
|
-
## Key Screens / Views
|
|
22
|
-
|
|
23
|
-
<!-- The important screens or views and their purpose. -->
|
|
24
|
-
|
|
25
|
-
| Screen / View | Purpose | Entry point |
|
|
26
|
-
| --- | --- | --- |
|
|
27
|
-
| <name> | <what the user does here> | <how they get here> |
|
|
28
|
-
|
|
29
|
-
## States
|
|
30
|
-
|
|
31
|
-
<!-- For each key view, the non-happy states. -->
|
|
32
|
-
|
|
33
|
-
- **Empty** — <what the user sees with no data>
|
|
34
|
-
- **Loading** — <loading treatment>
|
|
35
|
-
- **Error** — <error treatment and recovery>
|
|
36
|
-
|
|
37
|
-
## Interaction Patterns
|
|
38
|
-
|
|
39
|
-
<!-- Reusable patterns: forms, navigation, feedback, confirmation, etc. -->
|
|
40
|
-
|
|
41
|
-
## Accessibility
|
|
42
|
-
|
|
43
|
-
<!-- Accessibility commitments and notable considerations. -->
|
|
1
|
+
# Design
|
|
2
|
+
|
|
3
|
+
<!-- Owns: product/UX design. Keep technical structure in architecture.md.
|
|
4
|
+
Omit this file entirely on the Lean tier. -->
|
|
5
|
+
|
|
6
|
+
## UX Principles
|
|
7
|
+
|
|
8
|
+
<!-- Experience principles that guide design trade-offs. -->
|
|
9
|
+
|
|
10
|
+
- <principle>
|
|
11
|
+
|
|
12
|
+
## User Flows
|
|
13
|
+
|
|
14
|
+
<!-- The primary paths a user takes to accomplish a goal. One subsection per flow. -->
|
|
15
|
+
|
|
16
|
+
### <flow name>
|
|
17
|
+
|
|
18
|
+
1. <step>
|
|
19
|
+
2. <step>
|
|
20
|
+
|
|
21
|
+
## Key Screens / Views
|
|
22
|
+
|
|
23
|
+
<!-- The important screens or views and their purpose. -->
|
|
24
|
+
|
|
25
|
+
| Screen / View | Purpose | Entry point |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| <name> | <what the user does here> | <how they get here> |
|
|
28
|
+
|
|
29
|
+
## States
|
|
30
|
+
|
|
31
|
+
<!-- For each key view, the non-happy states. -->
|
|
32
|
+
|
|
33
|
+
- **Empty** — <what the user sees with no data>
|
|
34
|
+
- **Loading** — <loading treatment>
|
|
35
|
+
- **Error** — <error treatment and recovery>
|
|
36
|
+
|
|
37
|
+
## Interaction Patterns
|
|
38
|
+
|
|
39
|
+
<!-- Reusable patterns: forms, navigation, feedback, confirmation, etc. -->
|
|
40
|
+
|
|
41
|
+
## Accessibility
|
|
42
|
+
|
|
43
|
+
<!-- Accessibility commitments and notable considerations. -->
|