@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.
Files changed (37) hide show
  1. package/claude/refs/sd-code-conventions.md +102 -4
  2. package/claude/refs/sd-solid.md +13 -2
  3. package/claude/refs/sd-workflow.md +2 -1
  4. package/claude/rules/sd-claude-rules.md +18 -1
  5. package/claude/rules/sd-refs-linker.md +1 -1
  6. package/claude/sd-statusline.js +51 -9
  7. package/claude/skills/sd-api-name-review/SKILL.md +118 -13
  8. package/claude/skills/sd-brainstorm/SKILL.md +82 -8
  9. package/claude/skills/sd-check/SKILL.md +28 -14
  10. package/claude/skills/sd-commit/SKILL.md +1 -4
  11. package/claude/skills/sd-debug/SKILL.md +8 -13
  12. package/claude/skills/sd-debug/condition-based-waiting.md +5 -11
  13. package/claude/skills/sd-debug/root-cause-tracing.md +18 -33
  14. package/claude/skills/sd-explore/SKILL.md +118 -0
  15. package/claude/skills/sd-plan/SKILL.md +31 -0
  16. package/claude/skills/sd-plan-dev/SKILL.md +92 -75
  17. package/claude/skills/sd-plan-dev/code-quality-reviewer-prompt.md +1 -3
  18. package/claude/skills/sd-plan-dev/implementer-prompt.md +10 -1
  19. package/claude/skills/sd-readme/SKILL.md +1 -1
  20. package/claude/skills/sd-review/SKILL.md +128 -55
  21. package/claude/skills/sd-review/api-reviewer-prompt.md +23 -38
  22. package/claude/skills/sd-review/code-reviewer-prompt.md +26 -29
  23. package/claude/skills/sd-review/convention-checker-prompt.md +61 -0
  24. package/claude/skills/sd-review/refactoring-analyzer-prompt.md +92 -0
  25. package/claude/skills/sd-skill/SKILL.md +20 -3
  26. package/claude/skills/sd-skill/anthropic-best-practices.md +71 -1091
  27. package/claude/skills/sd-skill/testing-skills-with-subagents.md +9 -5
  28. package/claude/skills/sd-skill/writing-guide.md +7 -11
  29. package/claude/skills/sd-tdd/SKILL.md +15 -20
  30. package/claude/skills/sd-use/SKILL.md +18 -27
  31. package/claude/skills/sd-worktree/SKILL.md +58 -113
  32. package/package.json +1 -1
  33. package/claude/skills/sd-check/baseline-analysis.md +0 -150
  34. package/claude/skills/sd-check/test-scenarios.md +0 -205
  35. package/claude/skills/sd-debug/test-baseline-pressure.md +0 -61
  36. package/claude/skills/sd-review/code-simplifier-prompt.md +0 -88
  37. 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
- ```dot
311
- step1 [label="import fs"];
312
- step2 [label="read file"];
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