sdtk-code-kit 0.2.0 → 0.3.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 +3 -3
- package/assets/manifest/toolkit-bundle.manifest.json +57 -57
- package/assets/manifest/toolkit-bundle.sha256.txt +28 -28
- package/assets/toolkit/toolkit/AGENTS.md +219 -219
- package/assets/toolkit/toolkit/install.ps1 +156 -156
- package/assets/toolkit/toolkit/scripts/install-claude-skills.ps1 +78 -78
- package/assets/toolkit/toolkit/scripts/install-codex-skills.ps1 +150 -150
- package/assets/toolkit/toolkit/scripts/uninstall-claude-skills.ps1 +62 -62
- package/assets/toolkit/toolkit/scripts/uninstall-codex-skills.ps1 +82 -82
- package/assets/toolkit/toolkit/sdtk-spec.config.json +6 -6
- package/assets/toolkit/toolkit/sdtk-spec.config.profiles.example.json +12 -12
- package/assets/toolkit/toolkit/skills/code-brainstorm/SKILL.md +55 -55
- package/assets/toolkit/toolkit/skills/code-debug/SKILL.md +296 -296
- package/assets/toolkit/toolkit/skills/code-debug/references/root-cause-tracing.md +68 -68
- package/assets/toolkit/toolkit/skills/code-discover/SKILL.md +54 -54
- package/assets/toolkit/toolkit/skills/code-execute/SKILL.md +74 -74
- package/assets/toolkit/toolkit/skills/code-finish/SKILL.md +205 -205
- package/assets/toolkit/toolkit/skills/code-parallel/SKILL.md +64 -64
- package/assets/toolkit/toolkit/skills/code-parallel/references/code-quality-reviewer-prompt.md +26 -26
- package/assets/toolkit/toolkit/skills/code-parallel/references/implementer-prompt.md +113 -113
- package/assets/toolkit/toolkit/skills/code-parallel/references/spec-reviewer-prompt.md +61 -61
- package/assets/toolkit/toolkit/skills/code-plan/SKILL.md +85 -85
- package/assets/toolkit/toolkit/skills/code-review/SKILL.md +79 -79
- package/assets/toolkit/toolkit/skills/code-review/references/checklist.md +125 -125
- package/assets/toolkit/toolkit/skills/code-review/references/code-reviewer.md +146 -146
- package/assets/toolkit/toolkit/skills/code-ship/SKILL.md +52 -52
- package/assets/toolkit/toolkit/skills/code-tdd/SKILL.md +378 -378
- package/assets/toolkit/toolkit/skills/code-tdd/references/testing-anti-patterns.md +299 -299
- package/assets/toolkit/toolkit/skills/code-verify/SKILL.md +144 -144
- package/assets/toolkit/toolkit/skills/code-worktree/SKILL.md +228 -228
- package/assets/toolkit/toolkit/templates/CODE_WORKFLOW_TEMPLATE.md +140 -140
- package/package.json +2 -2
- package/src/commands/agent-team.js +174 -0
- package/src/commands/guardrails.js +94 -2
- package/src/commands/help.js +13 -0
- package/src/commands/sleep.js +132 -0
- package/src/index.js +8 -0
- package/src/lib/agent-team-export.js +409 -0
- package/src/lib/agent-team-plan.js +514 -0
- package/src/lib/sleep-plan.js +175 -0
- package/src/lib/sleep-report.js +229 -0
- package/src/lib/trust-events.js +20 -1
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: code-brainstorm
|
|
3
|
-
description: Brainstorming designs before code. Use before any creative work -- creating features, building components, modifying behavior. Explores intent, requirements, and design before implementation.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Code Brainstorm
|
|
7
|
-
|
|
8
|
-
## Critical Constraints
|
|
9
|
-
- I do not take implementation action before presenting a design and getting approval.
|
|
10
|
-
- I do not treat "simple" requests as justification to skip design.
|
|
11
|
-
|
|
12
|
-
<HARD-GATE>
|
|
13
|
-
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
|
|
14
|
-
</HARD-GATE>
|
|
15
|
-
|
|
16
|
-
## Overview
|
|
17
|
-
Explore coding approaches before writing code.
|
|
18
|
-
|
|
19
|
-
The outcome is an approved design direction that can be handed to `code-plan`.
|
|
20
|
-
|
|
21
|
-
## Process
|
|
22
|
-
1. Read the current codebase context, recent changes, and relevant requirements.
|
|
23
|
-
2. Ask clarifying questions one at a time.
|
|
24
|
-
3. Propose 2-3 approaches with tradeoffs and a recommendation.
|
|
25
|
-
4. Present the design in sections sized to the problem complexity.
|
|
26
|
-
5. Record assumptions and open questions.
|
|
27
|
-
6. Get approval on the design direction.
|
|
28
|
-
7. Hand off to `code-plan`.
|
|
29
|
-
|
|
30
|
-
## Process Flow
|
|
31
|
-
```dot
|
|
32
|
-
digraph brainstorming {
|
|
33
|
-
"Explore project context" [shape=box];
|
|
34
|
-
"Ask clarifying questions" [shape=box];
|
|
35
|
-
"Propose 2-3 approaches" [shape=box];
|
|
36
|
-
"Present design sections" [shape=box];
|
|
37
|
-
"User approves design?" [shape=diamond];
|
|
38
|
-
"Revise design" [shape=box];
|
|
39
|
-
"Invoke code-plan" [shape=doublecircle];
|
|
40
|
-
|
|
41
|
-
"Explore project context" -> "Ask clarifying questions";
|
|
42
|
-
"Ask clarifying questions" -> "Propose 2-3 approaches";
|
|
43
|
-
"Propose 2-3 approaches" -> "Present design sections";
|
|
44
|
-
"Present design sections" -> "User approves design?";
|
|
45
|
-
"User approves design?" -> "Revise design" [label="no"];
|
|
46
|
-
"Revise design" -> "Present design sections";
|
|
47
|
-
"User approves design?" -> "Invoke code-plan" [label="yes"];
|
|
48
|
-
}
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Red Flags
|
|
52
|
-
- Starting code because the request looks small.
|
|
53
|
-
- Asking multiple unrelated questions in one turn.
|
|
54
|
-
- Offering only one approach when there are real tradeoffs.
|
|
55
|
-
- Moving to implementation before the design is approved.
|
|
1
|
+
---
|
|
2
|
+
name: code-brainstorm
|
|
3
|
+
description: Brainstorming designs before code. Use before any creative work -- creating features, building components, modifying behavior. Explores intent, requirements, and design before implementation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Brainstorm
|
|
7
|
+
|
|
8
|
+
## Critical Constraints
|
|
9
|
+
- I do not take implementation action before presenting a design and getting approval.
|
|
10
|
+
- I do not treat "simple" requests as justification to skip design.
|
|
11
|
+
|
|
12
|
+
<HARD-GATE>
|
|
13
|
+
Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
|
|
14
|
+
</HARD-GATE>
|
|
15
|
+
|
|
16
|
+
## Overview
|
|
17
|
+
Explore coding approaches before writing code.
|
|
18
|
+
|
|
19
|
+
The outcome is an approved design direction that can be handed to `code-plan`.
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
1. Read the current codebase context, recent changes, and relevant requirements.
|
|
23
|
+
2. Ask clarifying questions one at a time.
|
|
24
|
+
3. Propose 2-3 approaches with tradeoffs and a recommendation.
|
|
25
|
+
4. Present the design in sections sized to the problem complexity.
|
|
26
|
+
5. Record assumptions and open questions.
|
|
27
|
+
6. Get approval on the design direction.
|
|
28
|
+
7. Hand off to `code-plan`.
|
|
29
|
+
|
|
30
|
+
## Process Flow
|
|
31
|
+
```dot
|
|
32
|
+
digraph brainstorming {
|
|
33
|
+
"Explore project context" [shape=box];
|
|
34
|
+
"Ask clarifying questions" [shape=box];
|
|
35
|
+
"Propose 2-3 approaches" [shape=box];
|
|
36
|
+
"Present design sections" [shape=box];
|
|
37
|
+
"User approves design?" [shape=diamond];
|
|
38
|
+
"Revise design" [shape=box];
|
|
39
|
+
"Invoke code-plan" [shape=doublecircle];
|
|
40
|
+
|
|
41
|
+
"Explore project context" -> "Ask clarifying questions";
|
|
42
|
+
"Ask clarifying questions" -> "Propose 2-3 approaches";
|
|
43
|
+
"Propose 2-3 approaches" -> "Present design sections";
|
|
44
|
+
"Present design sections" -> "User approves design?";
|
|
45
|
+
"User approves design?" -> "Revise design" [label="no"];
|
|
46
|
+
"Revise design" -> "Present design sections";
|
|
47
|
+
"User approves design?" -> "Invoke code-plan" [label="yes"];
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Red Flags
|
|
52
|
+
- Starting code because the request looks small.
|
|
53
|
+
- Asking multiple unrelated questions in one turn.
|
|
54
|
+
- Offering only one approach when there are real tradeoffs.
|
|
55
|
+
- Moving to implementation before the design is approved.
|