sdtk-kit 0.3.7 → 0.3.8
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 +4 -2
- package/assets/manifest/toolkit-bundle.manifest.json +96 -56
- package/assets/manifest/toolkit-bundle.sha256.txt +34 -26
- package/assets/toolkit/toolkit/AGENTS.md +10 -2
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_CREATION_RULES.md +7 -1
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +17 -0
- package/assets/toolkit/toolkit/skills/sdtk-api-doc/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +17 -0
- package/assets/toolkit/toolkit/skills/sdtk-arch/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_CREATION_RULES.md +7 -1
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +17 -0
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOW_ACTION_SPEC_CREATION_RULES.md +44 -8
- package/assets/toolkit/toolkit/skills/sdtk-ba/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-design-layout/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-dev/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-dev-backend/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-dev-frontend/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-orchestrator/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-pm/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-qa/SKILL.md +17 -4
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/SKILL.md +4 -0
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/FLOW_ACTION_SPEC_CREATION_RULES.md +44 -8
- package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/SKILL.md +11 -0
- package/assets/toolkit/toolkit/skills/skills.catalog.yaml +302 -0
- package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md +7 -1
- package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_DETAIL_TEMPLATE.md +6 -0
- package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md +17 -0
- package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_CREATION_RULES.md +44 -8
- package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_TEMPLATE.md +6 -0
- package/assets/toolkit/toolkit/templates/handoffs/ARCH_TO_DEV.md +31 -0
- package/assets/toolkit/toolkit/templates/handoffs/BA_TO_ARCH.md +28 -0
- package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE1_SPEC_REVIEW.md +26 -0
- package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE2_CODE_QUALITY_REVIEW.md +20 -0
- package/assets/toolkit/toolkit/templates/handoffs/DEV_TO_QA.md +23 -0
- package/assets/toolkit/toolkit/templates/handoffs/PM_TO_BA.md +26 -0
- package/assets/toolkit/toolkit/templates/handoffs/QA_RELEASE_DECISION.md +21 -0
- package/package.json +1 -1
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
| ---: | --- | --- | --- |
|
|
17
17
|
| 1 | TBD | TBD | `API_design.xlsx` |
|
|
18
18
|
|
|
19
|
+
## Assumptions
|
|
20
|
+
|
|
21
|
+
| # | Assumption | Verified | Risk if wrong |
|
|
22
|
+
| ---: | --- | --- | --- |
|
|
23
|
+
| 1 | TBD | No | TBD |
|
|
24
|
+
|
|
19
25
|
## 2. API Detail 1 - TBD
|
|
20
26
|
|
|
21
27
|
**Endpoint:** `TBD`
|
|
@@ -38,6 +38,23 @@ Primary sample references:
|
|
|
38
38
|
- `GET /bukken/info/{company_uuid}/{bukken_uuid}` style
|
|
39
39
|
- search API query-builder style shown in the Bukken sample helper flow
|
|
40
40
|
|
|
41
|
+
## 2.1 API Design Detail Markdown Requirements
|
|
42
|
+
|
|
43
|
+
Generated `*_API_DESIGN_DETAIL.md` files must keep this minimum structure:
|
|
44
|
+
- `## 0. Abbreviations`
|
|
45
|
+
- `## 1. Document Scope`
|
|
46
|
+
- `## Assumptions`
|
|
47
|
+
- per-endpoint `## <n>. API Detail ...` sections
|
|
48
|
+
- `## 3. Generation Notes` or the current equivalent final notes section
|
|
49
|
+
|
|
50
|
+
`## Assumptions` must use this table shape:
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
| # | Assumption | Verified | Risk if wrong |
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
If an assumption is not verified yet, keep it explicit and treat it as a downstream review risk instead of silently collapsing it into a fact.
|
|
57
|
+
|
|
41
58
|
## 3. Core Flowchart Writing Rules
|
|
42
59
|
|
|
43
60
|
### Rule A. Add a visible API header for every block
|
|
@@ -19,12 +19,13 @@ A flow-action spec should include, at minimum:
|
|
|
19
19
|
|
|
20
20
|
1. `Abbreviations`
|
|
21
21
|
2. `Feature overview`
|
|
22
|
-
3. `
|
|
23
|
-
4. `Screen
|
|
24
|
-
5. `
|
|
25
|
-
6. `
|
|
26
|
-
7. `
|
|
27
|
-
8. `
|
|
22
|
+
3. `Assumptions`
|
|
23
|
+
4. `Screen flow action` (with PlantUML)
|
|
24
|
+
5. `Screen layout spec by flow action`
|
|
25
|
+
6. `System processing flow`
|
|
26
|
+
7. `Open questions`
|
|
27
|
+
8. `Screen - API mapping`
|
|
28
|
+
9. `Document history`
|
|
28
29
|
|
|
29
30
|
If a section is not in scope, keep the section and mark explicitly as `N/A` with reason.
|
|
30
31
|
|
|
@@ -40,7 +41,34 @@ If a section is not in scope, keep the section and mark explicitly as `N/A` with
|
|
|
40
41
|
- Table rows must keep column count consistent with the header (no broken or merged rows).
|
|
41
42
|
- Avoid single-line merged content that collapses multiple logical items into one table row.
|
|
42
43
|
|
|
43
|
-
### 3.1
|
|
44
|
+
### 3.1 Action Table Mapping Completion Rules
|
|
45
|
+
|
|
46
|
+
- After API endpoint spec and database spec are available, the action-table columns `Attribute`, `DB Column`, `Size`, and `Default Value` must not be left blank when the mapping can be derived from current source-of-truth inputs.
|
|
47
|
+
- Fill these four columns only after the relevant API contract and DB schema are stable enough to be treated as the current source of truth for the active phase.
|
|
48
|
+
- Source priority for filling the four columns:
|
|
49
|
+
1. `docs/api/*_ENDPOINTS.md` and OpenAPI YAML for request/response contract
|
|
50
|
+
2. `docs/database/DATABASE_SPEC_*.md` for physical column names, nullability, storage shape, and query-source aliases
|
|
51
|
+
3. confirmed flow/business rules for default state and behavior
|
|
52
|
+
4. design source (Figma/Excel) for screen label and control type only
|
|
53
|
+
- `Attribute` rules:
|
|
54
|
+
- input item: use the canonical request payload path
|
|
55
|
+
- display item: use the canonical response path
|
|
56
|
+
- UI-only item: use `ui.*` namespace
|
|
57
|
+
- `DB Column` rules:
|
|
58
|
+
- use physical DB column names or query-source aliases from the API/database spec
|
|
59
|
+
- if multiple columns participate, list them explicitly
|
|
60
|
+
- if the control is UI-only, write `N/A`
|
|
61
|
+
- `Size` rules:
|
|
62
|
+
- document data format/type, not pixel width
|
|
63
|
+
- prefer canonical forms such as `uuid`, `DATE (YYYY-MM-DD)`, `DATETIME`, `TIME (HH:mm)`, `boolean`, `array[uuid]`, `enum(...)`, `JSON string`
|
|
64
|
+
- prefer DB storage type first; if not available, fall back to API schema type/format
|
|
65
|
+
- `Default Value` rules:
|
|
66
|
+
- use confirmed business, UI, or runtime defaults
|
|
67
|
+
- if the default comes from settings or environment, state that clearly
|
|
68
|
+
- if not finalized, use `TBD` and keep or raise an open-question reference in `Note`
|
|
69
|
+
- If screen labels conflict with canonical API/DB naming, preserve the original screen label in the visible screen columns, but keep `Attribute` and `DB Column` aligned to API/DB source of truth and explain the mismatch in `Note`.
|
|
70
|
+
|
|
71
|
+
### 3.2 Language and Encoding Standards (EN Artifacts)
|
|
44
72
|
|
|
45
73
|
- For EN artifacts (`docs/en/**` or explicitly requested EN version), narrative text must be English.
|
|
46
74
|
- JP labels, if provided by the input, should be kept in a clearly marked appendix or note column, not in the default item table columns.
|
|
@@ -49,12 +77,19 @@ If a section is not in scope, keep the section and mark explicitly as `N/A` with
|
|
|
49
77
|
- Save files as UTF-8 and avoid mojibake/broken glyphs (`�`, `ↁE`, garbled sequences).
|
|
50
78
|
- Keep canonical terminology stable across documents (for example: `bukken`, `sagyo`, `customer employee`).
|
|
51
79
|
|
|
52
|
-
### 3.
|
|
80
|
+
### 3.3 Markdown Structure Hygiene
|
|
53
81
|
|
|
54
82
|
- Keep each heading on its own line; do not concatenate multiple headings/sections on one line.
|
|
55
83
|
- Keep metadata blocks (`Information`, `Note`, `Behavior notes`) as structured bullet blocks, not single compressed lines.
|
|
56
84
|
- Keep image, table, and separator (`---`) boundaries explicit to preserve parser/render stability.
|
|
57
85
|
|
|
86
|
+
### 3.4 Assumptions Section
|
|
87
|
+
|
|
88
|
+
- Every flow-action spec must include a top-level `## Assumptions` section.
|
|
89
|
+
- Use this table format exactly: `# | Assumption | Verified | Risk if wrong`.
|
|
90
|
+
- Keep assumptions explicit when downstream mapping or behavior depends on an unresolved decision.
|
|
91
|
+
- If an assumption affects UI behavior, API mapping, or DB mapping, reflect the risk in `Note` and keep or raise the related `OQ-xx` item.
|
|
92
|
+
|
|
58
93
|
## 4. Item Numbering and Duplication Rules
|
|
59
94
|
|
|
60
95
|
- Use one numbering mode only: `global across document`.
|
|
@@ -158,6 +193,7 @@ When `Design Source Type` is `generated-draft`:
|
|
|
158
193
|
- Numbering is global across the document (no resets).
|
|
159
194
|
- No broken image links (for `generated-draft` screens: `.svg` exists or render-skipped note is present).
|
|
160
195
|
- Screen/API mappings are consistent with `*_ENDPOINTS.md`.
|
|
196
|
+
- Assumptions section exists and unresolved assumptions are traceable.
|
|
161
197
|
- Open questions are explicit and traceable.
|
|
162
198
|
- For EN artifact: no leftover VI text outside allowed `Original Text` appendix blocks.
|
|
163
199
|
- No mojibake/encoding corruption markers.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# ARCH to DEV Handoff
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- `docs/architecture/ARCH_DESIGN_[FEATURE_KEY].md`
|
|
5
|
+
- `docs/product/BACKLOG_[FEATURE_KEY].md`
|
|
6
|
+
- when applicable:
|
|
7
|
+
- `docs/api/[FeaturePascal]_API.yaml`
|
|
8
|
+
- `docs/api/[FEATURE_KEY]_ENDPOINTS.md`
|
|
9
|
+
- `docs/database/DATABASE_SPEC_[FEATURE_KEY].md`
|
|
10
|
+
- `docs/design/DESIGN_LAYOUT_[FEATURE_KEY].md`
|
|
11
|
+
- `docs/specs/[FEATURE_KEY]_FLOW_ACTION_SPEC.md`
|
|
12
|
+
|
|
13
|
+
## Required Outputs
|
|
14
|
+
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
15
|
+
- code and tests
|
|
16
|
+
- Stage 1 and Stage 2 review evidence before QA handoff
|
|
17
|
+
|
|
18
|
+
## Mandatory Checks
|
|
19
|
+
- ARCH outputs are current and reference the same feature scope.
|
|
20
|
+
- UI scope includes `DESIGN_LAYOUT` before `FLOW_ACTION_SPEC`.
|
|
21
|
+
- API and DB source-of-truth files are available when implementation depends on them.
|
|
22
|
+
|
|
23
|
+
## Forbidden Shortcuts
|
|
24
|
+
- Do not start implementation before `FEATURE_IMPL_PLAN` is written and approved.
|
|
25
|
+
- Do not treat architecture assumptions as verified facts without citing the source.
|
|
26
|
+
|
|
27
|
+
## Handoff Message Shape
|
|
28
|
+
- Feature: `[FEATURE_KEY]`
|
|
29
|
+
- Required implementation slice: file or module scope
|
|
30
|
+
- Required proving checks: test or lint or build commands
|
|
31
|
+
- Upstream blockers or assumptions: explicit list
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# BA to ARCH Handoff
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- `docs/specs/BA_SPEC_[FEATURE_KEY].md`
|
|
5
|
+
- `docs/product/PRD_[FEATURE_KEY].md`
|
|
6
|
+
- `docs/product/BACKLOG_[FEATURE_KEY].md`
|
|
7
|
+
- current `SHARED_PLANNING.md`
|
|
8
|
+
|
|
9
|
+
## Required Outputs
|
|
10
|
+
- `docs/architecture/ARCH_DESIGN_[FEATURE_KEY].md`
|
|
11
|
+
- API, DB, and UI design artifacts when in scope
|
|
12
|
+
- updated `SHARED_PLANNING.md`
|
|
13
|
+
- updated `QUALITY_CHECKLIST.md`
|
|
14
|
+
|
|
15
|
+
## Mandatory Checks
|
|
16
|
+
- `REQ -> UC/BR/AC` traceability exists in BA output.
|
|
17
|
+
- unresolved `OQ-xx` items are visible to ARCH.
|
|
18
|
+
- ARCH knows whether API, DB, and UI scope are required.
|
|
19
|
+
|
|
20
|
+
## Forbidden Shortcuts
|
|
21
|
+
- Do not jump into implementation details before architecture scope is mapped.
|
|
22
|
+
- Do not hide unresolved business rules inside architecture assumptions.
|
|
23
|
+
|
|
24
|
+
## Handoff Message Shape
|
|
25
|
+
- Feature: `[FEATURE_KEY]`
|
|
26
|
+
- In-scope use cases: `UC-xx`
|
|
27
|
+
- Key business rules: `BR-xx`
|
|
28
|
+
- Blocking open questions: `OQ-xx` or `None`
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# DEV Stage 1 Spec Review
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- implementation diff or changed files
|
|
5
|
+
- `docs/specs/BA_SPEC_[FEATURE_KEY].md`
|
|
6
|
+
- `docs/api/[FeaturePascal]_API.yaml` and `docs/api/[FEATURE_KEY]_ENDPOINTS.md` when API scope exists
|
|
7
|
+
- `docs/specs/[FEATURE_KEY]_FLOW_ACTION_SPEC.md` when UI scope exists
|
|
8
|
+
- `docs/database/DATABASE_SPEC_[FEATURE_KEY].md` when data scope exists
|
|
9
|
+
|
|
10
|
+
## Required Outputs
|
|
11
|
+
- PASS or FAIL verdict
|
|
12
|
+
- mismatch table with exact file references
|
|
13
|
+
- explicit handoff decision to Stage 2 or back to DEV
|
|
14
|
+
|
|
15
|
+
## Mandatory Checks
|
|
16
|
+
- code matches BA, API, DB, and flow-action requirements line by line
|
|
17
|
+
- missing mappings and drift are called out explicitly
|
|
18
|
+
- unresolved assumptions that affect behavior are treated as blockers
|
|
19
|
+
|
|
20
|
+
## Verification Evidence
|
|
21
|
+
- quote the exact specification text before declaring a match or mismatch
|
|
22
|
+
- use: `Spec says: "[exact quote]" -> Evidence: [match/mismatch + file reference]`
|
|
23
|
+
|
|
24
|
+
## Forbidden Shortcuts
|
|
25
|
+
- Do not start with style or maintainability feedback.
|
|
26
|
+
- Do not trust the implementer report without checking artifacts directly.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# DEV Stage 2 Code Quality Review
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- Stage 1 review result marked PASS
|
|
5
|
+
- implementation diff or changed files
|
|
6
|
+
- relevant test or lint outputs
|
|
7
|
+
|
|
8
|
+
## Required Outputs
|
|
9
|
+
- PASS or FAIL verdict
|
|
10
|
+
- quality findings with file references
|
|
11
|
+
- recommendation for QA handoff readiness
|
|
12
|
+
|
|
13
|
+
## Mandatory Checks
|
|
14
|
+
- Stage 1 spec review already passed
|
|
15
|
+
- naming, structure, tests, and maintainability are reviewed
|
|
16
|
+
- verification commands cited are fresh and relevant to the current diff
|
|
17
|
+
|
|
18
|
+
## Forbidden Shortcuts
|
|
19
|
+
- Do not reopen Stage 1 requirement matching as a substitute for quality review.
|
|
20
|
+
- Do not declare QA-ready without confirming Stage 1 PASS and fresh verification evidence.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# DEV to QA Handoff
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
5
|
+
- implementation diff summary
|
|
6
|
+
- Stage 1 spec review PASS evidence
|
|
7
|
+
- Stage 2 code-quality review PASS evidence
|
|
8
|
+
- fresh test or lint outputs used for QA handoff
|
|
9
|
+
|
|
10
|
+
## Required Outputs
|
|
11
|
+
- QA test scope
|
|
12
|
+
- explicit release-risk notes
|
|
13
|
+
- updated `SHARED_PLANNING.md`
|
|
14
|
+
- updated `QUALITY_CHECKLIST.md`
|
|
15
|
+
|
|
16
|
+
## Mandatory Checks
|
|
17
|
+
- both DEV review gates are PASS
|
|
18
|
+
- verification evidence is fresh
|
|
19
|
+
- known limitations or assumptions are recorded, not hidden
|
|
20
|
+
|
|
21
|
+
## Forbidden Shortcuts
|
|
22
|
+
- Do not hand off to QA with only one review gate complete.
|
|
23
|
+
- Do not describe expected behavior as if it were verified runtime evidence.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# PM to BA Handoff
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- `docs/product/PROJECT_INITIATION_[FEATURE_KEY].md`
|
|
5
|
+
- source requirement notes or attachments
|
|
6
|
+
- current `SHARED_PLANNING.md`
|
|
7
|
+
|
|
8
|
+
## Required Outputs
|
|
9
|
+
- `docs/specs/BA_SPEC_[FEATURE_KEY].md`
|
|
10
|
+
- updated `SHARED_PLANNING.md`
|
|
11
|
+
- updated `QUALITY_CHECKLIST.md`
|
|
12
|
+
|
|
13
|
+
## Mandatory Checks
|
|
14
|
+
- `REQ-xx` scope is explicit and testable.
|
|
15
|
+
- in-scope and out-of-scope are visible.
|
|
16
|
+
- unresolved ambiguities are logged as `OQ-xx`, not hidden.
|
|
17
|
+
|
|
18
|
+
## Forbidden Shortcuts
|
|
19
|
+
- Do not skip glossary, BR, UC, AC, or traceability expectations.
|
|
20
|
+
- Do not invent missing stakeholder decisions without logging them.
|
|
21
|
+
|
|
22
|
+
## Handoff Message Shape
|
|
23
|
+
- Feature: `[FEATURE_KEY]`
|
|
24
|
+
- PM scope summary: 3 to 7 bullets
|
|
25
|
+
- Known open questions: `OQ-xx` list or `None`
|
|
26
|
+
- Expected BA focus: rules, use cases, acceptance criteria, NFRs
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# QA Release Decision
|
|
2
|
+
|
|
3
|
+
## Required Inputs
|
|
4
|
+
- `docs/qa/QA_RELEASE_REPORT_[FEATURE_KEY].md`
|
|
5
|
+
- Stage 1 and Stage 2 DEV review PASS evidence
|
|
6
|
+
- fresh proving checks or benchmark-mode evidence
|
|
7
|
+
- open defect list with severity
|
|
8
|
+
|
|
9
|
+
## Required Outputs
|
|
10
|
+
- `APPROVED` or `REJECTED`
|
|
11
|
+
- explicit evidence summary
|
|
12
|
+
- unresolved risks and assumptions list
|
|
13
|
+
|
|
14
|
+
## Mandatory Checks
|
|
15
|
+
- verdict is backed by fresh command evidence or benchmark policy
|
|
16
|
+
- specification quotes are used for requirement-based validation
|
|
17
|
+
- defects and known gaps are visible in the decision
|
|
18
|
+
|
|
19
|
+
## Forbidden Shortcuts
|
|
20
|
+
- Do not issue `APPROVED` based on planned checks.
|
|
21
|
+
- Do not hide environment limitations; state when runtime verification was not possible.
|