sdtk-spec-kit 0.4.11 → 0.4.14

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.
Files changed (143) hide show
  1. package/README.md +353 -353
  2. package/assets/atlas/build_atlas.py +880 -880
  3. package/assets/atlas/doc_atlas_viewer_template.html +3796 -3796
  4. package/assets/atlas/vendor/mermaid.min.js +2029 -2029
  5. package/assets/keys/spec-entitlement-public.pem +9 -9
  6. package/assets/manifest/toolkit-bundle.manifest.json +496 -496
  7. package/assets/manifest/toolkit-bundle.sha256.txt +97 -97
  8. package/assets/toolkit/toolkit/AGENTS.md +157 -241
  9. package/assets/toolkit/toolkit/README.md +51 -51
  10. package/assets/toolkit/toolkit/SDTK_TOOLKIT.md +206 -206
  11. package/assets/toolkit/toolkit/install.ps1 +362 -362
  12. package/assets/toolkit/toolkit/runtimes/claude/CLAUDE_TEMPLATE.md +95 -91
  13. package/assets/toolkit/toolkit/runtimes/codex/CODEX_TEMPLATE.md +70 -69
  14. package/assets/toolkit/toolkit/scripts/agents/run-claude-task.ps1 +332 -332
  15. package/assets/toolkit/toolkit/scripts/agents/run-codex-task.ps1 +618 -618
  16. package/assets/toolkit/toolkit/scripts/agents/validate-mailbox-formal-artifact.py +87 -87
  17. package/assets/toolkit/toolkit/scripts/generate-code-handoff.ps1 +317 -317
  18. package/assets/toolkit/toolkit/scripts/init-feature.ps1 +262 -262
  19. package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +180 -180
  20. package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +209 -209
  21. package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +139 -139
  22. package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +143 -143
  23. package/assets/toolkit/toolkit/sdtk-spec.config.json +28 -28
  24. package/assets/toolkit/toolkit/sdtk-spec.config.profiles.example.json +50 -50
  25. package/assets/toolkit/toolkit/session/SDTK_ACTIVE_BOOTSTRAP.md +46 -46
  26. package/assets/toolkit/toolkit/session/SDTK_AGENT_WORKING_RULES.md +48 -48
  27. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/SKILL.md +111 -111
  28. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/scripts/generate_api_design_detail.py +732 -732
  29. package/assets/toolkit/toolkit/skills/sdtk-api-doc/SKILL.md +79 -79
  30. package/assets/toolkit/toolkit/skills/sdtk-arch/SKILL.md +85 -85
  31. package/assets/toolkit/toolkit/skills/sdtk-ba/SKILL.md +46 -46
  32. package/assets/toolkit/toolkit/skills/sdtk-design-layout/SKILL.md +91 -91
  33. package/assets/toolkit/toolkit/skills/sdtk-design-layout/scripts/render_design_layout_images.py +246 -246
  34. package/assets/toolkit/toolkit/skills/sdtk-dev/SKILL.md +133 -133
  35. package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/code-quality-reviewer.md +34 -34
  36. package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/implementer.md +60 -60
  37. package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/spec-reviewer.md +41 -41
  38. package/assets/toolkit/toolkit/skills/sdtk-dev-backend/SKILL.md +80 -80
  39. package/assets/toolkit/toolkit/skills/sdtk-dev-frontend/SKILL.md +80 -80
  40. package/assets/toolkit/toolkit/skills/sdtk-mailbox-dispatch/SKILL.md +73 -73
  41. package/assets/toolkit/toolkit/skills/sdtk-orchestrator/SKILL.md +176 -108
  42. package/assets/toolkit/toolkit/skills/sdtk-pm/SKILL.md +74 -74
  43. package/assets/toolkit/toolkit/skills/sdtk-qa/SKILL.md +75 -75
  44. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/SKILL.md +108 -107
  45. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/excel-image-export.md +51 -51
  46. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/figma-mcp.md +54 -54
  47. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/numbering-rules.md +28 -28
  48. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/scripts/renumber_flow_action_spec_global.py +136 -136
  49. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/scripts/validate_flow_action_spec_numbering.py +414 -414
  50. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/SKILL.md +110 -110
  51. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/scripts/validate_test_case_spec.py +97 -97
  52. package/assets/toolkit/toolkit/skills/skills.catalog.yaml +330 -330
  53. package/assets/toolkit/toolkit/skills-claude/api-design-spec/SKILL.md +116 -116
  54. package/assets/toolkit/toolkit/skills-claude/api-doc/SKILL.md +87 -87
  55. package/assets/toolkit/toolkit/skills-claude/arch/SKILL.md +59 -59
  56. package/assets/toolkit/toolkit/skills-claude/ba/SKILL.md +67 -67
  57. package/assets/toolkit/toolkit/skills-claude/design-layout/SKILL.md +91 -91
  58. package/assets/toolkit/toolkit/skills-claude/dev/SKILL.md +59 -59
  59. package/assets/toolkit/toolkit/skills-claude/dev-backend/SKILL.md +73 -73
  60. package/assets/toolkit/toolkit/skills-claude/dev-frontend/SKILL.md +73 -73
  61. package/assets/toolkit/toolkit/skills-claude/mailbox-dispatch/SKILL.md +73 -73
  62. package/assets/toolkit/toolkit/skills-claude/orchestrator/SKILL.md +88 -42
  63. package/assets/toolkit/toolkit/skills-claude/pm/SKILL.md +88 -88
  64. package/assets/toolkit/toolkit/skills-claude/qa/SKILL.md +58 -58
  65. package/assets/toolkit/toolkit/skills-claude/screen-design-spec/SKILL.md +113 -112
  66. package/assets/toolkit/toolkit/skills-claude/test-case-spec/SKILL.md +115 -115
  67. package/assets/toolkit/toolkit/templates/QUALITY_CHECKLIST.md +124 -124
  68. package/assets/toolkit/toolkit/templates/README.md +68 -68
  69. package/assets/toolkit/toolkit/templates/SHARED_PLANNING.md +81 -81
  70. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md +21 -21
  71. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_DETAIL_TEMPLATE.md +67 -67
  72. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md +468 -468
  73. package/assets/toolkit/toolkit/templates/docs/api/API_ENDPOINTS_TEMPLATE.md +229 -229
  74. package/assets/toolkit/toolkit/templates/docs/api/FEATURE_API_TEMPLATE.yaml +20 -20
  75. package/assets/toolkit/toolkit/templates/docs/api/FLOWCHART_CREATION_RULES.md +20 -20
  76. package/assets/toolkit/toolkit/templates/docs/api/YAML_CREATION_RULES.md +128 -128
  77. package/assets/toolkit/toolkit/templates/docs/api/feature_api_flow_list_TEMPLATE.txt +12 -12
  78. package/assets/toolkit/toolkit/templates/docs/architecture/ARCH_DESIGN_TEMPLATE.md +109 -109
  79. package/assets/toolkit/toolkit/templates/docs/database/DATABASE_SPEC_TEMPLATE.md +175 -175
  80. package/assets/toolkit/toolkit/templates/docs/design/DESIGN_LAYOUT_TEMPLATE.md +60 -60
  81. package/assets/toolkit/toolkit/templates/docs/dev/FEATURE_IMPL_PLAN_TEMPLATE.md +117 -117
  82. package/assets/toolkit/toolkit/templates/docs/dev/OPS_HANDOFF_CREATION_RULES.md +369 -369
  83. package/assets/toolkit/toolkit/templates/docs/discovery/REQUIREMENT_TEMPLATE.md +155 -155
  84. package/assets/toolkit/toolkit/templates/docs/product/BACKLOG_TEMPLATE.md +50 -50
  85. package/assets/toolkit/toolkit/templates/docs/product/CONDENSED_UPSTREAM_INPUT_TEMPLATE.md +276 -276
  86. package/assets/toolkit/toolkit/templates/docs/product/PRD_TEMPLATE.md +66 -66
  87. package/assets/toolkit/toolkit/templates/docs/product/PROJECT_INITIATION_TEMPLATE.md +98 -98
  88. package/assets/toolkit/toolkit/templates/docs/qa/CONTROLLER_ACCEPTANCE_TEMPLATE.md +90 -90
  89. package/assets/toolkit/toolkit/templates/docs/qa/QA_RELEASE_REPORT_TEMPLATE.md +162 -162
  90. package/assets/toolkit/toolkit/templates/docs/qa/TEST_CASE_CREATION_RULES.md +129 -129
  91. package/assets/toolkit/toolkit/templates/docs/qa/TEST_CASE_TEMPLATE.md +104 -104
  92. package/assets/toolkit/toolkit/templates/docs/specs/BA_SPEC_TEMPLATE.md +139 -139
  93. package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_CREATION_RULES.md +220 -220
  94. package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_TEMPLATE.md +197 -197
  95. package/assets/toolkit/toolkit/templates/handoffs/ARCH_TO_DEV.md +31 -31
  96. package/assets/toolkit/toolkit/templates/handoffs/BA_TO_ARCH.md +28 -28
  97. package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE1_SPEC_REVIEW.md +26 -26
  98. package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE2_CODE_QUALITY_REVIEW.md +20 -20
  99. package/assets/toolkit/toolkit/templates/handoffs/DEV_TO_QA.md +33 -33
  100. package/assets/toolkit/toolkit/templates/handoffs/DEV_TO_SDTK_CODE.md +60 -60
  101. package/assets/toolkit/toolkit/templates/handoffs/PM_TO_BA.md +30 -30
  102. package/assets/toolkit/toolkit/templates/handoffs/QA_RELEASE_DECISION.md +26 -26
  103. package/assets/toolkit/toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md +63 -63
  104. package/assets/toolkit/toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md +76 -76
  105. package/bin/sdtk.js +15 -15
  106. package/package.json +48 -48
  107. package/src/commands/activate.js +94 -94
  108. package/src/commands/atlas.js +339 -339
  109. package/src/commands/auth.js +85 -85
  110. package/src/commands/entitlement.js +170 -170
  111. package/src/commands/generate.js +191 -170
  112. package/src/commands/help.js +248 -246
  113. package/src/commands/init.js +117 -117
  114. package/src/commands/project.js +51 -51
  115. package/src/commands/runtime.js +239 -239
  116. package/src/commands/update.js +11 -11
  117. package/src/index.js +68 -68
  118. package/src/lib/activation-state.js +68 -68
  119. package/src/lib/args.js +116 -116
  120. package/src/lib/atlas-config.js +200 -200
  121. package/src/lib/atlas-runner.js +435 -435
  122. package/src/lib/browser-open.js +39 -39
  123. package/src/lib/capabilities.js +89 -89
  124. package/src/lib/entitlements.js +245 -245
  125. package/src/lib/errors.js +41 -41
  126. package/src/lib/github-access.js +143 -143
  127. package/src/lib/legacy-auth-migration.js +56 -56
  128. package/src/lib/license-activation.js +386 -386
  129. package/src/lib/powershell.js +85 -85
  130. package/src/lib/premium-loader.js +124 -124
  131. package/src/lib/premium-packs.js +333 -333
  132. package/src/lib/premium-sync.js +235 -235
  133. package/src/lib/project-audit.js +332 -332
  134. package/src/lib/project-config.js +108 -108
  135. package/src/lib/project-ingest.js +450 -450
  136. package/src/lib/project-refresh.js +666 -666
  137. package/src/lib/project-target-guard.js +79 -79
  138. package/src/lib/requirement-analysis.js +14 -4
  139. package/src/lib/scope.js +83 -83
  140. package/src/lib/state.js +74 -74
  141. package/src/lib/suite-state.js +70 -70
  142. package/src/lib/toolkit-payload.js +99 -99
  143. package/src/lib/update.js +333 -333
