sdtk-code-kit 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +164 -123
- package/assets/manifest/toolkit-bundle.manifest.json +5 -5
- package/assets/manifest/toolkit-bundle.sha256.txt +2 -2
- package/assets/toolkit/toolkit/AGENTS.md +219 -217
- package/assets/toolkit/toolkit/sdtk-spec.config.json +1 -1
- package/package.json +34 -34
- package/src/commands/help.js +68 -37
- package/src/commands/update.js +11 -0
- package/src/commands/verify.js +9 -0
- package/src/index.js +73 -70
- package/src/lib/update.js +337 -0
- package/src/lib/workflow-artifact.js +6 -0
- package/src/lib/workflow-review-packet.js +561 -0
- package/src/lib/workflow-verify.js +356 -212
package/README.md
CHANGED
|
@@ -1,113 +1,145 @@
|
|
|
1
|
-
# sdtk-code-kit
|
|
2
|
-
|
|
3
|
-
`SDTK-CODE` is the coding-process product in the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family.
|
|
4
|
-
|
|
5
|
-
## Document Role
|
|
6
|
-
This README is the npm package landing page for `sdtk-code-kit`.
|
|
7
|
-
|
|
8
|
-
Use it to confirm:
|
|
9
|
-
- package name and install command
|
|
10
|
-
- canonical command surface
|
|
11
|
-
- runtime scope truth
|
|
12
|
-
- upstream dependency boundary
|
|
13
|
-
|
|
14
|
-
For the full end-user guide, use:
|
|
15
|
-
- `products/sdtk-code/governance/SDTKCODE_TOOLKIT_USAGE_GUIDE.md`
|
|
16
|
-
|
|
17
|
-
## Public Package Truth
|
|
18
|
-
|
|
19
|
-
- package: `sdtk-code-kit`
|
|
20
|
-
- command: `sdtk-code`
|
|
21
|
-
- latest published version lookup: `npm view sdtk-code-kit version`
|
|
22
|
-
- primary workflow-first surface:
|
|
23
|
-
- `start`
|
|
24
|
-
- `plan`
|
|
25
|
-
- `build`
|
|
26
|
-
- `verify`
|
|
27
|
-
- `ship`
|
|
28
|
-
- support commands:
|
|
29
|
-
- `init`
|
|
30
|
-
- `
|
|
31
|
-
- `runtime
|
|
32
|
-
- `runtime
|
|
33
|
-
- `
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
sdtk-code
|
|
44
|
-
sdtk-code --
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
```powershell
|
|
74
|
-
sdtk-code
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
sdtk-code
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- `
|
|
97
|
-
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
##
|
|
110
|
-
|
|
1
|
+
# sdtk-code-kit
|
|
2
|
+
|
|
3
|
+
`SDTK-CODE` is the coding-process product in the `SDTK-SPEC -> SDTK-CODE -> SDTK-OPS` family.
|
|
4
|
+
|
|
5
|
+
## Document Role
|
|
6
|
+
This README is the npm package landing page for `sdtk-code-kit`.
|
|
7
|
+
|
|
8
|
+
Use it to confirm:
|
|
9
|
+
- package name and install command
|
|
10
|
+
- canonical command surface
|
|
11
|
+
- runtime scope truth
|
|
12
|
+
- upstream dependency boundary
|
|
13
|
+
|
|
14
|
+
For the full end-user guide, use:
|
|
15
|
+
- `products/sdtk-code/governance/SDTKCODE_TOOLKIT_USAGE_GUIDE.md`
|
|
16
|
+
|
|
17
|
+
## Public Package Truth
|
|
18
|
+
|
|
19
|
+
- package: `sdtk-code-kit`
|
|
20
|
+
- command: `sdtk-code`
|
|
21
|
+
- latest published version lookup: `npm view sdtk-code-kit version`
|
|
22
|
+
- primary workflow-first surface:
|
|
23
|
+
- `start`
|
|
24
|
+
- `plan`
|
|
25
|
+
- `build`
|
|
26
|
+
- `verify`
|
|
27
|
+
- `ship`
|
|
28
|
+
- support commands:
|
|
29
|
+
- `init`
|
|
30
|
+
- `update`
|
|
31
|
+
- `runtime install`
|
|
32
|
+
- `runtime status`
|
|
33
|
+
- `runtime uninstall`
|
|
34
|
+
- `help`
|
|
35
|
+
- `--version`
|
|
36
|
+
|
|
37
|
+
Not part of the v1 public surface:
|
|
38
|
+
- `generate`
|
|
39
|
+
|
|
40
|
+
## Install
|
|
41
|
+
|
|
42
|
+
```powershell
|
|
43
|
+
npm install -g sdtk-code-kit
|
|
44
|
+
sdtk-code --version
|
|
45
|
+
sdtk-code --help
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
If you need the exact latest published version number, run:
|
|
49
|
+
|
|
50
|
+
```powershell
|
|
51
|
+
npm view sdtk-code-kit version
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Update Existing Installation
|
|
55
|
+
|
|
56
|
+
Use the public `update` command when `sdtk-code-kit` is already installed and you want the newest published package line.
|
|
57
|
+
|
|
58
|
+
```powershell
|
|
59
|
+
sdtk-code update --check-only
|
|
60
|
+
sdtk-code update --runtime claude --project-path ./my-project
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Codex user-scope variant:
|
|
64
|
+
|
|
65
|
+
```powershell
|
|
66
|
+
sdtk-code update --runtime codex --scope user --project-path ./my-project
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Project-local Codex refresh is also supported, but only when you intentionally launch the runtime with the explicit local `CODEX_HOME=<project>/.codex` contract. Native `.codex/skills` auto-discovery is still not claimed.
|
|
70
|
+
|
|
71
|
+
Then verify:
|
|
72
|
+
|
|
73
|
+
```powershell
|
|
74
|
+
sdtk-code --version
|
|
75
|
+
sdtk-code runtime status --runtime claude --project-path ./my-project
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Important truth:
|
|
79
|
+
- `sdtk-code update` still uses `npm install -g sdtk-code-kit@<target>` as the package refresh mechanism
|
|
80
|
+
- `update --check-only` is non-destructive and prints the planned commands only
|
|
81
|
+
- `init --force` refreshes managed project files
|
|
82
|
+
- `runtime install --force` refreshes managed runtime assets
|
|
83
|
+
- existing workflow docs are not automatically regenerated
|
|
84
|
+
|
|
85
|
+
## First Quick Start
|
|
86
|
+
|
|
87
|
+
Initialize the workspace first:
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
sdtk-code init --runtime codex --project-path ./my-project
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
After upstream `SDTK-SPEC` inputs already exist, start the workflow:
|
|
94
|
+
- preferred: `docs/dev/CODE_HANDOFF_[FEATURE_KEY].json`
|
|
95
|
+
- bounded fallback when the formal handoff file is missing:
|
|
96
|
+
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
97
|
+
- `sdtk-spec.config.json`
|
|
98
|
+
|
|
99
|
+
```powershell
|
|
100
|
+
sdtk-code start --feature-key ORDER_MGMT --lane feature --project-path ./my-project
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Use Claude instead when you want the simplest project-scope runtime path:
|
|
104
|
+
|
|
105
|
+
```powershell
|
|
106
|
+
sdtk-code init --runtime claude --project-path ./my-project
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Runtime Truth
|
|
110
|
+
|
|
111
|
+
| Runtime | Project scope | User scope | Current truth |
|
|
112
|
+
|---|:---:|:---:|---|
|
|
113
|
+
| Claude | Yes | Yes | installs `code-*` skills |
|
|
114
|
+
| Codex | Yes | Yes | installs `sdtk-code-*` skills; default is user scope and project-local installs require the explicit local `CODEX_HOME=<project>/.codex` contract |
|
|
115
|
+
|
|
116
|
+
## Remove Runtime Assets vs Remove the Package
|
|
117
|
+
|
|
118
|
+
Use:
|
|
119
|
+
|
|
120
|
+
```powershell
|
|
121
|
+
sdtk-code runtime uninstall --runtime claude --scope project --project-path ./my-project
|
|
122
|
+
sdtk-code runtime uninstall --runtime codex --all
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
when you want to remove only SDTK-CODE-managed runtime skill folders.
|
|
126
|
+
|
|
127
|
+
Important truth:
|
|
128
|
+
- `runtime uninstall` removes only SDTK-CODE-managed skill folders for the selected runtime and scope
|
|
129
|
+
- it does **not** delete parent runtime roots such as `.claude/`, `.claude/skills/`, `$CODEX_HOME/`, or `$CODEX_HOME/skills/`
|
|
130
|
+
|
|
131
|
+
Use:
|
|
132
|
+
|
|
133
|
+
```powershell
|
|
134
|
+
npm uninstall -g sdtk-code-kit
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
when you want to remove the global npm package and CLI shim only.
|
|
138
|
+
|
|
139
|
+
That npm command does **not** remove runtime assets that were already copied into Claude or Codex skill folders.
|
|
140
|
+
|
|
141
|
+
## Upstream Dependency
|
|
142
|
+
|
|
111
143
|
`SDTK-CODE` is publicly installable, but real workflow execution still expects upstream `SDTK-SPEC` artifacts.
|
|
112
144
|
|
|
113
145
|
Task-breakdown truth:
|
|
@@ -117,12 +149,12 @@ Task-breakdown truth:
|
|
|
117
149
|
|
|
118
150
|
Preferred intake artifact:
|
|
119
151
|
- `docs/dev/CODE_HANDOFF_[FEATURE_KEY].json`
|
|
120
|
-
|
|
121
|
-
Bounded fallback when the formal handoff file is missing:
|
|
122
|
-
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
123
|
-
- `sdtk-spec.config.json`
|
|
124
|
-
- relevant architecture, API, database, and flow/screen specs for the current slice when applicable
|
|
125
|
-
|
|
152
|
+
|
|
153
|
+
Bounded fallback when the formal handoff file is missing:
|
|
154
|
+
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
155
|
+
- `sdtk-spec.config.json`
|
|
156
|
+
- relevant architecture, API, database, and flow/screen specs for the current slice when applicable
|
|
157
|
+
|
|
126
158
|
Blocking truth:
|
|
127
159
|
- invalid or upstream-blocked formal handoff must stop `sdtk-code start`
|
|
128
160
|
- no silent fallback is allowed when the formal handoff file already exists but is invalid
|
|
@@ -136,11 +168,20 @@ Important boundary:
|
|
|
136
168
|
- this bridge is produced by `SDTK-CODE` for downstream `SDTK-OPS`
|
|
137
169
|
- compatibility fallback workflows do not invent a fake `OPS_HANDOFF` without the current `CODE_HANDOFF_[FEATURE_KEY].json`
|
|
138
170
|
|
|
171
|
+
## Verify Output Truth
|
|
172
|
+
|
|
173
|
+
`sdtk-code verify` records summarized evidence in `docs/dev/CODE_WORKFLOW_[FEATURE_KEY].md` and also emits:
|
|
174
|
+
- `docs/dev/REVIEW_PACKET_[FEATURE_KEY].md`
|
|
175
|
+
|
|
176
|
+
Important boundary:
|
|
177
|
+
- the review packet is an evidence package for downstream QA/controller review
|
|
178
|
+
- it does not replace QA release authority and it is not a final approval artifact
|
|
179
|
+
|
|
139
180
|
## References
|
|
140
|
-
|
|
141
|
-
- Canonical end-user guide:
|
|
142
|
-
- `products/sdtk-code/governance/SDTKCODE_TOOLKIT_USAGE_GUIDE.md`
|
|
143
|
-
- Install and smoke appendix:
|
|
144
|
-
- `products/sdtk-code/governance/installation-runbook.md`
|
|
145
|
-
- Product boundary and architecture:
|
|
146
|
-
- `products/sdtk-code/toolkit/SDTKCODE_TOOLKIT.md`
|
|
181
|
+
|
|
182
|
+
- Canonical end-user guide:
|
|
183
|
+
- `products/sdtk-code/governance/SDTKCODE_TOOLKIT_USAGE_GUIDE.md`
|
|
184
|
+
- Install and smoke appendix:
|
|
185
|
+
- `products/sdtk-code/governance/installation-runbook.md`
|
|
186
|
+
- Product boundary and architecture:
|
|
187
|
+
- `products/sdtk-code/toolkit/SDTKCODE_TOOLKIT.md`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
3
|
-
"sourceCommit": "
|
|
2
|
+
"version": "0.1.2",
|
|
3
|
+
"sourceCommit": "60631227236ee508bf17b07dda24d5a10a0f5500",
|
|
4
4
|
"fileCount": 28,
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"path": "toolkit/AGENTS.md",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "6bd495507c8b5e7a8f6a4f04623e7eccc69ee9a6f907c48e3d5a6c4cdc76bfc8",
|
|
9
|
+
"size": 9054
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"path": "toolkit/install.ps1",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"path": "toolkit/sdtk-spec.config.json",
|
|
38
|
-
"sha256": "
|
|
38
|
+
"sha256": "04122c6d6c4de38d3b8dae890b95523aef6646a46b95c9b979852f2e123e753c",
|
|
39
39
|
"size": 113
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
6bd495507c8b5e7a8f6a4f04623e7eccc69ee9a6f907c48e3d5a6c4cdc76bfc8 toolkit/AGENTS.md
|
|
2
2
|
4500fee93ba7f50f66d599f9b1ca63066698d129ea3639f699e9ea3b4255e15d toolkit/install.ps1
|
|
3
3
|
720990cc979cdbca776bbe21eaeee0a73c5dd698ac6c8df430c7f22826ec9219 toolkit/scripts/install-claude-skills.ps1
|
|
4
4
|
7d61249db7eee6185e5454f7427b808c79d5e564e0d2214ee5f92fa105effb04 toolkit/scripts/install-codex-skills.ps1
|
|
5
5
|
148ddfc5a79a9dd6d7fa5b926c5511a5e4d458fa31003217cdc2eefcbe966cc2 toolkit/scripts/uninstall-claude-skills.ps1
|
|
6
6
|
0fd11650bd445fad37c728471872b99bfb8bd17dfb95e62431ceccfad7f0852f toolkit/scripts/uninstall-codex-skills.ps1
|
|
7
|
-
|
|
7
|
+
04122c6d6c4de38d3b8dae890b95523aef6646a46b95c9b979852f2e123e753c toolkit/sdtk-spec.config.json
|
|
8
8
|
e690255217a8b276c1d9bd3714e2cda9d92c0fac703bc955b9280e1b698e2d04 toolkit/sdtk-spec.config.profiles.example.json
|
|
9
9
|
d797d707dc34d299dbac13f09f3bc8cc42759cb69a9fa5b2cb2269e4c246061e toolkit/skills/code-brainstorm/SKILL.md
|
|
10
10
|
698c89de9a0586e83ee52147adf345fa2ab813a06b454ca50e9c69e423f0a910 toolkit/skills/code-debug/references/root-cause-tracing.md
|