@ericrisco/rsc 0.1.8 → 0.1.9
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/manifest.json +2 -2
- package/package.json +1 -1
- package/skills/specify/SKILL.md +25 -14
package/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.9",
|
|
3
3
|
"counts": {
|
|
4
4
|
"skills": 231
|
|
5
5
|
},
|
|
@@ -3971,7 +3971,7 @@
|
|
|
3971
3971
|
},
|
|
3972
3972
|
{
|
|
3973
3973
|
"id": "specify",
|
|
3974
|
-
"description": "Use when a feature, change, or product idea is still fuzzy and needs
|
|
3974
|
+
"description": "Use when a feature, change, or product idea is still fuzzy and needs brainstorming into an APPROVED spec BEFORE any planning or code — the brainstorming front door of SDD. Turns a one-line intent into a WHAT/WHY spec (problem, goals, users, scope, behaviour, acceptance) with zero implementation detail, via one-question-at-a-time dialogue, 2-3 proposed approaches with a recommendation, and a design the user approves before anything gets built. Triggers: 'write a spec for…', 'spec this out', 'brainstorm this feature', 'especifica esta feature', 'I want to add X', 'tengo una idea', 'se me ha ocurrido', '¿y si…?', 'wouldn't it be nice if…', 'let's think this through', 'what should this feature do', 'draft a PRD', or any moment someone jumps to HOW before WHAT is agreed. NOT the technical plan (that's `plan`), NOT the de-risking ambiguity sweep (that's `clarify`), NOT project-wide principles (that's `constitution`).",
|
|
3975
3975
|
"tags": [
|
|
3976
3976
|
"sdd",
|
|
3977
3977
|
"spec",
|
package/package.json
CHANGED
package/skills/specify/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: specify
|
|
3
|
-
description: "Use when a feature, change, or product idea is still fuzzy and needs
|
|
3
|
+
description: "Use when a feature, change, or product idea is still fuzzy and needs brainstorming into an APPROVED spec BEFORE any planning or code — the brainstorming front door of SDD. Turns a one-line intent into a WHAT/WHY spec (problem, goals, users, scope, behaviour, acceptance) with zero implementation detail, via one-question-at-a-time dialogue, 2-3 proposed approaches with a recommendation, and a design the user approves before anything gets built. Triggers: 'write a spec for…', 'spec this out', 'brainstorm this feature', 'especifica esta feature', 'I want to add X', 'tengo una idea', 'se me ha ocurrido', '¿y si…?', 'wouldn't it be nice if…', 'let's think this through', 'what should this feature do', 'draft a PRD', or any moment someone jumps to HOW before WHAT is agreed. NOT the technical plan (that's `plan`), NOT the de-risking ambiguity sweep (that's `clarify`), NOT project-wide principles (that's `constitution`)."
|
|
4
4
|
tags: [sdd, spec, requirements]
|
|
5
5
|
recommends: [clarify, plan]
|
|
6
6
|
profiles: [core, full]
|
|
@@ -15,12 +15,12 @@ A spec is a contract about behaviour and outcomes, readable by a non-technical s
|
|
|
15
15
|
|
|
16
16
|
## Detect the moment — and hold the gate
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Fire on the **faintest** sign the user is thinking about a new feature or change — not just "spec this", but any musing: "I want to add…", "can we build…", "it should also…", "wouldn't it be nice if…", "what if we…", "I've been thinking about…", "let's brainstorm…", "tengo una idea", "se me ha ocurrido", "¿y si…?", "estaría guapo que…", "quiero añadir…", "necesito que haga…". This phase owns that moment, *even if a stack skill (nextjs/fastapi/flutter…) also fired and is itching to build it*. Catch it here first — being too eager to brainstorm is cheap; skipping it is expensive.
|
|
19
19
|
|
|
20
|
-
**The hard gate
|
|
21
|
-
> No
|
|
20
|
+
**The hard gate — every feature, including the "obvious" ones:**
|
|
21
|
+
> No implementation starts — not a stack skill, not `plan`-to-code, not "just a quick version" — until the user has **approved a design** (the spec at step 9 below) and `plan` has produced the technical plan + task list. If the user says "just build it", do not; name the gate in one friendly line and run the loop. "Too simple to need a design" is the rationalization that wastes the most work — every feature gets the loop. The only thing that skips it is a literal one-line, zero-risk change (typo/copy/config) — say so out loud and do it.
|
|
22
22
|
|
|
23
|
-
You are not slowing them down; you
|
|
23
|
+
You are not slowing them down; you make the intent reviewable *before* code exists, which is far cheaper than discovering the misunderstanding in a PR. End every spec by handing to `clarify`/`plan` — never to `implement`.
|
|
24
24
|
|
|
25
25
|
## The one rule that defines this skill
|
|
26
26
|
|
|
@@ -78,16 +78,24 @@ A criterion that needs a human to "decide if it's good enough" is not done yet
|
|
|
78
78
|
|
|
79
79
|
## The pass, end to end
|
|
80
80
|
|
|
81
|
+
Run these in order. It is a collaborative dialogue, not a form you fill in silence — and **you do not skip to a design dump.** Track the steps with a todo list so none is dropped.
|
|
82
|
+
|
|
81
83
|
```text
|
|
82
|
-
1.
|
|
83
|
-
2.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
1. EXPLORE context → profile + sdd config + constitution + existing specs + wiki + recent git
|
|
85
|
+
2. SCOPE check → if the request is several independent subsystems, DECOMPOSE into sub-specs first,
|
|
86
|
+
then brainstorm the FIRST one; each gets its own spec → plan → build cycle
|
|
87
|
+
3. RESTATE in one sentence→ confirm you understood the intent before anything else
|
|
88
|
+
4. ASK, one at a time → only the gaps that change scope; multiple-choice when you can; wait, record, repeat
|
|
89
|
+
5. PROPOSE 2-3 approaches → distinct directions with honest trade-offs; lead with your recommendation and why
|
|
90
|
+
6. PRESENT the design → section by section (problem, users, behaviour, acceptance), scaled to complexity;
|
|
91
|
+
after EACH section ask "does this look right?" and adjust before moving on
|
|
92
|
+
7. WRITE the spec → 02-DOCS/wiki/sdd/specs/<slug>.md (WHAT/WHY), index it in CLAUDE.md, commit if a repo
|
|
93
|
+
8. SELF-REVIEW → scan for TODO/placeholder, contradictions, ambiguity, scope creep; fix inline
|
|
94
|
+
9. USER APPROVES → ask them to read the written spec and confirm; loop on changes until they approve
|
|
95
|
+
10. HAND OFF → only now, result envelope → clarify/plan. NEVER to implement.
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**The gate is steps 5-9, and it is the point of this skill.** Implementation does not begin — not `plan`-to-code, not a stack skill, not "just a quick version" — until the user has approved the design at step 9. This holds for **every** feature, including ones that feel too small to design; "too simple to spec" is exactly where unexamined assumptions cost the most. The only thing that skips the loop is a literal one-line, zero-risk change (a typo, a copy tweak) — name it as such and do it.
|
|
91
99
|
```
|
|
92
100
|
|
|
93
101
|
`<slug>` is a short kebab-case name derived from the feature (e.g. `bulk-csv-import`, `magic-link-login`). If a spec with that slug exists, read it and update rather than overwrite.
|
|
@@ -165,6 +173,9 @@ The proposal is allowed to mention options and tradeoffs; the spec that follows
|
|
|
165
173
|
| Dump 12 questions in one message | One focused question per turn. Infer the rest from the constitution and wiki. |
|
|
166
174
|
| Ask a question you could answer from the constitution | Read it first. Only ask what genuinely changes the spec. |
|
|
167
175
|
| Write "it should work well / be fast / be intuitive" | Not testable. Make it a binary Given/When/Then or move it to Points to clarify. |
|
|
176
|
+
| Skip the whole loop because "this is too simple to design" | That's the rationalization that wastes the most work. Every feature gets the loop; only a literal one-line, zero-risk change skips. |
|
|
177
|
+
| Present one approach as the answer | Offer 2-3 distinct directions with trade-offs and a recommendation; let the user choose before you write the spec. |
|
|
178
|
+
| Hand to `plan`/`implement` before the user approved the written spec | The approval at step 9 is the gate. No design approved → nothing gets built. |
|
|
168
179
|
| Skip non-goals because "it's obvious" | Unsaid scope becomes assumed scope. State what you are *not* doing. |
|
|
169
180
|
| Resolve every ambiguity yourself to look finished | Inventing answers is worse than naming gaps. List them in Points to clarify. |
|
|
170
181
|
| Start designing the solution because it's clearer | Stay on WHAT/WHY. The plan is a later, separate phase. |
|