@@ -1,247 +1,163 @@
1
- # SDTK Suite Multi-Agent Software Development Toolkit
2
-
3
- Goal: use the SDTK Suite as a coordinated operating model:
4
- - `SDTK-SPEC` governs upstream discovery, planning, design, traceability, and release gates.
5
- - `SDTK-CODE` is the default downstream system for implementation, bug fixing, refactoring, verification, and ship-ready code changes.
6
- - `SDTK-OPS` is the downstream system for deployment, infrastructure, CI/CD, monitoring, incident handling, and operational verification.
7
-
8
- `SDTK-SPEC` remains the orchestration and documentation entry point, but the suite is not SPEC-only.
9
-
10
- ## 0) Default Rules
11
- - If role is not specified, default to Orchestrator Intake, not PM.
12
- - Orchestrator first classifies the user request, then routes to the smallest sufficient SDTK product, role, and skill.
13
- - PM starts only when the request is ready for formal SDTK-SPEC product initiation.
14
- - Do not skip phases. If inputs are missing, ask focused questions before moving on.
15
- - At the end of every phase, update:
16
- - `SHARED_PLANNING.md`
17
- - `QUALITY_CHECKLIST.md`
18
- - Artifact language under `docs/**` should default to English.
19
- - Read stack and command configuration from `sdtk-spec.config.json` in the project root.
20
- - For VI/JP source requirements, keep original text in an appendix and add literal English translation for traceability.
21
- - `/dev` stops at `FEATURE_IMPL_PLAN + CODE_HANDOFF`; SDTK-CODE is the default downstream coding system.
22
- - Verification-before-completion: no phase may declare done, pass, or handoff-ready without fresh command evidence per `governance/ai/core/SDTK_VERIFICATION_BEFORE_COMPLETION_POLICY.md`.
23
- - `toolkit/skills/skills.catalog.yaml` is the inventory source of truth for the 14 core SDTK-SPEC skills, including the bounded `mailbox-dispatch` controller skill.
24
-
25
- ## 0.2) Session Bootstrap Protocol
26
- When starting a new session, read context in this order when the files exist:
27
- 1. `AGENTS.md`
28
- 2. `governance/ai/session/SDTK_ACTIVE_BOOTSTRAP.md`
29
- 3. `governance/ai/session/SDTK_AGENT_WORKING_RULES.md`
30
- 4. `governance/ai/core/IMPROVEMENT_BACKLOG.md`
31
- 5. issue-specific controller spec and implementation plan
32
-
33
- Do not read the entire historical session archive by default. Use `SDTK_SESSION_MEMORY_*.md` only when chronology or past acceptance details are required.
34
-
35
- ## 0.3) Orchestrator-First Intake Protocol
36
- For every unprefixed user request:
37
- 1. Classify the request intent before selecting PM/BA/ARCH/DEV/QA or a downstream product lane.
38
- 2. Route to the smallest sufficient workflow:
39
- - unclear idea or early concept -> brainstorm / requirement clarification, then create or update `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`
40
- - formal feature discovery or planning -> SDTK-SPEC pipeline
41
- - implementation, bug fix, refactor, verification, or ship-ready code -> SDTK-CODE
42
- - deploy, release, infrastructure, CI/CD, monitoring, incident, backup, security-infra, or ops verification -> SDTK-OPS
1
+ # SDTK Orchestrator Routing Contract
2
+
3
+ Goal: use the SDTK Suite as a coordinated operating model:
4
+ - `SDTK-SPEC` governs upstream discovery, planning, design, traceability, and release gates.
5
+ - `SDTK-CODE` is the default downstream system for implementation, bug fixing, refactoring, verification, and ship-ready code changes.
6
+ - `SDTK-OPS` is the downstream system for deployment, infrastructure, CI/CD, monitoring, incident handling, and operational verification.
7
+
8
+ Orchestrator Intake is the always-winning front door for every unprefixed request.
9
+
10
+ ## 0) Default Rules
11
+ - If role is not specified, default to Orchestrator Intake, not PM.
12
+ - Orchestrator first classifies the user request intent, then routes to the smallest sufficient SDTK product, role, and skill.
13
+ - PM starts only when the request is ready for formal SDTK-SPEC product initiation after discovery readiness is confirmed.
14
+ - Do not skip phases. If inputs are missing, ask focused questions before moving on.
15
+ - At the end of every SDTK-SPEC phase, update:
16
+ - `SHARED_PLANNING.md`
17
+ - `QUALITY_CHECKLIST.md`
18
+ - Artifact language under `docs/**` should default to English.
19
+ - Read stack and command configuration from `sdtk-spec.config.json` in the project root.
20
+ - For VI/JP source requirements, keep original text in an appendix and add literal English translation for traceability.
21
+ - `/dev` stops at `FEATURE_IMPL_PLAN + CODE_HANDOFF`; SDTK-CODE is the default downstream coding system.
22
+ - Verification-before-completion: no phase may declare done, pass, or handoff-ready without fresh command evidence per `governance/ai/core/SDTK_VERIFICATION_BEFORE_COMPLETION_POLICY.md`.
23
+ - `toolkit/skills/skills.catalog.yaml` is the inventory source of truth for the 14 core SDTK-SPEC skills, including the bounded `mailbox-dispatch` controller skill.
24
+
25
+ ## 0.2) Session Bootstrap Protocol
26
+ When starting a new session, read context in this order when the files exist:
27
+ 1. `AGENTS.md`
28
+ 2. `governance/ai/session/SDTK_ACTIVE_BOOTSTRAP.md`
29
+ 3. `governance/ai/session/SDTK_AGENT_WORKING_RULES.md`
30
+ 4. `governance/ai/core/IMPROVEMENT_BACKLOG.md`
31
+ 5. issue-specific controller spec and implementation plan
32
+
33
+ Do not read the entire historical session archive by default. Use `SDTK_SESSION_MEMORY_*.md` only when chronology or past acceptance details are required.
34
+
35
+ ## 0.3) Orchestrator-First Intake Protocol
36
+ For every unprefixed user request:
37
+ 1. Classify the request intent before selecting PM/BA/ARCH/DEV/QA or a downstream product lane.
38
+ 2. Route to the smallest sufficient workflow:
39
+ - unclear idea or early concept -> brainstorm / requirement clarification, then create or update `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`
40
+ - formal feature discovery or planning -> SDTK-SPEC pipeline
41
+ - implementation, bug fix, refactor, verification, or ship-ready code -> SDTK-CODE
42
+ - deploy, release, infrastructure, CI/CD, monitoring, incident, backup, security-infra, or ops verification -> SDTK-OPS
43
43
  - documentation graph or Atlas viewer -> `sdtk-spec atlas` compatibility workflow, or `sdtk-wiki` for canonical SDTK-WIKI work
