@tgoodington/intuition 1.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/README.md +329 -0
- package/agents/architect.md +426 -0
- package/agents/code-reviewer.md +186 -0
- package/agents/code-writer.md +140 -0
- package/agents/documentation.md +164 -0
- package/agents/research.md +179 -0
- package/agents/security-expert.md +238 -0
- package/agents/test-runner.md +168 -0
- package/agents/waldo.md +457 -0
- package/bin/intuition.js +216 -0
- package/package.json +36 -0
- package/scripts/install-skills.js +127 -0
- package/scripts/uninstall-skills.js +78 -0
- package/skills/intuition-execute/SKILL.md +181 -0
- package/skills/intuition-execute/references/architect_core.md +419 -0
- package/skills/intuition-execute/references/sub_agents.md +285 -0
- package/skills/intuition-execute/references/templates/execution_report.md +323 -0
- package/skills/intuition-execute/references/templates/parallel_execution.md +371 -0
- package/skills/intuition-execute/references/templates/task_delegation.md +327 -0
- package/skills/intuition-initialize/SKILL.md +960 -0
- package/skills/intuition-initialize/references/bugs_template.md +41 -0
- package/skills/intuition-initialize/references/decisions_template.md +92 -0
- package/skills/intuition-initialize/references/issues_template.md +76 -0
- package/skills/intuition-initialize/references/key_facts_template.md +158 -0
- package/skills/intuition-initialize/references/project_plan_template.md +151 -0
- package/skills/intuition-initialize/references/state_template.json +26 -0
- package/skills/intuition-plan/SKILL.md +109 -0
- package/skills/intuition-plan/references/sub_agents.md +98 -0
- package/skills/intuition-plan/references/templates/confidence_scoring.md +199 -0
- package/skills/intuition-plan/references/templates/plan_format.md +110 -0
- package/skills/intuition-plan/references/templates/planning_process.md +219 -0
- package/skills/intuition-plan/references/waldo_core.md +446 -0
- package/skills/intuition-start/SKILL.md +159 -0
package/README.md
ADDED
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
# Intuition
|
|
2
|
+
|
|
3
|
+
Four Claude Code skills for structured planning, execution orchestration, project initialization, and compliance enforcement.
|
|
4
|
+
|
|
5
|
+
Intuition provides:
|
|
6
|
+
- **`/intuition-start`**: Load project context and enforce compliance with documented protocols
|
|
7
|
+
- **`/intuition-plan`**: Waldo planning agent for thoughtful architecture and feature planning
|
|
8
|
+
- **`/intuition-execute`**: Architect execution orchestrator for implementing approved plans
|
|
9
|
+
- **`/intuition-initialize`**: Project initialization for structured knowledge system tracking decisions, bugs, and progress
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Install globally
|
|
15
|
+
npm install -g .
|
|
16
|
+
|
|
17
|
+
# In Claude Code, typical workflow:
|
|
18
|
+
/intuition-initialize # Set up project memory (once per project)
|
|
19
|
+
/intuition-start # Load context at start of session
|
|
20
|
+
/intuition-plan "..." # Plan new features
|
|
21
|
+
/intuition-execute # Execute the plan
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Skills
|
|
25
|
+
|
|
26
|
+
### `/intuition-start` Skill
|
|
27
|
+
|
|
28
|
+
Load your project context and enforce compliance with documented protocols.
|
|
29
|
+
|
|
30
|
+
**Usage:**
|
|
31
|
+
```
|
|
32
|
+
/intuition-start
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**What happens:**
|
|
36
|
+
1. Reads project memory files (bugs.md, decisions.md, key_facts.md, issues.md)
|
|
37
|
+
2. Reads protocol documents (CLAUDE.md, AGENTS.md)
|
|
38
|
+
3. Summarizes project status, decisions, and constraints
|
|
39
|
+
4. Primes Waldo and Architect to follow project patterns
|
|
40
|
+
5. Offers next steps (plan, execute, or continue work)
|
|
41
|
+
|
|
42
|
+
**When to use:** Start of every session to load full project context.
|
|
43
|
+
|
|
44
|
+
### `/intuition-plan` Skill
|
|
45
|
+
|
|
46
|
+
Start a planning session with Waldo, your planning thought partner.
|
|
47
|
+
|
|
48
|
+
**Usage:**
|
|
49
|
+
```
|
|
50
|
+
/intuition-plan "Implement real-time notifications with WebSockets"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**What happens:**
|
|
54
|
+
1. Auto-initializes project memory on first run (creates `docs/project_notes/`)
|
|
55
|
+
2. Waldo engages in dialogue to understand your goals
|
|
56
|
+
3. Waldo researches your codebase and develops a detailed plan through reflection and refinement
|
|
57
|
+
4. Plan is saved to `docs/project_notes/project_plan.md`
|
|
58
|
+
5. You can review and approve before execution
|
|
59
|
+
|
|
60
|
+
### `/intuition-execute` Skill
|
|
61
|
+
|
|
62
|
+
Execute an existing plan with Architect, the execution orchestrator.
|
|
63
|
+
|
|
64
|
+
**Usage:**
|
|
65
|
+
```
|
|
66
|
+
/intuition-execute
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**What happens:**
|
|
70
|
+
1. Architect reads your plan from `docs/project_notes/project_plan.md`
|
|
71
|
+
2. Reviews plan for feasibility and gaps
|
|
72
|
+
3. Creates tasks with dependencies
|
|
73
|
+
4. Delegates implementation to specialized sub-agents
|
|
74
|
+
5. Verifies outputs and reports completion
|
|
75
|
+
|
|
76
|
+
**Prerequisite:** A plan must exist from a previous `/intuition-plan` session
|
|
77
|
+
|
|
78
|
+
### `/intuition-initialize` Skill
|
|
79
|
+
|
|
80
|
+
Initialize the project memory system.
|
|
81
|
+
|
|
82
|
+
**Usage:**
|
|
83
|
+
```
|
|
84
|
+
/intuition-initialize
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**What happens:**
|
|
88
|
+
1. Creates `docs/project_notes/` directory structure
|
|
89
|
+
2. Sets up memory files:
|
|
90
|
+
- `bugs.md` - Bug log with solutions
|
|
91
|
+
- `decisions.md` - Architectural decisions
|
|
92
|
+
- `key_facts.md` - Project configuration
|
|
93
|
+
- `issues.md` - Work log
|
|
94
|
+
3. Configures project memory tracking
|
|
95
|
+
4. Sets up CLAUDE.md and AGENTS.md with memory-aware protocols
|
|
96
|
+
|
|
97
|
+
## Workflow
|
|
98
|
+
|
|
99
|
+
A typical Intuition workflow in Claude Code:
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
1. /intuition-initialize
|
|
103
|
+
└─ Initialize project memory system in docs/project_notes/
|
|
104
|
+
|
|
105
|
+
2. /intuition-start (at beginning of each session)
|
|
106
|
+
└─ Load project context and enforce protocol compliance
|
|
107
|
+
└─ Understand project decisions, constraints, and status
|
|
108
|
+
|
|
109
|
+
3. /intuition-plan "Feature description"
|
|
110
|
+
└─ Work with Waldo to develop a comprehensive plan
|
|
111
|
+
└─ Plan saved to docs/project_notes/project_plan.md
|
|
112
|
+
└─ Review and approve plan
|
|
113
|
+
|
|
114
|
+
4. /intuition-execute
|
|
115
|
+
└─ Architect reads the plan and enforces compliance
|
|
116
|
+
└─ Delegates work to specialized sub-agents
|
|
117
|
+
└─ Executes plan tasks with verification
|
|
118
|
+
└─ Reports completion
|
|
119
|
+
|
|
120
|
+
5. (Iterate as needed)
|
|
121
|
+
└─ /intuition-start (reload context for new session)
|
|
122
|
+
└─ /intuition-plan "Next phase"
|
|
123
|
+
└─ /intuition-execute
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Using Intuition Skills
|
|
127
|
+
|
|
128
|
+
After installation via npm, the four Intuition skills are available globally in Claude Code:
|
|
129
|
+
|
|
130
|
+
### `/intuition-initialize` Skill
|
|
131
|
+
|
|
132
|
+
Set up project memory and structured knowledge system.
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
/intuition-initialize
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
This creates:
|
|
139
|
+
- `docs/project_notes/bugs.md` - Bug log with solutions
|
|
140
|
+
- `docs/project_notes/decisions.md` - Architectural decisions
|
|
141
|
+
- `docs/project_notes/key_facts.md` - Project configuration
|
|
142
|
+
- `docs/project_notes/issues.md` - Work log
|
|
143
|
+
- Configures CLAUDE.md and AGENTS.md with memory protocols
|
|
144
|
+
|
|
145
|
+
**Run this first** when starting a new project.
|
|
146
|
+
|
|
147
|
+
### `/intuition-plan` Skill
|
|
148
|
+
|
|
149
|
+
Start a planning session with Waldo:
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
/intuition-plan "Add user authentication to the app"
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Waldo will:
|
|
156
|
+
1. Engage in dialogue to understand your goals
|
|
157
|
+
2. Research your codebase for context
|
|
158
|
+
3. Develop a structured plan with confidence scoring
|
|
159
|
+
4. Reflect and refine before finalizing
|
|
160
|
+
5. Save the plan to `docs/project_notes/project_plan.md`
|
|
161
|
+
|
|
162
|
+
### `/intuition-execute` Skill
|
|
163
|
+
|
|
164
|
+
Execute an existing plan with Architect:
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
/intuition-execute
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Architect will:
|
|
171
|
+
1. Read your plan from `docs/project_notes/project_plan.md`
|
|
172
|
+
2. Review for feasibility and gaps
|
|
173
|
+
3. Create tasks with dependencies
|
|
174
|
+
4. Delegate to specialized sub-agents
|
|
175
|
+
5. Verify outputs and report completion
|
|
176
|
+
|
|
177
|
+
**Prerequisite:** A plan must exist from a previous `/intuition-plan` session.
|
|
178
|
+
|
|
179
|
+
### Verification
|
|
180
|
+
|
|
181
|
+
To verify installation in Claude Code:
|
|
182
|
+
|
|
183
|
+
1. Open any project in Claude Code
|
|
184
|
+
2. Type `/` to see available skills
|
|
185
|
+
3. You should see `/intuition-start`, `/intuition-plan`, `/intuition-execute`, and `/intuition-initialize`
|
|
186
|
+
|
|
187
|
+
If skills are not available:
|
|
188
|
+
- Ensure installation completed (check `~/.claude/skills/` contains the skill directories)
|
|
189
|
+
- Restart Claude Code if just installed
|
|
190
|
+
- See [INSTALLATION.md](./INSTALLATION.md) for troubleshooting
|
|
191
|
+
|
|
192
|
+
## Project Structure
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
intuition/
|
|
196
|
+
├── skills/
|
|
197
|
+
│ ├── intuition-start/ # Context loading and compliance enforcement
|
|
198
|
+
│ ├── intuition-plan/ # Planning with Waldo
|
|
199
|
+
│ ├── intuition-execute/ # Execution with Architect
|
|
200
|
+
│ └── intuition-initialize/ # Project memory setup
|
|
201
|
+
├── agents/
|
|
202
|
+
│ ├── waldo.md # Planning agent definition
|
|
203
|
+
│ ├── architect.md # Execution orchestrator
|
|
204
|
+
│ └── [other sub-agents]
|
|
205
|
+
├── scripts/
|
|
206
|
+
│ └── install-skills.js # Installation script
|
|
207
|
+
├── package.json # npm package config
|
|
208
|
+
└── README.md # This file
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## Agents
|
|
212
|
+
|
|
213
|
+
### Waldo - Planning Thought Partner
|
|
214
|
+
|
|
215
|
+
Waldo specializes in collaborative planning. When you run `intuition plan`, Waldo:
|
|
216
|
+
- Engages in dialogue to understand your goals
|
|
217
|
+
- Researches your codebase for context
|
|
218
|
+
- Develops structured plans with confidence scoring
|
|
219
|
+
- Reflects and refines before finalizing
|
|
220
|
+
- Outputs markdown plans for review
|
|
221
|
+
|
|
222
|
+
Read more in `agents/waldo.md`
|
|
223
|
+
|
|
224
|
+
### Architect - Execution Orchestrator
|
|
225
|
+
|
|
226
|
+
Architect specializes in execution coordination. When you run `intuition execute`, Architect:
|
|
227
|
+
- Reviews the plan for completeness
|
|
228
|
+
- Breaks plans into discrete tasks
|
|
229
|
+
- Delegates to specialized sub-agents (Code Writer, Test Runner, etc.)
|
|
230
|
+
- Verifies outputs against acceptance criteria
|
|
231
|
+
- Handles failures with retry/fallback strategies
|
|
232
|
+
|
|
233
|
+
Read more in `agents/architect.md`
|
|
234
|
+
|
|
235
|
+
## Project Memory System
|
|
236
|
+
|
|
237
|
+
Intuition includes a project memory system that maintains institutional knowledge across sessions.
|
|
238
|
+
|
|
239
|
+
**Memory files:**
|
|
240
|
+
- `docs/project_notes/bugs.md` - Known bugs and solutions
|
|
241
|
+
- `docs/project_notes/decisions.md` - Architectural decisions
|
|
242
|
+
- `docs/project_notes/key_facts.md` - Project configuration
|
|
243
|
+
- `docs/project_notes/issues.md` - Work log and tickets
|
|
244
|
+
|
|
245
|
+
Memory is automatically referenced by Waldo and Architect to maintain consistency and avoid repeating past mistakes.
|
|
246
|
+
|
|
247
|
+
See `skills/intuition-initialize/SKILL.md` for full details.
|
|
248
|
+
|
|
249
|
+
## Installation
|
|
250
|
+
|
|
251
|
+
### Install Globally via npm (Recommended)
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
npm install -g intuition
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
This automatically installs the four Intuition skills to `~/.claude/skills/` for use across all projects with Claude Code:
|
|
258
|
+
- `/intuition-start` - Load project context
|
|
259
|
+
- `/intuition-plan` - Planning with Waldo
|
|
260
|
+
- `/intuition-execute` - Execution with Architect
|
|
261
|
+
- `/intuition-initialize` - Project initialization
|
|
262
|
+
|
|
263
|
+
**Verification:**
|
|
264
|
+
```bash
|
|
265
|
+
ls ~/.claude/skills/intuition-*
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Install from Source (Development)
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
cd intuition
|
|
272
|
+
npm install -g .
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
After installation, restart Claude Code and the skills will be available globally.
|
|
276
|
+
|
|
277
|
+
## Requirements
|
|
278
|
+
|
|
279
|
+
- Node.js 14.0.0 or higher
|
|
280
|
+
- Access to Claude Code or similar agent system
|
|
281
|
+
|
|
282
|
+
## Architecture
|
|
283
|
+
|
|
284
|
+
Intuition provides four integrated skills for Claude Code:
|
|
285
|
+
|
|
286
|
+
1. **Context Loading** (`/intuition-start`) - Loads project memory and enforces protocol compliance
|
|
287
|
+
2. **Initialization** (`/intuition-initialize`) - Sets up project memory and knowledge system
|
|
288
|
+
3. **Planning** (`/intuition-plan` with Waldo agent) - Structured planning with reflection and dialogue
|
|
289
|
+
4. **Execution** (`/intuition-execute` with Architect agent) - Orchestration and verification through sub-agents
|
|
290
|
+
|
|
291
|
+
All skills coordinate through the project memory system (`docs/project_notes/`) for consistency and context across sessions. `/intuition-start` ensures every session begins with full project context and compliance enforcement.
|
|
292
|
+
|
|
293
|
+
### Sub-Agent System
|
|
294
|
+
|
|
295
|
+
When `/execute` runs, Architect delegates to specialized sub-agents:
|
|
296
|
+
- Code Writer - Implementation
|
|
297
|
+
- Test Runner - Verification
|
|
298
|
+
- Code Reviewer - Quality assurance
|
|
299
|
+
- Documentation - Knowledge updates
|
|
300
|
+
- Research - Investigation and exploration
|
|
301
|
+
- Security Expert - Vulnerability detection
|
|
302
|
+
|
|
303
|
+
## Contributing
|
|
304
|
+
|
|
305
|
+
Contributions welcome! Areas for enhancement:
|
|
306
|
+
- Additional specialized sub-agents
|
|
307
|
+
- Plan format improvements
|
|
308
|
+
- Memory system enhancements
|
|
309
|
+
- CLI features
|
|
310
|
+
|
|
311
|
+
## License
|
|
312
|
+
|
|
313
|
+
MIT
|
|
314
|
+
|
|
315
|
+
## Support
|
|
316
|
+
|
|
317
|
+
For issues or questions:
|
|
318
|
+
- Check `docs/project_notes/` for known issues and decisions
|
|
319
|
+
- Review agent definitions in `agents/`
|
|
320
|
+
- Check the skill documentation in `skills/`
|
|
321
|
+
|
|
322
|
+
## See Also
|
|
323
|
+
|
|
324
|
+
- Intuition Start Skill: `skills/intuition-start/SKILL.md`
|
|
325
|
+
- Intuition Plan Skill: `skills/intuition-plan/SKILL.md`
|
|
326
|
+
- Intuition Execute Skill: `skills/intuition-execute/SKILL.md`
|
|
327
|
+
- Intuition Initialize Skill: `skills/intuition-initialize/SKILL.md`
|
|
328
|
+
- Waldo Agent: `agents/waldo.md`
|
|
329
|
+
- Architect Agent: `agents/architect.md`
|