sdtk-code-kit 0.1.0 → 0.1.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/README.md +138 -130
- package/assets/manifest/toolkit-bundle.manifest.json +47 -47
- package/assets/manifest/toolkit-bundle.sha256.txt +23 -23
- package/assets/toolkit/toolkit/AGENTS.md +8 -1
- package/assets/toolkit/toolkit/install.ps1 +1 -8
- package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +30 -7
- package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +31 -2
- package/assets/toolkit/toolkit/sdtk-spec.config.json +1 -1
- package/assets/toolkit/toolkit/skills/code-brainstorm/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-debug/SKILL.md +1 -2
- package/assets/toolkit/toolkit/skills/code-debug/references/root-cause-tracing.md +0 -1
- package/assets/toolkit/toolkit/skills/code-execute/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-finish/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-parallel/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md +0 -1
- package/assets/toolkit/toolkit/skills/code-parallel/references/implementer-prompt.md +0 -1
- package/assets/toolkit/toolkit/skills/code-parallel/references/spec-reviewer-prompt.md +0 -1
- package/assets/toolkit/toolkit/skills/code-plan/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-review/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-review/references/checklist.md +0 -1
- package/assets/toolkit/toolkit/skills/code-review/references/code-reviewer.md +0 -1
- package/assets/toolkit/toolkit/skills/code-ship/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-tdd/SKILL.md +1 -2
- package/assets/toolkit/toolkit/skills/code-tdd/references/testing-anti-patterns.md +0 -1
- package/assets/toolkit/toolkit/skills/code-verify/SKILL.md +0 -1
- package/assets/toolkit/toolkit/skills/code-worktree/SKILL.md +13 -14
- package/package.json +1 -1
- package/src/commands/help.js +163 -145
- package/src/commands/init.js +10 -1
- package/src/commands/plan.js +1 -0
- package/src/commands/runtime.js +27 -8
- package/src/commands/ship.js +5 -0
- package/src/lib/scope.js +19 -2
- package/src/lib/workflow-artifact.js +51 -14
- package/src/lib/workflow-handoff.js +510 -0
- package/src/lib/workflow-intake.js +2 -1
- package/src/lib/workflow-plan.js +102 -5
- package/src/lib/workflow-ship.js +53 -3
package/README.md
CHANGED
|
@@ -1,138 +1,146 @@
|
|
|
1
|
-
# sdtk-code-kit
|
|
2
|
-
|
|
3
|
-
`SDTK-CODE` is the coding-process
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
- package
|
|
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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
+
- `runtime install`
|
|
31
|
+
- `runtime status`
|
|
32
|
+
- `runtime uninstall`
|
|
33
|
+
- `help`
|
|
34
|
+
- `--version`
|
|
35
|
+
|
|
36
|
+
Not part of the v1 public surface:
|
|
37
|
+
- `generate`
|
|
38
|
+
|
|
39
|
+
## Install
|
|
40
|
+
|
|
41
|
+
```powershell
|
|
42
|
+
npm install -g sdtk-code-kit
|
|
43
|
+
sdtk-code --version
|
|
44
|
+
sdtk-code --help
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
If you need the exact latest published version number, run:
|
|
48
|
+
|
|
49
|
+
```powershell
|
|
50
|
+
npm view sdtk-code-kit version
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## First Quick Start
|
|
54
|
+
|
|
55
|
+
Initialize the workspace first:
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
sdtk-code init --runtime codex --project-path ./my-project
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
After upstream `SDTK-SPEC` inputs already exist, start the workflow:
|
|
62
|
+
- preferred: `docs/dev/CODE_HANDOFF_[FEATURE_KEY].json`
|
|
63
|
+
- bounded fallback when the formal handoff file is missing:
|
|
64
|
+
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
65
|
+
- `sdtk-spec.config.json`
|
|
66
|
+
|
|
67
|
+
```powershell
|
|
68
|
+
sdtk-code start --feature-key ORDER_MGMT --lane feature --project-path ./my-project
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Use Claude instead when you want project-scope runtime assets:
|
|
72
|
+
|
|
73
|
+
```powershell
|
|
74
|
+
sdtk-code init --runtime claude --project-path ./my-project
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Runtime Truth
|
|
78
|
+
|
|
79
|
+
| Runtime | Project scope | User scope | Current truth |
|
|
80
|
+
|---|:---:|:---:|---|
|
|
81
|
+
| Claude | Yes | Yes | installs `code-*` skills |
|
|
82
|
+
| Codex | No | Yes | installs `sdtk-code-*` skills; project scope is blocked by Gate C0 |
|
|
83
|
+
|
|
84
|
+
## Remove Runtime Assets vs Remove the Package
|
|
85
|
+
|
|
86
|
+
Use:
|
|
87
|
+
|
|
88
|
+
```powershell
|
|
89
|
+
sdtk-code runtime uninstall --runtime claude --scope project --project-path ./my-project
|
|
90
|
+
sdtk-code runtime uninstall --runtime codex --all
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
when you want to remove only SDTK-CODE-managed runtime skill folders.
|
|
94
|
+
|
|
95
|
+
Important truth:
|
|
96
|
+
- `runtime uninstall` removes only SDTK-CODE-managed skill folders for the selected runtime and scope
|
|
97
|
+
- it does **not** delete parent runtime roots such as `.claude/`, `.claude/skills/`, `$CODEX_HOME/`, or `$CODEX_HOME/skills/`
|
|
98
|
+
|
|
99
|
+
Use:
|
|
100
|
+
|
|
101
|
+
```powershell
|
|
102
|
+
npm uninstall -g sdtk-code-kit
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
when you want to remove the global npm package and CLI shim only.
|
|
106
|
+
|
|
107
|
+
That npm command does **not** remove runtime assets that were already copied into Claude or Codex skill folders.
|
|
108
|
+
|
|
109
|
+
## Upstream Dependency
|
|
110
|
+
|
|
111
|
+
`SDTK-CODE` is publicly installable, but real workflow execution still expects upstream `SDTK-SPEC` artifacts.
|
|
112
|
+
|
|
113
|
+
Task-breakdown truth:
|
|
114
|
+
- upstream `SDTK-SPEC` `/dev` still owns implementation-readiness planning and formal handoff scope
|
|
115
|
+
- `FEATURE_IMPL_PLAN_[FEATURE_KEY].md` remains the upstream readiness plan
|
|
116
|
+
- `sdtk-code plan` refines downstream execution slices only after intake succeeds
|
|
60
117
|
|
|
61
118
|
Preferred intake artifact:
|
|
62
119
|
- `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
|
+
|
|
126
|
+
Blocking truth:
|
|
127
|
+
- invalid or upstream-blocked formal handoff must stop `sdtk-code start`
|
|
128
|
+
- no silent fallback is allowed when the formal handoff file already exists but is invalid
|
|
63
129
|
|
|
64
|
-
|
|
65
|
-
- `docs/dev/FEATURE_IMPL_PLAN_[FEATURE_KEY].md`
|
|
66
|
-
- relevant API / DB / ARCH / FLOW_ACTION specs for the current slice
|
|
67
|
-
- `sdtk-spec.config.json`
|
|
68
|
-
|
|
69
|
-
This package does not replace `SDTK-SPEC` for upstream planning, architecture, or handoff generation.
|
|
70
|
-
|
|
71
|
-
## Workflow-first package truth
|
|
72
|
-
|
|
73
|
-
Normal mode is workflow-first:
|
|
74
|
-
- feature lane: `start -> plan -> build -> verify -> ship`
|
|
75
|
-
- bugfix lane: `start -> build -> verify -> ship`
|
|
130
|
+
## Downstream OPS Bridge
|
|
76
131
|
|
|
77
|
-
|
|
78
|
-
- `docs/dev/
|
|
132
|
+
Completed closeout from a formal-handoff-backed workflow writes the canonical downstream bridge:
|
|
133
|
+
- `docs/dev/OPS_HANDOFF_[FEATURE_KEY].json`
|
|
79
134
|
|
|
80
|
-
|
|
81
|
-
- `
|
|
82
|
-
|
|
83
|
-
Expert mode remains direct raw `code-*` usage inside Claude or Codex.
|
|
84
|
-
|
|
85
|
-
## Install and first smoke
|
|
86
|
-
|
|
87
|
-
```powershell
|
|
88
|
-
npm install -g sdtk-code-kit@0.1.0
|
|
89
|
-
sdtk-code --help
|
|
90
|
-
sdtk-code init --runtime codex --project-path ./my-project
|
|
91
|
-
sdtk-code runtime status --runtime codex
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
If you want Claude project-scope install behavior instead:
|
|
95
|
-
|
|
96
|
-
```powershell
|
|
97
|
-
sdtk-code init --runtime claude --project-path ./my-project
|
|
98
|
-
sdtk-code runtime status --runtime claude --project-path ./my-project
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
## Maintainer packaging smoke
|
|
102
|
-
|
|
103
|
-
From this package directory:
|
|
104
|
-
|
|
105
|
-
```powershell
|
|
106
|
-
npm run build:payload
|
|
107
|
-
npm run verify:payload
|
|
108
|
-
npm pack --dry-run
|
|
109
|
-
node bin/sdtk-code.js --help
|
|
110
|
-
node bin/sdtk-code.js init --runtime claude --project-path ..\..\..\..\tmp-sdtk-code
|
|
111
|
-
node bin/sdtk-code.js start --feature-key ORDER_MGMT --lane feature --project-path ..\..\..\..\tmp-sdtk-code
|
|
112
|
-
node bin/sdtk-code.js plan --feature-key ORDER_MGMT --project-path ..\..\..\..\tmp-sdtk-code --slice "API contract updates"
|
|
113
|
-
node bin/sdtk-code.js build --feature-key ORDER_MGMT --project-path ..\..\..\..\tmp-sdtk-code --active-slice "API contract updates" --complete
|
|
114
|
-
node bin/sdtk-code.js verify --feature-key ORDER_MGMT --project-path ..\..\..\..\tmp-sdtk-code --evidence "pytest -q|Regression suite passed|pass|docs/dev/evidence/ORDER_MGMT/pytest.txt" --spec-status pass --quality-status pass --complete
|
|
115
|
-
node bin/sdtk-code.js ship --feature-key ORDER_MGMT --project-path ..\..\..\..\tmp-sdtk-code --decision ship --preflight "npm pack --dry-run|Package smoke passed|pass|docs/dev/evidence/ORDER_MGMT/pack.txt"
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## Release truth
|
|
119
|
-
|
|
120
|
-
First public release target:
|
|
121
|
-
- `sdtk-code-kit@0.1.0`
|
|
122
|
-
|
|
123
|
-
Release model:
|
|
124
|
-
- maintainer-driven local publish
|
|
125
|
-
- public npm metadata is part of the shipped package truth
|
|
126
|
-
- CI/tag-publish parity is follow-up hardening, not a blocker for the first public release
|
|
127
|
-
|
|
128
|
-
Historical note:
|
|
129
|
-
- older publishability planning assumed no workflow template belonged in the package payload
|
|
130
|
-
- that assumption is superseded by the implemented workflow-first rollout
|
|
131
|
-
- the package now intentionally ships only `CODE_WORKFLOW_TEMPLATE.md` from `toolkit/templates/`, not the full templates tree
|
|
135
|
+
Important boundary:
|
|
136
|
+
- this bridge is produced by `SDTK-CODE` for downstream `SDTK-OPS`
|
|
137
|
+
- compatibility fallback workflows do not invent a fake `OPS_HANDOFF` without the current `CODE_HANDOFF_[FEATURE_KEY].json`
|
|
132
138
|
|
|
133
139
|
## References
|
|
134
|
-
|
|
135
|
-
-
|
|
136
|
-
- `products/sdtk-code/governance/
|
|
137
|
-
-
|
|
138
|
-
- `products/sdtk-code/governance/
|
|
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`
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
3
|
-
"sourceCommit": "
|
|
2
|
+
"version": "0.1.1",
|
|
3
|
+
"sourceCommit": "5b21b7376fcf11a9138f486921de5e07e0c88ac7",
|
|
4
4
|
"fileCount": 28,
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"path": "toolkit/AGENTS.md",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "ae15216dbefd773d3c46e0a892cd495dfe4afb9fb89560d87c402158e4449297",
|
|
9
|
+
"size": 8453
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"path": "toolkit/install.ps1",
|
|
13
|
-
"sha256": "
|
|
14
|
-
"size":
|
|
13
|
+
"sha256": "4500fee93ba7f50f66d599f9b1ca63066698d129ea3639f699e9ea3b4255e15d",
|
|
14
|
+
"size": 2755
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"path": "toolkit/scripts/install-claude-skills.ps1",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"path": "toolkit/scripts/install-codex-skills.ps1",
|
|
23
|
-
"sha256": "
|
|
24
|
-
"size":
|
|
23
|
+
"sha256": "7d61249db7eee6185e5454f7427b808c79d5e564e0d2214ee5f92fa105effb04",
|
|
24
|
+
"size": 4762
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "toolkit/scripts/uninstall-claude-skills.ps1",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"path": "toolkit/scripts/uninstall-codex-skills.ps1",
|
|
33
|
-
"sha256": "
|
|
34
|
-
"size":
|
|
33
|
+
"sha256": "0fd11650bd445fad37c728471872b99bfb8bd17dfb95e62431ceccfad7f0852f",
|
|
34
|
+
"size": 2430
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"path": "toolkit/sdtk-spec.config.json",
|
|
38
|
-
"sha256": "
|
|
38
|
+
"sha256": "6b56e5d0b46aa527d7fbe56ec270d3d01218e668c32ba30a45674a9390eca2cd",
|
|
39
39
|
"size": 113
|
|
40
40
|
},
|
|
41
41
|
{
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "toolkit/skills/code-brainstorm/SKILL.md",
|
|
48
|
-
"sha256": "
|
|
49
|
-
"size":
|
|
48
|
+
"sha256": "d797d707dc34d299dbac13f09f3bc8cc42759cb69a9fa5b2cb2269e4c246061e",
|
|
49
|
+
"size": 2215
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"path": "toolkit/skills/code-debug/references/root-cause-tracing.md",
|
|
53
|
-
"sha256": "
|
|
54
|
-
"size":
|
|
53
|
+
"sha256": "698c89de9a0586e83ee52147adf345fa2ab813a06b454ca50e9c69e423f0a910",
|
|
54
|
+
"size": 2206
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"path": "toolkit/skills/code-debug/SKILL.md",
|
|
58
|
-
"sha256": "
|
|
59
|
-
"size":
|
|
58
|
+
"sha256": "0eaffea2cb755c6f2598c46bd937dcec82f2727160fac9a4beb36ff79560418e",
|
|
59
|
+
"size": 10283
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"path": "toolkit/skills/code-discover/SKILL.md",
|
|
@@ -65,78 +65,78 @@
|
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"path": "toolkit/skills/code-execute/SKILL.md",
|
|
68
|
-
"sha256": "
|
|
69
|
-
"size":
|
|
68
|
+
"sha256": "8627a8c33cd170cc8009feb2b6ab7bf2bc4be91daa3609dc331a554ba41b1b3d",
|
|
69
|
+
"size": 2318
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"path": "toolkit/skills/code-finish/SKILL.md",
|
|
73
|
-
"sha256": "
|
|
74
|
-
"size":
|
|
73
|
+
"sha256": "5e352fb1739cf0b9297f34e49ae01d8b0c0ed57448c3c8f3b286d12e1177a130",
|
|
74
|
+
"size": 4260
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"path": "toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md",
|
|
78
|
-
"sha256": "
|
|
79
|
-
"size":
|
|
78
|
+
"sha256": "5fec663aa52b7fd2b942f71a0755f0cd109d2273a5cd21c7c24eeed7684a4cc9",
|
|
79
|
+
"size": 1101
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"path": "toolkit/skills/code-parallel/references/implementer-prompt.md",
|
|
83
|
-
"sha256": "
|
|
84
|
-
"size":
|
|
83
|
+
"sha256": "10bc07e6498e6a1e54805cce4d964545f2c1614e6679b0c1c4eb7d17b894e3a6",
|
|
84
|
+
"size": 4257
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"path": "toolkit/skills/code-parallel/references/spec-reviewer-prompt.md",
|
|
88
|
-
"sha256": "
|
|
89
|
-
"size":
|
|
88
|
+
"sha256": "b22d3262f252f7cc994d13bfe16c7103f3afe1e66c255090d88e53fbd68a0f82",
|
|
89
|
+
"size": 1993
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
"path": "toolkit/skills/code-parallel/SKILL.md",
|
|
93
|
-
"sha256": "
|
|
94
|
-
"size":
|
|
93
|
+
"sha256": "393edd1c3ef6ff936c5ec6e2e739d3c02f1e6370e5a72872f186b5d2971d37b7",
|
|
94
|
+
"size": 2691
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"path": "toolkit/skills/code-plan/SKILL.md",
|
|
98
|
-
"sha256": "
|
|
99
|
-
"size":
|
|
98
|
+
"sha256": "7fe115e27a83d04243401bb628ae4246a323246c972fd54890fe4a7e97926bbf",
|
|
99
|
+
"size": 3391
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"path": "toolkit/skills/code-review/references/checklist.md",
|
|
103
|
-
"sha256": "
|
|
104
|
-
"size":
|
|
103
|
+
"sha256": "4612b4e40992f594b577146ac14f1ff13c1812e8e9da64b07eb1e2de5363af5d",
|
|
104
|
+
"size": 6797
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"path": "toolkit/skills/code-review/references/code-reviewer.md",
|
|
108
|
-
"sha256": "
|
|
109
|
-
"size":
|
|
108
|
+
"sha256": "7f5328dca12cb200005ae9d4386f63a9b0acb735ece57f82db206b4a3189ccae",
|
|
109
|
+
"size": 3385
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"path": "toolkit/skills/code-review/SKILL.md",
|
|
113
|
-
"sha256": "
|
|
114
|
-
"size":
|
|
113
|
+
"sha256": "4d10ec40ae8ca87de03b2724b90c91053bf756c880a67d8f9a79aabd948f49b5",
|
|
114
|
+
"size": 2723
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"path": "toolkit/skills/code-ship/SKILL.md",
|
|
118
|
-
"sha256": "
|
|
119
|
-
"size":
|
|
118
|
+
"sha256": "c8dbbae4f8ed65b00e38a386cb9adba340c90dc7fd0dd8257f3c1fea37322558",
|
|
119
|
+
"size": 2123
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"path": "toolkit/skills/code-tdd/references/testing-anti-patterns.md",
|
|
123
|
-
"sha256": "
|
|
124
|
-
"size":
|
|
123
|
+
"sha256": "a85c93883197eef41f5392875b41a19b8cdeb3b14b3c6fb5a6dbfb6f21a1b825",
|
|
124
|
+
"size": 8194
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"path": "toolkit/skills/code-tdd/SKILL.md",
|
|
128
|
-
"sha256": "
|
|
129
|
-
"size":
|
|
128
|
+
"sha256": "adc09aae75a67705cfa69122b1496e0f8f64a56f5ed8e31c3f18bbed9c8238ed",
|
|
129
|
+
"size": 10703
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"path": "toolkit/skills/code-verify/SKILL.md",
|
|
133
|
-
"sha256": "
|
|
134
|
-
"size":
|
|
133
|
+
"sha256": "6df69cf2db69d13672b3e73a2c25aca48791e9ea912c1e1fbc3ce7734399c346",
|
|
134
|
+
"size": 4197
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
"path": "toolkit/skills/code-worktree/SKILL.md",
|
|
138
|
-
"sha256": "
|
|
139
|
-
"size":
|
|
138
|
+
"sha256": "c715716c3e2599fa2e5376c68c0496d5b631085ecdb31709df91f0e69aafe74b",
|
|
139
|
+
"size": 6231
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"path": "toolkit/templates/CODE_WORKFLOW_TEMPLATE.md",
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
ae15216dbefd773d3c46e0a892cd495dfe4afb9fb89560d87c402158e4449297 toolkit/AGENTS.md
|
|
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
|
-
|
|
7
|
-
|
|
6
|
+
0fd11650bd445fad37c728471872b99bfb8bd17dfb95e62431ceccfad7f0852f toolkit/scripts/uninstall-codex-skills.ps1
|
|
7
|
+
6b56e5d0b46aa527d7fbe56ec270d3d01218e668c32ba30a45674a9390eca2cd toolkit/sdtk-spec.config.json
|
|
8
8
|
e690255217a8b276c1d9bd3714e2cda9d92c0fac703bc955b9280e1b698e2d04 toolkit/sdtk-spec.config.profiles.example.json
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
d797d707dc34d299dbac13f09f3bc8cc42759cb69a9fa5b2cb2269e4c246061e toolkit/skills/code-brainstorm/SKILL.md
|
|
10
|
+
698c89de9a0586e83ee52147adf345fa2ab813a06b454ca50e9c69e423f0a910 toolkit/skills/code-debug/references/root-cause-tracing.md
|
|
11
|
+
0eaffea2cb755c6f2598c46bd937dcec82f2727160fac9a4beb36ff79560418e toolkit/skills/code-debug/SKILL.md
|
|
12
12
|
de71c2ae31b28e6591e9045e940aa2c1e58b598145d2fb4fe77883ffafe56187 toolkit/skills/code-discover/SKILL.md
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
8627a8c33cd170cc8009feb2b6ab7bf2bc4be91daa3609dc331a554ba41b1b3d toolkit/skills/code-execute/SKILL.md
|
|
14
|
+
5e352fb1739cf0b9297f34e49ae01d8b0c0ed57448c3c8f3b286d12e1177a130 toolkit/skills/code-finish/SKILL.md
|
|
15
|
+
5fec663aa52b7fd2b942f71a0755f0cd109d2273a5cd21c7c24eeed7684a4cc9 toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md
|
|
16
|
+
10bc07e6498e6a1e54805cce4d964545f2c1614e6679b0c1c4eb7d17b894e3a6 toolkit/skills/code-parallel/references/implementer-prompt.md
|
|
17
|
+
b22d3262f252f7cc994d13bfe16c7103f3afe1e66c255090d88e53fbd68a0f82 toolkit/skills/code-parallel/references/spec-reviewer-prompt.md
|
|
18
|
+
393edd1c3ef6ff936c5ec6e2e739d3c02f1e6370e5a72872f186b5d2971d37b7 toolkit/skills/code-parallel/SKILL.md
|
|
19
|
+
7fe115e27a83d04243401bb628ae4246a323246c972fd54890fe4a7e97926bbf toolkit/skills/code-plan/SKILL.md
|
|
20
|
+
4612b4e40992f594b577146ac14f1ff13c1812e8e9da64b07eb1e2de5363af5d toolkit/skills/code-review/references/checklist.md
|
|
21
|
+
7f5328dca12cb200005ae9d4386f63a9b0acb735ece57f82db206b4a3189ccae toolkit/skills/code-review/references/code-reviewer.md
|
|
22
|
+
4d10ec40ae8ca87de03b2724b90c91053bf756c880a67d8f9a79aabd948f49b5 toolkit/skills/code-review/SKILL.md
|
|
23
|
+
c8dbbae4f8ed65b00e38a386cb9adba340c90dc7fd0dd8257f3c1fea37322558 toolkit/skills/code-ship/SKILL.md
|
|
24
|
+
a85c93883197eef41f5392875b41a19b8cdeb3b14b3c6fb5a6dbfb6f21a1b825 toolkit/skills/code-tdd/references/testing-anti-patterns.md
|
|
25
|
+
adc09aae75a67705cfa69122b1496e0f8f64a56f5ed8e31c3f18bbed9c8238ed toolkit/skills/code-tdd/SKILL.md
|
|
26
|
+
6df69cf2db69d13672b3e73a2c25aca48791e9ea912c1e1fbc3ce7734399c346 toolkit/skills/code-verify/SKILL.md
|
|
27
|
+
c715716c3e2599fa2e5376c68c0496d5b631085ecdb31709df91f0e69aafe74b toolkit/skills/code-worktree/SKILL.md
|
|
28
28
|
2e48444886c8a38ec0ec2cb0c73f7b8a7e5f273767d1fe3010dbff0f3ff8a60b toolkit/templates/CODE_WORKFLOW_TEMPLATE.md
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
It is a separate product from `SDTK-SPEC`, not a sub-phase inside `SDTK-SPEC`.
|
|
7
7
|
|
|
8
8
|
`SDTK-CODE` exists to enforce disciplined implementation work:
|
|
9
|
-
-
|
|
9
|
+
- execution-planning refinement after valid intake
|
|
10
10
|
- TDD-first execution
|
|
11
11
|
- systematic debugging
|
|
12
12
|
- evidence-first verification
|
|
@@ -14,6 +14,7 @@ It is a separate product from `SDTK-SPEC`, not a sub-phase inside `SDTK-SPEC`.
|
|
|
14
14
|
- ship and finish discipline
|
|
15
15
|
|
|
16
16
|
It does not own PM, BA, ARCH, or QA artifact generation.
|
|
17
|
+
It also does not own upstream implementation-readiness planning.
|
|
17
18
|
|
|
18
19
|
## 2. Upstream Boundary With SDTK-SPEC
|
|
19
20
|
`SDTK-SPEC` is the upstream docs-first system.
|
|
@@ -34,12 +35,18 @@ Compatibility fallback when the formal handoff file is missing:
|
|
|
34
35
|
- `sdtk-spec.config.json`
|
|
35
36
|
- relevant architecture, API, DB, and flow/screen specs for the current slice when applicable
|
|
36
37
|
|
|
38
|
+
Task-breakdown truth:
|
|
39
|
+
- upstream `SDTK-SPEC` `/dev` owns implementation-readiness planning and formal handoff scope
|
|
40
|
+
- `FEATURE_IMPL_PLAN_[FEATURE_KEY].md` remains the upstream readiness plan
|
|
41
|
+
- `sdtk-code plan` refines downstream execution slices only after intake succeeds
|
|
42
|
+
|
|
37
43
|
Expected outputs from `SDTK-CODE`:
|
|
38
44
|
- code changes
|
|
39
45
|
- test changes
|
|
40
46
|
- summarized verification evidence
|
|
41
47
|
- review findings
|
|
42
48
|
- ship or finish decisions
|
|
49
|
+
- `docs/dev/OPS_HANDOFF_[FEATURE_KEY].json` on completed formal-handoff-backed closeout
|
|
43
50
|
|
|
44
51
|
## 3. Default Operating Model
|
|
45
52
|
The default product direction is workflow-first.
|
|
@@ -53,11 +53,6 @@ if (-not $Scope) {
|
|
|
53
53
|
$Scope = if ($Runtime -eq 'claude') { 'project' } else { 'user' }
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
if ($Runtime -eq 'codex' -and $Scope -eq 'project') {
|
|
57
|
-
Write-Error "Codex does not support project-local skills. Use -Scope user instead."
|
|
58
|
-
exit 1
|
|
59
|
-
}
|
|
60
|
-
|
|
61
56
|
if ($SkipSkills) {
|
|
62
57
|
if (-not $Quiet) {
|
|
63
58
|
Write-Warning "-SkipSkills is deprecated. Use -SkipRuntimeAssets instead."
|
|
@@ -108,11 +103,9 @@ if (-not $SkipRuntimeAssets) {
|
|
|
108
103
|
|
|
109
104
|
$params = @{
|
|
110
105
|
Scope = $Scope
|
|
106
|
+
ProjectPath = $projectRoot
|
|
111
107
|
Quiet = [bool]$Quiet
|
|
112
108
|
}
|
|
113
|
-
if ($Runtime -eq 'claude') {
|
|
114
|
-
$params.ProjectPath = $projectRoot
|
|
115
|
-
}
|
|
116
109
|
if ($Force) {
|
|
117
110
|
$params.Force = $true
|
|
118
111
|
}
|
|
@@ -1,18 +1,37 @@
|
|
|
1
1
|
param(
|
|
2
2
|
[ValidateSet('project', 'user')]
|
|
3
3
|
[string]$Scope = 'user',
|
|
4
|
+
[string]$ProjectPath,
|
|
4
5
|
[switch]$Force,
|
|
5
6
|
[switch]$Quiet
|
|
6
7
|
)
|
|
7
8
|
|
|
8
|
-
if ($Scope -eq 'project') {
|
|
9
|
-
Write-Error "Codex does not support project-local skills. Use -Scope user instead."
|
|
10
|
-
exit 1
|
|
11
|
-
}
|
|
12
|
-
|
|
13
9
|
$ErrorActionPreference = 'Stop'
|
|
14
10
|
Set-StrictMode -Version Latest
|
|
15
11
|
|
|
12
|
+
function Resolve-CodexHome {
|
|
13
|
+
param(
|
|
14
|
+
[Parameter(Mandatory = $true)][string]$TargetScope,
|
|
15
|
+
[string]$TargetProjectPath
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
if ($TargetScope -eq 'project') {
|
|
19
|
+
if (-not $TargetProjectPath -or $TargetProjectPath.Trim().Length -eq 0) {
|
|
20
|
+
throw "Project-local Codex install requires -ProjectPath."
|
|
21
|
+
}
|
|
22
|
+
if (-not (Test-Path -LiteralPath $TargetProjectPath)) {
|
|
23
|
+
New-Item -ItemType Directory -Force -Path $TargetProjectPath | Out-Null
|
|
24
|
+
}
|
|
25
|
+
$projectRoot = (Resolve-Path -LiteralPath $TargetProjectPath).Path
|
|
26
|
+
return (Join-Path $projectRoot '.codex')
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if ($env:CODEX_HOME) {
|
|
30
|
+
return $env:CODEX_HOME
|
|
31
|
+
}
|
|
32
|
+
return (Join-Path $HOME '.codex')
|
|
33
|
+
}
|
|
34
|
+
|
|
16
35
|
function Write-Utf8NoBomFile {
|
|
17
36
|
param(
|
|
18
37
|
[Parameter(Mandatory = $true)][string]$Path,
|
|
@@ -66,7 +85,7 @@ if ($managedSkills.Count -ne 12) {
|
|
|
66
85
|
throw "Expected 12 managed SDTK-CODE skills but found $($managedSkills.Count)."
|
|
67
86
|
}
|
|
68
87
|
|
|
69
|
-
$codexHome =
|
|
88
|
+
$codexHome = Resolve-CodexHome -TargetScope $Scope -TargetProjectPath $ProjectPath
|
|
70
89
|
$skillsDest = Join-Path $codexHome 'skills'
|
|
71
90
|
New-Item -ItemType Directory -Force -Path $skillsDest | Out-Null
|
|
72
91
|
|
|
@@ -120,8 +139,12 @@ if ($installedNow.Count -ne 12) {
|
|
|
120
139
|
if (-not $Quiet) {
|
|
121
140
|
Write-Host ""
|
|
122
141
|
Write-Host "Install summary:"
|
|
123
|
-
Write-Host "- Scope:
|
|
142
|
+
Write-Host "- Scope: $Scope"
|
|
124
143
|
Write-Host "- Destination: $skillsDest"
|
|
125
144
|
Write-Host "- Copied: $copied"
|
|
126
145
|
Write-Host "- Skipped: $skipped"
|
|
146
|
+
if ($Scope -eq 'project') {
|
|
147
|
+
Write-Host "- Project-local Codex support requires launching Codex with CODEX_HOME=<project>/.codex."
|
|
148
|
+
Write-Host "- Native .codex/skills auto-discovery is not claimed."
|
|
149
|
+
}
|
|
127
150
|
}
|