44
44
  - SDTK-WIKI Ask -> native `sdtk-wiki ask` when `.sdtk/wiki/graph` and `wiki.ask` entitlement/runtime preconditions are present
45
45
  - project ingest, project refresh, or project audit -> the matching project command or workflow
46
- - review or release decision -> review/QA workflow
47
- 3. Ask focused questions only when missing information blocks safe routing.
48
- 4. Do not force raw ideas directly into PM Phase 1. Clarify the requirement first in `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`, then start PM initiation only after the artifact is marked `READY_FOR_PM_INITIATION`.
49
- 5. When routing creates artifacts, record decisions and open questions in the correct SDTK artifact.
50
-
51
- ## 0.4) Intent-To-Skill Routing Matrix
52
- Use this compact matrix during intake so the agent picks the smallest sufficient workflow instead of defaulting everything to PM:
53
-
54
- | User intent | Primary route | Output expectation |
55
- |---|---|---|
56
- | Raw idea | Brainstorm / requirement clarification | `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` with clarified problem, scope, assumptions, open questions, and readiness |
57
- | Approved idea ready for product planning | `SDTK-SPEC` PM initiation | `REQUIREMENT_[FEATURE_KEY]` marked `READY_FOR_PM_INITIATION`, then `PROJECT_INITIATION` kickoff |
58
- | Formal feature delivery | `SDTK-SPEC` pipeline | PM -> BA -> ARCH -> DEV planning -> CODE handoff -> QA |
59
- | Build, fix, or refactor implementation | `SDTK-CODE` | Planned, implemented, verified code change |
60
- | Debug failure or unexpected behavior | `SDTK-CODE` debug | Root cause, bounded fix, regression verification |
61
- | Deployment, release, infra, or CI/CD work | `SDTK-OPS` | Ops plan or execution plus verification evidence |
62
- | Code review or spec review | Review / QA workflow | Findings, risks, blockers, acceptance signal |
46
+ - review or release decision -> review/QA workflow
47
+ 3. Ask focused questions only when missing information blocks safe routing.
48
+ 4. Do not force raw ideas directly into PM Phase 1. Clarify the requirement first in `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`, then start PM initiation only after the artifact is marked `READY_FOR_PM_INITIATION`.
49
+ 5. When routing creates artifacts, record decisions and open questions in the correct SDTK artifact.
50
+
51
+ ## 0.4) Intent-To-Skill Routing Matrix
52
+ Use this compact matrix during intake so the agent picks the smallest sufficient workflow instead of defaulting everything to PM:
53
+
54
+ | User intent | Primary route | Output expectation |
55
+ |---|---|---|
56
+ | Raw idea | Brainstorm / requirement clarification | `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` with clarified problem, scope, assumptions, open questions, and readiness |
57
+ | Approved idea ready for product planning | `SDTK-SPEC` PM initiation | `REQUIREMENT_[FEATURE_KEY]` marked `READY_FOR_PM_INITIATION`, then `PROJECT_INITIATION` kickoff |
58
+ | Formal feature delivery | `SDTK-SPEC` pipeline | PM -> BA -> ARCH -> DEV planning -> CODE handoff -> QA |
59
+ | Build, fix, or refactor implementation | `SDTK-CODE` | code-brainstorm (when slice is ambiguous) -> start -> plan -> build -> verify -> ship |
60
+ | Debug failure or unexpected behavior | `SDTK-CODE` debug | Root cause, bounded fix, regression verification |
61
+ | Deployment, release, infra, or CI/CD work | `SDTK-OPS` | ops-plan -> ops-deploy/ops-incident/ops-monitor -> ops-verify |
62
+ | Code review or spec review | Review / QA workflow | Findings, risks, blockers, acceptance signal |
63
63
  | Atlas graph build or viewer work | `sdtk-spec atlas` compatibility workflow or `sdtk-wiki atlas` for canonical SDTK-WIKI work | Local `.sdtk/atlas` compatibility graph or `.sdtk/wiki` SDTK-WIKI result |
