oneie 3.6.26 → 3.6.27
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/.claude/agents/TROUBLESHOOTING.md +530 -0
- package/.claude/agents/agent-claude.md +645 -0
- package/.claude/agents/agent-frontend.md +162 -21
- package/.claude/commands/chat.md +504 -0
- package/.claude/commands/create.md +134 -18
- package/.claude/commands/fast.md +531 -0
- package/.claude/commands/one.md +12 -85
- package/.claude/commands/optimize.md +74 -0
- package/.claude/commands/plan.md +420 -373
- package/.claude/commands/review.md +99 -0
- package/.claude/commands/test.md +197 -0
- package/.claude/commands/validate.md +140 -0
- package/.claude/hooks/__pycache__/todo.cpython-312.pyc +0 -0
- package/.claude/hooks/auto-format.sh +106 -0
- package/.claude/hooks/formatting.py +187 -0
- package/.claude/hooks/ontology-validation.py +255 -0
- package/.claude/hooks/validate-imports.py +182 -0
- package/.claude/hooks/validate-ontology.py +140 -0
- package/one/knowledge/cascading-context-specification.md +1617 -0
- package/one/knowledge/claude-code-integration.md +1293 -0
- package/one/knowledge/development-commands.md +251 -0
- package/one/knowledge/guidelines.md +314 -0
- package/one/knowledge/parallel-agents.md +932 -0
- package/one/knowledge/performance.md +459 -0
- package/one/knowledge/troubleshooting.md +434 -0
- package/one/things/plans/dsl-claude-code.md +1011 -0
- package/package.json +1 -1
- package/.claude/agents/AUDIT-agent-ops-alignment.md +0 -379
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
# /fast - Rapid Feature Building & Modification
|
|
2
|
+
|
|
3
|
+
**Purpose:** Build or modify features at maximum speed without planning cycles. Zero ceremony, pure execution.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Core Philosophy
|
|
8
|
+
|
|
9
|
+
**Sometimes you just need it done. Now.**
|
|
10
|
+
|
|
11
|
+
The `/fast` command is for when:
|
|
12
|
+
- ✅ You know exactly what you want
|
|
13
|
+
- ✅ Feature is small/straightforward (< 5 files)
|
|
14
|
+
- ✅ No planning needed, just execution
|
|
15
|
+
- ✅ Speed > process
|
|
16
|
+
|
|
17
|
+
**No cycles. No planning. No bureaucracy. Just build.**
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
/fast [feature-description]
|
|
25
|
+
|
|
26
|
+
# Examples:
|
|
27
|
+
/fast Add dark mode toggle to header
|
|
28
|
+
/fast Fix broken cart icon on mobile
|
|
29
|
+
/fast Create pricing page with 3 tiers
|
|
30
|
+
/fast Add email signup form to footer
|
|
31
|
+
/fast Change primary color to blue
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
**What happens:**
|
|
35
|
+
1. Parse feature description
|
|
36
|
+
2. Identify files to create/modify
|
|
37
|
+
3. Execute immediately (no plan, no approval)
|
|
38
|
+
4. Deploy if applicable
|
|
39
|
+
5. Done.
|
|
40
|
+
|
|
41
|
+
**Time:** 30 seconds to 3 minutes (average: 90 seconds)
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## When to Use /fast vs /plan
|
|
46
|
+
|
|
47
|
+
### Use /fast When:
|
|
48
|
+
- Small, self-contained changes (< 5 files)
|
|
49
|
+
- Clear requirements (no ambiguity)
|
|
50
|
+
- Existing patterns to follow
|
|
51
|
+
- Quick fixes or tweaks
|
|
52
|
+
- Cosmetic changes (colors, text, styling)
|
|
53
|
+
|
|
54
|
+
### Use /plan When:
|
|
55
|
+
- Complex features (> 5 files)
|
|
56
|
+
- Backend schema changes
|
|
57
|
+
- Multi-step integrations
|
|
58
|
+
- Unclear requirements
|
|
59
|
+
- Need to coordinate multiple specialists
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Fast Execution Modes
|
|
64
|
+
|
|
65
|
+
### Mode 1: Create New Feature (3-5 minutes)
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
/fast Create pricing page with 3 tiers
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Execution:**
|
|
72
|
+
```
|
|
73
|
+
→ Identify: Need Astro page + pricing component
|
|
74
|
+
→ Create: /web/src/pages/pricing.astro
|
|
75
|
+
→ Create: /web/src/components/Pricing.tsx
|
|
76
|
+
→ Style: Use existing design tokens
|
|
77
|
+
→ Test: Visual check (no formal testing)
|
|
78
|
+
→ Deploy: Push to staging
|
|
79
|
+
✅ Done in 3 minutes
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Mode 2: Modify Existing Feature (1-2 minutes)
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
/fast Change primary color from purple to blue
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Execution:**
|
|
89
|
+
```
|
|
90
|
+
→ Identify: Update /web/src/styles/global.css
|
|
91
|
+
→ Find: --color-primary: 147 51 234 (purple)
|
|
92
|
+
→ Replace: --color-primary: 59 130 246 (blue)
|
|
93
|
+
→ Verify: Check contrast ratios (WCAG)
|
|
94
|
+
✅ Done in 90 seconds
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Mode 3: Fix Bug (30 seconds - 2 minutes)
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
/fast Fix cart icon alignment on mobile
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Execution:**
|
|
104
|
+
```
|
|
105
|
+
→ Identify: /web/src/components/Header.tsx
|
|
106
|
+
→ Find: Cart icon CSS
|
|
107
|
+
→ Fix: Add flex items-center
|
|
108
|
+
→ Test: Mobile viewport check
|
|
109
|
+
✅ Done in 45 seconds
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Mode 4: Quick Integration (2-4 minutes)
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
/fast Add Google Analytics tracking
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
**Execution:**
|
|
119
|
+
```
|
|
120
|
+
→ Identify: Layout component
|
|
121
|
+
→ Add: Analytics script tag
|
|
122
|
+
→ Configure: GA_MEASUREMENT_ID env var
|
|
123
|
+
→ Verify: Test in browser console
|
|
124
|
+
✅ Done in 2 minutes
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Fast Build Patterns
|
|
130
|
+
|
|
131
|
+
### Pattern 1: Single Component
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
/fast Create hero section with CTA button
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Output:**
|
|
138
|
+
```typescript
|
|
139
|
+
// /web/src/components/Hero.tsx
|
|
140
|
+
export function Hero() {
|
|
141
|
+
return (
|
|
142
|
+
<section className="bg-gradient-to-r from-purple-600 to-blue-600">
|
|
143
|
+
<div className="container mx-auto px-4 py-20">
|
|
144
|
+
<h1 className="text-5xl font-bold text-white">Your Headline</h1>
|
|
145
|
+
<p className="text-xl text-white/80 mt-4">Your subheadline</p>
|
|
146
|
+
<button className="mt-8 px-8 py-3 bg-white text-purple-600 rounded-lg">
|
|
147
|
+
Get Started
|
|
148
|
+
</button>
|
|
149
|
+
</div>
|
|
150
|
+
</section>
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Time:** 60 seconds
|
|
156
|
+
|
|
157
|
+
### Pattern 2: Single Page
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
/fast Create about page with team section
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Output:**
|
|
164
|
+
```astro
|
|
165
|
+
---
|
|
166
|
+
// /web/src/pages/about.astro
|
|
167
|
+
import Layout from '@/layouts/Layout.astro';
|
|
168
|
+
import TeamGrid from '@/components/TeamGrid.tsx';
|
|
169
|
+
|
|
170
|
+
const team = [
|
|
171
|
+
{ name: 'John Doe', role: 'CEO', image: '/team/john.jpg' },
|
|
172
|
+
{ name: 'Jane Smith', role: 'CTO', image: '/team/jane.jpg' },
|
|
173
|
+
];
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
<Layout title="About Us">
|
|
177
|
+
<section class="container mx-auto px-4 py-20">
|
|
178
|
+
<h1 class="text-4xl font-bold">About Our Company</h1>
|
|
179
|
+
<p class="text-lg mt-4">We're building the future...</p>
|
|
180
|
+
<TeamGrid team={team} client:load />
|
|
181
|
+
</section>
|
|
182
|
+
</Layout>
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
**Time:** 2 minutes
|
|
186
|
+
|
|
187
|
+
### Pattern 3: Style Update
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
/fast Update button styles to be more rounded
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
**Execution:**
|
|
194
|
+
```css
|
|
195
|
+
/* /web/src/styles/global.css */
|
|
196
|
+
|
|
197
|
+
/* Before: */
|
|
198
|
+
.btn {
|
|
199
|
+
@apply px-4 py-2 rounded-md;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* After: */
|
|
203
|
+
.btn {
|
|
204
|
+
@apply px-4 py-2 rounded-full;
|
|
205
|
+
}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
**Time:** 30 seconds
|
|
209
|
+
|
|
210
|
+
### Pattern 4: Config Change
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
/fast Add contact@example.com to footer
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**Execution:**
|
|
217
|
+
```astro
|
|
218
|
+
// /web/src/components/Footer.astro
|
|
219
|
+
|
|
220
|
+
// Before:
|
|
221
|
+
<footer>
|
|
222
|
+
<p>© 2024 Company</p>
|
|
223
|
+
</footer>
|
|
224
|
+
|
|
225
|
+
// After:
|
|
226
|
+
<footer>
|
|
227
|
+
<p>© 2024 Company</p>
|
|
228
|
+
<a href="mailto:contact@example.com">contact@example.com</a>
|
|
229
|
+
</footer>
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Time:** 45 seconds
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Intelligent Feature Detection
|
|
237
|
+
|
|
238
|
+
The `/fast` command automatically detects:
|
|
239
|
+
|
|
240
|
+
### Frontend-Only Features
|
|
241
|
+
```bash
|
|
242
|
+
/fast Add pricing page
|
|
243
|
+
→ Creates Astro page + React components
|
|
244
|
+
→ No backend needed
|
|
245
|
+
→ Time: 3 minutes
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Backend Features
|
|
249
|
+
```bash
|
|
250
|
+
/fast Add user profile page with bio
|
|
251
|
+
→ Detects: Need to store user data
|
|
252
|
+
→ Creates: Convex mutation + query
|
|
253
|
+
→ Creates: Frontend page
|
|
254
|
+
→ Time: 5 minutes
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
### Integration Features
|
|
258
|
+
```bash
|
|
259
|
+
/fast Add Stripe payment button
|
|
260
|
+
→ Detects: Third-party integration
|
|
261
|
+
→ Installs: @stripe/stripe-js
|
|
262
|
+
→ Creates: Payment component
|
|
263
|
+
→ Time: 4 minutes
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Speed Optimizations
|
|
269
|
+
|
|
270
|
+
### 1. Use Existing Patterns
|
|
271
|
+
```bash
|
|
272
|
+
/fast Create new blog post page
|
|
273
|
+
|
|
274
|
+
→ Searches: /web/src/pages/blog/
|
|
275
|
+
→ Finds: Existing post structure
|
|
276
|
+
→ Replicates: Same pattern, new content
|
|
277
|
+
→ Time: 60 seconds (vs 5 minutes from scratch)
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### 2. Component Reuse
|
|
281
|
+
```bash
|
|
282
|
+
/fast Add testimonials to home page
|
|
283
|
+
|
|
284
|
+
→ Checks: Do testimonials component exist?
|
|
285
|
+
→ Found: /web/src/components/Testimonials.tsx
|
|
286
|
+
→ Uses: Import and place on home page
|
|
287
|
+
→ Time: 30 seconds (vs 4 minutes new component)
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### 3. Template Matching
|
|
291
|
+
```bash
|
|
292
|
+
/fast Create landing page
|
|
293
|
+
|
|
294
|
+
→ Matches: Similar to existing pages
|
|
295
|
+
→ Template: Hero + Features + CTA + Footer
|
|
296
|
+
→ Time: 3 minutes (vs 10 minutes custom)
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## Fast Command Variants
|
|
302
|
+
|
|
303
|
+
```bash
|
|
304
|
+
# Create new
|
|
305
|
+
/fast create [feature]
|
|
306
|
+
/fast add [feature]
|
|
307
|
+
/fast new [feature]
|
|
308
|
+
|
|
309
|
+
# Modify existing
|
|
310
|
+
/fast update [feature]
|
|
311
|
+
/fast change [feature]
|
|
312
|
+
/fast modify [feature]
|
|
313
|
+
|
|
314
|
+
# Fix bugs
|
|
315
|
+
/fast fix [bug-description]
|
|
316
|
+
/fast repair [issue]
|
|
317
|
+
|
|
318
|
+
# Delete
|
|
319
|
+
/fast remove [feature]
|
|
320
|
+
/fast delete [feature]
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## Example Scenarios
|
|
326
|
+
|
|
327
|
+
### Scenario 1: Launch Day Tweaks
|
|
328
|
+
|
|
329
|
+
```bash
|
|
330
|
+
# 5 minutes before launch, need quick changes:
|
|
331
|
+
|
|
332
|
+
/fast Change hero headline to "Build Faster"
|
|
333
|
+
→ 30 seconds
|
|
334
|
+
|
|
335
|
+
/fast Fix mobile menu not closing
|
|
336
|
+
→ 60 seconds
|
|
337
|
+
|
|
338
|
+
/fast Add live chat widget
|
|
339
|
+
→ 2 minutes
|
|
340
|
+
|
|
341
|
+
/fast Update pricing from $29 to $19
|
|
342
|
+
→ 30 seconds
|
|
343
|
+
|
|
344
|
+
Total: 4 minutes, all changes live
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
### Scenario 2: Client Feedback
|
|
348
|
+
|
|
349
|
+
```bash
|
|
350
|
+
# Client just called with urgent requests:
|
|
351
|
+
|
|
352
|
+
/fast Add testimonials section to home
|
|
353
|
+
→ 3 minutes
|
|
354
|
+
|
|
355
|
+
/fast Change CTA button color to green
|
|
356
|
+
→ 30 seconds
|
|
357
|
+
|
|
358
|
+
/fast Create case studies page
|
|
359
|
+
→ 4 minutes
|
|
360
|
+
|
|
361
|
+
/fast Fix broken contact form
|
|
362
|
+
→ 2 minutes
|
|
363
|
+
|
|
364
|
+
Total: 9.5 minutes, client happy
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Scenario 3: New Feature Request
|
|
368
|
+
|
|
369
|
+
```bash
|
|
370
|
+
# Product team wants quick experiment:
|
|
371
|
+
|
|
372
|
+
/fast Add email signup popup
|
|
373
|
+
→ 3 minutes
|
|
374
|
+
|
|
375
|
+
/fast Create simple analytics dashboard
|
|
376
|
+
→ 5 minutes
|
|
377
|
+
|
|
378
|
+
/fast Add export to CSV button
|
|
379
|
+
→ 2 minutes
|
|
380
|
+
|
|
381
|
+
Total: 10 minutes, experiment live
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
## Guardrails & Safety
|
|
387
|
+
|
|
388
|
+
Even though `/fast` is rapid, it still:
|
|
389
|
+
|
|
390
|
+
✅ **Validates against ontology** - Ensures features map to 6 dimensions
|
|
391
|
+
✅ **Checks existing code** - Searches for patterns to reuse
|
|
392
|
+
✅ **Type checks** - Runs `bunx astro check` before deploy
|
|
393
|
+
✅ **Maintains consistency** - Uses existing design tokens
|
|
394
|
+
✅ **Git commits** - Auto-commits with descriptive messages
|
|
395
|
+
|
|
396
|
+
**What /fast does NOT do:**
|
|
397
|
+
❌ Formal testing (unless requested)
|
|
398
|
+
❌ Documentation (code is self-documenting)
|
|
399
|
+
❌ Design reviews (trust the patterns)
|
|
400
|
+
❌ Planning cycles (immediate execution)
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
## Integration with Other Commands
|
|
405
|
+
|
|
406
|
+
### /fast → /plan
|
|
407
|
+
```bash
|
|
408
|
+
# Start with fast, scale to plan:
|
|
409
|
+
/fast Create simple blog
|
|
410
|
+
→ Ships in 3 minutes
|
|
411
|
+
|
|
412
|
+
# Later, when you need more:
|
|
413
|
+
/plan Add comments, tags, search to blog
|
|
414
|
+
→ Generates 20-cycle plan for enhancements
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### /fast + /deploy
|
|
418
|
+
```bash
|
|
419
|
+
/fast [feature]
|
|
420
|
+
→ Builds feature
|
|
421
|
+
|
|
422
|
+
/deploy
|
|
423
|
+
→ Pushes to production immediately
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
### /fast + /push
|
|
427
|
+
```bash
|
|
428
|
+
/fast [feature]
|
|
429
|
+
→ Creates files, makes changes
|
|
430
|
+
|
|
431
|
+
/push "Quick feature: [description]"
|
|
432
|
+
→ Commits and pushes to repo
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
437
|
+
## Performance Metrics
|
|
438
|
+
|
|
439
|
+
**Average execution times:**
|
|
440
|
+
- Simple change (color, text): 30-60 seconds
|
|
441
|
+
- New component: 1-2 minutes
|
|
442
|
+
- New page: 2-4 minutes
|
|
443
|
+
- Integration: 3-5 minutes
|
|
444
|
+
- Bug fix: 30 seconds - 2 minutes
|
|
445
|
+
|
|
446
|
+
**Comparison to traditional workflow:**
|
|
447
|
+
- `/fast`: 30 seconds - 5 minutes
|
|
448
|
+
- Traditional: 30 minutes - 2 hours
|
|
449
|
+
- **Speed multiplier: 6-24x faster**
|
|
450
|
+
|
|
451
|
+
---
|
|
452
|
+
|
|
453
|
+
## Advanced Usage
|
|
454
|
+
|
|
455
|
+
### Batch Operations
|
|
456
|
+
|
|
457
|
+
```bash
|
|
458
|
+
/fast Batch: Add dark mode, fix mobile nav, create FAQ page
|
|
459
|
+
→ Executes all three in sequence
|
|
460
|
+
→ Time: 8 minutes total
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
### Conditional Changes
|
|
464
|
+
|
|
465
|
+
```bash
|
|
466
|
+
/fast If pricing page exists, update prices; else create page
|
|
467
|
+
→ Checks for existence
|
|
468
|
+
→ Takes appropriate action
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
### Pattern-Based Creation
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
/fast Create 5 blog posts using template
|
|
475
|
+
→ Replicates pattern 5x
|
|
476
|
+
→ Time: 3 minutes (vs 15 minutes manual)
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
---
|
|
480
|
+
|
|
481
|
+
## When /fast Fails
|
|
482
|
+
|
|
483
|
+
If feature is too complex for `/fast`, you'll see:
|
|
484
|
+
|
|
485
|
+
```
|
|
486
|
+
⚠️ Feature too complex for /fast mode
|
|
487
|
+
|
|
488
|
+
This feature requires:
|
|
489
|
+
- Backend schema changes (5+ cycles)
|
|
490
|
+
- Multiple agent coordination
|
|
491
|
+
- Design system updates
|
|
492
|
+
|
|
493
|
+
Recommendation: Use /plan instead
|
|
494
|
+
|
|
495
|
+
/plan [your-feature-description]
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
**Complexity triggers:**
|
|
499
|
+
- Backend schema changes
|
|
500
|
+
- Multi-agent coordination needed
|
|
501
|
+
- Requires design system updates
|
|
502
|
+
- Ambiguous requirements
|
|
503
|
+
- > 10 file changes
|
|
504
|
+
|
|
505
|
+
---
|
|
506
|
+
|
|
507
|
+
## State Persistence
|
|
508
|
+
|
|
509
|
+
Fast executions are logged to:
|
|
510
|
+
- `.claude/state/fast-log.json` - Execution history
|
|
511
|
+
- Git commits - Auto-committed with timestamps
|
|
512
|
+
- No cycle tracking (fast mode bypasses cycles)
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
## Key Principles
|
|
517
|
+
|
|
518
|
+
1. **Speed is the priority** - Sacrifice process for velocity
|
|
519
|
+
2. **Trust the patterns** - Replicate what works
|
|
520
|
+
3. **Good enough ships** - Perfection is the enemy of done
|
|
521
|
+
4. **Auto-commit everything** - Never lose work
|
|
522
|
+
5. **Fail fast** - If complex, escalate to `/plan`
|
|
523
|
+
|
|
524
|
+
---
|
|
525
|
+
|
|
526
|
+
## See Also
|
|
527
|
+
|
|
528
|
+
- `/plan` - For complex features requiring planning
|
|
529
|
+
- `/create` - For specialist-based building
|
|
530
|
+
- `/deploy` - For immediate production deployment
|
|
531
|
+
- `/push` - For git commits and repo sync
|
package/.claude/commands/one.md
CHANGED
|
@@ -28,7 +28,7 @@ lsof -ti:4321 2>/dev/null && echo "RUNNING" || echo "STOPPED"
|
|
|
28
28
|
|
|
29
29
|
## Step 2: Display ONE Platform Interface
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
**CRITICAL: ALWAYS display this interface exactly as shown below. No variations. No summaries. Show the full output every time.**
|
|
32
32
|
|
|
33
33
|
```
|
|
34
34
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
@@ -49,92 +49,17 @@ Show this minimal interface:
|
|
|
49
49
|
|
|
50
50
|
🎯 CORE COMMANDS
|
|
51
51
|
|
|
52
|
-
/
|
|
53
|
-
/
|
|
54
|
-
/
|
|
55
|
-
/create
|
|
56
|
-
/push Commit & push
|
|
57
|
-
/deploy Ship to production
|
|
58
|
-
|
|
59
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
60
|
-
|
|
61
|
-
📊 WORKFLOW
|
|
62
|
-
|
|
63
|
-
1. /chat [idea] → Understand your vision, onboard brand
|
|
64
|
-
2. /plan convert → Create 100-cycle implementation plan
|
|
65
|
-
3. /now → See current cycle & assigned agent
|
|
66
|
-
4. /next → Advance to next cycle
|
|
67
|
-
5. /done → Mark complete, capture lessons
|
|
68
|
-
6. /create [task] → Build with specialists in parallel
|
|
69
|
-
7. /push → Commit & push changes
|
|
70
|
-
8. /deploy → Deploy to production
|
|
71
|
-
|
|
72
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
73
|
-
|
|
74
|
-
🤖 SPECIALIST AGENTS (Auto-Assigned by /plan)
|
|
75
|
-
|
|
76
|
-
agent-director Orchestrates your 100-cycle plan
|
|
77
|
-
agent-backend Convex schema, mutations, queries
|
|
78
|
-
agent-frontend Astro pages, React components
|
|
79
|
-
agent-designer Wireframes, design tokens, specs
|
|
80
|
-
agent-quality Tests, acceptance criteria, validation
|
|
81
|
-
agent-ops CI/CD, deployments, infrastructure
|
|
82
|
-
agent-clean Code quality, refactoring
|
|
83
|
-
agent-clone Legacy migration, AI clones
|
|
84
|
-
|
|
85
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
86
|
-
|
|
87
|
-
⚡ QUICK START
|
|
88
|
-
|
|
89
|
-
/chat "I want to build a course platform with AI tutors"
|
|
90
|
-
→ Onboard your idea, understand requirements
|
|
91
|
-
|
|
92
|
-
/plan convert "Build a course platform with AI tutors"
|
|
93
|
-
→ Creates 100-cycle plan, assigns agents, shows timeline
|
|
94
|
-
|
|
95
|
-
/now
|
|
96
|
-
→ See Cycle 1 task and assigned specialist
|
|
97
|
-
|
|
98
|
-
/next
|
|
99
|
-
→ Advance through cycles step-by-step
|
|
100
|
-
|
|
101
|
-
/create [feature]
|
|
102
|
-
→ Build specific features with parallel agents
|
|
103
|
-
|
|
104
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
105
|
-
|
|
106
|
-
🎓 LEARN MORE
|
|
107
|
-
|
|
108
|
-
/help Command reference & tutorials
|
|
109
|
-
/see Analytics & insights
|
|
110
|
-
/onboard Analyze your website (brand, features)
|
|
52
|
+
/chat Onboard your idea
|
|
53
|
+
/plan [idea] Generate optimized plan
|
|
54
|
+
/fast [feature] Build in minutes
|
|
55
|
+
/create [type] Build with specialists
|
|
56
|
+
/push Commit & push
|
|
57
|
+
/deploy Ship to production
|
|
111
58
|
|
|
112
59
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
113
60
|
```
|
|
114
61
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
## Step 3: Engage User
|
|
118
|
-
|
|
119
|
-
After showing interface, engage with the user conversationally:
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
💬 How can I help?
|
|
123
|
-
|
|
124
|
-
Option 1: /chat [your-idea]
|
|
125
|
-
Let's onboard your vision. I'll understand your brand, market
|
|
126
|
-
positioning, and craft a strategy.
|
|
127
|
-
|
|
128
|
-
Option 2: /plan convert [your-idea]
|
|
129
|
-
Jump straight to implementation. I'll create a 100-cycle plan
|
|
130
|
-
with task assignments and timeline.
|
|
131
|
-
|
|
132
|
-
Option 3: /create [feature-name]
|
|
133
|
-
Build something specific. Specialists execute in parallel.
|
|
134
|
-
|
|
135
|
-
Option 4: Just describe what you want to build
|
|
136
|
-
We'll have a conversation and figure out the best approach.
|
|
137
|
-
```
|
|
62
|
+
**DO NOT add any sections, workflow steps, or explanations after the commands.**
|
|
138
63
|
|
|
139
64
|
---
|
|
140
65
|
|
|
@@ -285,7 +210,9 @@ Ship to production:
|
|
|
285
210
|
|
|
286
211
|
## Context Optimization Notes
|
|
287
212
|
|
|
288
|
-
**This file (one.md): ~
|
|
213
|
+
**This file (one.md): ~200 tokens for display**
|
|
214
|
+
|
|
215
|
+
**CRITICAL RULE:** The interface display is MANDATORY regardless of which model is being used (Haiku, Sonnet, Opus). Always show the full ASCII logo and command list. Never summarize or skip this output.
|
|
289
216
|
|
|
290
217
|
By keeping `/one.md` minimal and using cascade system:
|
|
291
218
|
- Load CLAUDE.md files only when needed
|
|
@@ -294,7 +221,7 @@ By keeping `/one.md` minimal and using cascade system:
|
|
|
294
221
|
- Full plan stored in `.claude/state/plan.json` (auto-generated)
|
|
295
222
|
|
|
296
223
|
**Total context usage:**
|
|
297
|
-
- `/one` display:
|
|
224
|
+
- `/one` display: 200 tokens (mandatory output)
|
|
298
225
|
- `/chat` flow: 500 tokens
|
|
299
226
|
- `/plan` flow: 2K tokens
|
|
300
227
|
- `/now` + agent: 1-3K tokens
|