@tgoodington/intuition 9.5.0 → 10.1.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/README.md CHANGED
@@ -15,11 +15,10 @@ This installs 12 skills globally to `~/.claude/skills/`. Verify by typing `/` in
15
15
 
16
16
  ## Workflow
17
17
 
18
- Five phases with handoff transitions between each:
18
+ Two workflow modes:
19
19
 
20
- ```
21
- prompt → outline → [design] engineer → build
22
- ```
20
+ **v9 (current):** `prompt → outline → assemble → detail → build → test`
21
+ **v8 (legacy):** `prompt → outline → build` (with handoff transitions)
23
22
 
24
23
  The first cycle is the **trunk**. After completion, create **branches** for new features or changes.
25
24
 
@@ -29,18 +28,14 @@ The first cycle is the **trunk**. After completion, create **branches** for new
29
28
  /intuition-initialize # Set up project memory (once per project)
30
29
  /intuition-start # Check status, get routed to next step
31
30
  /intuition-prompt # Describe what you want to build
32
- /intuition-handoff # Process → move to outlining
33
31
  /intuition-outline # Create the blueprint
34
- /intuition-handoff # Review design flags
35
- /intuition-design # Elaborate flagged items (if any)
36
- /intuition-handoff # Prepare for engineering
37
- /intuition-engineer # Create code specifications
38
- /intuition-handoff # Prepare for build
32
+ /intuition-assemble # Match tasks to domain specialists
33
+ /intuition-detail # Specialists produce blueprints
39
34
  /intuition-build # Implement and verify
