sdtk-kit 0.3.8 → 1.0.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.
Files changed (113) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +123 -177
  3. package/package.json +52 -46
  4. package/scripts/postinstall.js +40 -0
  5. package/assets/manifest/toolkit-bundle.manifest.json +0 -473
  6. package/assets/manifest/toolkit-bundle.sha256.txt +0 -93
  7. package/assets/toolkit/toolkit/AGENTS.md +0 -131
  8. package/assets/toolkit/toolkit/install.ps1 +0 -270
  9. package/assets/toolkit/toolkit/runtimes/claude/CLAUDE_TEMPLATE.md +0 -54
  10. package/assets/toolkit/toolkit/runtimes/codex/CODEX_TEMPLATE.md +0 -32
  11. package/assets/toolkit/toolkit/scripts/init-feature.ps1 +0 -261
  12. package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +0 -129
  13. package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +0 -189
  14. package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +0 -139
  15. package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +0 -116
  16. package/assets/toolkit/toolkit/sdtk.config.json +0 -28
  17. package/assets/toolkit/toolkit/sdtk.config.profiles.example.json +0 -50
  18. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/SKILL.md +0 -84
  19. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_CREATION_RULES.md +0 -22
  20. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  21. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/FLOWCHART_CREATION_RULES.md +0 -20
  22. package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/scripts/generate_api_design_detail.py +0 -656
  23. package/assets/toolkit/toolkit/skills/sdtk-api-doc/SKILL.md +0 -43
  24. package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  25. package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/FLOWCHART_CREATION_RULES.md +0 -20
  26. package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/YAML_CREATION_RULES.md +0 -128
  27. package/assets/toolkit/toolkit/skills/sdtk-arch/SKILL.md +0 -83
  28. package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_CREATION_RULES.md +0 -22
  29. package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  30. package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOWCHART_CREATION_RULES.md +0 -20
  31. package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -200
  32. package/assets/toolkit/toolkit/skills/sdtk-arch/references/YAML_CREATION_RULES.md +0 -128
  33. package/assets/toolkit/toolkit/skills/sdtk-ba/SKILL.md +0 -29
  34. package/assets/toolkit/toolkit/skills/sdtk-design-layout/SKILL.md +0 -41
  35. package/assets/toolkit/toolkit/skills/sdtk-design-layout/scripts/render_design_layout_images.py +0 -213
  36. package/assets/toolkit/toolkit/skills/sdtk-dev/SKILL.md +0 -90
  37. package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/code-quality-reviewer.md +0 -35
  38. package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/implementer.md +0 -61
  39. package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/spec-reviewer.md +0 -42
  40. package/assets/toolkit/toolkit/skills/sdtk-dev-backend/SKILL.md +0 -21
  41. package/assets/toolkit/toolkit/skills/sdtk-dev-frontend/SKILL.md +0 -19
  42. package/assets/toolkit/toolkit/skills/sdtk-orchestrator/SKILL.md +0 -80
  43. package/assets/toolkit/toolkit/skills/sdtk-pm/SKILL.md +0 -30
  44. package/assets/toolkit/toolkit/skills/sdtk-qa/SKILL.md +0 -53
  45. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/SKILL.md +0 -73
  46. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -200
  47. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/excel-image-export.md +0 -51
  48. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/figma-mcp.md +0 -54
  49. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/numbering-rules.md +0 -76
  50. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/scripts/renumber_flow_action_spec_global.py +0 -136
  51. package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/scripts/validate_flow_action_spec_numbering.py +0 -249
  52. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/SKILL.md +0 -74
  53. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/references/TEST_CASE_CREATION_RULES.md +0 -129
  54. package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/scripts/validate_test_case_spec.py +0 -97
  55. package/assets/toolkit/toolkit/skills/skills.catalog.yaml +0 -302
  56. package/assets/toolkit/toolkit/skills-claude/api-design-spec/SKILL.md +0 -76
  57. package/assets/toolkit/toolkit/skills-claude/api-doc/SKILL.md +0 -47
  58. package/assets/toolkit/toolkit/skills-claude/arch/SKILL.md +0 -72
  59. package/assets/toolkit/toolkit/skills-claude/ba/SKILL.md +0 -50
  60. package/assets/toolkit/toolkit/skills-claude/design-layout/SKILL.md +0 -25
  61. package/assets/toolkit/toolkit/skills-claude/dev/SKILL.md +0 -45
  62. package/assets/toolkit/toolkit/skills-claude/dev-backend/SKILL.md +0 -20
  63. package/assets/toolkit/toolkit/skills-claude/dev-frontend/SKILL.md +0 -18
  64. package/assets/toolkit/toolkit/skills-claude/orchestrator/SKILL.md +0 -63
  65. package/assets/toolkit/toolkit/skills-claude/pm/SKILL.md +0 -52
  66. package/assets/toolkit/toolkit/skills-claude/qa/SKILL.md +0 -48
  67. package/assets/toolkit/toolkit/skills-claude/screen-design-spec/SKILL.md +0 -68
  68. package/assets/toolkit/toolkit/skills-claude/test-case-spec/SKILL.md +0 -61
  69. package/assets/toolkit/toolkit/templates/QUALITY_CHECKLIST.md +0 -124
  70. package/assets/toolkit/toolkit/templates/README.md +0 -63
  71. package/assets/toolkit/toolkit/templates/SHARED_PLANNING.md +0 -80
  72. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md +0 -22
  73. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_DETAIL_TEMPLATE.md +0 -67
  74. package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
  75. package/assets/toolkit/toolkit/templates/docs/api/API_ENDPOINTS_TEMPLATE.md +0 -229
  76. package/assets/toolkit/toolkit/templates/docs/api/FEATURE_API_TEMPLATE.yaml +0 -20
  77. package/assets/toolkit/toolkit/templates/docs/api/FLOWCHART_CREATION_RULES.md +0 -20
  78. package/assets/toolkit/toolkit/templates/docs/api/YAML_CREATION_RULES.md +0 -128
  79. package/assets/toolkit/toolkit/templates/docs/api/feature_api_flow_list_TEMPLATE.txt +0 -12
  80. package/assets/toolkit/toolkit/templates/docs/architecture/ARCH_DESIGN_TEMPLATE.md +0 -109
  81. package/assets/toolkit/toolkit/templates/docs/database/DATABASE_SPEC_TEMPLATE.md +0 -175
  82. package/assets/toolkit/toolkit/templates/docs/design/DESIGN_LAYOUT_TEMPLATE.md +0 -49
  83. package/assets/toolkit/toolkit/templates/docs/dev/FEATURE_IMPL_PLAN_TEMPLATE.md +0 -73
  84. package/assets/toolkit/toolkit/templates/docs/product/BACKLOG_TEMPLATE.md +0 -50
  85. package/assets/toolkit/toolkit/templates/docs/product/PRD_TEMPLATE.md +0 -66
  86. package/assets/toolkit/toolkit/templates/docs/product/PROJECT_INITIATION_TEMPLATE.md +0 -98
  87. package/assets/toolkit/toolkit/templates/docs/qa/QA_RELEASE_REPORT_TEMPLATE.md +0 -61
  88. package/assets/toolkit/toolkit/templates/docs/qa/TEST_CASE_CREATION_RULES.md +0 -129
  89. package/assets/toolkit/toolkit/templates/docs/qa/TEST_CASE_TEMPLATE.md +0 -104
  90. package/assets/toolkit/toolkit/templates/docs/specs/BA_SPEC_TEMPLATE.md +0 -139
  91. package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -200
  92. package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_TEMPLATE.md +0 -172
  93. package/assets/toolkit/toolkit/templates/handoffs/ARCH_TO_DEV.md +0 -31
  94. package/assets/toolkit/toolkit/templates/handoffs/BA_TO_ARCH.md +0 -28
  95. package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE1_SPEC_REVIEW.md +0 -26
  96. package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE2_CODE_QUALITY_REVIEW.md +0 -20
  97. package/assets/toolkit/toolkit/templates/handoffs/DEV_TO_QA.md +0 -23
  98. package/assets/toolkit/toolkit/templates/handoffs/PM_TO_BA.md +0 -26
  99. package/assets/toolkit/toolkit/templates/handoffs/QA_RELEASE_DECISION.md +0 -21
  100. package/bin/sdtk.js +0 -15
  101. package/src/commands/auth.js +0 -85
  102. package/src/commands/generate.js +0 -177
  103. package/src/commands/help.js +0 -101
  104. package/src/commands/init.js +0 -97
  105. package/src/commands/runtime.js +0 -217
  106. package/src/index.js +0 -59
  107. package/src/lib/args.js +0 -116
  108. package/src/lib/errors.js +0 -41
  109. package/src/lib/github-access.js +0 -68
  110. package/src/lib/powershell.js +0 -85
  111. package/src/lib/scope.js +0 -68
  112. package/src/lib/state.js +0 -83
  113. package/src/lib/toolkit-payload.js +0 -99
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SDTK
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,177 +1,123 @@
1
- # sdtk-kit
2
-
3
- SDTK CLI -- deterministic documentation toolkit for software teams.
4
-
5
- Wraps the SDTK PowerShell toolkit for portable, reproducible feature documentation scaffolding.
6
-
7
- Canonical install/runtime source in the source repo: `governance/ai/cli/SDTK_RUNTIME_AND_FEATURE_STATUS.md`
8
-
9
- Generated skills include verification gates and two-stage review hard gates. The current source baseline also ships a canonical skill catalog, handoff templates, public example packs, and a runtime readiness audit. See `toolkit/SDTK_TOOLKIT.md` for workflow quality contracts.
10
-
11
- ## Install
12
-
13
- ```bash
14
- npm install -g sdtk-kit
15
- # or link locally for development:
16
- npm link
17
- ```
18
-
19
- ## Quick Start
20
-
21
- ```bash
22
- # 1. Initialize workspace with runtime adapter
23
- sdtk init --runtime claude
24
-
25
- # 2. Store GitHub token for entitlement
26
- sdtk auth --token ghp_xxxxxxxxxxxx
27
- sdtk auth --verify
28
-
29
- # 3. Generate feature documentation (17-file scaffold)
30
- sdtk generate --feature-key USER_PROFILE --feature-name "User Profile"
31
- # Codex runtime remains available:
32
- # sdtk init --runtime codex
33
-
34
- ```
35
-
36
- The CLI generates the scaffold contract only. Full content enrichment still runs phase-by-phase through PM, BA, ARCH, DEV, and QA using the installed runtime guidance plus the toolkit docs.
37
-
38
- ## Commands
39
-
40
- ### `sdtk init`
41
-
42
- Initialize SDTK workspace in the current or specified project directory.
43
-
44
- ```bash
45
- sdtk init --runtime <codex|claude> [--project-path <path>] [--force] [--runtime-scope <project|user>] [--skip-runtime-assets]
46
-
47
- # Deprecated: --skip-skills (use --skip-runtime-assets instead)
48
- ```
49
-
50
- Creates:
51
- - `AGENTS.md` -- project-level agent guidance
52
- - `sdtk.config.json` -- project configuration
53
- - `sdtk.config.profiles.example.json` -- stack profile examples
54
- - `CODEX.md` or `CLAUDE.md` -- runtime adapter
55
- - for `--runtime claude`, skill files are installed into `.claude/skills/` (project scope, default) or `~/.claude/skills/` (user scope) unless `--skip-runtime-assets` is used
56
- - for `--runtime codex`, skill files are installed into `$CODEX_HOME/skills/` or `~/.codex/skills/` (user scope only) unless `--skip-runtime-assets` is used
57
- - `--skip-skills` is deprecated; use `--skip-runtime-assets` instead
58
-
59
- ### `sdtk auth`
60
-
61
- Manage GitHub authentication and verify entitlement.
62
-
63
- ```bash
64
- sdtk auth --token <value> # store PAT
65
- sdtk auth --verify # check repo access
66
- sdtk auth --status # show auth state
67
- sdtk auth --logout # clear credentials
68
- ```
69
-
70
- #### Entitlement repo override
71
-
72
- By default, `sdtk auth --verify` checks access against the built-in private repo. You can override this with the `SDTK_ENTITLEMENT_REPO` environment variable:
73
-
74
- ```bash
75
- # bash / zsh
76
- export SDTK_ENTITLEMENT_REPO=owner/repo
77
- sdtk auth --verify
78
- ```
79
-
80
- ```powershell
81
- # PowerShell
82
- $env:SDTK_ENTITLEMENT_REPO="owner/repo"
83
- sdtk auth --verify
84
- ```
85
-
86
- ### `sdtk generate`
87
-
88
- Generate feature documentation from templates. Produces 17 files matching the SDTK toolkit contract.
89
-
90
- ```bash
91
- sdtk generate --feature-key <UPPER_SNAKE_CASE> --feature-name "<text>" [--project-path <path>] [--force] [--validate-only]
92
- ```
93
-
94
- Output files include: project initiation, BA spec, flow-action spec, PRD, backlog, architecture design, database spec, API specs (OpenAPI + endpoints + design detail + flow list), UI design layout, implementation plan, test cases, and QA release report.
95
-
96
- ### `sdtk runtime`
97
-
98
- Manage runtime skill assets independently of `sdtk init`.
99
-
100
- ```bash
101
- sdtk runtime install --runtime <codex|claude> [--scope <project|user>]
102
- sdtk runtime uninstall --runtime <codex|claude> [--scope <project|user>]
103
- sdtk runtime status --runtime <codex|claude>
104
- ```
105
-
106
- Scope defaults:
107
- - `claude`: `project` (installs to `.claude/skills/`); `user` installs to `~/.claude/skills/`
108
- - `codex`: `user` only (installs to `$CODEX_HOME/skills/` or `~/.codex/skills/`); project scope is not supported (Gate C0)
109
-
110
- Examples:
111
-
112
- ```bash
113
- # Install Claude skills at project scope (default)
114
- sdtk runtime install --runtime claude
115
-
116
- # Install Claude skills at user scope
117
- sdtk runtime install --runtime claude --scope user
118
-
119
- # Check installed runtime assets
120
- sdtk runtime status --runtime claude
121
-
122
- # Remove runtime assets
123
- sdtk runtime uninstall --runtime claude --scope project
124
- ```
125
-
126
- ### `sdtk --help` / `sdtk --version`
127
-
128
- ```bash
129
- sdtk --help
130
- sdtk --version
131
- ```
132
-
133
- ## Exit Codes
134
-
135
- | Code | Meaning |
136
- |------|---------|
137
- | 0 | Success |
138
- | 1 | Validation or user error (bad args, missing auth) |
139
- | 2 | Dependency error (PowerShell not found) |
140
- | 3 | Integrity error (payload hash mismatch) |
141
- | 4 | Unexpected internal error |
142
-
143
- ## Requirements
144
-
145
- - Node.js >= 18.13.0
146
- - PowerShell (Windows PowerShell 5.1+ or PowerShell Core)
147
-
148
- ## Troubleshooting
149
-
150
- **PowerShell not found**
151
- - Ensure `powershell.exe` (Windows) or `pwsh` (macOS/Linux) is in your PATH.
152
-
153
- **Invalid or expired token**
154
- - Run `sdtk auth --token <new-token>` with a valid GitHub PAT.
155
-
156
- **No repository access**
157
- - Verify your token has access to the private distribution repo with `sdtk auth --verify`.
158
- - If your organization uses a custom entitlement repo, set `SDTK_ENTITLEMENT_REPO=owner/repo` before running `--verify`.
159
-
160
- **Payload hash mismatch**
161
- - The bundled toolkit payload may be corrupted. Reinstall the package.
162
-
163
- ## Development
164
-
165
- ```bash
166
- # Sync toolkit payload from repo root
167
- npm run build:payload
168
-
169
- # Verify payload integrity
170
- npm run verify:payload
171
-
172
- # Smoke test npm pack
173
- npm run pack:smoke
174
- ```
175
-
176
- Run `tests/skill_triggering/` to validate skill routing behavior.
177
-
1
+ # sdtk-kit
2
+
3
+ > Install all five SDTK toolkits in one command.
4
+
5
+ ```bash
6
+ npm install -g sdtk-kit
7
+ ```
8
+
9
+ After install, all five SDTK CLI tools are available globally:
10
+
11
+ | CLI | Toolkit | Purpose |
12
+ |---------------|----------------|--------------------------------------------------|
13
+ | `sdtk-spec` | SDTK-SPEC | Spec-first SDLC: PM → BA → ARCH → DEV → QA |
14
+ | `sdtk-design` | SDTK-DESIGN | MVP design: idea → prototype → handoff |
15
+ | `sdtk-code` | SDTK-CODE | Governed coding: handoff → PR with review gates |
16
+ | `sdtk-ops` | SDTK-OPS | Operations: deploy → smoke → sign-off |
17
+ | `sdtk-wiki` | SDTK-WIKI | Local second brain: your project memory |
18
+
19
+ ## Quick start
20
+
21
+ ```bash
22
+ # Initialize the spec toolkit in your project
23
+ sdtk-spec init --runtime claude # or --runtime codex
24
+
25
+ # Generate a 17-file spec scaffold for your first feature
26
+ sdtk-spec generate --feature-key MY_FEATURE
27
+ ```
28
+
29
+ ## Unified vs standalone install
30
+
31
+ You have two install options:
32
+
33
+ **Option 1 — Install everything at once (recommended for new projects)**
34
+
35
+ ```bash
36
+ npm install -g sdtk-kit
37
+ ```
38
+
39
+ npm installs all five sub-toolkits as dependencies. All CLI binaries land on PATH in one step.
40
+
41
+ **Option 2 — Install individual toolkits**
42
+
43
+ ```bash
44
+ npm install -g sdtk-spec-kit # spec / planning
45
+ npm install -g sdtk-design-kit # design
46
+ npm install -g sdtk-code-kit # coding
47
+ npm install -g sdtk-ops-kit # operations
48
+ npm install -g sdtk-wiki-kit # local second brain
49
+ ```
50
+
51
+ Use Option 2 if you only need one or two toolkits, or if you want granular version control per toolkit.
52
+
53
+ Both options are permanently supported. `sdtk-kit` does not replace the standalone packages.
54
+
55
+ ## Version pinning model
56
+
57
+ `sdtk-kit` uses caret-range dependencies (`^X.Y.Z`) on each sub-toolkit. This means:
58
+
59
+ - **Patch and minor updates** of sub-toolkits are picked up automatically when you run `npm update -g sdtk-kit`.
60
+ - **Major version bumps** in any sub-toolkit require a coordinated `sdtk-kit` major-bump and re-publish.
61
+ - If you need exact version control per toolkit, use standalone packages instead.
62
+
63
+ Current pinned versions (as of sdtk-kit v1.0.0):
64
+
65
+ | Package | Version |
66
+ |------------------|---------|
67
+ | sdtk-spec-kit | ^0.4.7 |
68
+ | sdtk-code-kit | ^0.1.3 |
69
+ | sdtk-ops-kit | ^0.2.4 |
70
+ | sdtk-design-kit | ^0.3.0 |
71
+ | sdtk-wiki-kit | ^0.1.4 |
72
+
73
+ ## Updating
74
+
75
+ ```bash
76
+ npm update -g sdtk-kit
77
+ ```
78
+
79
+ This updates all sub-toolkits within their caret ranges.
80
+
81
+ ## Uninstalling
82
+
83
+ To remove sdtk-kit and its sub-toolkits:
84
+
85
+ ```bash
86
+ npm uninstall -g sdtk-kit
87
+ ```
88
+
89
+ Note: `npm uninstall` removes the package and its transitive dependencies. If you had any sub-toolkits installed standalone _before_ installing sdtk-kit, npm may or may not remove them depending on your npm version. Run `npm uninstall -g sdtk-spec-kit sdtk-code-kit sdtk-ops-kit sdtk-design-kit sdtk-wiki-kit` to be sure.
90
+
91
+ ## Troubleshooting
92
+
93
+ **Command not found after install**
94
+
95
+ Re-open your terminal. npm global installs require a new shell session on some systems.
96
+
97
+ Check your global prefix:
98
+
99
+ ```bash
100
+ npm config get prefix
101
+ ```
102
+
103
+ Ensure `<prefix>/bin` is in `PATH`.
104
+
105
+ **Windows PATH issues**
106
+
107
+ On Windows, npm global binaries land in `%APPDATA%\npm`. Make sure this is in your `PATH`. Run `npm config get prefix` to confirm the location.
108
+
109
+ **Binary collision**
110
+
111
+ If you have standalone sub-toolkits installed at different versions than what `sdtk-kit` pins, `npm install -g sdtk-kit` will upgrade them to the pinned versions. To keep a standalone version pinned, install it standalone after sdtk-kit:
112
+
113
+ ```bash
114
+ npm install -g sdtk-kit
115
+ npm install -g sdtk-spec-kit@0.4.6 # pin to an older version
116
+ ```
117
+
118
+ ## Links
119
+
120
+ - Docs: [https://sdtk.dev](https://sdtk.dev)
121
+ - Source: [https://github.com/codexsdtk/sdtk-toolkit](https://github.com/codexsdtk/sdtk-toolkit)
122
+ - Issues: [https://github.com/codexsdtk/sdtk-toolkit/issues](https://github.com/codexsdtk/sdtk-toolkit/issues)
123
+ - License: MIT
package/package.json CHANGED
@@ -1,46 +1,52 @@
1
- {
2
- "name": "sdtk-kit",
3
- "version": "0.3.8",
4
- "description": "SDTK CLI toolkit for deterministic software documentation workflows",
5
- "bin": {
6
- "sdtk": "./bin/sdtk.js"
7
- },
8
- "main": "src/index.js",
9
- "type": "commonjs",
10
- "files": [
11
- "bin/",
12
- "src/",
13
- "assets/"
14
- ],
15
- "scripts": {
16
- "test": "node -e \"console.log('No tests configured yet')\"",
17
- "build:payload": "powershell -ExecutionPolicy Bypass -File scripts/sync-toolkit-assets.ps1 && powershell -ExecutionPolicy Bypass -File scripts/build-toolkit-manifest.ps1",
18
- "verify:payload": "node -e \"require('./src/lib/toolkit-payload').verify()\"",
19
- "pack:smoke": "npm pack --dry-run",
20
- "pack:release": "npm pack",
21
- "prepublishOnly": "node -e \"require('./src/lib/toolkit-payload').verify()\""
22
- },
23
- "engines": {
24
- "node": ">=18.13.0"
25
- },
26
- "keywords": [
27
- "sdtk",
28
- "cli",
29
- "documentation",
30
- "toolkit",
31
- "dockkit"
32
- ],
33
- "license": "MIT",
34
- "repository": {
35
- "type": "git",
36
- "url": "https://github.com/codexsdtk/sdtk-toolkit.git",
37
- "directory": "distribution/sdtk-cli"
38
- },
39
- "homepage": "https://agenttoolkits.dev",
40
- "bugs": {
41
- "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
42
- },
43
- "publishConfig": {
44
- "access": "public"
45
- }
46
- }
1
+ {
2
+ "name": "sdtk-kit",
3
+ "version": "1.0.0",
4
+ "description": "Install all five SDTK toolkits in one command. Meta-package for sdtk-spec-kit, sdtk-code-kit, sdtk-ops-kit, sdtk-design-kit, and sdtk-wiki-kit.",
5
+ "type": "commonjs",
6
+ "files": [
7
+ "scripts/",
8
+ "README.md",
9
+ "LICENSE"
10
+ ],
11
+ "scripts": {
12
+ "postinstall": "node scripts/postinstall.js",
13
+ "pack:smoke": "npm pack --dry-run"
14
+ },
15
+ "dependencies": {
16
+ "sdtk-spec-kit": "^0.4.7",
17
+ "sdtk-code-kit": "^0.1.3",
18
+ "sdtk-ops-kit": "^0.2.4",
19
+ "sdtk-design-kit": "^0.3.0",
20
+ "sdtk-wiki-kit": "^0.1.4"
21
+ },
22
+ "engines": {
23
+ "node": ">=18.13.0"
24
+ },
25
+ "keywords": [
26
+ "sdtk",
27
+ "sdtk-kit",
28
+ "sdtk-spec",
29
+ "sdtk-code",
30
+ "sdtk-ops",
31
+ "sdtk-design",
32
+ "sdtk-wiki",
33
+ "cli",
34
+ "toolkit",
35
+ "ai-workflow",
36
+ "solo-founder",
37
+ "mvp"
38
+ ],
39
+ "license": "MIT",
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/codexsdtk/sdtk-toolkit.git",
43
+ "directory": "products/sdtk-kit/distribution/sdtk-kit"
44
+ },
45
+ "homepage": "https://sdtk.dev",
46
+ "bugs": {
47
+ "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
48
+ },
49
+ "publishConfig": {
50
+ "access": "public"
51
+ }
52
+ }
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Skip banner in CI environments and headless installs.
5
+ // This avoids noisy output in automated pipelines that install sdtk-kit
6
+ // as a transitive dependency.
7
+ const isCI =
8
+ process.env.CI === "true" ||
9
+ process.env.NODE_ENV === "test" ||
10
+ process.env.npm_config_loglevel === "silent" ||
11
+ process.env.npm_config_loglevel === "error";
12
+
13
+ if (isCI) {
14
+ process.exit(0);
15
+ }
16
+
17
+ const lines = [
18
+ "",
19
+ " ╔══════════════════════════════════════════════════════╗",
20
+ " ║ SDTK — All Five Toolkits Installed ║",
21
+ " ╚══════════════════════════════════════════════════════╝",
22
+ "",
23
+ " You now have all five SDTK CLI tools available:",
24
+ "",
25
+ " sdtk-spec — Spec-first SDLC: PM → BA → ARCH → DEV → QA",
26
+ " sdtk-design — MVP design: idea → prototype → handoff",
27
+ " sdtk-code — Governed coding: handoff → PR with review gates",
28
+ " sdtk-ops — Operations: deploy → smoke → sign-off",
29
+ " sdtk-wiki — Local second brain: your project memory",
30
+ "",
31
+ " Start with the SPEC toolkit:",
32
+ "",
33
+ " sdtk-spec init --runtime claude (or --runtime codex)",
34
+ " sdtk-spec generate --feature-key <YOUR_FEATURE>",
35
+ "",
36
+ " Docs: https://sdtk.dev",
37
+ "",
38
+ ];
39
+
40
+ process.stdout.write(lines.join("\n") + "\n");