command-code 0.31.2 → 0.32.1
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/index.mjs +121 -121
- package/package.json +1 -1
- package/skills/design/SKILL.md +12 -0
- package/skills/design/references/smell.md +3 -1
- package/vsix/commandcode-vscode.vsix +0 -0
package/package.json
CHANGED
package/skills/design/SKILL.md
CHANGED
|
@@ -17,6 +17,18 @@ When the *style* is ambiguous, decide. When the *goal* is ambiguous, ask only if
|
|
|
17
17
|
|
|
18
18
|
Do not ask for confirmation before acting on a complete brief. Infer ordinary details, choose the strongest interpretation, and ship.
|
|
19
19
|
|
|
20
|
+
## Explicit report modes: smell, checkup, review
|
|
21
|
+
|
|
22
|
+
**CRITICAL RULE: When the user explicitly runs `/design smell`, `/design checkup`, or `/design review`, I ONLY generate the report. I never apply fixes in the same turn.**
|
|
23
|
+
|
|
24
|
+
These modes report findings only. Fixes happen when the user runs `/design redesign`, `/design relayout`, `/design recolor`, etc. — a separate, explicit command.
|
|
25
|
+
|
|
26
|
+
- `/design smell` → generates `smell-report.md` and `smell-report.html` only
|
|
27
|
+
- `/design checkup` → generates `checkup-report.md` and `checkup-report.html` only
|
|
28
|
+
- `/design review` → generates `review-report.md` and `review-report.html` only
|
|
29
|
+
|
|
30
|
+
No design changes. No fixing. No calling other modes. Just reports.
|
|
31
|
+
|
|
20
32
|
## Bare `/design` routing
|
|
21
33
|
|
|
22
34
|
When the user runs `/design` with no tool and no freeform prompt, I do not show the table. I route immediately and act.
|
|
@@ -129,7 +129,9 @@ I name the dominant smell. I identify the root reflex. Then I pick the right des
|
|
|
129
129
|
- Missing state and interaction smell goes to interaction
|
|
130
130
|
- Unclear copy goes to writing
|
|
131
131
|
|
|
132
|
-
If the design smells
|
|
132
|
+
If the design smells in several systems at once, I suggest redesign is usually cleaner than incremental repair.
|
|
133
|
+
|
|
134
|
+
**Important:** Smell never executes any mode. It only produces `.commandcode/design/smell-report.md` and `.commandcode/design/smell-report.html`.
|
|
133
135
|
|
|
134
136
|
---
|
|
135
137
|
|
|
Binary file
|