40
- /intuition-handoff # Complete the cycle
35
+ /intuition-test # Quality gate
41
36
  ```
42
37
 
43
- Run `/clear` before each phase skill to keep context clean. Not every project needs design — if the outline is clear enough, handoff skips straight to engineer.
38
+ Run `/clear` before each phase skill to keep context clean.
44
39
 
45
40
  ## Skills
46
41
 
@@ -49,20 +44,28 @@ Run `/clear` before each phase skill to keep context clean. Not every project ne
49
44
  | Skill | Model | Purpose |
50
45
  |-------|-------|---------|
51
46
  | `/intuition-prompt` | opus | Refines a rough idea into an outline-ready brief |
52
- | `/intuition-outline` | opus | Strategic blueprint with tasks, dependencies, design flags |
53
- | `/intuition-design` | opus | ECD framework design exploration for flagged items |
54
- | `/intuition-engineer` | opus | Code-level specs through research + interactive dialogue |
55
- | `/intuition-build` | sonnet | Delegates implementation, verifies against specs |
47
+ | `/intuition-outline` | opus | Strategic blueprint with tasks, dependencies, depth assessment |
48
+ | `/intuition-assemble` | sonnet | Matches tasks to domain specialists and producers |
49
+ | `/intuition-detail` | opus | Domain specialists produce detailed blueprints |
50
+ | `/intuition-build` | sonnet | Delegates implementation, verifies against blueprints |
51
+ | `/intuition-test` | opus | Post-build quality gate — test strategy and execution |
56
52
 
57
53
  ### Infrastructure
58
54
 
59
55
  | Skill | Model | Purpose |
60
56
  |-------|-------|---------|
61
57
  | `/intuition-start` | haiku | Detects phase, routes to next skill, version check |
62
- | `/intuition-handoff` | haiku | State transitions, brief generation, design loop |
58
+ | `/intuition-handoff` | sonnet | Branch creation, v8 state transitions, migrations |
63
59
  | `/intuition-initialize` | haiku | Project memory setup (run once) |
64
60
  | `/intuition-update` | haiku | Package update manager |
65
61
 
62
+ ### Standalone Tools
63
+
64
+ | Skill | Model | Purpose |
65
+ |-------|-------|---------|
66
+ | `/intuition-meander` | opus | Thought partner — reason through problems collaboratively |
67
+ | `/intuition-think-tank` | opus | Rapid expert-panel analysis of documents, ideas, or proposals |
68
+
66
69
  ### Advisory
67
70
 
68
71
  | Skill | Model | Purpose |
@@ -73,21 +76,12 @@ Run `/clear` before each phase skill to keep context clean. Not every project ne
73
76
 
74
77
  ## Key Concepts
75
78
 
76
- ### Engineer → Build Split
77
-
78
- - **Engineer** (opus) determines the code-level HOW: researches codebase, discusses decisions interactively, produces `code_specs.md`
79
- - **Build** (sonnet) implements against specs: delegates to subagents, verifies with reviewers, runs mandatory security review, produces `build_report.md`
80
-
81
79
  ### Trunk and Branches
82
80
 
83
81
  - **Trunk**: First prompt→build cycle — the foundation
84
82
  - **Branches**: Subsequent cycles that read parent context for continuity
85
83
  - After any cycle completes, `/intuition-start` offers branch creation or debugging
86
84
 
87
- ### Design Loop
88
-
89
- The outline flags tasks needing design exploration. Handoff manages a loop: design one item → check for more → design next or advance to engineer.
90
-
91
85
  ### Project Memory
92
86
 
93
87
  All workflow state and knowledge lives in `docs/project_notes/`:
@@ -103,8 +97,7 @@ intuition/
103
97
  │ ├── intuition-start/ # Session primer + routing
104
98
  │ ├── intuition-prompt/ # Discovery refinement
105
99
  │ ├── intuition-outline/ # Strategic outlining
106
- │ ├── intuition-design/ # ECD design exploration
107
- │ ├── intuition-engineer/ # Code spec creation
100
+ │ ├── intuition-meander/ # Thought partner
108
101
  │ ├── intuition-build/ # Implementation + verification
109
102
  │ ├── intuition-handoff/ # State transitions + briefs
110
103
  │ ├── intuition-debugger/ # Post-completion diagnostics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tgoodington/intuition",
3
- "version": "9.5.0",
3
+ "version": "10.1.0",
4
4
  "description": "Domain-adaptive workflow system for Claude Code: prompt, outline, assemble specialist teams, detail with domain experts, build with format producers, test code output. Supports v8 compat (design, engineer, build) and v9 specialist workflows with 14 domain specialists and 6 format producers.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -46,8 +46,8 @@ const skills = [
46
46
  'intuition-prompt',
47
47
  'intuition-handoff',
48
48
  'intuition-outline',
49
- 'intuition-design',
50
- 'intuition-engineer',
49
+ 'intuition-meander',
50
+ 'intuition-think-tank',
51
51
  'intuition-build',
52
52
  'intuition-test',
53
53
  'intuition-debugger',
@@ -117,6 +117,19 @@ try {
117
117
  log(`Removed old /intuition-execute skill (split into /intuition-engineer + /intuition-build in v8.0)`);
118
118
  }
119
119
 
120
+ // Remove old design/engineer skills if they exist (removed in v10.0)
121
+ const oldDesignDest = path.join(claudeSkillsDir, 'intuition-design');
122
+ if (fs.existsSync(oldDesignDest)) {
123
+ fs.rmSync(oldDesignDest, { recursive: true, force: true });
124
+ log(`Removed old /intuition-design skill (removed in v10.0)`);
125
+ }
126
+
127
+ const oldEngineerDest = path.join(claudeSkillsDir, 'intuition-engineer');
128
+ if (fs.existsSync(oldEngineerDest)) {
129
+ fs.rmSync(oldEngineerDest, { recursive: true, force: true });
130
+ log(`Removed old /intuition-engineer skill (removed in v10.0)`);
131
+ }
132
+
120
133
  // Remove old plan skill if it exists (renamed to outline in v9.1)
121
134
  const oldPlanDest = path.join(claudeSkillsDir, 'intuition-plan');
122
135
  if (fs.existsSync(oldPlanDest)) {
@@ -229,8 +242,8 @@ try {
229
242
  log(` /intuition-prompt - Focused discovery (prompt-engineering refinement)`);
230
243
  log(` /intuition-handoff - Handoff orchestrator (phase transitions + design loop)`);
231
244
  log(` /intuition-outline - Strategic outline (ARCH protocol + design flagging)`);
232
- log(` /intuition-design - Design exploration (ECD framework, domain-agnostic)`);
233
- log(` /intuition-engineer - Code spec creator (engineering decisions)`);
245
+ log(` /intuition-meander - Thought partner (reasoning + exploration)`);
246
+ log(` /intuition-think-tank - Rapid expert-panel analysis`);
234
247
  log(` /intuition-assemble - Team assembler (v9 specialist/producer matching)`);
235
248
  log(` /intuition-detail - Domain specialist orchestrator (v9 detail phase)`);
236
249
  log(` /intuition-build - Build manager (blueprint + producer delegation)`);
@@ -46,6 +46,9 @@ try {
46
46
  'intuition-prompt',
47
47
  'intuition-handoff',
48
48
  'intuition-outline',
49
+ 'intuition-meander',
50
+ 'intuition-think-tank',
51
+ // Legacy skills (removed in v10.0)
49
52
  'intuition-design',
50
53
  'intuition-engineer',
51
54
  'intuition-build',
@@ -79,6 +79,7 @@ Read these files:
79
79
  5. `{context_path}/scratch/*-decisions.json` (all specialist decision logs) — decision tiers and chosen options.
80
80
  6. `{context_path}/prompt_brief.md` — Commander's Intent, success criteria, non-negotiables (for Vision Alignment in report).
81
81
  7. `{context_path}/vision-review.md` (if exists) — flagged items from detail's vision review that build should address.
82
+ 8. `{context_path}/process_flow.md` (if exists) — end-to-end user flows, component interactions, data paths, error paths. Used for flow verification in Layer 2 and as orientation context for producers.
82
83
 
83
84
  From team_assignment.json, extract:
84
85
  - `specialist_assignments` — which specialist owns which tasks
@@ -165,6 +166,9 @@ The full blueprint contains all specifications — do not deviate from them.
165
166
 
166
167
  Output directory: [from blueprint's Producer Handoff]
167
168
  Output files: [from blueprint's Producer Handoff]
169
+
170
+ ## Flow Context (if process_flow.md exists)
171
+ [Extract the relevant flow segment from process_flow.md showing where this deliverable fits in the end-to-end path. This is for orientation only — your specifications come from the blueprint.]
168
172
  ```
169
173
 
170
174
  When building on a branch, add to subagent prompts:
@@ -218,6 +222,16 @@ Check the deliverable yourself against outline.md acceptance criteria:
218
222
 
219
223
  Log all deviations (additions and omissions) in the build report's "Deviations from Blueprint" section, even if they seem minor.
220
224
 
225
+ **Process flow verification (conditional):**
226
+ If `{context_path}/process_flow.md` exists, verify the produced deliverables match the described end-to-end flows:
227
+ - Trace each Core Flow's path against the implemented code. Do the components interact as described?
228
+ - Check that error paths described in process_flow.md have corresponding implementation.
229
+ - Check that integration seams have matching contracts on both sides.
230
+
231
+ Log any mismatches in the build report under "Process Flow Deviations." If a deviation affects what the end user sees or experiences, escalate via AskUserQuestion with options: "Fix the code to match the process flow" / "Accept the deviation" / "I need to think about this." If the user accepts a deviation, note in the build report that process_flow.md is stale at that section.
232
+
233
+ In **fast track mode**, treat process_flow.md as advisory only — log observations but do not escalate deviations (the document is in skeletal draft form without detail refinement).
234
+
221
235
  - If FAIL → send feedback back to the producer with specific acceptance criteria gaps. Do NOT proceed to Layer 3.
222
236
  - If PASS → proceed to Layer 3.
223
237
 
@@ -322,6 +336,13 @@ Write the build report to `{context_path}/build_report.md` AND display a summary
322
336
 
323
337
  [If no test deliverables were found in any blueprint, write "No test deliverables found in blueprints."]
324
338
 
339
+ ## Process Flow Deviations
340
+ [Cross-cutting deviations between implementation and process_flow.md. If no process_flow.md exists, write "N/A — no process flow document." If no deviations, write "None — implementation matches process flows."]
341
+
342
+ | Flow | Deviation | Resolution |
343
+ |------|-----------|------------|
344
+ | [flow name] | [what differs] | [Fixed / Accepted — user approved / Flagged for update] |
345
+
325
346
  ## Vision Alignment
326
347
  [Read `{context_path}/prompt_brief.md` — extract Success Criteria and Commander's Intent non-negotiables. Map each to the produced output.]
327
348
 
@@ -3,7 +3,7 @@ name: intuition-debugger
3
3
  description: Expert diagnostic and resolution service for completed workflow contexts. Investigates issues holistically — considering architectural alignment, security, ripple effects, maintenance burden, and functional correctness — then presents solution options in plain language for a non-technical creative director. Generates fast-track briefs when issues require upstream workflow passes.
4
4
  model: opus
5
5
  tools: Read, Write, Edit, Glob, Grep, Agent, AskUserQuestion, Bash, mcp__ide__getDiagnostics
6
- allowed-tools: Read, Write, Edit, Glob, Grep, Bash, mcp__ide__getDiagnostics
6
+ allowed-tools: Read, Write, Edit, Glob, Grep, Agent, Bash, mcp__ide__getDiagnostics
7
7
  ---
8
8
 
9
9
  # CRITICAL RULES
@@ -105,10 +105,11 @@ Read ALL of these before proceeding — build your understanding of what was bui
105
105
  - `docs/project_notes/bugs.md` — previously logged bugs
106
106
  - `{context_path}/scratch/*-decisions.json` — specialist decisions (if any exist)
107
107
 
108
- Also check for blueprints:
108
+ Also check for blueprints and process flow:
109
109
  - `{context_path}/blueprints/*.md` — detailed specialist blueprints (if detail phase ran)
110
+ - `{context_path}/process_flow.md` (if exists) — end-to-end user flows, component interactions, data paths, error paths, state mutations, integration seams, known invariants. This is your primary map of how the app works. Use it to understand upstream/downstream impact before reading source code.
110
111
 
111
- The gap between intended approach and actual implementation is where bugs hide. The decisions files tell you what constraints MUST be preserved.
112
+ The gap between intended approach and actual implementation is where bugs hide. The decisions files tell you what constraints MUST be preserved. The process flow document tells you how the pieces connect — trace the reported issue through the flow to understand the full impact chain.
112
113
 
113
114
  Do NOT read source code files yet. Read targeted code only after the user describes the issue.
114
115
 
@@ -164,7 +165,8 @@ With the root cause identified, evaluate through EVERY lens:
164
165
  - Check: input validation, output encoding, auth boundaries, data exposure.
165
166
 
166
167
  **Ripple Effects:**
167
- - Launch an `intuition-researcher` agent to map the dependency graph:
168
+ - If `{context_path}/process_flow.md` exists, start with it: identify which Core Flows pass through the affected area, what's upstream and downstream, and what state mutations or integration seams are involved. Use the Component Dependencies and Integration Seams sections to pre-map the blast radius before launching a researcher.
169
+ - Launch an `intuition-researcher` agent to verify and extend the process flow mapping against actual code:
168
170
  ```
169
171
  "Map all imports, usages, and dependents of [affected module/function/interface]
170
172
  across the codebase. Report: file paths, line numbers, how each usage depends
@@ -395,6 +397,14 @@ After the subagent returns:
395
397
  - **Prevention**: [How to avoid in future — what should the build process catch?]
396
398
  ```
397
399
 
400
+ **Update process flow (conditional)** — If `{context_path}/process_flow.md` exists AND the fix changes how a flow actually works (e.g., adds error handling that changes an error path, restructures a component interaction, or modifies state mutations):
401
+ 1. Read the current process_flow.md
402
+ 2. Update ONLY the specific flow section affected by the fix
403
+ 3. Add an entry to the Flow History table: `| [YYYY-MM-DD] | Debugger | [What changed] | [Fix for: brief issue description] |`
404
+ 4. Add or update the Known Fragile Areas section if the investigation revealed a fragile pattern
405
+
406
+ Do NOT update process_flow.md for fixes that don't change flow behavior (e.g., fixing a typo, correcting a calculation that doesn't change the data path). Do NOT rewrite the Overview or restructure the document. When generating a fast-track brief (upstream fix), do NOT update process_flow.md — the upstream workflow will update it after implementing changes.
407
+
398
408
  **Save Intuition memory** — When the investigation reveals something with cross-conversation value, save a memory file to `C:\Users\tgoodington\.claude\projects\C--Claude-Projects-Intuition\memory\`:
399
409
 
400
410
  Save a memory when:
@@ -404,6 +404,29 @@ Triggers when Step 8d finds no remaining specialists.
404
404
 
405
405
  **9a. Conflict detection.** Spawn an `intuition-researcher` agent: "Read all blueprint files in `{context_path}/blueprints/`. Compare for: contradictory decisions, overlapping file modifications with conflicting changes, inconsistent interface assumptions, and duplicated work. Write findings to `{context_path}/blueprint-conflicts.md`. If no conflicts, write 'No conflicts detected.'" Wait for completion. If conflicts found, present to user via AskUserQuestion and resolve before continuing.
406
406
 
407
+ **9a-ii. Process flow synthesis (conditional).** Skip this step if `{context_path}/process_flow.md` does not exist (non-code project or Lightweight outline).
408
+
409
+ If `process_flow.md` exists, spawn an `intuition-synthesizer` agent:
410
+
411
+ "Read these files:
412
+ 1. `{context_path}/process_flow.md` — the outline's initial WHAT-level flow draft
413
+ 2. For each blueprint in `{context_path}/blueprints/`: read Section 3 (Approach) and Section 7 (Integration Points) only
414
+
415
+ Refine the process flow document with specialist knowledge. The outline draft describes flows at the WHAT level. Your job is to add the HOW:
416
+ - Fill in concrete data paths, state transitions, and error propagation chains from the blueprints
417
+ - Add state mutations per flow (which stores are written, by which step)
418
+ - Add known invariants per flow (things that MUST remain true)
419
+ - Populate the Component Dependencies section from blueprint integration points
420
+ - Populate Integration Seams with contracts and failure modes
421
+ - Resolve any conflicts between the outline's assumed flows and specialist approaches (specialist knowledge supersedes outline assumptions — they had deeper research)
422
+ - Update the Flow History table
423
+
424
+ Keep the document under 200 lines for Standard-tier projects, under 400 for Comprehensive. Be terse — structured steps, not prose.
425
+
426
+ Write the refined document to `{context_path}/process_flow.md` (overwriting the outline's draft)."
427
+
428
+ Wait for completion. If the vision review (9b) later triggers a specialist re-run, re-run this synthesis step after the re-run completes.
429
+
407
430
  **9b. Vision review.** Skip this step if only 1 specialist completed (no cross-specialist seams to check).
408
431
 
409
432
  For multi-specialist projects, spawn an `intuition-reviewer` agent:
@@ -411,7 +434,8 @@ For multi-specialist projects, spawn an `intuition-reviewer` agent:
411
434
  "Read these files:
412
435
  1. `{context_path}/prompt_brief.md` — extract Commander's Intent (desired end state, non-negotiables, boundaries) and Success Criteria
413
436
  2. `{context_path}/outline.md` — extract the task list and acceptance criteria
414
- 3. For each blueprint in `{context_path}/blueprints/`: read the Approach section (Section 3) and Acceptance Mapping section (Section 6) only skip the full deliverable specs
437
+ 3. `{context_path}/process_flow.md` (if exists) — the refined end-to-end flow document. Check that flows honor Commander's Intent and that no seams are missing.
438
+ 4. For each blueprint in `{context_path}/blueprints/`: read the Approach section (Section 3) and Acceptance Mapping section (Section 6) only — skip the full deliverable specs
415
439
 
416
440
  Then evaluate the blueprints AS A WHOLE against the original vision:
417
441
 
@@ -3,7 +3,7 @@ name: intuition-initialize
3
3
  description: Set up project memory infrastructure with workflow state tracking, memory files, and configuration templates.
4
4
  model: haiku
5
5
  tools: Read, Write, Glob, Grep, Bash, AskUserQuestion
6
- allowed-tools: Read, Write, Glob, Grep
6
+ allowed-tools: Read, Write, Glob, Grep, Bash
7
7
  ---
8
8
 
9
9
  # Initialize - Project Memory Setup Protocol
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- This project uses a multi-agent system coordinated by Intuition (`@tgoodington/intuition`), a Claude Code skill system. Twelve specialized skills handle prompt refinement, planning, design exploration, code engineering, and build execution, with memory maintained in `docs/project_notes/` for consistency across sessions.
5
+ This project uses a multi-agent system coordinated by Intuition (`@tgoodington/intuition`), a Claude Code skill system. Specialized skills handle prompt refinement, planning, domain-specialist detailing, and build execution, with memory maintained in `docs/project_notes/` for consistency across sessions.
6
6
 
7
7
  ## Workflow Skills
8
8
 
@@ -12,9 +12,10 @@ This project uses a multi-agent system coordinated by Intuition (`@tgoodington/i
12
12
  |-------|-------|-------------|
13
13
  | `/intuition-prompt` | opus | Transforms a rough vision into a planning-ready brief through focused iterative refinement |
14
14
  | `/intuition-outline` | opus | Strategic architect — maps stakeholders, explores components, evaluates options, creates executable blueprint |
15
- | `/intuition-design` | opus | Elaborates flagged plan items through ECD framework (Elements, Connections, Dynamics) |
16
- | `/intuition-engineer` | opus | Creates code-level specifications through codebase research and interactive dialogue → `code_specs.md` |
17
- | `/intuition-build` | sonnet | Delegates implementation to subagents, verifies outputs against code specs and acceptance criteria |
15
+ | `/intuition-assemble` | sonnet | Matches tasks to domain specialists and format producers |
16
+ | `/intuition-detail` | opus | Domain specialists produce detailed blueprints through exploration and user gates |
17
+ | `/intuition-build` | sonnet | Delegates implementation to subagents, verifies outputs against blueprints and acceptance criteria |
18
+ | `/intuition-test` | opus | Post-build quality gate — test strategy design and execution |
18
19
 
19
20
  ### Infrastructure
20
21
 
@@ -29,6 +30,8 @@ This project uses a multi-agent system coordinated by Intuition (`@tgoodington/i
29
30
 
30
31
  | Skill | Model | What it does |
31
32
  |-------|-------|-------------|
33
+ | `/intuition-meander` | opus | Thought partner — collaborative reasoning and problem exploration |
34
+ | `/intuition-think-tank` | opus | Rapid expert-panel analysis of documents, ideas, or proposals |
32
35
  | `/intuition-debugger` | opus | Expert debugger — 5 diagnostic categories, causal chain analysis, post-completion only |
33
36
  | `/intuition-agent-advisor` | opus | Expert advisor on building custom Claude Code agents |
34
37
  | `/intuition-skill-guide` | opus | Expert advisor on building custom Claude Code skills |
@@ -41,12 +44,11 @@ This project uses a multi-agent system coordinated by Intuition (`@tgoodington/i
41
44
 
42
45
  ## Workflow
43
46
 
44
- ### Trunk (first cycle)
47
+ ### Trunk (first cycle, v9)
45
48
 
46
49
  ```
47
- /intuition-prompt → handoff → /intuition-outline → handoff
48
- [/intuition-design loop] handoff → /intuition-engineerhandoff →
49
- /intuition-build → handoff → complete
50
+ /intuition-prompt → /intuition-outline → /intuition-assemble
51
+ /intuition-detail/intuition-build → /intuition-testcomplete
50
52
  ```
51
53
 
52
54
  Each handoff transition:
@@ -64,18 +66,9 @@ After trunk completes, run `/intuition-start` to:
64
66
 
65
67
  Branches follow the same 5-phase workflow but read parent context for continuity.
66
68
 
67
- ### Design Loop (optional)
69
+ ### Detail Phase (v9)
68
70
 
69
- The plan flags tasks requiring design exploration (Section 6.5). If design items exist:
70
- 1. Handoff generates a design brief for the first item
71
- 2. `/intuition-design` elaborates it using the ECD framework
72
- 3. Handoff checks for remaining items → loops back or advances to engineer
73
-
74
- ### Engineer → Build Split
75
-
76
- - **Engineer** (opus, interactive) determines the code-level HOW: reads codebase via research subagents, discusses decisions with you, produces `code_specs.md`
77
- - **Build** (sonnet, PM) implements against specs: delegates to Code Writer subagents, verifies with Code Reviewer, runs mandatory Security Expert review, produces `build_report.md`
78
- - Build makes NO engineering decisions — it matches output to specs
71
+ The outline assesses every task by domain and depth. The assemble phase matches tasks to domain specialists. The detail phase runs each specialist through exploration → user gate → blueprint specification.
79
72
 
80
73
  ## Build Sub-Agents
81
74
 
@@ -5,13 +5,11 @@ This project uses a five-phase workflow coordinated by the Intuition system, wit
5
5
  ### Workflow Model
6
6
 
7
7
  The Intuition workflow uses a trunk-and-branch model:
8
- - **Trunk**: The first prompt→plandesignengineerbuild cycle. Represents the core vision.
8
+ - **Trunk**: The first prompt→outlinedetailbuildtest cycle. Represents the core vision.
9
9
  - **Branches**: Subsequent cycles that build on, extend, or diverge from trunk or other branches.
10
10
  - **Debugger**: Post-completion diagnostic specialist for hard problems.
11
11
 
12
- All phases: `/intuition-prompt` → `/intuition-handoff` → `/intuition-outline` → `/intuition-handoff` →
13
- `[/intuition-design loop]` → `/intuition-handoff` → `/intuition-engineer` → `/intuition-handoff` →
14
- `/intuition-build` → `/intuition-handoff` → complete
12
+ v9 workflow: `/intuition-prompt` → `/intuition-outline` → `/intuition-assemble` → `/intuition-detail` → `/intuition-build` → `/intuition-test` → complete
15
13
 
16
14
  After completion: `/intuition-start` to create branches or `/intuition-debugger` to debug issues.
17
15
 
@@ -36,29 +34,30 @@ The project follows a structured workflow with handoff transitions between phase
36
34
  - Flags tasks requiring design exploration with rationale
37
35
  - Output: `outline.md` with tasks, dependencies, risks, design recommendations
38
36
 
39
- **Design** — `/intuition-design`
40
- - Detailed design exploration for flagged plan items
41
- - Framework: ECD (Elements, Connections, Dynamics)
42
- - Domain-agnostic: works for code, world building, UI, documents, or any creative/structural work
43
- - Runs once per flagged item in a loop managed by handoff
44
- - Output: Design specifications per item
37
+ **Assemble** — `/intuition-assemble`
38
+ - Matches outline tasks to domain specialists and format producers
39
+ - Writes team_assignment.json for the detail phase
45
40
 
46
- **Engineering** — `/intuition-engineer`
47
- - Creates code-level specifications through codebase research and interactive dialogue
48
- - Research subagents read codebase, engineer discusses decisions with user
49
- - Output: `code_specs.md` determines the code-level HOW for every task
41
+ **Detail** — `/intuition-detail`
42
+ - Domain specialists produce detailed blueprints
43
+ - Stage 1 exploration user gate Stage 2 specification
44
+ - Output: Blueprints per specialist domain
50
45
 
51
46
  **Build** — `/intuition-build`
52
- - Delegates implementation to subagents, verifies against code specs and acceptance criteria
47
+ - Delegates implementation to format producers, verifies against blueprints and acceptance criteria
53
48
  - Mandatory security review before completion
54
- - Makes NO engineering decisions matches output to specs
55
- - Output: `build_report.md` — task outcomes, files modified, deviations from specs
49
+ - Output: `build_report.md`task outcomes, files modified
50
+
51
+ **Test** — `/intuition-test`
52
+ - Post-build quality gate
53
+ - Designs test strategy, creates tests, runs fix cycles
54
+ - Output: `test_report.md`
56
55
 
57
56
  **Session Primer** — `/intuition-start`
58
57
  - Loads project context, detects workflow phase, suggests next step
59
58
  - Run at the start of any session to get oriented
60
59
 
61
- **Recommended Flow**: Prompt → HandoffPlanHandoff[Design Loop] → Handoff → Engineer → Handoff → Build → Handoff → complete
60
+ **Recommended Flow (v9)**: Prompt → OutlineAssembleDetail → Build → Test → complete
62
61
 
63
62
  Run `/clear` before each phase skill. After completion, run `/intuition-start` to create a branch or invoke `/intuition-debugger` to debug issues.
64
63
 
@@ -74,11 +73,11 @@ Run `/clear` before each phase skill. After completion, run `/intuition-start` t
74
73
  **Phase Output Files** (created during workflow, in `{context_path}/`):
75
74
  - **outline_brief.md** — Brief for outline phase (created by Handoff)
76
75
  - **outline.md** — Structured project outline with design recommendations
77
- - **design_brief.md** — Brief for current design item (created/updated by Handoff)
78
- - **engineering_brief.md**Brief for engineering phase (created by Handoff)
79
- - **code_specs.md** — Code-level specifications (created by Engineer)
80
- - **build_brief.md** — Brief for build phase (created by Handoff)
76
+ - **team_assignment.json** — Specialist/producer assignments (created by Assemble)
77
+ - **blueprints/**Detailed blueprints per specialist (created by Detail)
78
+ - **build_brief.md** — Brief for build phase (created by Handoff, v8)
81
79
  - **build_report.md** — Task outcomes and files modified (created by Build)
80
+ - **test_report.md** — Test results and coverage (created by Test)
82
81
 
83
82
  ### Memory-Aware Protocols
84
83
 
@@ -115,20 +114,17 @@ Run `/clear` before each phase skill. After completion, run `/intuition-start` t
115
114
  **When user suggests outline work:**
116
115
  - "This sounds like a good candidate for planning. Use `/intuition-handoff` to process the brief, then `/intuition-outline` to develop a structured approach."
117
116
 
118
- **When plan is ready and has design items:**
119
- - "The plan looks ready! Use `/intuition-handoff` to review design recommendations and start the design loop."
120
-
121
- **When design items are complete:**
122
- - "All design specs are done! Use `/intuition-handoff` to prepare the engineering brief."
117
+ **When outline is ready:**
118
+ - "Outline looks ready! Use `/intuition-assemble` to match tasks to specialists."
123
119
 
124
- **When user is ready to engineer:**
125
- - "Engineering brief is ready! Use `/intuition-engineer` to create code specifications."
120
+ **When assembly is complete:**
121
+ - "Team assigned! Use `/intuition-detail` to start the specialist blueprint phase."
126
122
 
127
- **When engineering is complete:**
128
- - "Code specs are ready! Use `/intuition-handoff` to prepare the build brief."
129
-
130
- **When user is ready to build:**
131
- - "Build brief is ready! Use `/intuition-build` to kick off implementation."
123
+ **When detail is complete:**
124
+ - "Blueprints ready! Use `/intuition-build` to kick off implementation."
132
125
 
133
126
  **When build is complete:**
127
+ - "Build done! Use `/intuition-test` to run the quality gate."
128
+
129
+ **When test is complete:**
134
130
  - "Workflow cycle complete! Use `/intuition-start` to create a branch for new work, or `/intuition-debugger` to debug any issues."
@@ -1,26 +1,19 @@
1
1
  # Intuition
2
2
 
3
- A trunk-and-branch workflow system for Claude Code. Turns rough ideas into structured plans, detailed designs, code specifications, and verified implementations through guided dialogue. Supports iterative development through independent branch cycles and post-completion debugging.
3
+ A trunk-and-branch workflow system for Claude Code. Turns rough ideas into structured plans, specialist-driven blueprints, and verified implementations through guided dialogue.
4
4
 
5
5
  ## Workflow
6
6
 
7
7
  ```
8
- /intuition-prompt /intuition-handoff /intuition-outline /intuition-handoff
9
-
10
- [design loop, if needed]
11
-
12
- /intuition-handoff → /intuition-engineer
13
-
14
- /intuition-build ← /intuition-handoff
15
-
16
- /intuition-handoff → complete
17
-
18
- /intuition-start → create branch or /intuition-debugger
8
+ /intuition-prompt /intuition-outline /intuition-assemble
9
+ /intuition-detail → /intuition-build → /intuition-test → complete
10
+
11
+ /intuition-start → create branch or /intuition-debugger
19
12
  ```
20
13
 
21
- Run `/intuition-handoff` between every phase. It manages state, generates briefs, and routes you forward. Run `/clear` before each new phase skill to keep context clean.
14
+ Run `/clear` before each new phase skill to keep context clean.
22
15
 
23
- The first prompt→build cycle is the **trunk**. After trunk completes, create **branches** for new features or changes. Use `/intuition-debugger` to investigate hard problems in any completed context.
16
+ The first cycle is the **trunk**. After trunk completes, create **branches** for new features or changes. Use `/intuition-debugger` to investigate hard problems in any completed context.
24
17
 
25
18
  ## Skills
26
19
 
@@ -28,13 +21,16 @@ The first prompt→build cycle is the **trunk**. After trunk completes, create *
28
21
  |-------|-------------|
29
22
  | `/intuition-start` | Detects where you left off, shows project status, routes to next step or branch creation |
30
23
  | `/intuition-prompt` | Sharpens a rough idea into a planning-ready brief through focused Q&A |
31
- | `/intuition-outline` | Builds a strategic blueprint with tasks, decisions, and design flags |
32
- | `/intuition-design` | Elaborates flagged items through collaborative design exploration (ECD framework) |
33
- | `/intuition-engineer` | Creates code-level specifications through codebase research and interactive dialogue |
34
- | `/intuition-build` | Delegates implementation to subagents, verifies against code specs and acceptance criteria |
24
+ | `/intuition-outline` | Builds a strategic blueprint with tasks, depth assessment, and domain classification |
25
+ | `/intuition-assemble` | Matches tasks to domain specialists and format producers |
26
+ | `/intuition-detail` | Domain specialists produce detailed blueprints through exploration and user gates |
27
+ | `/intuition-build` | Delegates implementation to subagents, verifies against blueprints and acceptance criteria |
28
+ | `/intuition-test` | Post-build quality gate — test strategy design and execution |
35
29
  | `/intuition-debugger` | Expert debugger — diagnostic specialist for complex bugs, cross-context failures, performance issues |
36
- | `/intuition-handoff` | Processes phase outputs, updates memory, prepares the next phase |
30
+ | `/intuition-handoff` | Branch creation, v8 state transitions, migrations |
37
31
  | `/intuition-initialize` | Sets up project memory (you already ran this) |
32
+ | `/intuition-meander` | Thought partner — reason through problems collaboratively |
33
+ | `/intuition-think-tank` | Rapid expert-panel analysis of documents, ideas, or proposals |
38
34
 
39
35
  ## Quick Start
40
36
 
@@ -42,17 +38,13 @@ The first prompt→build cycle is the **trunk**. After trunk completes, create *
42
38
 
43
39
  1. `/intuition-start` — see where you are
44
40
  2. `/intuition-prompt` — describe what you want to build
45
- 3. `/intuition-handoff` — process and move to outline
46
- 4. `/intuition-outline` — create the blueprint
47
- 5. `/intuition-handoff` — review design flags, confirm items
48
- 6. `/intuition-design` — elaborate each flagged item (repeat with handoff between)
49
- 7. `/intuition-handoff` — prepare for engineering
50
- 8. `/intuition-engineer` — create code specifications
51
- 9. `/intuition-handoff` — prepare for build
52
- 10. `/intuition-build` — implement and verify
53
- 11. `/intuition-handoff` — complete the cycle
41
+ 3. `/intuition-outline` — create the blueprint
42
+ 4. `/intuition-assemble` — match tasks to specialists
43
+ 5. `/intuition-detail` — specialists produce blueprints
44
+ 6. `/intuition-build` — implement and verify
45
+ 7. `/intuition-test` — quality gate
54
46
 
55
- Not every project needs design. If the plan is clear enough, handoff skips straight to engineer. Run `/clear` before each phase skill.
47
+ Run `/clear` before each phase skill.
56
48
 
57
49
  ### After trunk completes (branches)
58
50