64
64
  | SDTK-WIKI Ask | `sdtk-wiki ask` | Grounded answer when `.sdtk/wiki/graph` plus `wiki.ask` entitlement/runtime preconditions are present, otherwise explicit blocker |
65
- | Existing project scan: project ingest, project refresh, or project audit | Matching premium project workflow | Project-local foundation, refresh, or audit result without overclaiming entitlement |
66
- | "what should we do next" | Orchestrator state review | Recommended next action with rationale and lane choice |
67
-
68
- Guardrails:
69
- - Explicit user role prefix wins unless safety or missing critical inputs block execution.
70
- - Raw idea clarification should use `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`; do not widen BK-099 into generator automation, package sync, or BK-100 validation work.
65
+ | Existing project scan: project ingest, project refresh, or project audit | Matching premium project workflow | Project-local foundation, refresh, or audit result without overclaiming entitlement |
66
+ | "what should we do next" | Orchestrator state review | Recommended next action with rationale and lane choice |
67
+
68
+ Guardrails:
69
+ - Explicit user role prefix wins unless safety or missing critical inputs block execution.
70
+ - Raw idea clarification should use `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`; do not widen the discovery-clarification scope into generator automation, package sync, or downstream validation work.
71
71
  - Do not claim SDTK-WIKI Ask, project ingest, project refresh, project audit, web discover, compile, or query-history availability unless the runtime and entitlement preconditions are actually present.
