sdtk-kit 0.3.9 → 1.0.1
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 -0
- package/README.md +135 -177
- package/bin/sdtk-code.js +6 -0
- package/bin/sdtk-design.js +6 -0
- package/bin/sdtk-ops.js +6 -0
- package/bin/sdtk-spec.js +12 -0
- package/bin/sdtk-wiki.js +6 -0
- package/package.json +60 -46
- package/scripts/postinstall.js +40 -0
- package/assets/manifest/toolkit-bundle.manifest.json +0 -473
- package/assets/manifest/toolkit-bundle.sha256.txt +0 -93
- package/assets/toolkit/toolkit/AGENTS.md +0 -131
- package/assets/toolkit/toolkit/install.ps1 +0 -310
- package/assets/toolkit/toolkit/runtimes/claude/CLAUDE_TEMPLATE.md +0 -54
- package/assets/toolkit/toolkit/runtimes/codex/CODEX_TEMPLATE.md +0 -32
- package/assets/toolkit/toolkit/scripts/init-feature.ps1 +0 -261
- package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +0 -169
- package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +0 -189
- package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +0 -139
- package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +0 -116
- package/assets/toolkit/toolkit/sdtk.config.json +0 -28
- package/assets/toolkit/toolkit/sdtk.config.profiles.example.json +0 -50
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/SKILL.md +0 -84
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_CREATION_RULES.md +0 -22
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/references/FLOWCHART_CREATION_RULES.md +0 -20
- package/assets/toolkit/toolkit/skills/sdtk-api-design-spec/scripts/generate_api_design_detail.py +0 -732
- package/assets/toolkit/toolkit/skills/sdtk-api-doc/SKILL.md +0 -43
- package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
- package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/FLOWCHART_CREATION_RULES.md +0 -20
- package/assets/toolkit/toolkit/skills/sdtk-api-doc/references/YAML_CREATION_RULES.md +0 -128
- package/assets/toolkit/toolkit/skills/sdtk-arch/SKILL.md +0 -83
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_CREATION_RULES.md +0 -22
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOWCHART_CREATION_RULES.md +0 -20
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -220
- package/assets/toolkit/toolkit/skills/sdtk-arch/references/YAML_CREATION_RULES.md +0 -128
- package/assets/toolkit/toolkit/skills/sdtk-ba/SKILL.md +0 -29
- package/assets/toolkit/toolkit/skills/sdtk-design-layout/SKILL.md +0 -52
- package/assets/toolkit/toolkit/skills/sdtk-design-layout/scripts/render_design_layout_images.py +0 -246
- package/assets/toolkit/toolkit/skills/sdtk-dev/SKILL.md +0 -90
- package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/code-quality-reviewer.md +0 -35
- package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/implementer.md +0 -61
- package/assets/toolkit/toolkit/skills/sdtk-dev/prompts/spec-reviewer.md +0 -42
- package/assets/toolkit/toolkit/skills/sdtk-dev-backend/SKILL.md +0 -21
- package/assets/toolkit/toolkit/skills/sdtk-dev-frontend/SKILL.md +0 -19
- package/assets/toolkit/toolkit/skills/sdtk-orchestrator/SKILL.md +0 -80
- package/assets/toolkit/toolkit/skills/sdtk-pm/SKILL.md +0 -30
- package/assets/toolkit/toolkit/skills/sdtk-qa/SKILL.md +0 -53
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/SKILL.md +0 -86
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -220
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/excel-image-export.md +0 -51
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/figma-mcp.md +0 -54
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/references/numbering-rules.md +0 -28
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/scripts/renumber_flow_action_spec_global.py +0 -136
- package/assets/toolkit/toolkit/skills/sdtk-screen-design-spec/scripts/validate_flow_action_spec_numbering.py +0 -414
- package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/SKILL.md +0 -74
- package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/references/TEST_CASE_CREATION_RULES.md +0 -129
- package/assets/toolkit/toolkit/skills/sdtk-test-case-spec/scripts/validate_test_case_spec.py +0 -97
- package/assets/toolkit/toolkit/skills/skills.catalog.yaml +0 -302
- package/assets/toolkit/toolkit/skills-claude/api-design-spec/SKILL.md +0 -90
- package/assets/toolkit/toolkit/skills-claude/api-doc/SKILL.md +0 -47
- package/assets/toolkit/toolkit/skills-claude/arch/SKILL.md +0 -59
- package/assets/toolkit/toolkit/skills-claude/ba/SKILL.md +0 -50
- package/assets/toolkit/toolkit/skills-claude/design-layout/SKILL.md +0 -57
- package/assets/toolkit/toolkit/skills-claude/dev/SKILL.md +0 -45
- package/assets/toolkit/toolkit/skills-claude/dev-backend/SKILL.md +0 -20
- package/assets/toolkit/toolkit/skills-claude/dev-frontend/SKILL.md +0 -18
- package/assets/toolkit/toolkit/skills-claude/orchestrator/SKILL.md +0 -63
- package/assets/toolkit/toolkit/skills-claude/pm/SKILL.md +0 -52
- package/assets/toolkit/toolkit/skills-claude/qa/SKILL.md +0 -48
- package/assets/toolkit/toolkit/skills-claude/screen-design-spec/SKILL.md +0 -90
- package/assets/toolkit/toolkit/skills-claude/test-case-spec/SKILL.md +0 -61
- package/assets/toolkit/toolkit/templates/QUALITY_CHECKLIST.md +0 -124
- package/assets/toolkit/toolkit/templates/README.md +0 -63
- package/assets/toolkit/toolkit/templates/SHARED_PLANNING.md +0 -80
- package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_CREATION_RULES.md +0 -22
- package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_DETAIL_TEMPLATE.md +0 -67
- package/assets/toolkit/toolkit/templates/docs/api/API_DESIGN_FLOWCHART_CREATION_RULES.md +0 -468
- package/assets/toolkit/toolkit/templates/docs/api/API_ENDPOINTS_TEMPLATE.md +0 -229
- package/assets/toolkit/toolkit/templates/docs/api/FEATURE_API_TEMPLATE.yaml +0 -20
- package/assets/toolkit/toolkit/templates/docs/api/FLOWCHART_CREATION_RULES.md +0 -20
- package/assets/toolkit/toolkit/templates/docs/api/YAML_CREATION_RULES.md +0 -128
- package/assets/toolkit/toolkit/templates/docs/api/feature_api_flow_list_TEMPLATE.txt +0 -12
- package/assets/toolkit/toolkit/templates/docs/architecture/ARCH_DESIGN_TEMPLATE.md +0 -109
- package/assets/toolkit/toolkit/templates/docs/database/DATABASE_SPEC_TEMPLATE.md +0 -175
- package/assets/toolkit/toolkit/templates/docs/design/DESIGN_LAYOUT_TEMPLATE.md +0 -60
- package/assets/toolkit/toolkit/templates/docs/dev/FEATURE_IMPL_PLAN_TEMPLATE.md +0 -73
- package/assets/toolkit/toolkit/templates/docs/product/BACKLOG_TEMPLATE.md +0 -50
- package/assets/toolkit/toolkit/templates/docs/product/PRD_TEMPLATE.md +0 -66
- package/assets/toolkit/toolkit/templates/docs/product/PROJECT_INITIATION_TEMPLATE.md +0 -98
- package/assets/toolkit/toolkit/templates/docs/qa/QA_RELEASE_REPORT_TEMPLATE.md +0 -61
- package/assets/toolkit/toolkit/templates/docs/qa/TEST_CASE_CREATION_RULES.md +0 -129
- package/assets/toolkit/toolkit/templates/docs/qa/TEST_CASE_TEMPLATE.md +0 -104
- package/assets/toolkit/toolkit/templates/docs/specs/BA_SPEC_TEMPLATE.md +0 -139
- package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_CREATION_RULES.md +0 -220
- package/assets/toolkit/toolkit/templates/docs/specs/FLOW_ACTION_SPEC_TEMPLATE.md +0 -197
- package/assets/toolkit/toolkit/templates/handoffs/ARCH_TO_DEV.md +0 -31
- package/assets/toolkit/toolkit/templates/handoffs/BA_TO_ARCH.md +0 -28
- package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE1_SPEC_REVIEW.md +0 -26
- package/assets/toolkit/toolkit/templates/handoffs/DEV_STAGE2_CODE_QUALITY_REVIEW.md +0 -20
- package/assets/toolkit/toolkit/templates/handoffs/DEV_TO_QA.md +0 -23
- package/assets/toolkit/toolkit/templates/handoffs/PM_TO_BA.md +0 -26
- package/assets/toolkit/toolkit/templates/handoffs/QA_RELEASE_DECISION.md +0 -21
- package/bin/sdtk.js +0 -15
- package/src/commands/auth.js +0 -85
- package/src/commands/generate.js +0 -177
- package/src/commands/help.js +0 -101
- package/src/commands/init.js +0 -97
- package/src/commands/runtime.js +0 -217
- package/src/index.js +0 -59
- package/src/lib/args.js +0 -116
- package/src/lib/errors.js +0 -41
- package/src/lib/github-access.js +0 -68
- package/src/lib/powershell.js +0 -85
- package/src/lib/scope.js +0 -68
- package/src/lib/state.js +0 -83
- 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,135 @@
|
|
|
1
|
-
# sdtk-kit
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Quick
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
#
|
|
23
|
-
sdtk init --runtime claude
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
sdtk
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
sdtk
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
sdtk
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
sdtk
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
sdtk
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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
|
+
## How the unified CLI works (maintainer note)
|
|
56
|
+
|
|
57
|
+
`sdtk-kit` declares the five sub-toolkits as dependencies AND ships thin bin
|
|
58
|
+
shims (`bin/sdtk-*.js`) that re-export each sub-package's CLI. This is required
|
|
59
|
+
because `npm install -g <pkg>` only links the bin entries of the top-level
|
|
60
|
+
package, never of its dependencies. A pure deps-only meta-package would install
|
|
61
|
+
the sub-toolkits but leave zero CLIs on PATH.
|
|
62
|
+
|
|
63
|
+
Do not remove the `bin` field or the `bin/` shims — they are the mechanism that
|
|
64
|
+
puts `sdtk-spec`, `sdtk-code`, `sdtk-ops`, `sdtk-design`, and `sdtk-wiki` on PATH
|
|
65
|
+
after a global install.
|
|
66
|
+
|
|
67
|
+
## Version pinning model
|
|
68
|
+
|
|
69
|
+
`sdtk-kit` uses caret-range dependencies (`^X.Y.Z`) on each sub-toolkit. This means:
|
|
70
|
+
|
|
71
|
+
- **Patch and minor updates** of sub-toolkits are picked up automatically when you run `npm update -g sdtk-kit`.
|
|
72
|
+
- **Major version bumps** in any sub-toolkit require a coordinated `sdtk-kit` major-bump and re-publish.
|
|
73
|
+
- If you need exact version control per toolkit, use standalone packages instead.
|
|
74
|
+
|
|
75
|
+
Current pinned versions (as of sdtk-kit v1.0.0):
|
|
76
|
+
|
|
77
|
+
| Package | Version |
|
|
78
|
+
|------------------|---------|
|
|
79
|
+
| sdtk-spec-kit | ^0.4.7 |
|
|
80
|
+
| sdtk-code-kit | ^0.1.3 |
|
|
81
|
+
| sdtk-ops-kit | ^0.2.4 |
|
|
82
|
+
| sdtk-design-kit | ^0.3.0 |
|
|
83
|
+
| sdtk-wiki-kit | ^0.1.4 |
|
|
84
|
+
|
|
85
|
+
## Updating
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
npm update -g sdtk-kit
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
This updates all sub-toolkits within their caret ranges.
|
|
92
|
+
|
|
93
|
+
## Uninstalling
|
|
94
|
+
|
|
95
|
+
To remove sdtk-kit and its sub-toolkits:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
npm uninstall -g sdtk-kit
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
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.
|
|
102
|
+
|
|
103
|
+
## Troubleshooting
|
|
104
|
+
|
|
105
|
+
**Command not found after install**
|
|
106
|
+
|
|
107
|
+
Re-open your terminal. npm global installs require a new shell session on some systems.
|
|
108
|
+
|
|
109
|
+
Check your global prefix:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
npm config get prefix
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Ensure `<prefix>/bin` is in `PATH`.
|
|
116
|
+
|
|
117
|
+
**Windows PATH issues**
|
|
118
|
+
|
|
119
|
+
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.
|
|
120
|
+
|
|
121
|
+
**Binary collision**
|
|
122
|
+
|
|
123
|
+
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:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
npm install -g sdtk-kit
|
|
127
|
+
npm install -g sdtk-spec-kit@0.4.6 # pin to an older version
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Links
|
|
131
|
+
|
|
132
|
+
- Docs: [https://sdtk.dev](https://sdtk.dev)
|
|
133
|
+
- Source: [https://github.com/codexsdtk/sdtk-toolkit](https://github.com/codexsdtk/sdtk-toolkit)
|
|
134
|
+
- Issues: [https://github.com/codexsdtk/sdtk-toolkit/issues](https://github.com/codexsdtk/sdtk-toolkit/issues)
|
|
135
|
+
- License: MIT
|
package/bin/sdtk-code.js
ADDED
package/bin/sdtk-ops.js
ADDED
package/bin/sdtk-spec.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
// Bin shim — re-exports the sdtk-spec CLI from the sdtk-spec-kit dependency.
|
|
5
|
+
//
|
|
6
|
+
// Why this exists: `npm install -g <pkg>` only links the bin entries of the
|
|
7
|
+
// top-level package, NOT of its dependencies. A pure meta-package (deps only,
|
|
8
|
+
// no bin) therefore installs the sub-packages but leaves no CLI on PATH.
|
|
9
|
+
//
|
|
10
|
+
// Each sub-toolkit CLI reads process.argv directly, so requiring its bin
|
|
11
|
+
// entry here runs it with the real arguments unchanged.
|
|
12
|
+
require("sdtk-spec-kit/bin/sdtk.js");
|
package/bin/sdtk-wiki.js
ADDED
package/package.json
CHANGED
|
@@ -1,46 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"scripts"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "sdtk-kit",
|
|
3
|
+
"version": "1.0.1",
|
|
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
|
+
"bin": {
|
|
7
|
+
"sdtk-spec": "bin/sdtk-spec.js",
|
|
8
|
+
"sdtk-code": "bin/sdtk-code.js",
|
|
9
|
+
"sdtk-ops": "bin/sdtk-ops.js",
|
|
10
|
+
"sdtk-design": "bin/sdtk-design.js",
|
|
11
|
+
"sdtk-wiki": "bin/sdtk-wiki.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin/",
|
|
15
|
+
"scripts/",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"postinstall": "node scripts/postinstall.js",
|
|
21
|
+
"pack:smoke": "npm pack --dry-run"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"sdtk-spec-kit": "^0.4.7",
|
|
25
|
+
"sdtk-code-kit": "^0.1.3",
|
|
26
|
+
"sdtk-ops-kit": "^0.2.4",
|
|
27
|
+
"sdtk-design-kit": "^0.3.0",
|
|
28
|
+
"sdtk-wiki-kit": "^0.1.4"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18.13.0"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"sdtk",
|
|
35
|
+
"sdtk-kit",
|
|
36
|
+
"sdtk-spec",
|
|
37
|
+
"sdtk-code",
|
|
38
|
+
"sdtk-ops",
|
|
39
|
+
"sdtk-design",
|
|
40
|
+
"sdtk-wiki",
|
|
41
|
+
"cli",
|
|
42
|
+
"toolkit",
|
|
43
|
+
"ai-workflow",
|
|
44
|
+
"solo-founder",
|
|
45
|
+
"mvp"
|
|
46
|
+
],
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git+https://github.com/codexsdtk/sdtk-toolkit.git",
|
|
51
|
+
"directory": "products/sdtk-kit/distribution/sdtk-kit"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://sdtk.dev",
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"access": "public"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -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");
|