@mrciphersmith/keryx 0.4.34 → 0.4.36
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/dist/cli.js +6055 -3656
- package/dist/core.js +239 -48
- package/dist/keryx-general-worker-entry.js +265 -48
- package/package.json +1 -1
- package/src/gdskills/bundled/install-manifest.json +132 -95
- package/src/gdskills/bundled/rules/activity/implement.mdc +55 -0
- package/src/gdskills/bundled/rules/activity/review.mdc +47 -0
- package/src/gdskills/bundled/rules/activity/test.mdc +46 -0
- package/src/gdskills/bundled/rules/core/async-patterns.mdc +10 -9
- package/src/gdskills/bundled/rules/core/concurrency-patterns.mdc +2 -2
- package/src/gdskills/bundled/rules/core/definition-of-done.mdc +6 -5
- package/src/gdskills/bundled/rules/core/frontend-assistant.mdc +4 -3
- package/src/gdskills/bundled/rules/core/tdd-workflow.mdc +2 -18
- package/src/gdskills/bundled/rules/process/agent-conduct.mdc +79 -0
- package/src/gdskills/bundled/rules/{core → process}/documentation-management.mdc +1 -1
- package/src/gdskills/bundled/rules/{core → process}/git-rules.mdc +1 -1
- package/src/gdskills/bundled/rules/{core → process}/skills-storage-workflow.mdc +1 -1
- package/src/gdskills/bundled/skills/core/reviewer-skill-creator/SKILL.detail.md +1 -1
- package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.md +6 -6
- package/src/gdskills/bundled/skills/orchestration/context-collector/orchestrator-prompt.md +4 -0
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.md +4 -4
- package/src/gdskills/bundled/skills/orchestration/feature-analyzer/orchestrator-prompt.md +2 -0
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +19 -19
- package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/input-contract.schema.json +1 -1
- package/src/gdskills/bundled/skills/orchestration/issue-analyzer/orchestrator-prompt.md +2 -0
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +9 -9
- package/src/gdskills/bundled/skills/orchestration/job-orchestrator/orchestrator-prompt.md +10 -0
- package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.md +16 -17
- package/src/gdskills/bundled/skills/orchestration/task-implementer/orchestrator-prompt.md +4 -0
- package/src/gdskills/bundled/skills/planning/autodoc-orchestrator/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/planning/docpack-orchestrator/SKILL.md +2 -2
- package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/quality/test-gen/SKILL.md +2 -10
- package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.md +1 -1
- package/src/gdskills/bundled/skills/review/review-architecture/SKILL.md +7 -18
- package/src/gdskills/bundled/skills/review/review-backend/SKILL.md +2 -10
- package/src/gdskills/bundled/skills/review/review-clean-code/SKILL.md +2 -14
- package/src/gdskills/bundled/skills/review/review-core-boundaries/SKILL.md +1 -9
- package/src/gdskills/bundled/skills/review/review-degradation/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-flow-graph/SKILL.md +1 -9
- package/src/gdskills/bundled/skills/review/review-frontend/SKILL.md +4 -12
- package/src/gdskills/bundled/skills/review/review-frontend-conventions/SKILL.md +4 -12
- package/src/gdskills/bundled/skills/review/review-highload/SKILL.md +1 -12
- package/src/gdskills/bundled/skills/review/review-jev-comments/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-jev-contract/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-jev-docs/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-jev-risk/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-jev-rules/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-jev-scenarios/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-layout/SKILL.md +1 -4
- package/src/gdskills/bundled/skills/review/review-logic/SKILL.md +5 -13
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.detail.md +2 -2
- package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +5 -12
- package/src/gdskills/bundled/skills/review/review-orchestrator/reviewer-input.schema.json +6 -0
- package/src/gdskills/bundled/skills/review/review-performance/SKILL.md +5 -13
- package/src/gdskills/bundled/skills/review/review-pr-contract/SKILL.md +1 -6
- package/src/gdskills/bundled/skills/review/review-regression/SKILL.md +1 -6
- package/src/gdskills/bundled/skills/review/review-security-code/SKILL.md +1 -9
- package/src/gdskills/bundled/skills/review/review-style/SKILL.md +1 -9
- package/src/gdskills/bundled/skills/review/review-testing-practices/SKILL.md +2 -7
- package/src/gdskills/bundled/skills/review/review-ui-ux/SKILL.md +1 -4
- package/src/gdskills/bundled/{rules/core → stacks/mobx/rules}/mobx-store-template.mdc +4 -2
- package/src/gdskills/bundled/{rules/core → stacks/nestjs/rules}/nestjs-dto.mdc +4 -3
- package/src/gdskills/bundled/stacks/playwright/governance/scout.json +1 -0
- package/src/gdskills/bundled/stacks/playwright/pack.json +19 -0
- package/src/gdskills/bundled/{rules/core → stacks/playwright/rules}/playwright-testing.mdc +6 -6
- package/src/gdskills/bundled/{rules/core → stacks/react/rules}/code-style-patterns.mdc +11 -9
- package/src/gdskills/bundled/stacks/storybook/governance/scout.json +1 -0
- package/src/gdskills/bundled/stacks/storybook/pack.json +19 -0
- package/src/gdskills/bundled/{rules/core → stacks/storybook/rules}/storybook-guidelines.mdc +4 -3
- package/src/gdskills/bundled/stacks/ts-js-node/rules/coding-style.mdc +17 -1
- package/src/gdskills/bundled/stacks/ts-js-node/rules/patterns.mdc +18 -0
- package/src/gdskills/contracts/subagent-dispatch.schema.json +4 -1
- /package/src/gdskills/bundled/rules/{core → process}/commit-message-formatting.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/execution-metrics.md +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/git-concurrency.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/implementation-doc-mandate.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/implementation-plans.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/jobs-documentation.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/model-selection.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/opus-5-5-prompting.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/requirements-management.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/requirements-package-standard.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/rule-management-workflow.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/session-plan-bridge.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/skill-authoring.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/skill-lifecycle.mdc +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/subagent-context-construction.md +0 -0
- /package/src/gdskills/bundled/rules/{core → process}/subagent-status-protocol.md +0 -0
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"profiles": {
|
|
4
4
|
"minimal": {
|
|
5
|
-
"description": "Bare minimum: the stack-agnostic core rules plus skill-lifecycle governance. No orchestration/review/quality skills, no stack components.",
|
|
5
|
+
"description": "Bare minimum: the stack-agnostic core rules plus the process layer (agent conduct and engineering procedures, skill-lifecycle governance included). No orchestration/review/quality skills, no stack components.",
|
|
6
6
|
"modules": [
|
|
7
7
|
"core-common-rules",
|
|
8
|
-
"
|
|
8
|
+
"process-activity-rules"
|
|
9
9
|
],
|
|
10
10
|
"components": []
|
|
11
11
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"description": "Today's curated subset made explicit: common rules plus orchestration, quality, and generic review skill modules. No stack-specific components.",
|
|
14
14
|
"modules": [
|
|
15
15
|
"core-common-rules",
|
|
16
|
-
"
|
|
16
|
+
"process-activity-rules",
|
|
17
17
|
"orchestration-skills",
|
|
18
18
|
"quality-skills",
|
|
19
19
|
"review-core-skills"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"description": "Common rules plus the TypeScript/JavaScript (Node.js) stack pack component (`ts-js-node-rules` + `ts-js-node-skills`, from src/gdskills/bundled/stacks/ts-js-node/), installed when `keryx stack detect` finds a matching tag.",
|
|
25
25
|
"modules": [
|
|
26
26
|
"core-common-rules",
|
|
27
|
-
"
|
|
27
|
+
"process-activity-rules"
|
|
28
28
|
],
|
|
29
29
|
"components": [
|
|
30
30
|
"lang:ts-js-node"
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
"description": "Common rules plus the React/MobX-aware review component set, installed when `keryx stack detect` finds a matching tag (fail open when detection is unavailable or uncertain).",
|
|
36
36
|
"modules": [
|
|
37
37
|
"core-common-rules",
|
|
38
|
-
"
|
|
38
|
+
"process-activity-rules"
|
|
39
39
|
],
|
|
40
40
|
"components": [
|
|
41
41
|
"capability:mobx",
|
|
42
42
|
"framework:react",
|
|
43
|
-
"lang:ts-js-node"
|
|
43
|
+
"lang:ts-js-node",
|
|
44
|
+
"tool:storybook"
|
|
44
45
|
],
|
|
45
46
|
"stackDetectionAware": true
|
|
46
47
|
},
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"description": "Common rules plus the Go stack pack component (`go-rules` + `go-skills`, from src/gdskills/bundled/stacks/go/), installed when `keryx stack detect` finds a matching tag.",
|
|
49
50
|
"modules": [
|
|
50
51
|
"core-common-rules",
|
|
51
|
-
"
|
|
52
|
+
"process-activity-rules"
|
|
52
53
|
],
|
|
53
54
|
"components": [
|
|
54
55
|
"lang:go"
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
"description": "Common rules plus the NestJS-aware review component set, installed when `keryx stack detect` finds a matching tag (fail open when detection is unavailable or uncertain).",
|
|
60
61
|
"modules": [
|
|
61
62
|
"core-common-rules",
|
|
62
|
-
"
|
|
63
|
+
"process-activity-rules"
|
|
63
64
|
],
|
|
64
65
|
"components": [
|
|
65
66
|
"framework:nestjs",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"description": "Common rules plus the Python stack pack component (`python-rules` + `python-skills`, from src/gdskills/bundled/stacks/python/), installed when `keryx stack detect` finds a matching tag.",
|
|
72
73
|
"modules": [
|
|
73
74
|
"core-common-rules",
|
|
74
|
-
"
|
|
75
|
+
"process-activity-rules"
|
|
75
76
|
],
|
|
76
77
|
"components": [
|
|
77
78
|
"lang:python"
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"description": "Common rules plus the Vue stack pack component (`vue-rules` + `vue-skills`, from src/gdskills/bundled/stacks/vue/), installed when `keryx stack detect` finds a matching tag.",
|
|
83
84
|
"modules": [
|
|
84
85
|
"core-common-rules",
|
|
85
|
-
"
|
|
86
|
+
"process-activity-rules"
|
|
86
87
|
],
|
|
87
88
|
"components": [
|
|
88
89
|
"framework:vue",
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
"description": "Common rules plus the Angular stack pack component (`angular-rules` + `angular-skills`, from src/gdskills/bundled/stacks/angular/), installed when `keryx stack detect` finds a matching tag.",
|
|
95
96
|
"modules": [
|
|
96
97
|
"core-common-rules",
|
|
97
|
-
"
|
|
98
|
+
"process-activity-rules"
|
|
98
99
|
],
|
|
99
100
|
"components": [
|
|
100
101
|
"framework:angular",
|
|
@@ -106,7 +107,7 @@
|
|
|
106
107
|
"description": "Common rules plus the Next.js/Nuxt meta-framework stack pack component (`nextjs-nuxt-rules` + `nextjs-nuxt-skills`, from src/gdskills/bundled/stacks/nextjs-nuxt/) alongside its React and Vue bases, installed when `keryx stack detect` finds a matching tag (nextjs or nuxt).",
|
|
107
108
|
"modules": [
|
|
108
109
|
"core-common-rules",
|
|
109
|
-
"
|
|
110
|
+
"process-activity-rules"
|
|
110
111
|
],
|
|
111
112
|
"components": [
|
|
112
113
|
"framework:react",
|
|
@@ -120,7 +121,7 @@
|
|
|
120
121
|
"description": "Common rules plus the Django-aware component set (extends `python`), installed when `keryx stack detect` finds a matching tag (fail open when detection is unavailable or uncertain).",
|
|
121
122
|
"modules": [
|
|
122
123
|
"core-common-rules",
|
|
123
|
-
"
|
|
124
|
+
"process-activity-rules"
|
|
124
125
|
],
|
|
125
126
|
"components": [
|
|
126
127
|
"framework:django",
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
"description": "Common rules plus the FastAPI-aware component set (extends `python`), installed when `keryx stack detect` finds a matching tag (fail open when detection is unavailable or uncertain).",
|
|
133
134
|
"modules": [
|
|
134
135
|
"core-common-rules",
|
|
135
|
-
"
|
|
136
|
+
"process-activity-rules"
|
|
136
137
|
],
|
|
137
138
|
"components": [
|
|
138
139
|
"framework:fastapi",
|
|
@@ -144,7 +145,7 @@
|
|
|
144
145
|
"description": "Common rules plus the Rust stack pack component (`rust-rules` + `rust-skills`, from src/gdskills/bundled/stacks/rust/), installed when `keryx stack detect` finds a matching tag.",
|
|
145
146
|
"modules": [
|
|
146
147
|
"core-common-rules",
|
|
147
|
-
"
|
|
148
|
+
"process-activity-rules"
|
|
148
149
|
],
|
|
149
150
|
"components": [
|
|
150
151
|
"lang:rust"
|
|
@@ -155,7 +156,7 @@
|
|
|
155
156
|
"description": "Common rules plus the Java/Kotlin + Spring Boot stack pack component (`java-kotlin-spring-rules` + `java-kotlin-spring-skills`, from src/gdskills/bundled/stacks/java-kotlin-spring/), installed when `keryx stack detect` finds a matching tag.",
|
|
156
157
|
"modules": [
|
|
157
158
|
"core-common-rules",
|
|
158
|
-
"
|
|
159
|
+
"process-activity-rules"
|
|
159
160
|
],
|
|
160
161
|
"components": [
|
|
161
162
|
"framework:java-kotlin-spring"
|
|
@@ -166,7 +167,7 @@
|
|
|
166
167
|
"description": "Common rules plus the Docker/Kubernetes/Terraform tool pack component, installed when `keryx stack detect` finds a matching tag (docker, docker-compose, or terraform). Experimental: has not cleared the honest behavioral eval gate yet.",
|
|
167
168
|
"modules": [
|
|
168
169
|
"core-common-rules",
|
|
169
|
-
"
|
|
170
|
+
"process-activity-rules"
|
|
170
171
|
],
|
|
171
172
|
"components": [
|
|
172
173
|
"tool:docker-k8s-terraform"
|
|
@@ -177,7 +178,7 @@
|
|
|
177
178
|
"description": "Common rules plus the CI (GitHub Actions & GitLab CI) tool pack component, installed when `keryx stack detect` finds a matching tag (github-actions or gitlab-ci). Experimental: has not cleared the honest behavioral eval gate yet.",
|
|
178
179
|
"modules": [
|
|
179
180
|
"core-common-rules",
|
|
180
|
-
"
|
|
181
|
+
"process-activity-rules"
|
|
181
182
|
],
|
|
182
183
|
"components": [
|
|
183
184
|
"tool:ci-github-gitlab"
|
|
@@ -188,7 +189,7 @@
|
|
|
188
189
|
"description": "Common rules plus the PHP/Laravel stack pack component (`php-laravel-rules` + `php-laravel-skills`, from src/gdskills/bundled/stacks/php-laravel/), installed when `keryx stack detect` finds a matching tag.",
|
|
189
190
|
"modules": [
|
|
190
191
|
"core-common-rules",
|
|
191
|
-
"
|
|
192
|
+
"process-activity-rules"
|
|
192
193
|
],
|
|
193
194
|
"components": [
|
|
194
195
|
"framework:php-laravel"
|
|
@@ -199,7 +200,7 @@
|
|
|
199
200
|
"description": "Common rules plus the Ruby on Rails stack pack component (`ruby-rails-rules` + `ruby-rails-skills`, from src/gdskills/bundled/stacks/ruby-rails/), installed when `keryx stack detect` finds a matching tag.",
|
|
200
201
|
"modules": [
|
|
201
202
|
"core-common-rules",
|
|
202
|
-
"
|
|
203
|
+
"process-activity-rules"
|
|
203
204
|
],
|
|
204
205
|
"components": [
|
|
205
206
|
"framework:ruby-rails"
|
|
@@ -210,7 +211,7 @@
|
|
|
210
211
|
"description": "Common rules plus the C/C++ stack pack component (`c-cpp-rules` + `c-cpp-skills`, from src/gdskills/bundled/stacks/c-cpp/), installed when `keryx stack detect` finds a matching tag.",
|
|
211
212
|
"modules": [
|
|
212
213
|
"core-common-rules",
|
|
213
|
-
"
|
|
214
|
+
"process-activity-rules"
|
|
214
215
|
],
|
|
215
216
|
"components": [
|
|
216
217
|
"lang:c-cpp"
|
|
@@ -221,7 +222,7 @@
|
|
|
221
222
|
"description": "Common rules plus the SQL/database stack pack component (`sql-db-rules` + `sql-db-skills`, from src/gdskills/bundled/stacks/sql-db/), installed when `keryx stack detect` finds a matching tag.",
|
|
222
223
|
"modules": [
|
|
223
224
|
"core-common-rules",
|
|
224
|
-
"
|
|
225
|
+
"process-activity-rules"
|
|
225
226
|
],
|
|
226
227
|
"components": [
|
|
227
228
|
"capability:sql-db"
|
|
@@ -232,7 +233,7 @@
|
|
|
232
233
|
"description": "Common rules plus the C#/.NET stack pack component (`csharp-dotnet-rules` + `csharp-dotnet-skills`, from src/gdskills/bundled/stacks/csharp-dotnet/), installed when `keryx stack detect` finds a matching tag.",
|
|
233
234
|
"modules": [
|
|
234
235
|
"core-common-rules",
|
|
235
|
-
"
|
|
236
|
+
"process-activity-rules"
|
|
236
237
|
],
|
|
237
238
|
"components": [
|
|
238
239
|
"lang:csharp-dotnet"
|
|
@@ -243,7 +244,7 @@
|
|
|
243
244
|
"description": "Common rules plus the Swift/iOS stack pack component (`swift-ios-rules` + `swift-ios-skills`, from src/gdskills/bundled/stacks/swift-ios/), installed when `keryx stack detect` finds a matching tag. Standalone pack: no `lang:swift` base exists yet (flow 336 description.md).",
|
|
244
245
|
"modules": [
|
|
245
246
|
"core-common-rules",
|
|
246
|
-
"
|
|
247
|
+
"process-activity-rules"
|
|
247
248
|
],
|
|
248
249
|
"components": [
|
|
249
250
|
"framework:swift-ios"
|
|
@@ -254,7 +255,7 @@
|
|
|
254
255
|
"description": "Common rules plus the Kotlin/Android (Jetpack Compose) stack pack component (`kotlin-android-rules` + `kotlin-android-skills`), installed when `keryx stack detect` finds a matching tag. Standalone pack (flow 336 description.md).",
|
|
255
256
|
"modules": [
|
|
256
257
|
"core-common-rules",
|
|
257
|
-
"
|
|
258
|
+
"process-activity-rules"
|
|
258
259
|
],
|
|
259
260
|
"components": [
|
|
260
261
|
"framework:kotlin-android"
|
|
@@ -265,27 +266,47 @@
|
|
|
265
266
|
"description": "Common rules plus the Flutter/Dart stack pack component (`flutter-dart-rules` + `flutter-dart-skills`), installed when `keryx stack detect` finds a matching tag. Standalone pack (flow 336 description.md).",
|
|
266
267
|
"modules": [
|
|
267
268
|
"core-common-rules",
|
|
268
|
-
"
|
|
269
|
+
"process-activity-rules"
|
|
269
270
|
],
|
|
270
271
|
"components": [
|
|
271
272
|
"framework:flutter-dart"
|
|
272
273
|
],
|
|
273
274
|
"stackDetectionAware": true
|
|
274
275
|
},
|
|
276
|
+
"playwright": {
|
|
277
|
+
"description": "Common rules plus the Playwright tool pack component, installed when `keryx stack detect` finds the playwright tag. Experimental: rules only, no pack skills.",
|
|
278
|
+
"modules": [
|
|
279
|
+
"core-common-rules",
|
|
280
|
+
"process-activity-rules"
|
|
281
|
+
],
|
|
282
|
+
"components": [
|
|
283
|
+
"tool:playwright"
|
|
284
|
+
],
|
|
285
|
+
"stackDetectionAware": true
|
|
286
|
+
},
|
|
287
|
+
"storybook": {
|
|
288
|
+
"description": "Common rules plus the Storybook tool pack component, installed when `keryx stack detect` finds the storybook tag. Experimental: rules only, no pack skills.",
|
|
289
|
+
"modules": [
|
|
290
|
+
"core-common-rules",
|
|
291
|
+
"process-activity-rules"
|
|
292
|
+
],
|
|
293
|
+
"components": [
|
|
294
|
+
"tool:storybook"
|
|
295
|
+
],
|
|
296
|
+
"stackDetectionAware": true
|
|
297
|
+
},
|
|
275
298
|
"full": {
|
|
276
299
|
"description": "Every registered module and component, unconditionally.",
|
|
277
300
|
"modules": [
|
|
278
301
|
"core-common-rules",
|
|
279
|
-
"
|
|
302
|
+
"process-activity-rules",
|
|
280
303
|
"orchestration-skills",
|
|
281
304
|
"quality-skills",
|
|
282
305
|
"review-core-skills",
|
|
283
306
|
"react-review-skills",
|
|
284
|
-
"mobx-store-template-rule",
|
|
285
307
|
"mobx-rules",
|
|
286
308
|
"mobx-skills",
|
|
287
309
|
"nestjs-review-skill",
|
|
288
|
-
"nestjs-dto-rule",
|
|
289
310
|
"nestjs-rules",
|
|
290
311
|
"nestjs-skills",
|
|
291
312
|
"python-rules",
|
|
@@ -329,7 +350,9 @@
|
|
|
329
350
|
"kotlin-android-rules",
|
|
330
351
|
"kotlin-android-skills",
|
|
331
352
|
"flutter-dart-rules",
|
|
332
|
-
"flutter-dart-skills"
|
|
353
|
+
"flutter-dart-skills",
|
|
354
|
+
"playwright-rules",
|
|
355
|
+
"storybook-rules"
|
|
333
356
|
],
|
|
334
357
|
"components": [
|
|
335
358
|
"lang:ts-js-node",
|
|
@@ -354,49 +377,31 @@
|
|
|
354
377
|
"lang:csharp-dotnet",
|
|
355
378
|
"framework:swift-ios",
|
|
356
379
|
"framework:kotlin-android",
|
|
357
|
-
"framework:flutter-dart"
|
|
380
|
+
"framework:flutter-dart",
|
|
381
|
+
"tool:playwright",
|
|
382
|
+
"tool:storybook"
|
|
358
383
|
]
|
|
359
384
|
}
|
|
360
385
|
},
|
|
361
386
|
"modules": {
|
|
362
387
|
"core-common-rules": {
|
|
363
388
|
"kind": "rule",
|
|
364
|
-
"description": "Stack-agnostic core rules (coding standards
|
|
389
|
+
"description": "Stack-agnostic core rules (language-neutral coding standards and review baselines) shared by every profile. Engineering procedures are in process-activity-rules (ADR-0001 P3).",
|
|
365
390
|
"paths": [
|
|
366
391
|
"src/gdskills/bundled/rules/core/api-contracts.mdc",
|
|
367
392
|
"src/gdskills/bundled/rules/core/async-patterns.mdc",
|
|
368
393
|
"src/gdskills/bundled/rules/core/clean-architecture.mdc",
|
|
369
394
|
"src/gdskills/bundled/rules/core/cli-interface-design.mdc",
|
|
370
395
|
"src/gdskills/bundled/rules/core/code-review-learned-profile.mdc",
|
|
371
|
-
"src/gdskills/bundled/rules/core/code-style-patterns.mdc",
|
|
372
|
-
"src/gdskills/bundled/rules/core/commit-message-formatting.mdc",
|
|
373
396
|
"src/gdskills/bundled/rules/core/concurrency-patterns.mdc",
|
|
374
397
|
"src/gdskills/bundled/rules/core/database-patterns.mdc",
|
|
375
398
|
"src/gdskills/bundled/rules/core/definition-of-done.mdc",
|
|
376
|
-
"src/gdskills/bundled/rules/core/documentation-management.mdc",
|
|
377
399
|
"src/gdskills/bundled/rules/core/error-handling.mdc",
|
|
378
|
-
"src/gdskills/bundled/rules/core/execution-metrics.md",
|
|
379
400
|
"src/gdskills/bundled/rules/core/frontend-assistant.mdc",
|
|
380
|
-
"src/gdskills/bundled/rules/core/git-concurrency.mdc",
|
|
381
|
-
"src/gdskills/bundled/rules/core/git-rules.mdc",
|
|
382
|
-
"src/gdskills/bundled/rules/core/implementation-doc-mandate.mdc",
|
|
383
|
-
"src/gdskills/bundled/rules/core/implementation-plans.mdc",
|
|
384
|
-
"src/gdskills/bundled/rules/core/jobs-documentation.mdc",
|
|
385
401
|
"src/gdskills/bundled/rules/core/layout-rendering.mdc",
|
|
386
|
-
"src/gdskills/bundled/rules/core/model-selection.mdc",
|
|
387
|
-
"src/gdskills/bundled/rules/core/playwright-testing.mdc",
|
|
388
|
-
"src/gdskills/bundled/rules/core/requirements-management.mdc",
|
|
389
|
-
"src/gdskills/bundled/rules/core/requirements-package-standard.mdc",
|
|
390
|
-
"src/gdskills/bundled/rules/core/rule-management-workflow.mdc",
|
|
391
402
|
"src/gdskills/bundled/rules/core/security-baseline.mdc",
|
|
392
|
-
"src/gdskills/bundled/rules/core/session-plan-bridge.mdc",
|
|
393
403
|
"src/gdskills/bundled/rules/core/shared-definitions.mdc",
|
|
394
|
-
"src/gdskills/bundled/rules/core/skill-authoring.mdc",
|
|
395
|
-
"src/gdskills/bundled/rules/core/skills-storage-workflow.mdc",
|
|
396
404
|
"src/gdskills/bundled/rules/core/solid-principles.mdc",
|
|
397
|
-
"src/gdskills/bundled/rules/core/storybook-guidelines.mdc",
|
|
398
|
-
"src/gdskills/bundled/rules/core/subagent-context-construction.md",
|
|
399
|
-
"src/gdskills/bundled/rules/core/subagent-status-protocol.md",
|
|
400
405
|
"src/gdskills/bundled/rules/core/tdd-workflow.mdc",
|
|
401
406
|
"src/gdskills/bundled/rules/core/ui-anti-slop.mdc"
|
|
402
407
|
],
|
|
@@ -409,11 +414,13 @@
|
|
|
409
414
|
"cost": "medium",
|
|
410
415
|
"stability": "stable"
|
|
411
416
|
},
|
|
412
|
-
"
|
|
417
|
+
"process-activity-rules": {
|
|
413
418
|
"kind": "rule",
|
|
414
|
-
"description": "
|
|
419
|
+
"description": "Process and activity rule layers (ADR-0001 D1): the mandatory agent conduct rule and engineering procedures, plus per-activity rules. Installed by every profile.",
|
|
415
420
|
"paths": [
|
|
416
|
-
"src/gdskills/bundled/rules/
|
|
421
|
+
"src/gdskills/bundled/rules/process/*.mdc",
|
|
422
|
+
"src/gdskills/bundled/rules/process/*.md",
|
|
423
|
+
"src/gdskills/bundled/rules/activity/*.mdc"
|
|
417
424
|
],
|
|
418
425
|
"targets": [
|
|
419
426
|
"claude",
|
|
@@ -434,7 +441,9 @@
|
|
|
434
441
|
"claude",
|
|
435
442
|
"keryx-shell"
|
|
436
443
|
],
|
|
437
|
-
"dependencies": [
|
|
444
|
+
"dependencies": [
|
|
445
|
+
"process-activity-rules"
|
|
446
|
+
],
|
|
438
447
|
"defaultInstall": true,
|
|
439
448
|
"cost": "heavy",
|
|
440
449
|
"stability": "stable"
|
|
@@ -449,7 +458,9 @@
|
|
|
449
458
|
"claude",
|
|
450
459
|
"keryx-shell"
|
|
451
460
|
],
|
|
452
|
-
"dependencies": [
|
|
461
|
+
"dependencies": [
|
|
462
|
+
"process-activity-rules"
|
|
463
|
+
],
|
|
453
464
|
"defaultInstall": true,
|
|
454
465
|
"cost": "heavy",
|
|
455
466
|
"stability": "stable"
|
|
@@ -482,7 +493,9 @@
|
|
|
482
493
|
"claude",
|
|
483
494
|
"keryx-shell"
|
|
484
495
|
],
|
|
485
|
-
"dependencies": [
|
|
496
|
+
"dependencies": [
|
|
497
|
+
"process-activity-rules"
|
|
498
|
+
],
|
|
486
499
|
"defaultInstall": true,
|
|
487
500
|
"cost": "heavy",
|
|
488
501
|
"stability": "stable"
|
|
@@ -500,27 +513,13 @@
|
|
|
500
513
|
"keryx-shell"
|
|
501
514
|
],
|
|
502
515
|
"dependencies": [
|
|
503
|
-
"core-common-rules"
|
|
516
|
+
"core-common-rules",
|
|
517
|
+
"process-activity-rules"
|
|
504
518
|
],
|
|
505
519
|
"defaultInstall": true,
|
|
506
520
|
"cost": "medium",
|
|
507
521
|
"stability": "stable"
|
|
508
522
|
},
|
|
509
|
-
"mobx-store-template-rule": {
|
|
510
|
-
"kind": "rule",
|
|
511
|
-
"description": "MobX store authoring template/rule.",
|
|
512
|
-
"paths": [
|
|
513
|
-
"src/gdskills/bundled/rules/core/mobx-store-template.mdc"
|
|
514
|
-
],
|
|
515
|
-
"targets": [
|
|
516
|
-
"claude",
|
|
517
|
-
"keryx-shell"
|
|
518
|
-
],
|
|
519
|
-
"dependencies": [],
|
|
520
|
-
"defaultInstall": true,
|
|
521
|
-
"cost": "light",
|
|
522
|
-
"stability": "stable"
|
|
523
|
-
},
|
|
524
523
|
"nestjs-review-skill": {
|
|
525
524
|
"kind": "skill",
|
|
526
525
|
"description": "Backend (NestJS/Prisma) review skill.",
|
|
@@ -532,27 +531,13 @@
|
|
|
532
531
|
"keryx-shell"
|
|
533
532
|
],
|
|
534
533
|
"dependencies": [
|
|
535
|
-
"core-common-rules"
|
|
534
|
+
"core-common-rules",
|
|
535
|
+
"process-activity-rules"
|
|
536
536
|
],
|
|
537
537
|
"defaultInstall": true,
|
|
538
538
|
"cost": "medium",
|
|
539
539
|
"stability": "stable"
|
|
540
540
|
},
|
|
541
|
-
"nestjs-dto-rule": {
|
|
542
|
-
"kind": "rule",
|
|
543
|
-
"description": "NestJS DTO authoring/validation rule.",
|
|
544
|
-
"paths": [
|
|
545
|
-
"src/gdskills/bundled/rules/core/nestjs-dto.mdc"
|
|
546
|
-
],
|
|
547
|
-
"targets": [
|
|
548
|
-
"claude",
|
|
549
|
-
"keryx-shell"
|
|
550
|
-
],
|
|
551
|
-
"dependencies": [],
|
|
552
|
-
"defaultInstall": true,
|
|
553
|
-
"cost": "light",
|
|
554
|
-
"stability": "stable"
|
|
555
|
-
},
|
|
556
541
|
"python-rules": {
|
|
557
542
|
"kind": "rule",
|
|
558
543
|
"description": "Python stack pack rules (coding-style, patterns, security, testing; scoped to *.py/*.pyi) from src/gdskills/bundled/stacks/python/rules/.",
|
|
@@ -615,7 +600,7 @@
|
|
|
615
600
|
},
|
|
616
601
|
"react-rules": {
|
|
617
602
|
"kind": "rule",
|
|
618
|
-
"description": "React stack pack rules (coding-style, patterns, security, testing; scoped to *.tsx/*.jsx) from src/gdskills/bundled/stacks/react/rules/.",
|
|
603
|
+
"description": "React stack pack rules (coding-style, patterns, security, testing, and the React/MobX component rules (code-style-patterns) moved from rules/core in ADR-0001 P4; scoped to *.tsx/*.jsx) from src/gdskills/bundled/stacks/react/rules/.",
|
|
619
604
|
"paths": [
|
|
620
605
|
"src/gdskills/bundled/stacks/react/rules/*.mdc"
|
|
621
606
|
],
|
|
@@ -679,7 +664,7 @@
|
|
|
679
664
|
},
|
|
680
665
|
"nestjs-rules": {
|
|
681
666
|
"kind": "rule",
|
|
682
|
-
"description": "NestJS stack pack rules (coding-style, patterns, security, testing; scoped to *.ts) from src/gdskills/bundled/stacks/nestjs/rules/.
|
|
667
|
+
"description": "NestJS stack pack rules (coding-style, patterns, security, testing, and the DTO rule moved from rules/core in ADR-0001 P4; scoped to *.ts) from src/gdskills/bundled/stacks/nestjs/rules/.",
|
|
683
668
|
"paths": [
|
|
684
669
|
"src/gdskills/bundled/stacks/nestjs/rules/*.mdc"
|
|
685
670
|
],
|
|
@@ -945,7 +930,7 @@
|
|
|
945
930
|
},
|
|
946
931
|
"mobx-rules": {
|
|
947
932
|
"kind": "rule",
|
|
948
|
-
"description": "MobX stack pack rules (coding-style, patterns, security, testing; scoped to *.ts/*.tsx) from src/gdskills/bundled/stacks/mobx/rules/.
|
|
933
|
+
"description": "MobX stack pack rules (coding-style, patterns, security, testing, and the MobX store template moved from rules/core in ADR-0001 P4; scoped to *.ts/*.tsx) from src/gdskills/bundled/stacks/mobx/rules/.",
|
|
949
934
|
"paths": [
|
|
950
935
|
"src/gdskills/bundled/stacks/mobx/rules/*.mdc"
|
|
951
936
|
],
|
|
@@ -1276,6 +1261,36 @@
|
|
|
1276
1261
|
"defaultInstall": true,
|
|
1277
1262
|
"cost": "medium",
|
|
1278
1263
|
"stability": "experimental"
|
|
1264
|
+
},
|
|
1265
|
+
"playwright-rules": {
|
|
1266
|
+
"kind": "rule",
|
|
1267
|
+
"description": "Playwright e2e stack pack rule (playwright-testing, moved from rules/core in ADR-0001 P4; scoped to specs, e2e/ and playwright.config) from src/gdskills/bundled/stacks/playwright/rules/.",
|
|
1268
|
+
"paths": [
|
|
1269
|
+
"src/gdskills/bundled/stacks/playwright/rules/*.mdc"
|
|
1270
|
+
],
|
|
1271
|
+
"targets": [
|
|
1272
|
+
"claude",
|
|
1273
|
+
"keryx-shell"
|
|
1274
|
+
],
|
|
1275
|
+
"dependencies": [],
|
|
1276
|
+
"defaultInstall": true,
|
|
1277
|
+
"cost": "light",
|
|
1278
|
+
"stability": "experimental"
|
|
1279
|
+
},
|
|
1280
|
+
"storybook-rules": {
|
|
1281
|
+
"kind": "rule",
|
|
1282
|
+
"description": "Storybook stack pack rule (storybook-guidelines, moved from rules/core in ADR-0001 P4; scoped to stories and .storybook/) from src/gdskills/bundled/stacks/storybook/rules/.",
|
|
1283
|
+
"paths": [
|
|
1284
|
+
"src/gdskills/bundled/stacks/storybook/rules/*.mdc"
|
|
1285
|
+
],
|
|
1286
|
+
"targets": [
|
|
1287
|
+
"claude",
|
|
1288
|
+
"keryx-shell"
|
|
1289
|
+
],
|
|
1290
|
+
"dependencies": [],
|
|
1291
|
+
"defaultInstall": true,
|
|
1292
|
+
"cost": "light",
|
|
1293
|
+
"stability": "experimental"
|
|
1279
1294
|
}
|
|
1280
1295
|
},
|
|
1281
1296
|
"components": {
|
|
@@ -1312,7 +1327,6 @@
|
|
|
1312
1327
|
"capability:mobx": {
|
|
1313
1328
|
"family": "capability",
|
|
1314
1329
|
"modules": [
|
|
1315
|
-
"mobx-store-template-rule",
|
|
1316
1330
|
"mobx-rules",
|
|
1317
1331
|
"mobx-skills"
|
|
1318
1332
|
],
|
|
@@ -1327,7 +1341,6 @@
|
|
|
1327
1341
|
"family": "framework",
|
|
1328
1342
|
"modules": [
|
|
1329
1343
|
"nestjs-review-skill",
|
|
1330
|
-
"nestjs-dto-rule",
|
|
1331
1344
|
"nestjs-rules",
|
|
1332
1345
|
"nestjs-skills"
|
|
1333
1346
|
],
|
|
@@ -1596,6 +1609,30 @@
|
|
|
1596
1609
|
"provenance": {
|
|
1597
1610
|
"origin": "authored"
|
|
1598
1611
|
}
|
|
1612
|
+
},
|
|
1613
|
+
"tool:playwright": {
|
|
1614
|
+
"family": "tool",
|
|
1615
|
+
"modules": [
|
|
1616
|
+
"playwright-rules"
|
|
1617
|
+
],
|
|
1618
|
+
"detectionMarkers": [
|
|
1619
|
+
"playwright"
|
|
1620
|
+
],
|
|
1621
|
+
"provenance": {
|
|
1622
|
+
"origin": "authored"
|
|
1623
|
+
}
|
|
1624
|
+
},
|
|
1625
|
+
"tool:storybook": {
|
|
1626
|
+
"family": "tool",
|
|
1627
|
+
"modules": [
|
|
1628
|
+
"storybook-rules"
|
|
1629
|
+
],
|
|
1630
|
+
"detectionMarkers": [
|
|
1631
|
+
"storybook"
|
|
1632
|
+
],
|
|
1633
|
+
"provenance": {
|
|
1634
|
+
"origin": "authored"
|
|
1635
|
+
}
|
|
1599
1636
|
}
|
|
1600
1637
|
}
|
|
1601
1638
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "How an implementer works, whatever the stack: read before writing, the red-green-refactor order and its report, change scope, back-compat, and the bar \"done\" points at. Use when implementing a task, fixing a bug or refactoring."
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Activity: implement
|
|
7
|
+
|
|
8
|
+
How a writer applies the core, language and framework rules to a change. This
|
|
9
|
+
rule sets order, scope and method only. It rates nothing: the coding rules the
|
|
10
|
+
context resolver returns for the task are the standard the change is written
|
|
11
|
+
against, and the one it is reviewed against.
|
|
12
|
+
|
|
13
|
+
## Before the first line
|
|
14
|
+
|
|
15
|
+
Read all specified files and the context document before writing a single line
|
|
16
|
+
of code. Module patterns and conventions only emerge from reading the actual
|
|
17
|
+
files, not the description. Follow the project's existing code patterns.
|
|
18
|
+
|
|
19
|
+
## Order of work
|
|
20
|
+
|
|
21
|
+
1. **RED.** Write the failing test first, from the task's `acceptance_criteria` (each criterion maps to at least one test; use `test_case_specs` or run `tests-creator` when none exist). Run it and confirm it fails for the right reason: a test that passes before the implementation is broken.
|
|
22
|
+
2. **GREEN.** Write the minimal code that passes it. Run the tests after each logical chunk.
|
|
23
|
+
3. **REFACTOR.** Clean up with the suite green; re-run it after every step.
|
|
24
|
+
4. **Report.** The full suite (`bun test`, `npm test`, `pytest` or the project's equivalent) passes with 0 failures before `STATUS: DONE`.
|
|
25
|
+
|
|
26
|
+
Output contract on completion:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
tests_written: <N>
|
|
30
|
+
tests_passing: <N>
|
|
31
|
+
tests_failing: 0
|
|
32
|
+
coverage_notes: "<which acceptance criteria are covered>"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The iron laws of this order live in `rules/core/tdd-workflow.mdc`; how the tests
|
|
36
|
+
themselves are designed is `rules/activity/test.mdc`.
|
|
37
|
+
|
|
38
|
+
## Change scope
|
|
39
|
+
|
|
40
|
+
- Do not modify files outside the task's target scope unless absolutely necessary (e.g., shared type file).
|
|
41
|
+
- REFACTOR cleans up the code this change touched. A cleanup of code the task does not touch is a change of its own: name it in the report instead of folding it in.
|
|
42
|
+
|
|
43
|
+
## Back-compat
|
|
44
|
+
|
|
45
|
+
A change to something other code relies on — an exported signature, a CLI flag,
|
|
46
|
+
a file or wire format, a stored field — keeps the old callers working. Where a
|
|
47
|
+
rule allows a break (a new major version, a deprecation window), follow that
|
|
48
|
+
rule, and name in the report every caller the change breaks.
|
|
49
|
+
|
|
50
|
+
## Done
|
|
51
|
+
|
|
52
|
+
A change is done when it clears the bar in `rules/core/definition-of-done.mdc`.
|
|
53
|
+
The rules it must satisfy are the ones the resolver listed for the task, this
|
|
54
|
+
one included. A deviation from one of them is stated in the report, not left for
|
|
55
|
+
review to find; stating it does not make it acceptable.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Review discipline every reviewer applies, whatever the lens or stack: scope by mode (diff mode: the change; path mode: the whole file), the four shared laws (a finding names its failure path, never the theoretical, one finding per class, a deliberate choice is read first), `info` is not a defect, one finding per defect across lenses, and where severity comes from. Use when reviewing a change under any review lens."
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Activity: review
|
|
7
|
+
|
|
8
|
+
How a reviewer applies the core, language and framework rules to a change. This
|
|
9
|
+
rule sets scope and method only. It rates nothing: a condition's severity comes
|
|
10
|
+
from the rule row that rates it, and the levels from the canonical rubric below.
|
|
11
|
+
|
|
12
|
+
## Scope: diff mode and path mode
|
|
13
|
+
|
|
14
|
+
**Diff mode** (`scope_mode: diff`, the default). Review scope: **changes introduced in the current branch since merge-base only**. Pre-existing problems in unchanged lines are out of scope unless the diff makes them worse. A lens may set its own line inside that one: `review-architecture` (directly touched by the diff), `review-clean-code` (debt the change did not create).
|
|
15
|
+
|
|
16
|
+
**Path mode** (`scope_mode: path`). Reviewers check the entire file content, not just added lines. All findings apply to the current state of the code, not only to changes.
|
|
17
|
+
|
|
18
|
+
## Shared laws (every reviewer)
|
|
19
|
+
|
|
20
|
+
1. **A claim of runtime harm with no reproducible path is `info`.** If you cannot name the input, call, or condition that reaches the code, you have an observation, not a finding. Report it as `info` and say what would settle it.
|
|
21
|
+
2. **Never flag the theoretical.** The path you describe must exist in the code under review. Do not report a safe API because it could be misused, or a pattern because it is often wrong elsewhere.
|
|
22
|
+
3. **One finding per class, not one per occurrence.** When the same shape appears at several sites, report it once and list every site. Ten findings that are one finding hide the other nine problems.
|
|
23
|
+
4. **A deliberate choice is not a defect until its reason is read and shown wrong.** An explicit override, suppression or exemption, a comment or commit giving a reason, or a sibling doing the same is a decision: read its reason (the comment, `git log -L` or `git blame`, the sibling) before you report it, and report it only when you can show that reason wrong. A project rule is checked against accepted platform practice and its known exceptions before a deviation from it is reported.
|
|
24
|
+
|
|
25
|
+
`review-security-code` carries a fifth — a finding that claims attacker impact states its vector; one without a vector
|
|
26
|
+
is rated by trigger and outcome — which does not generalise and stays there.
|
|
27
|
+
|
|
28
|
+
## `info` is not a defect
|
|
29
|
+
|
|
30
|
+
`info` is defined in `review-orchestrator/SKILL.md` → **Severity (canonical)**: it
|
|
31
|
+
asks the author for no change. Law 1 says when a claim drops to it.
|
|
32
|
+
|
|
33
|
+
## One finding per defect, across lenses
|
|
34
|
+
|
|
35
|
+
A defect is reported once, by the lens that owns it. A lens's **Scope Boundaries**
|
|
36
|
+
table names the concerns it leaves to another lens: a concern listed there is not
|
|
37
|
+
that lens's finding. Duplicate findings are merged by `dedupe_key` or by
|
|
38
|
+
`(file, quote, problem)`.
|
|
39
|
+
|
|
40
|
+
## Severity
|
|
41
|
+
|
|
42
|
+
Severity levels are defined once, in `review-orchestrator/SKILL.md` →
|
|
43
|
+
**Severity (canonical)**. A reviewer does not restate them: `blocker` is the
|
|
44
|
+
four merge-blocking shapes named there and nothing else, and the `major`/`minor`
|
|
45
|
+
boundary is the trigger-and-outcome test. A reviewer may state which of *its*
|
|
46
|
+
conditions land where; it may not redefine the levels. Where a rule carries a
|
|
47
|
+
**Review severities** table, that table rates the condition, not the lens.
|