@simplysm/sd-claude 13.0.75 → 13.0.77
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/claude/refs/sd-code-conventions.md +102 -4
- package/claude/refs/sd-solid.md +13 -2
- package/claude/refs/sd-workflow.md +2 -1
- package/claude/rules/sd-claude-rules.md +18 -1
- package/claude/rules/sd-refs-linker.md +1 -1
- package/claude/sd-statusline.js +51 -9
- package/claude/skills/sd-api-name-review/SKILL.md +118 -13
- package/claude/skills/sd-brainstorm/SKILL.md +82 -8
- package/claude/skills/sd-check/SKILL.md +28 -14
- package/claude/skills/sd-commit/SKILL.md +1 -4
- package/claude/skills/sd-debug/SKILL.md +8 -13
- package/claude/skills/sd-debug/condition-based-waiting.md +5 -11
- package/claude/skills/sd-debug/root-cause-tracing.md +18 -33
- package/claude/skills/sd-explore/SKILL.md +118 -0
- package/claude/skills/sd-plan/SKILL.md +31 -0
- package/claude/skills/sd-plan-dev/SKILL.md +92 -75
- package/claude/skills/sd-plan-dev/code-quality-reviewer-prompt.md +1 -3
- package/claude/skills/sd-plan-dev/implementer-prompt.md +10 -1
- package/claude/skills/sd-readme/SKILL.md +1 -1
- package/claude/skills/sd-review/SKILL.md +128 -55
- package/claude/skills/sd-review/api-reviewer-prompt.md +23 -38
- package/claude/skills/sd-review/code-reviewer-prompt.md +26 -29
- package/claude/skills/sd-review/convention-checker-prompt.md +61 -0
- package/claude/skills/sd-review/refactoring-analyzer-prompt.md +92 -0
- package/claude/skills/sd-skill/SKILL.md +20 -3
- package/claude/skills/sd-skill/anthropic-best-practices.md +71 -1091
- package/claude/skills/sd-skill/testing-skills-with-subagents.md +9 -5
- package/claude/skills/sd-skill/writing-guide.md +7 -11
- package/claude/skills/sd-tdd/SKILL.md +15 -20
- package/claude/skills/sd-use/SKILL.md +18 -27
- package/claude/skills/sd-worktree/SKILL.md +58 -113
- package/package.json +1 -1
- package/claude/skills/sd-check/baseline-analysis.md +0 -150
- package/claude/skills/sd-check/test-scenarios.md +0 -205
- package/claude/skills/sd-debug/test-baseline-pressure.md +0 -61
- package/claude/skills/sd-review/code-simplifier-prompt.md +0 -88
- package/claude/skills/sd-worktree/sd-worktree.mjs +0 -152
|
@@ -176,12 +176,23 @@ Edit skill without testing? Same violation.
|
|
|
176
176
|
- Don't "adapt" while running tests
|
|
177
177
|
- Delete means delete
|
|
178
178
|
|
|
179
|
+
**Only exemption — pure mechanical edits:** Typo fixes, tool/variable renames where the behavioral guidance is identical (e.g., `TodoWrite` → `TaskCreate`). If you're changing what the skill *teaches*, it's not mechanical — test it.
|
|
180
|
+
|
|
179
181
|
**REQUIRED BACKGROUND:** The sd-tdd skill explains why this matters. Same principles apply to documentation.
|
|
180
182
|
|
|
181
183
|
## Testing All Skill Types
|
|
182
184
|
|
|
183
185
|
Different skill types need different test approaches:
|
|
184
186
|
|
|
187
|
+
```mermaid
|
|
188
|
+
flowchart TD
|
|
189
|
+
A{"What type of skill?"}
|
|
190
|
+
A -->|"Discipline (rules/requirements)"| B["Pressure test<br>(compliance under stress)"]
|
|
191
|
+
A -->|"Technique (how-to guides)"| C["Application test<br>(correct technique usage)"]
|
|
192
|
+
A -->|"Pattern (mental models)"| D["Recognition test<br>(when/how to apply)"]
|
|
193
|
+
A -->|"Reference (docs/APIs)"| E["Retrieval test<br>(find & use reference)"]
|
|
194
|
+
```
|
|
195
|
+
|
|
185
196
|
### Discipline-Enforcing Skills (rules/requirements)
|
|
186
197
|
|
|
187
198
|
**Examples:** TDD, verification-before-completion, designing-before-coding
|
|
@@ -253,6 +264,8 @@ Example: Testing a "condition-based-waiting" skill
|
|
|
253
264
|
| "Academic review is enough" | Reading ≠ using. Test application scenarios. |
|
|
254
265
|
| "No time to test" | Deploying untested skill wastes more time fixing it later. |
|
|
255
266
|
| "I already know the baseline failures" | You know what YOU think the failures are. Run a subagent to see what ACTUALLY happens. Knowledge ≠ observation. |
|
|
267
|
+
| "This is process theater" | If the process catches even one issue you missed, it paid for itself. "Theater" is what you call process before it saves you. |
|
|
268
|
+
| "It applies the wrong test methodology" | Different skill types need different tests (pressure vs retrieval), but ALL types need testing. No type is exempt. |
|
|
256
269
|
|
|
257
270
|
**All of these mean: Test before deploying. No exceptions.**
|
|
258
271
|
|
|
@@ -264,6 +277,10 @@ Skills that enforce discipline need to resist rationalization. **See writing-gui
|
|
|
264
277
|
|
|
265
278
|
Follow the TDD cycle:
|
|
266
279
|
|
|
280
|
+
### Subagent Rules
|
|
281
|
+
|
|
282
|
+
**NEVER use `isolation: "worktree"` when launching subagents.** Worktrees break lint/build tooling. Always run subagents in the default (non-isolated) mode.
|
|
283
|
+
|
|
267
284
|
### RED: Write Failing Test (Baseline)
|
|
268
285
|
|
|
269
286
|
Run pressure scenario with subagent WITHOUT the skill. Document exact behavior:
|
|
@@ -307,9 +324,9 @@ example-js.js, example-py.py, example-go.go
|
|
|
307
324
|
|
|
308
325
|
### ❌ Code in Flowcharts
|
|
309
326
|
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
|
|
327
|
+
```mermaid
|
|
328
|
+
flowchart TD
|
|
329
|
+
A["import fs"] --> B["read file"]
|
|
313
330
|
```
|
|
314
331
|
|
|
315
332
|
**Why bad:** Can't copy-paste, hard to read
|