sdtk-code-kit 0.4.4 → 0.6.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.
- package/README.md +1 -1
- package/assets/manifest/toolkit-bundle.manifest.json +139 -14
- package/assets/manifest/toolkit-bundle.sha256.txt +33 -8
- package/assets/toolkit/toolkit/AGENTS.md +2 -1
- package/assets/toolkit/toolkit/SDTKCODE_TOOLKIT.md +2 -2
- package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +4 -4
- package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +4 -4
- package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +2 -2
- package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +2 -2
- package/assets/toolkit/toolkit/skills/code-discover/SKILL.md +7 -2
- package/assets/toolkit/toolkit/skills/code-issue/SKILL.md +75 -0
- package/assets/toolkit/toolkit/skills/code-issue/references/MODE_FIX.md +31 -0
- package/assets/toolkit/toolkit/skills/code-issue/references/MODE_PICK.md +19 -0
- package/assets/toolkit/toolkit/skills/code-issue/references/MODE_PLAN.md +23 -0
- package/assets/toolkit/toolkit/skills/code-issue/references/MODE_REVIEW.md +21 -0
- package/assets/toolkit/toolkit/skills/code-issue/references/PROFILE_TEMPLATE.md +53 -0
- package/assets/toolkit/toolkit/skills/code-issue/references/RECORDS.md +39 -0
- package/assets/toolkit/toolkit/skills/code-issue/scripts/test_tracker.py +283 -0
- package/assets/toolkit/toolkit/skills/code-issue/scripts/tracker.py +465 -0
- package/assets/toolkit/toolkit/skills/code-review/SKILL.md +2 -1
- package/assets/toolkit/toolkit/skills/code-review/references/lead-review-lessons.md +30 -0
- package/assets/toolkit/toolkit/skills/code-review/references/lead-review.md +120 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/SKILL.md +97 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/references/PROFILE_TEMPLATE.md +30 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/references/SAFETY.md +17 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/references/TEST_HOOKS.md +32 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/app_profile.py +118 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/build_test_app.py +140 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/cli.py +46 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/fault_proxy.py +381 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/run_smoke.py +242 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/test_app_profile.py +79 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/test_fault_proxy.py +327 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/test_run_smoke.py +79 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/uia_base.py +127 -0
- package/assets/toolkit/toolkit/skills/code-ui-e2e/scripts/waits.py +40 -0
- package/package.json +1 -1
- package/src/lib/scope.js +2 -0
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ For the full end-user guide, use:
|
|
|
17
17
|
## Public Package Truth
|
|
18
18
|
|
|
19
19
|
- package: `sdtk-code-kit`
|
|
20
|
-
- version in this source snapshot: `0.
|
|
20
|
+
- version in this source snapshot: `0.6.0`
|
|
21
21
|
- command: `sdtk-code`
|
|
22
22
|
- latest published version lookup: `npm view sdtk-code-kit version`
|
|
23
23
|
- primary workflow-first surface:
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"sourceCommit": "
|
|
4
|
-
"fileCount":
|
|
2
|
+
"version": "0.6.0",
|
|
3
|
+
"sourceCommit": "4b8f40a5d114a946af7e89badd43b48fb6b38692",
|
|
4
|
+
"fileCount": 54,
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"path": "toolkit/AGENTS.md",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "145f3614b7889f47480332e7c1a660244ff657f72e85437ed41be1c8a56d7fae",
|
|
9
|
+
"size": 16836
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"path": "toolkit/install.ps1",
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"path": "toolkit/scripts/install-claude-skills.ps1",
|
|
18
|
-
"sha256": "
|
|
18
|
+
"sha256": "9cc2475ab6de9b5466bb5de039ce4fd18ba60302c9b2a131a3d1cc1ed41e2933",
|
|
19
19
|
"size": 2349
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"path": "toolkit/scripts/install-codex-skills.ps1",
|
|
23
|
-
"sha256": "
|
|
23
|
+
"sha256": "09eafd2b1be108d0191f81a4db01c5513d98f18f21138c4faf06b15b16ebdb1c",
|
|
24
24
|
"size": 4762
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "toolkit/scripts/uninstall-claude-skills.ps1",
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "7df15c35f63f83c6f3f00a5455bea84cea39248be2b868eb2be4ac9ff8f8fbd2",
|
|
29
29
|
"size": 1776
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"path": "toolkit/scripts/uninstall-codex-skills.ps1",
|
|
33
|
-
"sha256": "
|
|
33
|
+
"sha256": "6725661c821577f0b9ec3127c841b5fefd5193edf7100c33d5743781e2154ac6",
|
|
34
34
|
"size": 2430
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "toolkit/SDTKCODE_TOOLKIT.md",
|
|
48
|
-
"sha256": "
|
|
48
|
+
"sha256": "0c52799bc76204bd0dc8cf5489a74c0211e1d62b5a3f605ee4ec64a19d40c25b",
|
|
49
49
|
"size": 6945
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"path": "toolkit/skills/code-discover/SKILL.md",
|
|
68
|
-
"sha256": "
|
|
69
|
-
"size":
|
|
68
|
+
"sha256": "3ce3446807861cc11981824f7da7f790d73b600416d97372fd4b72dc2a75921e",
|
|
69
|
+
"size": 3814
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"path": "toolkit/skills/code-execute/SKILL.md",
|
|
@@ -78,6 +78,51 @@
|
|
|
78
78
|
"sha256": "5e352fb1739cf0b9297f34e49ae01d8b0c0ed57448c3c8f3b286d12e1177a130",
|
|
79
79
|
"size": 4260
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"path": "toolkit/skills/code-issue/references/MODE_FIX.md",
|
|
83
|
+
"sha256": "a04068abd5a287f8ccc11f2953c561c7122cce348ba0087fbd075da2f6c54694",
|
|
84
|
+
"size": 2547
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "toolkit/skills/code-issue/references/MODE_PICK.md",
|
|
88
|
+
"sha256": "3c4898aec6e1af04833aaf5e0a171663f6588c9ed2d1f019ce542211c20479b4",
|
|
89
|
+
"size": 1133
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"path": "toolkit/skills/code-issue/references/MODE_PLAN.md",
|
|
93
|
+
"sha256": "b77f92e57ea8a04b933d43268f3195ad86365f34c888925f6e5456deacbad023",
|
|
94
|
+
"size": 1507
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"path": "toolkit/skills/code-issue/references/MODE_REVIEW.md",
|
|
98
|
+
"sha256": "aa0d7a843fbb8cb3978618c2bb70e16f49436cf69cc259f0fb2a6ce222f5bcdf",
|
|
99
|
+
"size": 1515
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "toolkit/skills/code-issue/references/PROFILE_TEMPLATE.md",
|
|
103
|
+
"sha256": "8f49cdf7b576ff8be444446ba04a3598ef1a3c7336067e1fbbef90b93287e663",
|
|
104
|
+
"size": 2572
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"path": "toolkit/skills/code-issue/references/RECORDS.md",
|
|
108
|
+
"sha256": "6b2ffffdc40d5c17ff8aa0e8601facbd27db51b72aa60b60f89f669b82fb7c9e",
|
|
109
|
+
"size": 2004
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"path": "toolkit/skills/code-issue/scripts/test_tracker.py",
|
|
113
|
+
"sha256": "8bb62dffd925cddb986cc5fa7221854d8d61842c813eddd2995994997cc18a84",
|
|
114
|
+
"size": 14435
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"path": "toolkit/skills/code-issue/scripts/tracker.py",
|
|
118
|
+
"sha256": "4e6d62892428e59abf77c38e7afa745349149b4e75b7788e824b0e5ebd6c3547",
|
|
119
|
+
"size": 22394
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"path": "toolkit/skills/code-issue/SKILL.md",
|
|
123
|
+
"sha256": "8e4b4ce1918bbead512d9e975fe5cf39a05c4b7ce4c99f6c39124b1238be4356",
|
|
124
|
+
"size": 4917
|
|
125
|
+
},
|
|
81
126
|
{
|
|
82
127
|
"path": "toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md",
|
|
83
128
|
"sha256": "5fec663aa52b7fd2b942f71a0755f0cd109d2273a5cd21c7c24eeed7684a4cc9",
|
|
@@ -113,10 +158,20 @@
|
|
|
113
158
|
"sha256": "7f5328dca12cb200005ae9d4386f63a9b0acb735ece57f82db206b4a3189ccae",
|
|
114
159
|
"size": 3385
|
|
115
160
|
},
|
|
161
|
+
{
|
|
162
|
+
"path": "toolkit/skills/code-review/references/lead-review-lessons.md",
|
|
163
|
+
"sha256": "d88b92640b07ea7ffcd0cb5d166460854bd23be1f17da266b33bd8800a1824bd",
|
|
164
|
+
"size": 4003
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"path": "toolkit/skills/code-review/references/lead-review.md",
|
|
168
|
+
"sha256": "d62b158c5edb97dd7e044e210440692f743b4dc3afe580f18ab07bb19a02193e",
|
|
169
|
+
"size": 6393
|
|
170
|
+
},
|
|
116
171
|
{
|
|
117
172
|
"path": "toolkit/skills/code-review/SKILL.md",
|
|
118
|
-
"sha256": "
|
|
119
|
-
"size":
|
|
173
|
+
"sha256": "3e39a9d1bdd1c0417d8c562b9ac79cc3342b96045eeb764c17b0a14783fb5448",
|
|
174
|
+
"size": 3113
|
|
120
175
|
},
|
|
121
176
|
{
|
|
122
177
|
"path": "toolkit/skills/code-ship/SKILL.md",
|
|
@@ -133,6 +188,76 @@
|
|
|
133
188
|
"sha256": "967ec7e8a0a7951e3423c4e0f92c7471912e3a03ea23dc572c392e5a37edc266",
|
|
134
189
|
"size": 10326
|
|
135
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"path": "toolkit/skills/code-ui-e2e/references/PROFILE_TEMPLATE.md",
|
|
193
|
+
"sha256": "759d482a7ac95633c6de97a4440b13698976fc01c859577c148e2d6d03177514",
|
|
194
|
+
"size": 1417
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"path": "toolkit/skills/code-ui-e2e/references/SAFETY.md",
|
|
198
|
+
"sha256": "63137cb11ada24eff0c4c1c95b7a58e9247ea77100da78f4957778b80474e525",
|
|
199
|
+
"size": 2213
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"path": "toolkit/skills/code-ui-e2e/references/TEST_HOOKS.md",
|
|
203
|
+
"sha256": "e65269d07ac3c76bdb4f72a46f3b591ccf9e218c28a1296de4e88ce8caaab8cc",
|
|
204
|
+
"size": 1772
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/app_profile.py",
|
|
208
|
+
"sha256": "832e965fefaaea3749283e011397abde585ca3216d7dc2402c74cb0d978e579f",
|
|
209
|
+
"size": 6158
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/build_test_app.py",
|
|
213
|
+
"sha256": "58c34c0ad3126f133c8c6c0f8b7663449fca16f8f4a33984e36e6a0cdd13e669",
|
|
214
|
+
"size": 6555
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/cli.py",
|
|
218
|
+
"sha256": "58603b8894ea78e8e81e03f68ec5c5c793c2d2686cf1f753ef3caf827d7434d0",
|
|
219
|
+
"size": 1642
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/fault_proxy.py",
|
|
223
|
+
"sha256": "c3cbf33596b4c3000c680e2f6de12be26b9be9643af04b7f9c81847e7925b146",
|
|
224
|
+
"size": 14254
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/run_smoke.py",
|
|
228
|
+
"sha256": "0e9462f3d5d418189f3c70653a92ed9f0bdf307f36ad5a75ad31378458d2c2fa",
|
|
229
|
+
"size": 10470
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/test_app_profile.py",
|
|
233
|
+
"sha256": "681799b951a4bbe3bf35f173aaf3ba3a11c8df317bc94dc6d97921109c384067",
|
|
234
|
+
"size": 3467
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/test_fault_proxy.py",
|
|
238
|
+
"sha256": "e6946b6e37c5f4fad4068a2509d92ea799647d413e9e7cc93bbcc46e56f2499b",
|
|
239
|
+
"size": 12484
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/test_run_smoke.py",
|
|
243
|
+
"sha256": "a099b1d566d56071b53818efb17e1ef69454f890e1d5cf24e69cab2831db51e5",
|
|
244
|
+
"size": 3515
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/uia_base.py",
|
|
248
|
+
"sha256": "c6f2e90f1609681fa2160d0803daedaa4ae355614a4da50cbe7d809c8ef3db4a",
|
|
249
|
+
"size": 5564
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"path": "toolkit/skills/code-ui-e2e/scripts/waits.py",
|
|
253
|
+
"sha256": "bbacd5163b8bd12c0202cf3a2f7b410e5ee66f471da7d03d807011a6ef00e508",
|
|
254
|
+
"size": 1782
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"path": "toolkit/skills/code-ui-e2e/SKILL.md",
|
|
258
|
+
"sha256": "8cf38056d0b296a976f4b086ee95c86ae3010b381f9b4f0d46750ab2b41c38ae",
|
|
259
|
+
"size": 7213
|
|
260
|
+
},
|
|
136
261
|
{
|
|
137
262
|
"path": "toolkit/skills/code-verify/SKILL.md",
|
|
138
263
|
"sha256": "6df69cf2db69d13672b3e73a2c25aca48791e9ea912c1e1fbc3ce7734399c346",
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
145f3614b7889f47480332e7c1a660244ff657f72e85437ed41be1c8a56d7fae toolkit/AGENTS.md
|
|
2
2
|
dd7ffbd69c29f76d67f65c3e857ba241e92908931b2e93a9b9c503542e43f35c toolkit/install.ps1
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
9cc2475ab6de9b5466bb5de039ce4fd18ba60302c9b2a131a3d1cc1ed41e2933 toolkit/scripts/install-claude-skills.ps1
|
|
4
|
+
09eafd2b1be108d0191f81a4db01c5513d98f18f21138c4faf06b15b16ebdb1c toolkit/scripts/install-codex-skills.ps1
|
|
5
|
+
7df15c35f63f83c6f3f00a5455bea84cea39248be2b868eb2be4ac9ff8f8fbd2 toolkit/scripts/uninstall-claude-skills.ps1
|
|
6
|
+
6725661c821577f0b9ec3127c841b5fefd5193edf7100c33d5743781e2154ac6 toolkit/scripts/uninstall-codex-skills.ps1
|
|
7
7
|
712382d838a18b6cc6a5285b3c536fac74138c752a3fa1fd318828b19ece6b8f toolkit/sdtk-spec.config.json
|
|
8
8
|
2a306c1609499fb4910b86d5ec6e8c796e0cdf72c5f97fe3df9c1388ac62b913 toolkit/sdtk-spec.config.profiles.example.json
|
|
9
|
-
|
|
9
|
+
0c52799bc76204bd0dc8cf5489a74c0211e1d62b5a3f605ee4ec64a19d40c25b toolkit/SDTKCODE_TOOLKIT.md
|
|
10
10
|
d797d707dc34d299dbac13f09f3bc8cc42759cb69a9fa5b2cb2269e4c246061e toolkit/skills/code-brainstorm/SKILL.md
|
|
11
11
|
698c89de9a0586e83ee52147adf345fa2ab813a06b454ca50e9c69e423f0a910 toolkit/skills/code-debug/references/root-cause-tracing.md
|
|
12
12
|
7e18869c8cd9ad1637bede13bc6449beec545eee115517a19d691817e5cda9cb toolkit/skills/code-debug/SKILL.md
|
|
13
|
-
|
|
13
|
+
3ce3446807861cc11981824f7da7f790d73b600416d97372fd4b72dc2a75921e toolkit/skills/code-discover/SKILL.md
|
|
14
14
|
8627a8c33cd170cc8009feb2b6ab7bf2bc4be91daa3609dc331a554ba41b1b3d toolkit/skills/code-execute/SKILL.md
|
|
15
15
|
5e352fb1739cf0b9297f34e49ae01d8b0c0ed57448c3c8f3b286d12e1177a130 toolkit/skills/code-finish/SKILL.md
|
|
16
|
+
a04068abd5a287f8ccc11f2953c561c7122cce348ba0087fbd075da2f6c54694 toolkit/skills/code-issue/references/MODE_FIX.md
|
|
17
|
+
3c4898aec6e1af04833aaf5e0a171663f6588c9ed2d1f019ce542211c20479b4 toolkit/skills/code-issue/references/MODE_PICK.md
|
|
18
|
+
b77f92e57ea8a04b933d43268f3195ad86365f34c888925f6e5456deacbad023 toolkit/skills/code-issue/references/MODE_PLAN.md
|
|
19
|
+
aa0d7a843fbb8cb3978618c2bb70e16f49436cf69cc259f0fb2a6ce222f5bcdf toolkit/skills/code-issue/references/MODE_REVIEW.md
|
|
20
|
+
8f49cdf7b576ff8be444446ba04a3598ef1a3c7336067e1fbbef90b93287e663 toolkit/skills/code-issue/references/PROFILE_TEMPLATE.md
|
|
21
|
+
6b2ffffdc40d5c17ff8aa0e8601facbd27db51b72aa60b60f89f669b82fb7c9e toolkit/skills/code-issue/references/RECORDS.md
|
|
22
|
+
8bb62dffd925cddb986cc5fa7221854d8d61842c813eddd2995994997cc18a84 toolkit/skills/code-issue/scripts/test_tracker.py
|
|
23
|
+
4e6d62892428e59abf77c38e7afa745349149b4e75b7788e824b0e5ebd6c3547 toolkit/skills/code-issue/scripts/tracker.py
|
|
24
|
+
8e4b4ce1918bbead512d9e975fe5cf39a05c4b7ce4c99f6c39124b1238be4356 toolkit/skills/code-issue/SKILL.md
|
|
16
25
|
5fec663aa52b7fd2b942f71a0755f0cd109d2273a5cd21c7c24eeed7684a4cc9 toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md
|
|
17
26
|
10bc07e6498e6a1e54805cce4d964545f2c1614e6679b0c1c4eb7d17b894e3a6 toolkit/skills/code-parallel/references/implementer-prompt.md
|
|
18
27
|
b22d3262f252f7cc994d13bfe16c7103f3afe1e66c255090d88e53fbd68a0f82 toolkit/skills/code-parallel/references/spec-reviewer-prompt.md
|
|
@@ -20,10 +29,26 @@ b22d3262f252f7cc994d13bfe16c7103f3afe1e66c255090d88e53fbd68a0f82 toolkit/skills
|
|
|
20
29
|
7fe115e27a83d04243401bb628ae4246a323246c972fd54890fe4a7e97926bbf toolkit/skills/code-plan/SKILL.md
|
|
21
30
|
4612b4e40992f594b577146ac14f1ff13c1812e8e9da64b07eb1e2de5363af5d toolkit/skills/code-review/references/checklist.md
|
|
22
31
|
7f5328dca12cb200005ae9d4386f63a9b0acb735ece57f82db206b4a3189ccae toolkit/skills/code-review/references/code-reviewer.md
|
|
23
|
-
|
|
32
|
+
d88b92640b07ea7ffcd0cb5d166460854bd23be1f17da266b33bd8800a1824bd toolkit/skills/code-review/references/lead-review-lessons.md
|
|
33
|
+
d62b158c5edb97dd7e044e210440692f743b4dc3afe580f18ab07bb19a02193e toolkit/skills/code-review/references/lead-review.md
|
|
34
|
+
3e39a9d1bdd1c0417d8c562b9ac79cc3342b96045eeb764c17b0a14783fb5448 toolkit/skills/code-review/SKILL.md
|
|
24
35
|
c8dbbae4f8ed65b00e38a386cb9adba340c90dc7fd0dd8257f3c1fea37322558 toolkit/skills/code-ship/SKILL.md
|
|
25
36
|
a85c93883197eef41f5392875b41a19b8cdeb3b14b3c6fb5a6dbfb6f21a1b825 toolkit/skills/code-tdd/references/testing-anti-patterns.md
|
|
26
37
|
967ec7e8a0a7951e3423c4e0f92c7471912e3a03ea23dc572c392e5a37edc266 toolkit/skills/code-tdd/SKILL.md
|
|
38
|
+
759d482a7ac95633c6de97a4440b13698976fc01c859577c148e2d6d03177514 toolkit/skills/code-ui-e2e/references/PROFILE_TEMPLATE.md
|
|
39
|
+
63137cb11ada24eff0c4c1c95b7a58e9247ea77100da78f4957778b80474e525 toolkit/skills/code-ui-e2e/references/SAFETY.md
|
|
40
|
+
e65269d07ac3c76bdb4f72a46f3b591ccf9e218c28a1296de4e88ce8caaab8cc toolkit/skills/code-ui-e2e/references/TEST_HOOKS.md
|
|
41
|
+
832e965fefaaea3749283e011397abde585ca3216d7dc2402c74cb0d978e579f toolkit/skills/code-ui-e2e/scripts/app_profile.py
|
|
42
|
+
58c34c0ad3126f133c8c6c0f8b7663449fca16f8f4a33984e36e6a0cdd13e669 toolkit/skills/code-ui-e2e/scripts/build_test_app.py
|
|
43
|
+
58603b8894ea78e8e81e03f68ec5c5c793c2d2686cf1f753ef3caf827d7434d0 toolkit/skills/code-ui-e2e/scripts/cli.py
|
|
44
|
+
c3cbf33596b4c3000c680e2f6de12be26b9be9643af04b7f9c81847e7925b146 toolkit/skills/code-ui-e2e/scripts/fault_proxy.py
|
|
45
|
+
0e9462f3d5d418189f3c70653a92ed9f0bdf307f36ad5a75ad31378458d2c2fa toolkit/skills/code-ui-e2e/scripts/run_smoke.py
|
|
46
|
+
681799b951a4bbe3bf35f173aaf3ba3a11c8df317bc94dc6d97921109c384067 toolkit/skills/code-ui-e2e/scripts/test_app_profile.py
|
|
47
|
+
e6946b6e37c5f4fad4068a2509d92ea799647d413e9e7cc93bbcc46e56f2499b toolkit/skills/code-ui-e2e/scripts/test_fault_proxy.py
|
|
48
|
+
a099b1d566d56071b53818efb17e1ef69454f890e1d5cf24e69cab2831db51e5 toolkit/skills/code-ui-e2e/scripts/test_run_smoke.py
|
|
49
|
+
c6f2e90f1609681fa2160d0803daedaa4ae355614a4da50cbe7d809c8ef3db4a toolkit/skills/code-ui-e2e/scripts/uia_base.py
|
|
50
|
+
bbacd5163b8bd12c0202cf3a2f7b410e5ee66f471da7d03d807011a6ef00e508 toolkit/skills/code-ui-e2e/scripts/waits.py
|
|
51
|
+
8cf38056d0b296a976f4b086ee95c86ae3010b381f9b4f0d46750ab2b41c38ae toolkit/skills/code-ui-e2e/SKILL.md
|
|
27
52
|
6df69cf2db69d13672b3e73a2c25aca48791e9ea912c1e1fbc3ce7734399c346 toolkit/skills/code-verify/SKILL.md
|
|
28
53
|
194cf6ec70eae013c03d06f397d4bbaca73256ad69be681ad14812493a3d1962 toolkit/skills/code-worktree/SKILL.md
|
|
29
54
|
7b3e27b56153160b44b5813e63ee8f762ee6f4338157480934ec4860f4914884 toolkit/templates/CODE_WORKFLOW_TEMPLATE.md
|
|
@@ -70,6 +70,7 @@ Use this compact matrix during intake so the agent picks the smallest sufficient
|
|
|
70
70
|
| Formal feature delivery | `SDTK-SPEC` pipeline | PM -> BA -> ARCH -> DEV planning -> CODE handoff -> QA |
|
|
71
71
|
| Build, fix, or refactor implementation | `SDTK-CODE` | code-brainstorm (when slice is ambiguous) -> start -> plan -> build -> verify -> ship |
|
|
72
72
|
| Debug failure or unexpected behavior | `SDTK-CODE` debug | Root cause, bounded fix, regression verification |
|
|
73
|
+
| Work from an issue tracker: "pick my next issue", "fix issue #N" / a batch of tracker bugs, review a branch for an issue | `SDTK-CODE` `code-issue` | Ranked candidates (pick stops there), or plan / fix / review records per issue; tracker written only after the PR exists |
|
|
73
74
|
| Screen/layout design, visual tokens, or prototype evidence before coding | `SDTK-DESIGN` | Reviewable screens/prototype plus a design handoff into SDTK-CODE |
|
|
74
75
|
| Deployment, release, infra, or CI/CD work | `SDTK-OPS` | ops-plan -> ops-deploy/ops-incident/ops-monitor -> ops-verify |
|
|
75
76
|
| Code review or spec review | Review / QA workflow | Findings, risks, blockers, acceptance signal |
|
|
@@ -159,7 +160,7 @@ Use the suite products according to task intent:
|
|
|
159
160
|
- ship code changes
|
|
160
161
|
- workflow: `start -> plan -> build -> verify -> ship`
|
|
161
162
|
- entry point for ambiguous slices: `code-brainstorm`
|
|
162
|
-
- 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)
|
|
163
|
+
- specialist engine: `code-plan`, `code-execute`, `code-tdd`, `code-debug`, `code-verify`, `code-review`, `code-ship`, `code-finish`, `code-worktree`, `code-discover`, `code-ui-e2e` (desktop UI end-to-end runs), `code-issue` (work driven by an issue tracker), `code-parallel` (sequential fallback when parallel dispatch is unavailable)
|
|
163
164
|
- `SDTK-OPS`
|
|
164
165
|
- deploy or release
|
|
165
166
|
- infrastructure and environment setup
|
|
@@ -26,7 +26,7 @@ It is workflow-first:
|
|
|
26
26
|
- `ship`
|
|
27
27
|
|
|
28
28
|
It still keeps the existing specialist engine:
|
|
29
|
-
- the
|
|
29
|
+
- the 14 `code-*` skills remain intact
|
|
30
30
|
- expert mode remains direct raw `code-*` usage inside Claude or Codex
|
|
31
31
|
|
|
32
32
|
`SDTK-OPS` now exists as a public downstream operations product via the `sdtk-ops-kit` package. Its install and usage truth is documented in the `products/sdtk-ops/` docs rather than in this file.
|
|
@@ -80,7 +80,7 @@ Its job is to:
|
|
|
80
80
|
- keep execution traceable
|
|
81
81
|
|
|
82
82
|
### 3.2 Specialist engine
|
|
83
|
-
The
|
|
83
|
+
The 14 existing `code-*` skills remain the internal execution engine.
|
|
84
84
|
|
|
85
85
|
They remain:
|
|
86
86
|
- the specialist building blocks behind the workflow layer
|
|
@@ -16,8 +16,8 @@ if (-not (Test-Path -LiteralPath $skillsSource)) {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
$managedSkills = @(Get-ChildItem -LiteralPath $skillsSource -Directory | Sort-Object Name)
|
|
19
|
-
if ($managedSkills.Count -ne
|
|
20
|
-
throw "Expected
|
|
19
|
+
if ($managedSkills.Count -ne 14) {
|
|
20
|
+
throw "Expected 14 managed SDTK-CODE skills but found $($managedSkills.Count)."
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
if ($Scope -eq 'user') {
|
|
@@ -64,8 +64,8 @@ $installedNow = @(
|
|
|
64
64
|
Where-Object { $managedSkills.Name -contains $_.Name } |
|
|
65
65
|
Select-Object -ExpandProperty Name
|
|
66
66
|
)
|
|
67
|
-
if ($installedNow.Count -ne
|
|
68
|
-
throw "Claude skill install incomplete. Expected
|
|
67
|
+
if ($installedNow.Count -ne 14) {
|
|
68
|
+
throw "Claude skill install incomplete. Expected 14 managed skills at $skillsDest but found $($installedNow.Count)."
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
if (-not $Quiet) {
|
|
@@ -81,8 +81,8 @@ if (-not (Test-Path -LiteralPath $skillsSource)) {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
$managedSkills = @(Get-ChildItem -LiteralPath $skillsSource -Directory | Sort-Object Name)
|
|
84
|
-
if ($managedSkills.Count -ne
|
|
85
|
-
throw "Expected
|
|
84
|
+
if ($managedSkills.Count -ne 14) {
|
|
85
|
+
throw "Expected 14 managed SDTK-CODE skills but found $($managedSkills.Count)."
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
$codexHome = Resolve-CodexHome -TargetScope $Scope -TargetProjectPath $ProjectPath
|
|
@@ -132,8 +132,8 @@ $installedNow = @(
|
|
|
132
132
|
Where-Object { $expectedNames -contains $_.Name } |
|
|
133
133
|
Select-Object -ExpandProperty Name
|
|
134
134
|
)
|
|
135
|
-
if ($installedNow.Count -ne
|
|
136
|
-
throw "Codex skill install incomplete. Expected
|
|
135
|
+
if ($installedNow.Count -ne 14) {
|
|
136
|
+
throw "Codex skill install incomplete. Expected 14 managed skills at $skillsDest but found $($installedNow.Count)."
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
if (-not $Quiet) {
|
|
@@ -18,8 +18,8 @@ if (-not (Test-Path -LiteralPath $skillsSource)) {
|
|
|
18
18
|
$managedSkillNames = @(
|
|
19
19
|
Get-ChildItem -LiteralPath $skillsSource -Directory | Sort-Object Name | Select-Object -ExpandProperty Name
|
|
20
20
|
)
|
|
21
|
-
if ($managedSkillNames.Count -ne
|
|
22
|
-
throw "Expected
|
|
21
|
+
if ($managedSkillNames.Count -ne 14) {
|
|
22
|
+
throw "Expected 14 managed SDTK-CODE skills but found $($managedSkillNames.Count)."
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
if ($Scope -eq 'user') {
|
|
@@ -43,8 +43,8 @@ $managedSkillNames = @(
|
|
|
43
43
|
Sort-Object Name |
|
|
44
44
|
ForEach-Object { "sdtk-$($_.Name)" }
|
|
45
45
|
)
|
|
46
|
-
if ($managedSkillNames.Count -ne
|
|
47
|
-
throw "Expected
|
|
46
|
+
if ($managedSkillNames.Count -ne 14) {
|
|
47
|
+
throw "Expected 14 managed SDTK-CODE skills but found $($managedSkillNames.Count)."
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
$codexHome = Resolve-CodexHome -TargetScope $Scope -TargetProjectPath $ProjectPath
|
|
@@ -20,12 +20,14 @@ Use this skill when you need to discover which SDTK-CODE skill should be used ne
|
|
|
20
20
|
| `code-verify` | Before claiming work is complete | Requires fresh command evidence. |
|
|
21
21
|
| `code-plan` | When requirements need an implementation plan | Produces executable task order and verification steps. |
|
|
22
22
|
| `code-execute` | When an approved plan exists | Executes work sequentially with checkpoints. |
|
|
23
|
-
| `code-review` | When code needs review or review feedback must be handled | Runs spec-first, quality-second review. |
|
|
23
|
+
| `code-review` | When code needs review or review feedback must be handled, or the lead reviews someone's PR | Runs spec-first, quality-second review; lead mode reviews a PR against spec, decisions and smoke cases. |
|
|
24
24
|
| `code-ship` | When the code is ready to prepare for merge or release | Handles pre-flight, versioning, and release prep. |
|
|
25
25
|
| `code-parallel` | When 2+ independent tasks can run safely in parallel | Fans out task slices, then curates fan-in. |
|
|
26
26
|
| `code-brainstorm` | Before creative or ambiguous coding work | Explores approaches before planning. |
|
|
27
27
|
| `code-finish` | When branch work is complete | Presents merge, PR, keep, or discard options. |
|
|
28
28
|
| `code-worktree` | When feature isolation is needed | Creates a safe isolated worktree. |
|
|
29
|
+
| `code-ui-e2e` | When a desktop app is tested end to end through its real UI | Runs smoke suites by case id without touching the owner's data, sync folders or a customer's repository. |
|
|
30
|
+
| `code-issue` | When work starts from an issue tracker (pick next, plan, fix a batch, review a branch for an issue) | Keeps the tracker read-only until the PR exists, batches questions, one branch per issue. |
|
|
29
31
|
| `code-discover` | When you are unsure where to start | Explains the toolkit and routing order. |
|
|
30
32
|
|
|
31
33
|
## Process
|
|
@@ -37,8 +39,9 @@ Use this skill when you need to discover which SDTK-CODE skill should be used ne
|
|
|
37
39
|
## Priority Order
|
|
38
40
|
1. Design and plan first: `code-brainstorm`, `code-plan`
|
|
39
41
|
2. Implementation discipline: `code-tdd`, `code-execute`, `code-parallel`
|
|
40
|
-
3. Verification and review: `code-debug`, `code-verify`, `code-review`
|
|
42
|
+
3. Verification and review: `code-debug`, `code-verify`, `code-review`, `code-ui-e2e` (desktop UI end-to-end runs)
|
|
41
43
|
4. Shipping and closure: `code-ship`, `code-finish`, `code-worktree`
|
|
44
|
+
5. Tracker-driven work: `code-issue` (wraps the chain above for one issue or a batch)
|
|
42
45
|
|
|
43
46
|
## Red Flags
|
|
44
47
|
| Situation | Use Instead |
|
|
@@ -49,6 +52,8 @@ Use this skill when you need to discover which SDTK-CODE skill should be used ne
|
|
|
49
52
|
| Jumping into execution without a plan | `code-plan` |
|
|
50
53
|
| Reviewing quality before checking spec compliance | `code-review` |
|
|
51
54
|
| Shipping before verification and review finish | `code-ship` |
|
|
55
|
+
| Running UI tests where the app holds someone's data, or pushing test hooks to a customer's repository | `code-ui-e2e` |
|
|
56
|
+
| Starting on "my next issue" / tracker bugs, or commenting / moving an issue before the PR exists | `code-issue` |
|
|
52
57
|
|
|
53
58
|
## Routing Rule
|
|
54
59
|
If more than one skill seems applicable, choose the earliest skill in the workflow chain that closes the biggest risk.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-issue
|
|
3
|
+
description: Use when work starts from an issue tracker (GitHub Issues, Redmine, Jira) - "pick my next issue", "plan issue #N", "fix these bugs from the tracker", "review the bot's branch for #N and push it" - including any comment, status change or reassignment on the tracker.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Issue tracker workflow
|
|
7
|
+
|
|
8
|
+
Four modes around one tracker profile. This skill owns the tracker part (profile, credentials, reading issues,
|
|
9
|
+
records, stop points, tracker writes); planning, debugging, TDD, review and worktrees are delegated to `code-plan`,
|
|
10
|
+
`code-debug`, `code-tdd`, `code-review` and `code-worktree`.
|
|
11
|
+
|
|
12
|
+
Paths below (`scripts/`, `references/`) are relative to this skill's folder.
|
|
13
|
+
|
|
14
|
+
## Critical Constraints
|
|
15
|
+
|
|
16
|
+
1. **The tracker is read-only except at two points**: fix mode G7 (comment + status after the PR exists) and review
|
|
17
|
+
mode step 6. Every write is first run without `--apply`, shown to the person, then sent. Pick and plan never write.
|
|
18
|
+
2. **One issue = one branch / worktree = one line of work.** `issue/<id>-<slug>` from the latest base branch. Before
|
|
19
|
+
starting, look for an existing record, branch or worktree for that issue; never open a second one.
|
|
20
|
+
3. **Batch the questions.** In fix mode the person is asked twice for the whole batch — stop point A (after
|
|
21
|
+
reading) and stop point B (after root causes) — never once per issue, and no code changes before B.
|
|
22
|
+
4. **Reproduce on the latest code before fixing; never claim "fixed" without a run on the real app** (fix mode G6).
|
|
23
|
+
5. **Network calls never wait for input.** `git` and tracker calls run with `GIT_TERMINAL_PROMPT=0` and a timeout
|
|
24
|
+
(`tracker.py` does both). A call that hangs is a credential problem — stop and report it.
|
|
25
|
+
6. **Credentials only from the environment or a never-committed `.env`.** Never print, paste or commit them.
|
|
26
|
+
7. **Review mode never pushes to the base branch.** After APPROVED ask the mandatory questions (target, PR or push,
|
|
27
|
+
squash, exclusions) and push to the issue branch + PR.
|
|
28
|
+
|
|
29
|
+
## Modes
|
|
30
|
+
|
|
31
|
+
| Ask | Mode | Reference | Ends with |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
| "what's next", "pick my next issue" | pick | `references/MODE_PICK.md` | ranked list printed — **stop**, nothing started |
|
|
34
|
+
| "plan / look into #N" | plan | `references/MODE_PLAN.md` | worktree + `PLAN.md`, no product code changed |
|
|
35
|
+
| "fix #N" / "fix these bugs" | fix | `references/MODE_FIX.md` | G1–G8 with stop points A and B, PR, tracker updated |
|
|
36
|
+
| "review the branch for #N" | review | `references/MODE_REVIEW.md` | `REVIEW.md`, verdict, PR after the mandatory questions |
|
|
37
|
+
|
|
38
|
+
A request that names no mode: an issue id with "fix" → fix; with "look / plan / estimate" → plan; none → pick.
|
|
39
|
+
|
|
40
|
+
## Process
|
|
41
|
+
|
|
42
|
+
1. **Profile.** `python scripts/tracker.py check`. No profile → create `issue_profile.json` from
|
|
43
|
+
`references/PROFILE_TEMPLATE.md` with the person (tracker, project, statuses, title convention) and stop until the
|
|
44
|
+
credential is set.
|
|
45
|
+
2. **Read the mode's reference** and follow its stages in order. Each reference ends with "signs you are wrong";
|
|
46
|
+
when one applies, go back to the stage it names.
|
|
47
|
+
3. **Records.** Write `PLAN.md` / `FIX.md` / `REVIEW.md` under `<records_dir>/<id>/` as you go
|
|
48
|
+
(`references/RECORDS.md`): goal, measurable done criteria, `file:line` facts, root cause, what was run.
|
|
49
|
+
4. **Tracker writes** (fix G7, review step 6): draft → `tracker.py comment|transition … ` (dry run) → show → `--apply`.
|
|
50
|
+
5. **Report** per issue: state, branch, PR, what the person still has to do.
|
|
51
|
+
|
|
52
|
+
## Script
|
|
53
|
+
|
|
54
|
+
| Command | Does |
|
|
55
|
+
|---|---|
|
|
56
|
+
| `tracker.py check` | find + validate the profile, name a missing credential |
|
|
57
|
+
| `tracker.py pick [--json] [--limit N]` | my open issues, blocked dropped, feature from the title, ranked |
|
|
58
|
+
| `tracker.py list [--all] [--json]` / `show <id> [--json]` | read issues, comments, attachments, links |
|
|
59
|
+
| `tracker.py comment <id> --body-file F [--apply]` | dry run unless `--apply` |
|
|
60
|
+
| `tracker.py transition <id> --to <status key> [--assign U] [--apply]` | dry run unless `--apply` |
|
|
61
|
+
|
|
62
|
+
Stdlib only; github / redmine / jira over REST (`gh auth token` as a GitHub fallback). Tests:
|
|
63
|
+
`python -m unittest discover -s scripts -p "test_*.py"` (a local stub server, no network).
|
|
64
|
+
|
|
65
|
+
## Common mistakes
|
|
66
|
+
|
|
67
|
+
| Mistake | Instead |
|
|
68
|
+
|---|---|
|
|
69
|
+
| Starting work on the first issue of a "what's next" request | Print the ranked list and stop |
|
|
70
|
+
| Asking about each bug as you reach it | Stop point A once for the batch, stop point B once |
|
|
71
|
+
| Moving the issue to "in progress" / commenting while planning | Tracker untouched until G7 |
|
|
72
|
+
| Fixing on an old checkout or the base branch | Fetch, worktree `issue/<id>-<slug>`, reproduce there |
|
|
73
|
+
| "Fixed" after unit tests only | G6: the issue's steps on the real app |
|
|
74
|
+
| Restoring a mutation check with `git checkout --` | Restore from a copy; `checkout --` also drops your fix |
|
|
75
|
+
| Pushing an approved review to the base branch | Mandatory questions, issue branch, PR |
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Mode fix — a batch of bug issues
|
|
2
|
+
|
|
3
|
+
Stages G1–G8. The person is asked **twice for the whole batch** (stop points A and B), not once per issue.
|
|
4
|
+
Tracker writes happen only at G7, each shown before sending.
|
|
5
|
+
|
|
6
|
+
| Stage | Do | Tracker |
|
|
7
|
+
|---|---|---|
|
|
8
|
+
| G1 understand | `tracker.py show` every issue; records; code paths. Group issues that share a cause or files. | read |
|
|
9
|
+
| **A** | **Stop point A** — one message for the batch: per issue, what you understood, how you will reproduce it, groups, questions. Wait. | — |
|
|
10
|
+
| G2 reproduce | On the **latest** `base_branch` (fetch first), in the issue's worktree. Record commit + steps + actual result. Cannot reproduce → stop for that issue and say what you tried. | — |
|
|
11
|
+
| G3 root cause | `code-debug` per issue: `file:line` and why. A symptom is not a cause. | — |
|
|
12
|
+
| **B** | **Stop point B** — one message: root cause per issue, fix approach per group, risk. Wait. | — |
|
|
13
|
+
| G4 fix | `code-tdd` per group: failing test that reproduces the issue first, then the fix. | — |
|
|
14
|
+
| G5 self-review | `code-review` against the diff, twice (second pass after fixing the first findings). | — |
|
|
15
|
+
| G6 smoke | Run the real app on the fixed build and walk the issue's steps (desktop apps: `code-ui-e2e` when installed). Confirm fixed. Clean the test data you created. | — |
|
|
16
|
+
| G7 publish | PR (`code-finish`), then for each issue: draft comment (cause, fix, PR, how to verify) → `tracker.py comment <id> --body-file … ` dry run → show → `--apply`; `tracker.py transition <id> --to resolved [--assign <reassign_on_fix>]` the same way. | **write** |
|
|
17
|
+
| G8 close | CI result as reported by the person (or read from CI) → merge as the person decides, build, remove worktrees, records → `DONE`. | — |
|
|
18
|
+
|
|
19
|
+
Records: one `FIX.md` per issue, updated at every stage.
|
|
20
|
+
|
|
21
|
+
## Signs you are wrong — stop and go back
|
|
22
|
+
|
|
23
|
+
- You are editing code before stop point B → back to G3.
|
|
24
|
+
- You asked the person a question about one issue between A and B → batch it.
|
|
25
|
+
- The fix was written on an old checkout or on the base branch → G2 on the latest code, in the issue's worktree.
|
|
26
|
+
- "Fixed" without a G6 run on the real app → not fixed.
|
|
27
|
+
- A mutation check (break the code to see the test fail) undone with `git checkout --` → restore from a copy you made;
|
|
28
|
+
`checkout --` also throws away your fix.
|
|
29
|
+
- The tracker was commented or moved before the PR existed → G7 only.
|
|
30
|
+
- A `git` / tracker call waits for input → it must run with `GIT_TERMINAL_PROMPT=0` and a timeout; kill it and fix
|
|
31
|
+
the credential instead.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Mode pick — "what should I work on next?"
|
|
2
|
+
|
|
3
|
+
Read-only. Ends with a printed list; it never starts work.
|
|
4
|
+
|
|
5
|
+
1. `python scripts/tracker.py check` — profile and credentials. Missing → stop and say what to set.
|
|
6
|
+
2. `python scripts/tracker.py pick` — my open issues; blocked ones dropped (listed apart), feature taken from the
|
|
7
|
+
title, ranked by priority then age.
|
|
8
|
+
3. For titles marked `? title does not follow the convention`: `tracker.py show <id>`, map the issue to a feature from
|
|
9
|
+
the description and the code it names, and say it was assumed.
|
|
10
|
+
4. Check dependencies the tracker does not know: an issue whose fix needs another open issue first goes after it.
|
|
11
|
+
Note it on the line.
|
|
12
|
+
5. Print the list in the script's template (top 5 unless asked) and **stop**. Say which issue you would take and
|
|
13
|
+
why in one line; the person chooses.
|
|
14
|
+
|
|
15
|
+
## Signs you are wrong
|
|
16
|
+
|
|
17
|
+
- You created a branch, a record or a worktree → that is plan mode; undo it and ask.
|
|
18
|
+
- You commented on or moved an issue → pick never writes to the tracker.
|
|
19
|
+
- You listed issues of other people without being asked (`--all`) → the question was "my next issue".
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Mode plan — one issue, before any code changes
|
|
2
|
+
|
|
3
|
+
Read-only on the tracker. Ends with `PLAN.md` and a worktree, no product code changed.
|
|
4
|
+
|
|
5
|
+
1. `tracker.py check`; identify the issue (`#id`, or by title through `tracker.py list`).
|
|
6
|
+
2. **One issue per lifecycle.** Look for an existing record (`<records_dir>/<id>/`), a branch `issue/<id>-*` (local and
|
|
7
|
+
remote) and a worktree. If one is in progress (state not `DONE` / `ABANDONED`), stop: continue it or ask — never
|
|
8
|
+
start a second line of work on the same issue.
|
|
9
|
+
3. `tracker.py show <id>` — the whole issue: description, every comment, attachments (open logs and screenshots),
|
|
10
|
+
links. Read earlier records if it was handled before (reopened issues).
|
|
11
|
+
4. Understand the problem and the code: find the code paths, write `file:line` facts. Bugs: reproduce path,
|
|
12
|
+
expected vs actual — reproduction itself happens in fix mode or with `code-debug`.
|
|
13
|
+
5. **No tracker change at this step** (no status, no comment, no assignment).
|
|
14
|
+
6. Worktree + branch with `code-worktree`: `issue/<id>-<slug>` from the latest `base_branch`
|
|
15
|
+
(`git fetch` first, with `GIT_TERMINAL_PROMPT=0` and a timeout).
|
|
16
|
+
7. Split into tasks with `code-plan`; write `PLAN.md` (`references/RECORDS.md`). Present the plan and the open
|
|
17
|
+
questions; stop for approval.
|
|
18
|
+
|
|
19
|
+
## Signs you are wrong
|
|
20
|
+
|
|
21
|
+
- You edited product code → plan mode writes only the record.
|
|
22
|
+
- "Done when" has no command or observable state → rewrite it.
|
|
23
|
+
- A fact without `file:line` → you have not read the code yet.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Mode review — someone else's branch for an issue (bot or developer)
|
|
2
|
+
|
|
3
|
+
1. `tracker.py check`; find the record (`<records_dir>/<id>/`) and the state; `tracker.py show <id>`.
|
|
4
|
+
2. Collect the diff against the merge base (`git diff <base>...<branch>`); mechanical checks — build, lint, tests the
|
|
5
|
+
project has, files outside the issue's scope, debug code, secrets.
|
|
6
|
+
3. **Run the tests yourself.** A pasted "all green" is not evidence.
|
|
7
|
+
4. Review with `code-review` on nine points: issue understood · root cause fixed (not the symptom) · tests reproduce
|
|
8
|
+
the issue · edge cases · no regression in callers · data / migration safety · error handling · scope (nothing
|
|
9
|
+
unrelated) · readability.
|
|
10
|
+
5. Write `REVIEW.md` (`references/RECORDS.md`): verified commands, root-cause check, findings F-n with severity,
|
|
11
|
+
what the person must run by hand, a copy-paste prompt for the author.
|
|
12
|
+
6. Tracker: draft the status change and comment, dry run, show, then `--apply` (`tracker.py transition / comment`).
|
|
13
|
+
7. **APPROVED → before any push, ask** (mandatory, in one message): target remote and branch? PR or direct push?
|
|
14
|
+
squash? anything to leave out? The **target branch is never the base branch** — push to the issue branch and open
|
|
15
|
+
a PR. Then push and open the PR.
|
|
16
|
+
|
|
17
|
+
## Signs you are wrong
|
|
18
|
+
|
|
19
|
+
- You pushed or merged to the base branch → never; that is the person's decision through the PR.
|
|
20
|
+
- Findings without `file:line` or without a severity → rewrite.
|
|
21
|
+
- You approved without running anything → step 3.
|