@tgoodington/intuition 5.0.0 → 6.0.0
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/docs/intuition_design_skill_spec.md +219 -0
- package/package.json +2 -2
- package/scripts/install-skills.js +43 -125
- package/scripts/uninstall-skills.js +21 -13
- package/skills/intuition-design/SKILL.md +366 -0
- package/skills/intuition-execute/SKILL.md +12 -1
- package/skills/intuition-handoff/SKILL.md +278 -26
- package/skills/intuition-initialize/SKILL.md +40 -8
- package/skills/intuition-initialize/references/claude_template.md +31 -16
- package/skills/intuition-initialize/references/design_brief_template.md +62 -0
- package/skills/intuition-initialize/references/execution_brief_template.md +18 -13
- package/skills/intuition-initialize/references/intuition_readme_template.md +40 -0
- package/skills/intuition-initialize/references/planning_brief_template.md +5 -5
- package/skills/intuition-initialize/references/state_template.json +9 -2
- package/skills/intuition-plan/SKILL.md +50 -6
- package/skills/intuition-prompt/SKILL.md +1 -1
- package/skills/intuition-start/SKILL.md +57 -40
- package/skills/intuition-discovery/SKILL.md +0 -366
- package/skills/intuition-discovery/references/templates/discovery_brief_template.md +0 -110
- package/skills/intuition-discovery/references/waldo_core.md +0 -1013
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Design Brief Template
|
|
2
|
+
|
|
3
|
+
> **Generated by:** `/intuition-handoff` (Planning→Design transition, updated per design item)
|
|
4
|
+
> **Consumed by:** `/intuition-design`
|
|
5
|
+
> **Overwritten for:** each design item in the loop
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Current Item
|
|
10
|
+
|
|
11
|
+
**[Item Name]** — [Brief description from plan]
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Plan Context
|
|
16
|
+
|
|
17
|
+
[1-2 paragraph summary of what the plan says about this item]
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Task Details
|
|
22
|
+
|
|
23
|
+
- **Plan Tasks**: [Task numbers from plan.md]
|
|
24
|
+
- **Description**: [From plan.md]
|
|
25
|
+
- **Acceptance Criteria**: [From plan.md]
|
|
26
|
+
- **Dependencies**: [From plan.md]
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## Design Rationale
|
|
31
|
+
|
|
32
|
+
[Why plan flagged this for design — what needs elaboration before execution can proceed]
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Prior Design Context
|
|
37
|
+
|
|
38
|
+
[If this is not the first design item: 1-2 sentences about what was designed in previous items that may be relevant. If first item, omit this section.]
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Constraints
|
|
43
|
+
|
|
44
|
+
- [From plan's architectural decisions]
|
|
45
|
+
- [From discovery constraints]
|
|
46
|
+
- [From prior design decisions, if any]
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Design Queue
|
|
51
|
+
|
|
52
|
+
- [x] Item 1 (completed) -> design_spec_item_1.md
|
|
53
|
+
- **Item 2 (current)**
|
|
54
|
+
- [ ] Item 3 (pending)
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## References
|
|
59
|
+
|
|
60
|
+
- Plan: docs/project_notes/plan.md
|
|
61
|
+
- Discovery: docs/project_notes/discovery_brief.md
|
|
62
|
+
- Prior design specs: [list completed spec files, if any]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Execution Brief Template
|
|
2
2
|
|
|
3
|
-
> **Generated by:** `/intuition-handoff` (Planning→Execution
|
|
4
|
-
> **Consumed by:** `/intuition-execute`
|
|
3
|
+
> **Generated by:** `/intuition-handoff` (Design→Execution or Planning→Execution transition)
|
|
4
|
+
> **Consumed by:** `/intuition-execute`
|
|
5
5
|
> **Frozen for:** execution phase (don't modify during execution)
|
|
6
6
|
|
|
7
7
|
---
|
|
@@ -43,6 +43,18 @@
|
|
|
43
43
|
|
|
44
44
|
---
|
|
45
45
|
|
|
46
|
+
## Design Specifications
|
|
47
|
+
|
|
48
|
+
[List all design specs produced during the design phase, if any:]
|
|
49
|
+
- `design_spec_[item1].md` — [One-line summary]
|
|
50
|
+
- `design_spec_[item2].md` — [One-line summary]
|
|
51
|
+
|
|
52
|
+
**IMPORTANT:** Execute agents MUST read these specs before implementing flagged tasks. Implement exactly what's specified. If ambiguity is found, escalate to user — do not make design decisions autonomously.
|
|
53
|
+
|
|
54
|
+
[If no design phase was run, omit this section.]
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
46
58
|
## Plan Overview
|
|
47
59
|
|
|
48
60
|
**Architecture approach:** [High-level design strategy]
|
|
@@ -66,10 +78,7 @@
|
|
|
66
78
|
- Testing: [Count]
|
|
67
79
|
- Documentation: [Count]
|
|
68
80
|
|
|
69
|
-
|
|
70
|
-
- Small tasks (1-2 hours): [Count]
|
|
71
|
-
- Medium tasks (2-4 hours): [Count]
|
|
72
|
-
- Large tasks (4+ hours): [Count]
|
|
81
|
+
[Mark which tasks have associated design specs]
|
|
73
82
|
|
|
74
83
|
---
|
|
75
84
|
|
|
@@ -132,22 +141,18 @@
|
|
|
132
141
|
- Alternatives considered: [What else could have been done]
|
|
133
142
|
- Trade-offs: [What's given up]
|
|
134
143
|
|
|
135
|
-
**Decision 2:** [What was decided]
|
|
136
|
-
- Rationale: [Why this choice]
|
|
137
|
-
- Alternatives considered: [What else could have been done]
|
|
138
|
-
- Trade-offs: [What's given up]
|
|
139
|
-
|
|
140
144
|
---
|
|
141
145
|
|
|
142
146
|
## References
|
|
143
147
|
|
|
144
148
|
- Plan file: `docs/project_notes/plan.md`
|
|
145
149
|
- Planning brief: `docs/project_notes/planning_brief.md`
|
|
146
|
-
-
|
|
150
|
+
- Design specs: `docs/project_notes/design_spec_*.md`
|
|
151
|
+
- State file: `docs/project_notes/.project-memory-state.json`
|
|
147
152
|
- Related docs: [Links to relevant documentation]
|
|
148
153
|
|
|
149
154
|
---
|
|
150
155
|
|
|
151
156
|
## Notes for Executor
|
|
152
157
|
|
|
153
|
-
[Any guidance for
|
|
158
|
+
[Any guidance for execution — context about approach, team norms, debugging strategies, or gotchas to watch for]
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Intuition
|
|
2
|
+
|
|
3
|
+
A four-phase workflow system for Claude Code. Turns rough ideas into structured plans, detailed designs, and executed implementations through guided dialogue.
|
|
4
|
+
|
|
5
|
+
## Workflow
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/intuition-prompt → /intuition-handoff → /intuition-plan → /intuition-handoff
|
|
9
|
+
↓
|
|
10
|
+
[design loop, if needed]
|
|
11
|
+
↓
|
|
12
|
+
/intuition-execute ← /intuition-handoff
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Run `/intuition-handoff` between every phase. It manages state, generates briefs, and routes you forward.
|
|
16
|
+
|
|
17
|
+
## Skills
|
|
18
|
+
|
|
19
|
+
| Skill | What it does |
|
|
20
|
+
|-------|-------------|
|
|
21
|
+
| `/intuition-start` | Detects where you left off and tells you what to run next |
|
|
22
|
+
| `/intuition-prompt` | Sharpens a rough idea into a planning-ready brief through focused Q&A |
|
|
23
|
+
| `/intuition-plan` | Builds a strategic blueprint with tasks, decisions, and design flags |
|
|
24
|
+
| `/intuition-design` | Elaborates flagged items through collaborative design exploration (ECD framework) |
|
|
25
|
+
| `/intuition-execute` | Delegates implementation to specialized subagents and verifies quality |
|
|
26
|
+
| `/intuition-handoff` | Processes phase outputs, updates memory, prepares the next phase |
|
|
27
|
+
| `/intuition-initialize` | Sets up project memory (you already ran this) |
|
|
28
|
+
|
|
29
|
+
## Quick Start
|
|
30
|
+
|
|
31
|
+
1. `/intuition-start` — see where you are
|
|
32
|
+
2. `/intuition-prompt` — describe what you want to build
|
|
33
|
+
3. `/intuition-handoff` — process and move to planning
|
|
34
|
+
4. `/intuition-plan` — create the blueprint
|
|
35
|
+
5. `/intuition-handoff` — review design flags, confirm items
|
|
36
|
+
6. `/intuition-design` — elaborate each flagged item (repeat with handoff between)
|
|
37
|
+
7. `/intuition-handoff` — prepare for execution
|
|
38
|
+
8. `/intuition-execute` — build it
|
|
39
|
+
|
|
40
|
+
Not every project needs design. If the plan is clear enough, handoff skips straight to execute.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Planning Brief Template
|
|
2
2
|
|
|
3
|
-
> **Generated by:** `/intuition-handoff` (
|
|
4
|
-
> **Consumed by:** `/intuition-plan`
|
|
5
|
-
> **Frozen for:**
|
|
3
|
+
> **Generated by:** `/intuition-handoff` (Prompt→Planning transition)
|
|
4
|
+
> **Consumed by:** `/intuition-plan`
|
|
5
|
+
> **Frozen for:** planning phase (don't modify during plan approval or execution)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
## Discovery Summary
|
|
16
16
|
|
|
17
|
-
**Key findings from
|
|
17
|
+
**Key findings from prompt refinement:**
|
|
18
18
|
- Fact 1
|
|
19
19
|
- Fact 2
|
|
20
20
|
- Fact 3
|
|
@@ -96,4 +96,4 @@
|
|
|
96
96
|
|
|
97
97
|
## Notes for Planner
|
|
98
98
|
|
|
99
|
-
[Any guidance for
|
|
99
|
+
[Any guidance for the planning phase when approaching this problem - context that shapes how the plan should be structured]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"initialized": true,
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0",
|
|
4
4
|
"workflow": {
|
|
5
5
|
"status": "none",
|
|
6
|
-
"
|
|
6
|
+
"prompt": {
|
|
7
7
|
"started": false,
|
|
8
8
|
"started_at": null,
|
|
9
9
|
"completed": false,
|
|
@@ -17,6 +17,13 @@
|
|
|
17
17
|
"completed_at": null,
|
|
18
18
|
"approved": false
|
|
19
19
|
},
|
|
20
|
+
"design": {
|
|
21
|
+
"started": false,
|
|
22
|
+
"completed": false,
|
|
23
|
+
"completed_at": null,
|
|
24
|
+
"items": [],
|
|
25
|
+
"current_item": null
|
|
26
|
+
},
|
|
20
27
|
"execution": {
|
|
21
28
|
"started": false,
|
|
22
29
|
"started_at": null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: intuition-plan
|
|
3
|
-
description: Strategic architect. Reads discovery brief, engages in interactive dialogue to map stakeholders, explore components, evaluate options,
|
|
3
|
+
description: Strategic architect. Reads discovery brief, engages in interactive dialogue to map stakeholders, explore components, evaluate options, synthesize an executable blueprint, and flag tasks requiring design exploration.
|
|
4
4
|
model: opus
|
|
5
5
|
tools: Read, Write, Glob, Grep, Task, AskUserQuestion, Bash, WebFetch
|
|
6
6
|
allowed-tools: Read, Write, Glob, Grep, Task, Bash, WebFetch
|
|
@@ -10,7 +10,7 @@ allowed-tools: Read, Write, Glob, Grep, Task, Bash, WebFetch
|
|
|
10
10
|
|
|
11
11
|
These are non-negotiable. Violating any of these means the protocol has failed.
|
|
12
12
|
|
|
13
|
-
1. You MUST read `docs/project_notes/discovery_brief.md` before planning. If missing, stop and tell the user to run `/intuition-
|
|
13
|
+
1. You MUST read `docs/project_notes/discovery_brief.md` before planning. If missing, stop and tell the user to run `/intuition-prompt`.
|
|
14
14
|
2. You MUST launch orientation research agents during Intake, after reading the discovery brief but BEFORE your first AskUserQuestion.
|
|
15
15
|
3. You MUST use ARCH coverage tracking. Homestretch only unlocks when Actors, Reach, and Choices are sufficiently explored.
|
|
16
16
|
4. You MUST ask exactly ONE question per turn via AskUserQuestion. For decisional questions, present 2-3 options with trade-offs. For informational questions (gathering facts, confirming understanding), present relevant options but trade-off analysis is not required.
|
|
@@ -23,6 +23,7 @@ These are non-negotiable. Violating any of these means the protocol has failed.
|
|
|
23
23
|
11. You MUST NOT modify `discovery_brief.md` or `planning_brief.md`.
|
|
24
24
|
12. You MUST NOT manage `.project-memory-state.json` — handoff owns state transitions.
|
|
25
25
|
13. You MUST treat user input as suggestions unless explicitly stated as requirements. Evaluate critically and propose alternatives when warranted.
|
|
26
|
+
14. You MUST assess every task for design readiness and include a "Design Recommendations" section in the plan. Flag any task where execution cannot proceed without further design exploration (see DESIGN READINESS ASSESSMENT below).
|
|
26
27
|
|
|
27
28
|
REMINDER: One question per turn. Route to `/intuition-handoff`, never to `/intuition-execute`.
|
|
28
29
|
|
|
@@ -81,7 +82,7 @@ This phase is exactly 1 turn. Execute all of the following before your first use
|
|
|
81
82
|
## Step 1: Read inputs
|
|
82
83
|
|
|
83
84
|
Read these files:
|
|
84
|
-
- `docs/project_notes/discovery_brief.md` — REQUIRED. If missing, stop immediately: "No discovery brief found. Run `/intuition-
|
|
85
|
+
- `docs/project_notes/discovery_brief.md` — REQUIRED. If missing, stop immediately: "No discovery brief found. Run `/intuition-prompt` first."
|
|
85
86
|
- `docs/project_notes/planning_brief.md` — optional, may contain handoff context.
|
|
86
87
|
- `.claude/USER_PROFILE.json` — optional, for tailoring communication style.
|
|
87
88
|
|
|
@@ -223,9 +224,11 @@ After explicit approval:
|
|
|
223
224
|
|
|
224
225
|
## Scope Scaling
|
|
225
226
|
|
|
226
|
-
- **Lightweight**: Sections 1, 2, 6, 10
|
|
227
|
-
- **Standard**: Sections 1, 2, 3, 6, 7, 8, 10
|
|
228
|
-
- **Comprehensive**: All sections (1-10)
|
|
227
|
+
- **Lightweight**: Sections 1, 2, 6, 6.5, 10
|
|
228
|
+
- **Standard**: Sections 1, 2, 3, 6, 6.5, 7, 8, 10
|
|
229
|
+
- **Comprehensive**: All sections (1-10, including 6.5)
|
|
230
|
+
|
|
231
|
+
Section 6.5 is Design Recommendations — ALWAYS included regardless of tier.
|
|
229
232
|
|
|
230
233
|
## Section Specifications
|
|
231
234
|
|
|
@@ -297,6 +300,45 @@ Overlap resolution: Planning specifies public interfaces between components and
|
|
|
297
300
|
|
|
298
301
|
Interim artifacts in `.planning_research/` are working files for planning context management. They are NOT part of the plan-execute contract. Only `plan.md` crosses the handoff boundary.
|
|
299
302
|
|
|
303
|
+
# DESIGN READINESS ASSESSMENT
|
|
304
|
+
|
|
305
|
+
After drafting the task sequence, evaluate EVERY task for design readiness. A task is "ready for execution" if it is 95% clear — execution can fill in the remaining 5% without making design decisions.
|
|
306
|
+
|
|
307
|
+
## Flagging Criteria
|
|
308
|
+
|
|
309
|
+
Flag a task as **DESIGN REQUIRED** if ANY of these apply:
|
|
310
|
+
|
|
311
|
+
- **Novel territory**: No existing pattern in the project to follow. The implementation approach needs to be invented, not just applied.
|
|
312
|
+
- **Multiple valid approaches**: There are 2+ reasonable ways to build this, and the choice has lasting consequences. Execution shouldn't make this call.
|
|
313
|
+
- **User-facing decisions**: The task involves layout, creative direction, user experience, tone, or aesthetic choices the user should weigh in on.
|
|
314
|
+
- **Complex interactions**: The task touches multiple components and the interfaces between them need explicit definition before implementation.
|
|
315
|
+
- **Ambiguous scope**: The task description says WHAT but the HOW has genuine options that affect quality, performance, or maintainability.
|
|
316
|
+
|
|
317
|
+
Do NOT flag tasks that are:
|
|
318
|
+
- Straightforward application of existing patterns
|
|
319
|
+
- Mechanical wiring, boilerplate, or configuration
|
|
320
|
+
- Well-understood implementations with clear precedent in the codebase
|
|
321
|
+
- Simple enough that a competent engineer needs no design input
|
|
322
|
+
|
|
323
|
+
## Design Recommendations Output
|
|
324
|
+
|
|
325
|
+
Include this section in the plan AFTER the Task Sequence (Section 6) and BEFORE Testing Strategy (Section 7):
|
|
326
|
+
|
|
327
|
+
```markdown
|
|
328
|
+
### Design Recommendations
|
|
329
|
+
|
|
330
|
+
| Task(s) | Item Name | Recommendation | Rationale |
|
|
331
|
+
|---------|-----------|---------------|-----------|
|
|
332
|
+
| Task 3, 4 | [Descriptive Name] | DESIGN REQUIRED | [Specific reason — what's unclear] |
|
|
333
|
+
| Task 7 | [Descriptive Name] | DESIGN REQUIRED | [Specific reason] |
|
|
334
|
+
| Task 1, 2 | [Name] | Ready for execution | [Why it's clear enough] |
|
|
335
|
+
| Task 5, 6 | [Name] | Ready for execution | [Why it's clear enough] |
|
|
336
|
+
|
|
337
|
+
**Design items group related tasks that share a design surface.** A single design session covers all tasks in the group. Items are named descriptively (e.g., "Behavior Tree AI System" not "Tasks 3-4").
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
When presenting the draft plan in Phase 4, explicitly call out which items you're recommending for design and why. The user confirms or adjusts during plan approval.
|
|
341
|
+
|
|
300
342
|
# EXECUTABLE PLAN CHECKLIST
|
|
301
343
|
|
|
302
344
|
Validate ALL before presenting the draft:
|
|
@@ -310,6 +352,8 @@ Validate ALL before presenting the draft:
|
|
|
310
352
|
- [ ] Interface contracts provided where components interact (Comprehensive)
|
|
311
353
|
- [ ] Risks have mitigations (Standard+)
|
|
312
354
|
- [ ] Execution phase has enough context in Execution Notes to begin independently
|
|
355
|
+
- [ ] Design Recommendations section included with every task assessed
|
|
356
|
+
- [ ] Each DESIGN REQUIRED flag has a specific rationale (not generic)
|
|
313
357
|
|
|
314
358
|
If any check fails, fix it before presenting.
|
|
315
359
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: intuition-prompt
|
|
3
|
-
description: Prompt-engineering discovery. Transforms a rough vision into a precise, planning-ready discovery brief through focused iterative refinement.
|
|
3
|
+
description: Prompt-engineering discovery. Transforms a rough vision into a precise, planning-ready discovery brief through focused iterative refinement. The primary entry point for all new work in the Intuition workflow.
|
|
4
4
|
model: opus
|
|
5
5
|
tools: Read, Write, Glob, Grep, Task, AskUserQuestion
|
|
6
6
|
allowed-tools: Read, Write, Glob, Grep, Task
|
|
@@ -57,7 +57,7 @@ Review the "Package Version Info" section above. Parse the version numbers from
|
|
|
57
57
|
2. Extract latest version from the npm view output (should be just the version number)
|
|
58
58
|
3. Compare the versions:
|
|
59
59
|
- If installed < latest: Add this line at the TOP of your output (before welcome message):
|
|
60
|
-
|
|
60
|
+
`Update available: v[installed] -> v[latest]. Run /intuition-update to install.`
|
|
61
61
|
- If versions match OR if version info is missing/errored: Say nothing about versions
|
|
62
62
|
- If you cannot parse versions: Say nothing (don't block startup)
|
|
63
63
|
|
|
@@ -70,11 +70,11 @@ Read `docs/project_notes/.project-memory-state.json`. Use this decision tree:
|
|
|
70
70
|
```
|
|
71
71
|
IF .project-memory-state.json does NOT exist:
|
|
72
72
|
→ PHASE: first_time
|
|
73
|
-
→ ACTION: Welcome, suggest /intuition-prompt
|
|
73
|
+
→ ACTION: Welcome, suggest /intuition-prompt
|
|
74
74
|
|
|
75
|
-
ELSE IF workflow.
|
|
76
|
-
→ PHASE:
|
|
77
|
-
→ ACTION: Note
|
|
75
|
+
ELSE IF workflow.prompt.started == false OR workflow.prompt.completed == false:
|
|
76
|
+
→ PHASE: prompt_in_progress
|
|
77
|
+
→ ACTION: Note prompt is underway, suggest /intuition-prompt
|
|
78
78
|
|
|
79
79
|
ELSE IF workflow.planning.started == false:
|
|
80
80
|
→ PHASE: ready_for_planning
|
|
@@ -84,6 +84,11 @@ ELSE IF workflow.planning.completed == false:
|
|
|
84
84
|
→ PHASE: planning_in_progress
|
|
85
85
|
→ ACTION: Note planning is underway, suggest /intuition-plan
|
|
86
86
|
|
|
87
|
+
ELSE IF workflow.status == "design" AND workflow.design.started == true
|
|
88
|
+
AND workflow.design.completed == false:
|
|
89
|
+
→ PHASE: design_in_progress
|
|
90
|
+
→ ACTION: Show design queue progress, suggest /intuition-design or /intuition-handoff
|
|
91
|
+
|
|
87
92
|
ELSE IF workflow.execution.started == false:
|
|
88
93
|
→ PHASE: ready_for_execution
|
|
89
94
|
→ ACTION: Summarize plan, suggest /intuition-execute
|
|
@@ -94,52 +99,42 @@ ELSE IF workflow.execution.completed == false:
|
|
|
94
99
|
|
|
95
100
|
ELSE:
|
|
96
101
|
→ PHASE: complete
|
|
97
|
-
→ ACTION: Celebrate, suggest /intuition-prompt
|
|
102
|
+
→ ACTION: Celebrate, suggest /intuition-prompt for next cycle
|
|
98
103
|
```
|
|
99
104
|
|
|
100
105
|
If `.project-memory-state.json` exists but is corrupted or unreadable, infer the phase from which output files exist:
|
|
101
|
-
- `discovery_brief.md` exists →
|
|
106
|
+
- `discovery_brief.md` exists → prompt complete
|
|
102
107
|
- `plan.md` exists → planning complete
|
|
108
|
+
- `design_spec_*.md` exists → design in progress or complete
|
|
103
109
|
- Ask user to confirm if ambiguous.
|
|
104
110
|
|
|
105
111
|
## PHASE HANDLERS
|
|
106
112
|
|
|
107
113
|
### First Time (No Project Memory)
|
|
108
114
|
|
|
109
|
-
Output a welcome message, then
|
|
115
|
+
Output a welcome message, then suggest getting started:
|
|
110
116
|
|
|
111
117
|
```
|
|
112
118
|
Welcome to Intuition!
|
|
113
119
|
|
|
114
|
-
I don't see any project memory yet. Let's kick things off
|
|
115
|
-
```
|
|
120
|
+
I don't see any project memory yet. Let's kick things off.
|
|
116
121
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
Question: "How would you like to start?"
|
|
120
|
-
Header: "Discovery"
|
|
121
|
-
Options:
|
|
122
|
-
- "Prompt — I have a vision, help me sharpen it" / "Focused and fast. You describe what you want, and we'll refine it into a planning-ready brief through targeted questions. Best when you already know roughly what you're after. Runs /intuition-prompt"
|
|
123
|
-
- "Discovery — I want to think this through" / "Exploratory and collaborative. We'll dig into the problem together, with research to inform smarter questions along the way. Best when you're still forming the idea. Runs /intuition-discovery"
|
|
124
|
-
MultiSelect: false
|
|
122
|
+
Run /intuition-prompt to describe what you want to build or change.
|
|
123
|
+
I'll help you sharpen it into something the planning phase can run with.
|
|
125
124
|
```
|
|
126
125
|
|
|
127
|
-
|
|
128
|
-
- If Prompt: "Run `/intuition-prompt` to get started."
|
|
129
|
-
- If Discovery: "Run `/intuition-discovery` to get started."
|
|
130
|
-
|
|
131
|
-
### Discovery In Progress
|
|
126
|
+
### Prompt In Progress
|
|
132
127
|
|
|
133
128
|
Check if `docs/project_notes/discovery_brief.md` exists for progress context.
|
|
134
129
|
|
|
135
130
|
Output:
|
|
136
131
|
```
|
|
137
|
-
Welcome back!
|
|
132
|
+
Welcome back! Prompt refinement is in progress.
|
|
138
133
|
|
|
139
134
|
[If brief exists]: Progress saved at docs/project_notes/discovery_brief.md
|
|
140
|
-
[If no brief yet]: No brief saved yet — still early in
|
|
135
|
+
[If no brief yet]: No brief saved yet — still early in refinement.
|
|
141
136
|
|
|
142
|
-
Run /intuition-
|
|
137
|
+
Run /intuition-prompt to continue.
|
|
143
138
|
```
|
|
144
139
|
|
|
145
140
|
### Ready for Planning
|
|
@@ -182,12 +177,35 @@ Plan: In progress (docs/project_notes/plan.md)
|
|
|
182
177
|
Run /intuition-plan to continue.
|
|
183
178
|
```
|
|
184
179
|
|
|
180
|
+
### Design In Progress
|
|
181
|
+
|
|
182
|
+
Read `.project-memory-state.json` for design queue status. Read `docs/project_notes/design_brief.md` for current item context.
|
|
183
|
+
|
|
184
|
+
Output:
|
|
185
|
+
```
|
|
186
|
+
Welcome back! Design exploration is in progress.
|
|
187
|
+
|
|
188
|
+
Discovery: Complete
|
|
189
|
+
Plan: Approved
|
|
190
|
+
Design: In progress
|
|
191
|
+
|
|
192
|
+
Design Queue:
|
|
193
|
+
[For each item in design.items:]
|
|
194
|
+
- [x] [Item Name] (completed) → design_spec_[name].md
|
|
195
|
+
- [>] [Item Name] (in progress)
|
|
196
|
+
- [ ] [Item Name] (pending)
|
|
197
|
+
|
|
198
|
+
[If current item is in_progress]: Run /intuition-design to continue designing [current item].
|
|
199
|
+
[If current item just completed]: Run /intuition-handoff to process the design and move to the next item.
|
|
200
|
+
```
|
|
201
|
+
|
|
185
202
|
### Ready for Execution
|
|
186
203
|
|
|
187
204
|
Read and curate from:
|
|
188
205
|
- `docs/project_notes/plan.md` — extract objective, task count, approach
|
|
189
206
|
- `docs/project_notes/execution_brief.md` — reference location
|
|
190
207
|
- `docs/project_notes/decisions.md` — relevant ADRs
|
|
208
|
+
- `docs/project_notes/design_spec_*.md` — list any design specs
|
|
191
209
|
|
|
192
210
|
Output:
|
|
193
211
|
```
|
|
@@ -195,6 +213,9 @@ Welcome back! Your plan is approved and ready.
|
|
|
195
213
|
|
|
196
214
|
Discovery: Complete
|
|
197
215
|
Plan: Approved
|
|
216
|
+
[If design specs exist]: Design: Complete ([N] specs)
|
|
217
|
+
Execution: Ready
|
|
218
|
+
|
|
198
219
|
- [N] tasks
|
|
199
220
|
- Approach: [1 sentence]
|
|
200
221
|
- Scope: [Simple/Moderate/Complex]
|
|
@@ -218,6 +239,7 @@ Welcome back! Execution is in progress.
|
|
|
218
239
|
|
|
219
240
|
Discovery: Complete
|
|
220
241
|
Plan: Approved
|
|
242
|
+
[If design specs exist]: Design: Complete
|
|
221
243
|
Execution: In progress
|
|
222
244
|
|
|
223
245
|
Run /intuition-execute to continue.
|
|
@@ -225,30 +247,19 @@ Run /intuition-execute to continue.
|
|
|
225
247
|
|
|
226
248
|
### Complete
|
|
227
249
|
|
|
228
|
-
Output a completion summary
|
|
250
|
+
Output a completion summary:
|
|
229
251
|
|
|
230
252
|
```
|
|
231
253
|
Welcome back! This workflow cycle is complete.
|
|
232
254
|
|
|
233
255
|
Discovery: Complete
|
|
234
256
|
Plan: Complete
|
|
257
|
+
[If design was used]: Design: Complete
|
|
235
258
|
Execution: Complete
|
|
236
259
|
|
|
237
|
-
Ready for the next cycle?
|
|
260
|
+
Ready for the next cycle? Run /intuition-prompt to start a new project or feature.
|
|
238
261
|
```
|
|
239
262
|
|
|
240
|
-
Then use AskUserQuestion:
|
|
241
|
-
```
|
|
242
|
-
Question: "How would you like to start your next cycle?"
|
|
243
|
-
Header: "Next cycle"
|
|
244
|
-
Options:
|
|
245
|
-
- "Prompt — I have a vision, help me sharpen it" / "Focused and fast. Refine a clear idea into a planning-ready brief. Runs /intuition-prompt"
|
|
246
|
-
- "Discovery — I want to think this through" / "Exploratory and collaborative. Dig into a new problem with research-informed dialogue. Runs /intuition-discovery"
|
|
247
|
-
MultiSelect: false
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
After the user selects, tell them to run the corresponding skill.
|
|
251
|
-
|
|
252
263
|
## BRIEF CURATION RULES
|
|
253
264
|
|
|
254
265
|
You are curating information for the user, not dumping files. Follow these rules:
|
|
@@ -267,6 +278,11 @@ You are curating information for the user, not dumping files. Follow these rules
|
|
|
267
278
|
- Scope: Simple/Moderate/Complex
|
|
268
279
|
- One key constraint
|
|
269
280
|
|
|
281
|
+
**For design summaries:**
|
|
282
|
+
- Design queue status (completed/in-progress/pending)
|
|
283
|
+
- Current item name
|
|
284
|
+
- Number of specs produced
|
|
285
|
+
|
|
270
286
|
**NEVER include:**
|
|
271
287
|
- Every assumption from discovery
|
|
272
288
|
- All context details
|
|
@@ -279,6 +295,7 @@ You are curating information for the user, not dumping files. Follow these rules
|
|
|
279
295
|
- **Missing files referenced by state**: Report what you found and what's missing. Don't try to fix it. Suggest `/intuition-handoff` if briefs need regeneration.
|
|
280
296
|
- **State says complete but output files missing**: "State indicates [phase] is complete but I can't find [file]. Run `/intuition-handoff` to reconcile, or check if the file was moved."
|
|
281
297
|
- **User manually edited memory files**: Trust file contents as source of truth. Report what you find.
|
|
298
|
+
- **Old v2.0 state schema detected** (has `discovery` instead of `prompt`): Treat `discovery` fields as `prompt` fields. Suggest running `/intuition-initialize` to update to v3.0 schema.
|
|
282
299
|
|
|
283
300
|
## VOICE
|
|
284
301
|
|