72
-
73
- ## 0.5) Proceed-Vs-Ask Decision Rules
74
- Ask clarification when:
75
- 1. the requested outcome is ambiguous
76
- 2. safety, security, or release impact is unclear
77
- 3. the target repo, project, or path is missing
78
- 4. implementation is requested without an acceptance boundary
79
- 5. the next command could mutate external state
80
-
81
- Proceed when:
82
- 1. the intent and target are clear
83
- 2. the task is read-only analysis
84
- 3. the user already approved the relevant plan or spec
85
- 4. the requested change is bounded and verifiable
86
-
87
- ## 0.1) Clarification Protocol
88
- Apply for all roles (`/pm`, `/ba`, `/arch`, `/dev`, `/qa`):
89
- 1. If there is ambiguity or missing data, log `Open Questions` as `OQ-xx` in the current phase artifact.
90
- 2. Do not guess for behavior, API contracts, UI/UX, data model, security, or release criteria.
91
- 3. Escalate unresolved items to PM with question ID and file reference.
92
- 4. PM resolves by:
93
- - using available docs and making a clear decision, or
94
- - asking the user if source information is still missing.
95
- 5. Record decisions in PRD (`Decision Log`) and update the originating `OQ-xx` with resolution.
96
-
97
- For raw ideas before PM initiation:
98
- 1. Use `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` as the canonical clarification artifact.
99
- 2. Record scope, non-goals, assumptions, constraints, open questions, and readiness there before opening `PROJECT_INITIATION`.
100
- 3. Treat the discovery artifact as a bridge into PM initiation, not as a PRD replacement.
101
-
102
- ## 1) Role Selection In One Message
103
- When the user prefixes a message, execute that role:
104
- - `/orchestrator` (default intake + routing)
105
- - `/pm` (formal product initiation + planning)
106
- - `/ba`
107
- - `/arch`
108
- - `/dev`
109
- - `/qa`
110
- - `/engineer` (escalation for technical blockers)
111
-
112
- Notes:
113
- - Supported delivery roles are PM/BA/ARCH/DEV/QA.
114
- - There is no separate `/tester` role. Test-case design belongs to QA with `sdtk-test-case-spec`.
115
-
116
- ## 2) Standard 6-Phase Pipeline
117
- Use this formal pipeline after Orchestrator Intake determines that the request is ready for SDTK-SPEC feature delivery.
118
-
119
- 0. Discovery / Clarification when needed -> `docs/discovery/REQUIREMENT_[FEATURE_KEY].md`
120
- 1. PM Initiation -> `docs/product/PROJECT_INITIATION_[FEATURE_KEY].md`
121
- 2. BA Analysis -> `docs/specs/BA_SPEC_[FEATURE_KEY].md`
122
- 3. PM Planning -> `docs/product/PRD_[FEATURE_KEY].md` + `docs/product/BACKLOG_[FEATURE_KEY].md`
123
- 4. ARCH Design -> `docs/architecture/ARCH_DESIGN_[FEATURE_KEY].md` (plus API/layout docs when needed)
124
- 5. DEV Planning + SDTK-CODE Handoff -> `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md` + `docs/dev/CODE_HANDOFF_[FEATURE_KEY].json`
125
- 6. QA Testing -> `docs/qa/[FEATURE_KEY]_TEST_CASE.md` + `docs/qa/QA_RELEASE_REPORT_[FEATURE_KEY].md`
126
-
127
- Notes:
128
- - Phase 0 is only for raw ideas, unclear concepts, and early feature discovery.
129
- - PM initiation starts only after `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` is marked `READY_FOR_PM_INITIATION`.
130
- - The discovery artifact does not replace PM, BA, PRD, backlog, or architecture deliverables.
131
-
132
- Default bridge after Phase 5 planning output:
133
- - `/dev` emits the handoff
134
- - SDTK-CODE performs `start -> plan -> build -> verify -> ship`
135
- - `/qa` consumes downstream implementation evidence plus `docs/dev/OPS_HANDOFF_[FEATURE_KEY].json` and downstream OPS evidence
136
-
137
- ## 2.1) DEV Handoff Contract
138
- DEV output is planning + readiness gating, not final code delivery:
139
- 1. Build or refine `FEATURE_IMPL_PLAN`.
140
- 2. Generate `CODE_HANDOFF_[FEATURE_KEY].json`.
141
- 3. Keep blockers explicit when the work is not ready for SDTK-CODE.
142
-
143
- `/dev` does not auto-run SDTK-CODE.
144
-
145
- ## 2.2) Suite Product Routing
146
- Use the suite products according to task intent:
147
-
148
- - `SDTK-SPEC`
149
- - feature discovery
150
- - requirements, BA, PRD, backlog, architecture, QA artifacts
151
- - handoff generation and release-gate traceability
152
- - `SDTK-CODE`
153
- - build a feature
154
- - fix a bug
155
- - refactor implementation
156
- - run implementation verification
157
- - ship code changes
158
- - `SDTK-OPS`
159
- - deploy or release
160
- - infrastructure and environment setup
161
- - CI/CD changes
162
- - monitoring, incident response, security-infra, backup, compliance
163
-
164
- If the current project only has `SDTK-SPEC` runtime assets installed:
165
- - keep `/dev` bounded to planning and `CODE_HANDOFF`
166
- - do not overclaim that SDTK-CODE or SDTK-OPS runtime assets are already installed
167
- - still describe the correct downstream suite path in guidance and handoffs
168
-
169
- ## 3) Shared State And Quality Gates
170
- - `SHARED_PLANNING.md`: phase status, owners, artifacts, blockers, handoff notes.
171
- - `QUALITY_CHECKLIST.md`: gate checklist by phase.
172
- - No handoff to next phase while current gate is not PASS.
173
- - QA cannot start until downstream implementation evidence exists, normally from SDTK-CODE.
174
- - QA cannot approve until `OPS_HANDOFF` and downstream OPS evidence are present and aligned.
175
-
176
- ## 4) Minimum Traceability
177
- - PM: `REQ-xx` requirements, scope, success metrics.
178
- - BA: `BR-xx`, `UC-xx`, `AC-xx`, `NFR-xx`, and traceability matrix.
179
- - ARCH: map UC/BR to API/DB/flows/screens.
180
- - DEV: map backlog stories to implementation slices, refs, blockers, and test obligations.
181
- - QA: map downstream implementation evidence and downstream OPS evidence back to UC/AC.
182
-
183
- ## 5) Feature Bootstrap
184
- Run from project root:
185
-
186
- ```
187
- sdtk-spec generate --feature-key YOUR_FEATURE --feature-name "Your Feature"
188
- ```
189
-
190
- ## 6) ARCH Deliverables (Extended)
191
- In addition to `ARCH_DESIGN`, ARCH may generate:
192
- - `docs/api/[FEATURE_KEY]_ENDPOINTS.md`
193
- - `docs/api/[FEATURE_KEY]_API_DESIGN_DETAIL.md`
194
- - `docs/database/DATABASE_SPEC_[FEATURE_KEY].md`
195
- - `docs/specs/[FEATURE_KEY]_FLOW_ACTION_SPEC.md`
196
-
197
- ## 6.1) ARCH Orchestration Mapping
198
- - Use `sdtk-api-doc` when API scope exists.
199
- - Use `sdtk-api-design-spec` when API design detail is required from YAML + flow list.
200
- - Use `sdtk-screen-design-spec` when UI flow-action specification is needed.
201
- - Controlled by `sdtk-spec.config.json`:
202
- - `orchestration.apiDesignDetailMode = auto|on|off`
203
- - `auto`: generate when API scope and required sources are available.
204
- - `on`: always generate for API scope.
205
- - `off`: skip unless explicitly requested.
206
-
207
- ## 6.2) QA Orchestration Mapping
208
- - Use `sdtk-test-case-spec` when detailed worksheet-style test-case artifacts are required.
209
- - Use `sdtk-qa` for execution report and release decision.
210
- - QA accepts downstream implementation evidence from SDTK-CODE as the default handoff bridge, plus `OPS_HANDOFF + OPS evidence` in the current formal suite flow.
211
- - Controlled by `sdtk-spec.config.json`:
212
- - `orchestration.testCaseSpecMode = auto|on|off`
213
- - `auto`: generate when QA requires test-case artifacts.
214
- - `on`: always generate in QA phase.
215
- - `off`: skip unless explicitly requested.
216
-
217
- ## 6.3) Maintainer Assets
218
- - Skill inventory: `toolkit/skills/skills.catalog.yaml`
219
- - Handoff templates: `toolkit/templates/handoffs/`
220
- - Example scenarios: `examples/`
221
- - Readiness audit: `toolkit/scripts/check-runtime-readiness.ps1`
222
- - SDTK-CODE handoff generator: `toolkit/scripts/generate-code-handoff.ps1`
223
-
224
- ## 7) Mandatory Rule References
225
- Canonical source-of-truth for shared rule files now lives under `toolkit/templates/docs/**`.
226
- Use those paths when editing or reviewing the source toolkit.
227
-
228
- Shared canonical rule files:
229
- - `toolkit/templates/docs/api/YAML_CREATION_RULES.md` -- API YAML docs
230
- - `toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md` -- API design detail + flow docs
231
- - `toolkit/templates/docs/api/FLOWCHART_CREATION_RULES.md` -- API flow compatibility note
232
- - `toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md` -- API design compatibility note
233
- - `toolkit/templates/docs/specs/FLOW_ACTION_SPEC_CREATION_RULES.md` -- Screen flow-action specs
234
- - `toolkit/templates/docs/qa/TEST_CASE_CREATION_RULES.md` -- QA test-case specs
235
-
236
- Retained skill-specific local references:
237
- - `toolkit/skills/sdtk-screen-design-spec/references/numbering-rules.md` -- Flow-action numbering policy
238
- - `toolkit/skills/sdtk-screen-design-spec/references/figma-mcp.md` -- Figma MCP integration
239
- - `toolkit/skills/sdtk-screen-design-spec/references/excel-image-export.md` -- Excel image export
240
-
241
- Runtime-installed mirrors may surface these rule files under skill-local runtime paths such as `.claude/skills/<skill>/references/` or `$CODEX_HOME/skills/<skill>/references/`. Do not treat those runtime copies as the maintainer source of truth.
242
-
243
- Workflow governance docs:
244
- - `governance/ai/core/SDTK_VERIFICATION_BEFORE_COMPLETION_POLICY.md` -- verification-before-completion gate
245
- - `governance/ai/core/SDTK_SKILL_AUTHORING_AND_TESTING.md` -- maintainer authoring/test guide
246
- Flow-action numbering policy:
247
- - Use one global numbering mode for the whole document (no per-screen reset).
72
+ - Ambiguous intent: ask, do not guess. Cap re-routes at 2 to avoid bouncing between products. Escalate to the user when intent cannot be classified or when the re-route limit is hit.
73
+
74
+ ## 0.5) Proceed-Vs-Ask Decision Rules
75
+ Ask clarification when:
76
+ 1. the requested outcome is ambiguous
77
+ 2. safety, security, or release impact is unclear
78
+ 3. the target repo, project, or path is missing
79
+ 4. implementation is requested without an acceptance boundary
80
+ 5. the next command could mutate external state
81
+
82
+ Proceed when:
83
+ 1. the intent and target are clear
84
+ 2. the task is read-only analysis
85
+ 3. the user already approved the relevant plan or spec
86
+ 4. the requested change is bounded and verifiable
87
+
88
+ ## 0.1) Clarification Protocol
89
+ Apply for all roles (`/pm`, `/ba`, `/arch`, `/dev`, `/qa`):
90
+ 1. If there is ambiguity or missing data, log `Open Questions` as `OQ-xx` in the current phase artifact.
91
+ 2. Do not guess for behavior, API contracts, UI/UX, data model, security, or release criteria.
92
+ 3. Escalate unresolved items to PM with question ID and file reference.
93
+ 4. PM resolves by:
94
+ - using available docs and making a clear decision, or
95
+ - asking the user if source information is still missing.
96
+ 5. Record decisions in PRD (`Decision Log`) and update the originating `OQ-xx` with resolution.
97
+
98
+ For raw ideas before PM initiation:
99
+ 1. Use `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` as the canonical clarification artifact.
100
+ 2. Record scope, non-goals, assumptions, constraints, open questions, and readiness there before opening `PROJECT_INITIATION`.
101
+ 3. Treat the discovery artifact as a bridge into PM initiation, not as a PRD replacement.
102
+
103
+ ## 1) Role Selection In One Message
104
+ When the user prefixes a message, execute that role:
105
+ - `/orchestrator` (default intake + routing)
106
+ - `/pm` (formal product initiation + planning)
107
+ - `/ba`
108
+ - `/arch`
109
+ - `/dev`
110
+ - `/qa`
111
+ - `/engineer` (escalation for technical blockers)
112
+
113
+ Notes:
114
+ - Supported delivery roles are PM/BA/ARCH/DEV/QA.
115
+ - There is no separate `/tester` role. Test-case design belongs to QA with `sdtk-test-case-spec`.
116
+
117
+ ## 2.2) Suite Product Routing
118
+ Use the suite products according to task intent:
119
+
120
+ - `SDTK-SPEC`
121
+ - feature discovery
122
+ - requirements, BA, PRD, backlog, architecture, QA artifacts
123
+ - handoff generation and release-gate traceability
124
+ - entry: `/orchestrator` (recommended), `/pm`, `/ba`, `/arch`, `/dev`, `/qa`
125
+ - `SDTK-CODE`
126
+ - build a feature
127
+ - fix a bug
128
+ - refactor implementation
129
+ - run implementation verification
130
+ - ship code changes
131
+ - workflow: `start -> plan -> build -> verify -> ship`
132
+ - entry point for ambiguous slices: `code-brainstorm`
133
+ - specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-parallel` (sequential fallback when parallel dispatch is unavailable)
134
+ - `SDTK-OPS`
135
+ - deploy or release
136
+ - infrastructure and environment setup
137
+ - CI/CD changes
138
+ - monitoring, incident response, security-infra, backup, compliance
139
+ - entry: `ops-discover` (when boundary is unclear), `ops-plan`, `ops-deploy`, `ops-incident`, `ops-monitor`, `ops-backup`, `ops-verify`, `ops-debug`
140
+
141
+ If the current project only has `SDTK-SPEC` runtime assets installed:
142
+ - keep `/dev` bounded to planning and `CODE_HANDOFF`
143
+ - do not overclaim that SDTK-CODE or SDTK-OPS runtime assets are already installed
144
+ - still describe the correct downstream suite path in guidance and handoffs
145
+
146
+ ## 3) Shared State And Quality Gates
147
+ - `SHARED_PLANNING.md`: phase status, owners, artifacts, blockers, handoff notes.
148
+ - `QUALITY_CHECKLIST.md`: gate checklist by phase.
149
+ - No handoff to next phase while current gate is not PASS.
150
+ - QA cannot start until downstream implementation evidence exists, normally from SDTK-CODE.
151
+ - QA cannot approve until `OPS_HANDOFF` and downstream OPS evidence are present and aligned.
152
+ - QA accepts downstream implementation evidence from SDTK-CODE as the default handoff bridge, plus `OPS_HANDOFF + OPS evidence` in the current formal suite flow.
153
+
154
+ ## 0.6) Runtime Availability Rules
155
+ - Route only to products whose runtime assets are installed; do not overclaim.
156
+ - For SDTK-SPEC-only installs: keep `/dev` bounded to planning and `CODE_HANDOFF`; do not claim SDTK-CODE or SDTK-OPS are installed.
157
+ - For Codex runtimes: project-local skills require the explicit local `CODEX_HOME=<project>/.codex` contract; native `.codex/skills` auto-discovery is not claimed.
158
+ - Use `ops-parallel` or `code-parallel` only for truly independent slices. If parallel dispatch is unavailable in the active runtime, execute them sequentially in one controller session.
159
+
160
+ ## 0.7) Discovery And PM Readiness
161
+ - PM initiation starts only after `docs/discovery/REQUIREMENT_[FEATURE_KEY].md` is marked `READY_FOR_PM_INITIATION`.
162
+ - Use `NEEDS_MORE_DISCOVERY` or `NOT_ACTIONABLE_YET` when the request is not ready.
163
+ - The discovery artifact is a pre-PM clarification bridge, not a PRD or BA replacement.
@@ -1,51 +1,51 @@
1
- # SDTK-SPEC toolkit
2
-
3
- This folder is the product-specific `SDTK-SPEC` source-of-truth surface within the broader `SDTK Suite` family (`SDTK-SPEC`, `SDTK-CODE`, `SDTK-OPS`).
4
- Use the root `README.md` for suite-level framing and `products/sdtk-code/toolkit/SDTKCODE_TOOLKIT.md` for the downstream coding product.
5
-
6
- ## Quick Start
7
- 1. Copy the `toolkit/` folder into your project root.
8
- 2. Run the installer for your target runtime:
9
- - Codex:
10
- - `powershell -ExecutionPolicy Bypass -File ".\toolkit\install.ps1" -Runtime codex`
11
- - Claude Code:
12
- - `powershell -ExecutionPolicy Bypass -File ".\toolkit\install.ps1" -Runtime claude`
13
- 3. Read the full guide:
14
- - `toolkit/SDTK_TOOLKIT.md`
15
-
16
- ## Product Summary
17
- SDTK-SPEC standardizes feature delivery with a multi-agent SDLC model.
18
- The current shipped technical interface remains `sdtk-spec-kit` / `sdtk-spec`.
19
- It supports runtime adapters (Codex and Claude Code) while keeping one shared core for templates, skills, and quality gates.
20
- `SDTK-OPS` is a real suite product surface, but the runnable product guidance for SDTK-OPS lives in its own product docs rather than this SDTK-SPEC source folder.
21
-
22
- ## Highlights
23
- - 6-phase SDLC flow: PM -> BA -> ARCH -> DEV planning/handoff -> QA release decision.
24
- - Default implementation bridge: `/dev` emits `CODE_HANDOFF`, SDTK-CODE performs coding, `/qa` validates downstream evidence.
25
- - Deterministic artifact generation in `docs/**`.
26
- - Rule-based consistency for API specs, flow-action specs, and QA test cases.
27
- - Hybrid orchestration modes for API design detail and test-case generation.
28
- - Canonical skill inventory in `toolkit/skills/skills.catalog.yaml` for all 14 core toolkit skills, including controller-owned mailbox dispatch.
29
- - Reusable handoff templates under `toolkit/templates/handoffs/` to reduce ambiguity between PM, BA, ARCH, DEV, SDTK-CODE, and QA.
30
- - `## Critical Constraints` encoded in every core `SKILL.md` so non-negotiable workflow rules are visible before execution.
31
- - Public onboarding examples under `examples/` for common delivery scenarios.
32
- - Runtime readiness audit via `toolkit/scripts/check-runtime-readiness.ps1`.
33
- - Repo source now contains two bounded proof families (`service/request tracker`, `approval/workflow`) expressed as golden samples plus executable acceptance fixtures.
34
-
35
- ## Quality Contracts
36
- DEV phase now ends at planning + readiness gating. The canonical outputs are `FEATURE_IMPL_PLAN` and `CODE_HANDOFF`. See `toolkit/skills/sdtk-dev/SKILL.md` for the exact handoff contract.
37
-
38
- All phases follow `governance/ai/core/SDTK_VERIFICATION_BEFORE_COMPLETION_POLICY.md` -- no done/pass/release-ready claim without fresh command evidence.
39
-
40
- QA validation and reusable test-case design must quote exact specification text when judging requirement match or mismatch.
41
-
42
- `sdtk-dev` still keeps subagent prompt templates for delegated task execution (`implementer`, `spec-reviewer`, `code-quality-reviewer` under `toolkit/skills/sdtk-dev/prompts/`), but they are legacy/manual helper assets rather than the default `/dev` process.
43
-
44
- ## Maintainer Aids
45
- - Skill catalog: `toolkit/skills/skills.catalog.yaml`
46
- - Skill authoring guide: `governance/ai/core/SDTK_SKILL_AUTHORING_AND_TESTING.md`
47
- - Handoff templates: `toolkit/templates/handoffs/`
48
- - Skill scaffold: `toolkit/scripts/create-skill.ps1`
49
- - Readiness audit: `toolkit/scripts/check-runtime-readiness.ps1`
50
- - SDTK-CODE handoff generator: `toolkit/scripts/generate-code-handoff.ps1`
51
- - Example scenarios: `examples/`
1
+ # SDTK-SPEC toolkit
2
+
3
+ This folder is the product-specific `SDTK-SPEC` source-of-truth surface within the broader `SDTK Suite` family (`SDTK-SPEC`, `SDTK-CODE`, `SDTK-OPS`).
4
+ Use the root `README.md` for suite-level framing and `products/sdtk-code/toolkit/SDTKCODE_TOOLKIT.md` for the downstream coding product.
5
+
6
+ ## Quick Start
7
+ 1. Copy the `toolkit/` folder into your project root.
8
+ 2. Run the installer for your target runtime:
9
+ - Codex:
10
+ - `powershell -ExecutionPolicy Bypass -File ".\toolkit\install.ps1" -Runtime codex`
11
+ - Claude Code:
12
+ - `powershell -ExecutionPolicy Bypass -File ".\toolkit\install.ps1" -Runtime claude`
13
+ 3. Read the full guide:
14
+ - `toolkit/SDTK_TOOLKIT.md`
15
+
16
+ ## Product Summary
17
+ SDTK-SPEC standardizes feature delivery with a multi-agent SDLC model.
18
+ The current shipped technical interface remains `sdtk-spec-kit` / `sdtk-spec`.
19
+ It supports runtime adapters (Codex and Claude Code) while keeping one shared core for templates, skills, and quality gates.
20
+ `SDTK-OPS` is a real suite product surface, but the runnable product guidance for SDTK-OPS lives in its own product docs rather than this SDTK-SPEC source folder.
21
+
22
+ ## Highlights
23
+ - 6-phase SDLC flow: PM -> BA -> ARCH -> DEV planning/handoff -> QA release decision.
24
+ - Default implementation bridge: `/dev` emits `CODE_HANDOFF`, SDTK-CODE performs coding, `/qa` validates downstream evidence.
25
+ - Deterministic artifact generation in `docs/**`.
26
+ - Rule-based consistency for API specs, flow-action specs, and QA test cases.
27
+ - Hybrid orchestration modes for API design detail and test-case generation.
28
+ - Canonical skill inventory in `toolkit/skills/skills.catalog.yaml` for all 14 core toolkit skills, including controller-owned mailbox dispatch.
29
+ - Reusable handoff templates under `toolkit/templates/handoffs/` to reduce ambiguity between PM, BA, ARCH, DEV, SDTK-CODE, and QA.
30
+ - `## Critical Constraints` encoded in every core `SKILL.md` so non-negotiable workflow rules are visible before execution.
31
+ - Public onboarding examples under `examples/` for common delivery scenarios.
32
+ - Runtime readiness audit via `toolkit/scripts/check-runtime-readiness.ps1`.
33
+ - Repo source now contains two bounded proof families (`service/request tracker`, `approval/workflow`) expressed as golden samples plus executable acceptance fixtures.
34
+
35
+ ## Quality Contracts
36
+ DEV phase now ends at planning + readiness gating. The canonical outputs are `FEATURE_IMPL_PLAN` and `CODE_HANDOFF`. See `toolkit/skills/sdtk-dev/SKILL.md` for the exact handoff contract.
37
+
38
+ All phases follow `governance/ai/core/SDTK_VERIFICATION_BEFORE_COMPLETION_POLICY.md` -- no done/pass/release-ready claim without fresh command evidence.
39
+
40
+ QA validation and reusable test-case design must quote exact specification text when judging requirement match or mismatch.
41
+
42
+ `sdtk-dev` still keeps subagent prompt templates for delegated task execution (`implementer`, `spec-reviewer`, `code-quality-reviewer` under `toolkit/skills/sdtk-dev/prompts/`), but they are legacy/manual helper assets rather than the default `/dev` process.
43
+
44
+ ## Maintainer Aids
45
+ - Skill catalog: `toolkit/skills/skills.catalog.yaml`
46
+ - Skill authoring guide: `governance/ai/core/SDTK_SKILL_AUTHORING_AND_TESTING.md`
47
+ - Handoff templates: `toolkit/templates/handoffs/`
48
+ - Skill scaffold: `toolkit/scripts/create-skill.ps1`
49
+ - Readiness audit: `toolkit/scripts/check-runtime-readiness.ps1`
50
+ - SDTK-CODE handoff generator: `toolkit/scripts/generate-code-handoff.ps1`
51
+ - Example scenarios: `examples/`