@simplysm/sd-claude 13.0.32 → 13.0.34
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.
|
@@ -3,6 +3,7 @@ name: sd-explore
|
|
|
3
3
|
description: Deeply analyze a codebase path by tracing execution paths, mapping architecture layers, understanding patterns, and documenting dependencies
|
|
4
4
|
model: sonnet
|
|
5
5
|
context: fork
|
|
6
|
+
allowed-tools: Read, Glob, Grep
|
|
6
7
|
user-invocable: false
|
|
7
8
|
---
|
|
8
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sd-plan-dev
|
|
3
3
|
description: Use when executing implementation plans with independent tasks in the current session
|
|
4
|
-
model:
|
|
4
|
+
model: opus
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Plan Execution
|
|
@@ -17,18 +17,25 @@ No plan? Use sd-plan or sd-brainstorm first.
|
|
|
17
17
|
|
|
18
18
|
## Mode Selection
|
|
19
19
|
|
|
20
|
+
**Default is Agent Mode.** Only use Direct Mode when ALL "Small" criteria are met.
|
|
21
|
+
|
|
20
22
|
```dot
|
|
21
23
|
digraph mode {
|
|
22
|
-
"
|
|
24
|
+
"Small?" [shape=diamond];
|
|
23
25
|
"Direct Mode\n(no agents)" [shape=box];
|
|
24
|
-
"Agent Mode\n(parallel agents)" [shape=box];
|
|
26
|
+
"Agent Mode\n(parallel agents)" [shape=box, style=bold];
|
|
25
27
|
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
+
"Small?" -> "Direct Mode\n(no agents)" [label="yes (all 3 criteria)"];
|
|
29
|
+
"Small?" -> "Agent Mode\n(parallel agents)" [label="no (default)"];
|
|
28
30
|
}
|
|
29
31
|
```
|
|
30
32
|
|
|
31
|
-
|
|
33
|
+
**"Small" criteria (ALL must be true):**
|
|
34
|
+
1. Tasks ≤ 2
|
|
35
|
+
2. Source files ≤ 3 (test files excluded, count across all tasks)
|
|
36
|
+
3. Every task is a simple addition or modification — NOT refactoring, structural changes, or cross-cutting concerns
|
|
37
|
+
|
|
38
|
+
**When in doubt, choose Agent Mode.**
|
|
32
39
|
|
|
33
40
|
---
|
|
34
41
|
|
|
@@ -46,7 +53,10 @@ No agents, no batching -- implement directly in main context.
|
|
|
46
53
|
3. After all tasks: `pnpm typecheck` + `pnpm lint` + `pnpm vitest` on affected packages
|
|
47
54
|
4. Done
|
|
48
55
|
|
|
49
|
-
**Escalation:**
|
|
56
|
+
**Escalation:** Switch to Agent Mode immediately if any of these occur during execution:
|
|
57
|
+
- A task turns out to touch more files than expected
|
|
58
|
+
- You find yourself doing structural changes or refactoring
|
|
59
|
+
- The total change set exceeds ~100 lines of source code
|
|
50
60
|
|
|
51
61
|
---
|
|
52
62
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: sd-readme
|
|
3
3
|
description: Use when updating a package README.md to reflect recent code changes, or when asked to sync README with current implementation, or when creating a new package README from scratch
|
|
4
4
|
argument-hint: "<package-name or path> (optional - omit to update all)"
|
|
5
|
+
model: sonnet
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# sd-readme
|