oneie 3.6.7 → 3.6.11
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/agent-backend.md +83 -0
- package/.claude/agents/agent-designer.md +97 -0
- package/.claude/agents/agent-director.md +118 -7
- package/.claude/agents/agent-documenter.md +93 -0
- package/.claude/agents/agent-frontend.md +96 -0
- package/.claude/agents/agent-ops.md +182 -25
- package/.claude/agents/agent-problem-solver.md +166 -0
- package/.claude/agents/agent-quality.md +127 -0
- package/.claude/commands/build.md +293 -0
- package/.claude/commands/cascade.md +231 -127
- package/.claude/commands/mcp-toggle.md +93 -0
- package/.claude/commands/one.md +198 -116
- package/.claude/commands/plan.md +394 -80
- package/.claude/commands/release.md +41 -19
- package/.claude/commands/server.md +2 -0
- package/.claude/hooks/root-cleanup.py +75 -0
- package/.claude/skills/INDEX.md +523 -0
- package/.claude/skills/REGISTRY.md +529 -0
- package/.claude/skills/agent-backend-create-mutation.md +319 -0
- package/.claude/skills/agent-designer-create-wireframe.md +341 -0
- package/.claude/skills/agent-frontend-create-page.md +413 -0
- package/.claude/skills/agents/README.md +238 -0
- package/dist/clone-web.js +1 -1
- package/dist/clone-web.js.map +1 -1
- package/folders.yaml +1 -1
- package/one/.obsidian/workspace.json +38 -38
- package/one/connections/api/queries-reference.md +842 -0
- package/one/connections/api-reference.md +1011 -0
- package/one/connections/integration-examples.md +875 -0
- package/one/connections/integration-guide.md +869 -0
- package/one/connections/integration-phase2.md +736 -0
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +262 -0
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +636 -0
- package/one/events/BEFORE_AFTER_COMPARISON.md +960 -0
- package/one/events/CONNECTIONS_DEMO.md +501 -0
- package/one/events/DELIVERABLES.md +432 -0
- package/one/events/DEMO-GROUPS-PAGE.md +392 -0
- package/one/events/DEMO-TESTING-SUMMARY.md +518 -0
- package/one/events/DEMO_COMPONENTS.md +487 -0
- package/one/events/DEMO_HOOKS_INDEX.md +334 -0
- package/one/events/DEMO_INFRASTRUCTURE.md +905 -0
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +570 -0
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +431 -0
- package/one/events/DEMO_QUICK_REFERENCE.md +441 -0
- package/one/events/DEMO_SETUP.md +476 -0
- package/one/events/EFFECT_TS_API_PATTERN.md +478 -0
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +414 -0
- package/one/events/HOOKS-DEMO.md +441 -0
- package/one/events/ONTOLOGY-HOOKS-README.md +700 -0
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +365 -0
- package/one/events/QA-CHECKLIST.md +674 -0
- package/one/events/QUICK-START-ONTOLOGY.md +408 -0
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +639 -0
- package/one/events/SEARCH_DEMO_DELIVERY.md +415 -0
- package/one/events/SEARCH_DEMO_SUMMARY.md +303 -0
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +381 -0
- package/one/events/TEST-PLAN-INDEX.md +346 -0
- package/one/events/TEST-PLAN.md +1417 -0
- package/one/events/TESTING-DELIVERY.txt +372 -0
- package/one/events/TRANSITIONS-QUICK-START.md +141 -0
- package/one/events/TYPESCRIPT_FIXES.md +152 -0
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +412 -0
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +341 -0
- package/one/events/VIEW-TRANSITIONS.md +428 -0
- package/one/events/backend-integration-tests.md +606 -0
- package/one/events/backend-structure-diagram.txt +393 -0
- package/one/events/backend-structure-summary.txt +269 -0
- package/one/events/cloudflare-pages-infrastructure-setup.md +264 -0
- package/one/events/convex-analysis-index.md +304 -0
- package/one/events/convex-structure-analysis.md +700 -0
- package/one/events/design-spec-complete.md +208 -0
- package/one/events/ontology-test-examples.md +562 -0
- package/one/events/phase1-backend-implementation-complete.md +518 -0
- package/one/events/test-dashboard.md +345 -0
- package/one/events/test-index.md +361 -0
- package/one/events/test-report-ontology.md +582 -0
- package/one/events/testing-summary.md +344 -0
- package/one/groups/features.md +2878 -0
- package/one/groups/strategy copy.md +869 -0
- package/one/knowledge/backend-api-reference.md +710 -0
- package/one/knowledge/documentation-summary.md +285 -0
- package/one/knowledge/lessons-learned.md +294 -4
- package/one/knowledge/ontology-visual-guide.md +360 -0
- package/one/knowledge/ontology.md +9 -17
- package/one/things/demo-accessibility-animations.md +999 -0
- package/one/things/demo-components.md +1304 -0
- package/one/things/demo-design-summary.md +629 -0
- package/one/things/demo-design-system.md +919 -0
- package/one/things/demo-page-layouts.md +989 -0
- package/one/things/designs/accessibility-audit.md +790 -0
- package/one/things/designs/component-specifications.md +757 -0
- package/one/things/designs/design-overview.md +318 -0
- package/one/things/designs/design-tokens.md +414 -0
- package/one/things/designs/wireframes-dashboard.md +653 -0
- package/one/things/docs/api-requests.md +923 -0
- package/one/things/features/0 All Features.md +2 -0
- package/one/things/implementation/backend-guide.md +412 -0
- package/one/things/plans/2-backend-agnostic-frontend.md +11 -8
- package/one/things/plans/ai-elements.md +1259 -0
- package/one/things/plans/ai-integration.md +947 -0
- package/one/things/plans/ai-sdk.md +761 -0
- package/one/things/plans/app.md +1 -1
- package/one/things/plans/architecture-summary.md +283 -0
- package/one/things/plans/async-ai-agents.md +215 -0
- package/one/things/plans/backend-agnostic-frontend.md +11 -6
- package/one/things/plans/backend-cleanup-quickstart.md +346 -0
- package/one/things/plans/backend-ontology-conformance.md +416 -0
- package/one/things/plans/backend-status.md +541 -0
- package/one/things/plans/backend-structure.md +799 -0
- package/one/things/plans/backend-target-structure.md +438 -0
- package/one/things/plans/backend.md +1133 -0
- package/one/things/plans/better-auth-any-backend.md +11 -11
- package/one/things/plans/cli-updates-required.md +280 -0
- package/one/things/plans/complete-step-by-step.md +1302 -0
- package/one/things/plans/convex-agents.md +1005 -0
- package/one/things/plans/deployment-architecture.md +426 -0
- package/one/things/plans/development-plan.md +1220 -0
- package/one/things/plans/effect.md +808 -48
- package/one/things/plans/integrate-frontend-and-backend.md +579 -0
- package/one/things/plans/mcp-clear-context-prompt.md +60 -0
- package/one/things/plans/mcp-simple.md +228 -0
- package/one/things/plans/one.md +8 -7
- package/one/things/plans/ontology-6-dimensions.md +20 -14
- package/one/things/plans/quick-wins.md +1273 -0
- package/one/things/plans/readme-backend-cleanup.md +361 -0
- package/one/things/plans/separate-demo.md +830 -0
- package/one/things/plans/separate.md +3 -3
- package/one/things/plans/sequence.md +1897 -0
- package/one/things/plans/sync-checklist.md +321 -0
- package/one/things/plans/unified-implementation-plan.md +3 -3
- package/one/things/plans/update-demos.md +513 -0
- package/package.json +1 -1
- package/.claude/agents/backend-specialist.md +0 -169
- package/.claude/agents/designer.md +0 -216
- package/.claude/agents/frontend-specialist.md +0 -236
- package/.claude/commands/done.md +0 -35
- package/.claude/commands/infer.md +0 -138
- package/.claude/commands/next.md +0 -53
- package/.claude/commands/one copy.md +0 -565
- package/.claude/commands/one-template.md +0 -106
- package/.claude/commands/one-v1.md +0 -609
- package/.claude/hooks/__pycache__/knowledge-post.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/knowledge-pre.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/one/groups/nine-padel-customers.md +0 -138
- package/one/groups/nine-padel-data-structure.md +0 -167
- package/one/groups/nine-padel-ontology-specification.md +0 -359
- package/one/groups/nine-padel-ontology.md +0 -143
- package/one/groups/nine-padel-strategy.md +0 -234
- package/one/groups/nine-padel.md +0 -211
- package/one/groups/nine-padle-contents.baked.md +0 -1252
- package/one/groups/nine-padle-contents.md +0 -6
- package/one/things/features/1-1-agent-prompts/design.md +0 -470
- package/one/things/features/1-1-agent-prompts/tests.md +0 -264
- package/one/things/features/1-2-yaml-orchestrator/design.md +0 -497
- package/one/things/features/1-2-yaml-orchestrator/tests.md +0 -227
- package/one/things/features/1-3-event-coordination/design.md +0 -544
- package/one/things/features/1-3-event-coordination/tests.md +0 -223
- package/one/things/features/1-4-knowledge-management/design.md +0 -609
- package/one/things/features/1-4-knowledge-management/tests.md +0 -195
- package/one/things/features/1-5-quality-loops/design.md +0 -797
- package/one/things/features/1-5-quality-loops/tests.md +0 -212
- package/one/things/features/1-6-numbering-structure/design.md +0 -610
- package/one/things/features/1-6-numbering-structure/tests.md +0 -213
- package/one/things/features/dataprovider-interface/1-tests.md +0 -1522
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /cascade - ONE Platform Agent Orchestration
|
|
2
2
|
|
|
3
|
-
🌟 **
|
|
3
|
+
🌟 **Turn Ideas into Production-Ready Code**
|
|
4
4
|
|
|
5
|
-
*
|
|
5
|
+
*agent-director orchestrates your workflow through 15 specialized AI agents with the 6-dimension ontology. Inference-based execution optimized for speed and quality.*
|
|
6
6
|
|
|
7
7
|
## Core Interface
|
|
8
8
|
|
|
@@ -20,28 +20,28 @@ When the `/one` command is invoked, display this main menu:
|
|
|
20
20
|
║ ║
|
|
21
21
|
╚══════════════════════════════════════════════════════════════════╝
|
|
22
22
|
|
|
23
|
-
🏆 **
|
|
24
|
-
✨ ONE
|
|
23
|
+
🏆 **ORCHESTRATION STATUS** - agent-director in control ✅
|
|
24
|
+
✨ ONE Platform v1.0.0 | 15 AI Agents | Inference-Based (1-100)
|
|
25
25
|
🤖 98% Context Reduction | 🚀 5x Faster Execution
|
|
26
26
|
🧪 Quality Loops Enabled | 📊 Continuous Learning Active
|
|
27
|
-
⚡ Event-Driven Autonomy | 🎯
|
|
28
|
-
|
|
29
|
-
🚀 **
|
|
30
|
-
1.
|
|
31
|
-
2.
|
|
32
|
-
3.
|
|
33
|
-
4.
|
|
34
|
-
5.
|
|
35
|
-
|
|
36
|
-
🤖 **
|
|
37
|
-
6.
|
|
38
|
-
7. Backend
|
|
39
|
-
8. Frontend
|
|
40
|
-
9.
|
|
41
|
-
A. Quality
|
|
42
|
-
B.
|
|
43
|
-
C.
|
|
44
|
-
D.
|
|
27
|
+
⚡ Event-Driven Autonomy | 🎯 6-Dimension Ontology Aligned
|
|
28
|
+
|
|
29
|
+
🚀 **INFERENCE WORKFLOW** (Infer 1-100: Plan → Implement → Learn)
|
|
30
|
+
1. /now → Show current inference & task
|
|
31
|
+
2. /next → Advance to next inference
|
|
32
|
+
3. /done → Mark inference complete & advance
|
|
33
|
+
4. /plan → View complete 100-inference plan
|
|
34
|
+
5. /build → Build feature with specialists
|
|
35
|
+
|
|
36
|
+
🤖 **AGENT COMMAND CENTER** (15 Specialized Agents, agent-director Orchestrates)
|
|
37
|
+
6. agent-director → Orchestrator: plans, validates, delegates
|
|
38
|
+
7. agent-backend → Backend: Convex mutations, queries, schema
|
|
39
|
+
8. agent-frontend → Frontend: Astro pages, React components
|
|
40
|
+
9. agent-designer → Designer: Wireframes, tokens, specs
|
|
41
|
+
A. agent-quality → Quality: Tests, validation, acceptance criteria
|
|
42
|
+
B. agent-ops → Operations: Deployment, CI/CD, infrastructure
|
|
43
|
+
C. agent-builder → Builder: Feature implementation coordination
|
|
44
|
+
D. agent-problem-solver → Problem Solver: Root cause analysis
|
|
45
45
|
|
|
46
46
|
⚙️ **ADVANCED FEATURES** (Power Users)
|
|
47
47
|
T. Template Library → Workflow templates for common patterns
|
|
@@ -204,88 +204,140 @@ display: |
|
|
|
204
204
|
|
|
205
205
|
### AI Agents (6-9, A-D)
|
|
206
206
|
|
|
207
|
-
#### 6.
|
|
207
|
+
#### 6. agent-director (The Orchestrator)
|
|
208
208
|
```yaml
|
|
209
|
-
action:
|
|
209
|
+
action: show_director_agent
|
|
210
210
|
display: |
|
|
211
|
-
🎯 **
|
|
211
|
+
🎯 **AGENT-DIRECTOR: THE ORCHESTRATOR**
|
|
212
212
|
|
|
213
|
-
|
|
213
|
+
Central control: Plans features, validates ontology, delegates to 14 specialists
|
|
214
|
+
Works with inference-based execution (Infer 1-100) for precise planning.
|
|
214
215
|
|
|
215
216
|
**Current Activity:**
|
|
216
|
-
-
|
|
217
|
-
-
|
|
218
|
-
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
217
|
+
- Infer 47/100: Validating backend schema design
|
|
218
|
+
- Delegated to: agent-backend (implementing mutations)
|
|
219
|
+
- Delegated to: agent-frontend (building UI components)
|
|
220
|
+
- Delegated to: agent-designer (creating wireframes)
|
|
221
|
+
- Monitoring: agent-quality running tests in parallel
|
|
222
|
+
|
|
223
|
+
**What agent-director Does:**
|
|
224
|
+
1. /now → Show current inference & context
|
|
225
|
+
2. /next → Advance to next inference in plan
|
|
226
|
+
3. /done → Mark inference complete, learn from it
|
|
227
|
+
4. /plan → View complete 100-inference roadmap
|
|
228
|
+
5. Create Feature Plan → Break idea into 100 inferences
|
|
229
|
+
6. Assign to Specialist → Delegate specific inference to agent
|
|
230
|
+
7. Coordinate Parallel → Run multiple agents concurrently
|
|
231
|
+
8. Monitor Quality → Watch tests, catch failures early
|
|
232
|
+
|
|
233
|
+
**Delegation Pattern:**
|
|
234
|
+
- Infer N: Identifies what's needed
|
|
235
|
+
- Assigns to specialist (backend, frontend, designer, etc.)
|
|
236
|
+
- Specialist executes with skill(s) from .claude/skills/
|
|
237
|
+
- Returns result to director for next inference
|
|
238
|
+
- agent-director learns and advances plan
|
|
239
|
+
|
|
240
|
+
**Context Budget:** 43,000 tokens (largest context)
|
|
241
|
+
**Prompt File:** .claude/agents/agent-director.md
|
|
242
|
+
**Skills:** See agent-director capabilities for delegation rules
|
|
230
243
|
|
|
231
244
|
B. Back to Main Menu
|
|
232
245
|
|
|
233
|
-
Choose action (1-
|
|
246
|
+
Choose action (1-8, B): _
|
|
234
247
|
```
|
|
235
248
|
|
|
236
|
-
#### 7. Backend Specialist
|
|
249
|
+
#### 7. agent-backend (Backend Specialist)
|
|
237
250
|
```yaml
|
|
238
|
-
action:
|
|
251
|
+
action: show_backend_agent
|
|
239
252
|
display: |
|
|
240
|
-
⚙️ **BACKEND SPECIALIST
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
-
|
|
247
|
-
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
253
|
+
⚙️ **AGENT-BACKEND: BACKEND SPECIALIST**
|
|
254
|
+
|
|
255
|
+
Convex backend implementation: mutations, queries, schema, services, 6D ontology
|
|
256
|
+
Delegated by agent-director for inference tasks involving backend logic.
|
|
257
|
+
|
|
258
|
+
**Currently Executing (via agent-director delegation):**
|
|
259
|
+
- Infer 15: Implement course creation mutation
|
|
260
|
+
- Infer 16: Create course list query with filtering
|
|
261
|
+
- Infer 17: Design schema for course relationships
|
|
262
|
+
|
|
263
|
+
**Available Skills (from .claude/skills/):**
|
|
264
|
+
- agent-backend:create-mutation (8.3 KB)
|
|
265
|
+
- agent-backend:create-query (referenced)
|
|
266
|
+
- agent-backend:design-schema (referenced)
|
|
267
|
+
|
|
268
|
+
**What agent-backend Does:**
|
|
269
|
+
1. Design Schema → Convex schema with 6-dimension alignment
|
|
270
|
+
2. Create Mutations → Write operations with validation & events
|
|
271
|
+
3. Create Queries → Read operations with filtering & pagination
|
|
272
|
+
4. Implement Services → Effect.ts business logic layers
|
|
273
|
+
5. Update Schema → Database schema evolution
|
|
274
|
+
6. Handle Failures → Fix tests that agent-quality reports
|
|
275
|
+
|
|
276
|
+
**Delegation Rules:**
|
|
277
|
+
- agent-director assigns: "Implement course creation"
|
|
278
|
+
- agent-backend executes: Creates mutation with all 8 steps
|
|
279
|
+
- Uses skill: agent-backend:create-mutation for guidance
|
|
280
|
+
- Returns: Mutation code + event logging + quota checks
|
|
281
|
+
- agent-director: Marks inference complete, advances to next
|
|
282
|
+
|
|
283
|
+
**Integration Pattern:**
|
|
284
|
+
- Receives requests from: agent-director (via delegation)
|
|
285
|
+
- Coordinates with: agent-quality (gets test failures)
|
|
286
|
+
- Coordinates with: agent-frontend (uses same entities)
|
|
287
|
+
- Delegates to: agent-problem-solver (if tests fail)
|
|
288
|
+
|
|
289
|
+
**Context Budget:** 16,000 tokens
|
|
290
|
+
**Prompt File:** .claude/agents/agent-backend.md
|
|
291
|
+
**Skills Directory:** .claude/skills/ (agent-backend-*.md)
|
|
260
292
|
|
|
261
293
|
B. Back to Main Menu
|
|
262
294
|
|
|
263
|
-
Choose action (1-
|
|
295
|
+
Choose action (1-6, B): _
|
|
264
296
|
```
|
|
265
297
|
|
|
266
|
-
#### 8. Frontend Specialist
|
|
298
|
+
#### 8. agent-frontend (Frontend Specialist)
|
|
267
299
|
```yaml
|
|
268
|
-
action:
|
|
300
|
+
action: show_frontend_agent
|
|
269
301
|
display: |
|
|
270
|
-
🎨 **FRONTEND SPECIALIST
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
-
|
|
277
|
-
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
302
|
+
🎨 **AGENT-FRONTEND: FRONTEND SPECIALIST**
|
|
303
|
+
|
|
304
|
+
Astro 5 + React 19 UI implementation: pages, components, islands, performance
|
|
305
|
+
Delegated by agent-director for inference tasks involving frontend logic.
|
|
306
|
+
|
|
307
|
+
**Currently Executing (via agent-director delegation):**
|
|
308
|
+
- Infer 25: Create course list page with SSR
|
|
309
|
+
- Infer 26: Build enrollment button component
|
|
310
|
+
- Infer 27: Optimize Lighthouse scores
|
|
311
|
+
|
|
312
|
+
**Available Skills (from .claude/skills/):**
|
|
313
|
+
- agent-frontend:create-page (10 KB) - Astro pages with islands
|
|
314
|
+
- agent-frontend:create-component (referenced) - React components
|
|
315
|
+
- agent-frontend:optimize-performance (referenced) - Core Web Vitals
|
|
316
|
+
|
|
317
|
+
**What agent-frontend Does:**
|
|
318
|
+
1. Create Astro Pages → SSR pages with data fetching at build time
|
|
319
|
+
2. Build React Components → Interactive islands with proper hydration
|
|
320
|
+
3. Implement UI/UX → Design tokens + shadcn/ui components
|
|
321
|
+
4. Optimize Performance → 90+ Lighthouse scores, Core Web Vitals
|
|
322
|
+
5. Handle Responsiveness → Mobile-first with Tailwind v4
|
|
323
|
+
6. Ensure Accessibility → WCAG 2.1 AA compliance
|
|
324
|
+
|
|
325
|
+
**Delegation Rules:**
|
|
326
|
+
- agent-director assigns: "Create course enrollment page"
|
|
327
|
+
- agent-frontend executes: Builds Astro page with React islands
|
|
328
|
+
- Uses skill: agent-frontend:create-page for guidance
|
|
329
|
+
- Returns: Page code + component specs + performance metrics
|
|
330
|
+
- agent-director: Marks inference complete, advances to next
|
|
331
|
+
|
|
332
|
+
**Integration Pattern:**
|
|
333
|
+
- Receives requests from: agent-director (via delegation)
|
|
334
|
+
- Coordinates with: agent-designer (uses wireframes + tokens)
|
|
335
|
+
- Coordinates with: agent-backend (queries entities)
|
|
336
|
+
- Coordinates with: agent-quality (gets test results)
|
|
337
|
+
|
|
338
|
+
**Context Budget:** 16,000 tokens
|
|
339
|
+
**Prompt File:** .claude/agents/agent-frontend.md
|
|
340
|
+
**Skills Directory:** .claude/skills/ (agent-frontend-*.md)
|
|
289
341
|
|
|
290
342
|
B. Back to Main Menu
|
|
291
343
|
|
|
@@ -321,58 +373,110 @@ display: |
|
|
|
321
373
|
Choose action (1-6, B): _
|
|
322
374
|
```
|
|
323
375
|
|
|
324
|
-
#### A. Quality
|
|
376
|
+
#### A. agent-quality (Quality Specialist)
|
|
325
377
|
```yaml
|
|
326
378
|
action: show_quality_agent
|
|
327
379
|
display: |
|
|
328
|
-
🧪 **QUALITY
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
-
|
|
335
|
-
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
380
|
+
🧪 **AGENT-QUALITY: QUALITY SPECIALIST**
|
|
381
|
+
|
|
382
|
+
Test-driven requirements: user flows, acceptance criteria, test validation
|
|
383
|
+
Delegated by agent-director for inference tasks involving quality gates.
|
|
384
|
+
|
|
385
|
+
**Currently Executing (via agent-director delegation):**
|
|
386
|
+
- Infer 18: Define course creation user flows
|
|
387
|
+
- Infer 19: Create acceptance criteria for enrollment
|
|
388
|
+
- Infer 20: Run tests on backend mutations
|
|
389
|
+
|
|
390
|
+
**Available Skills (from .claude/skills/):**
|
|
391
|
+
- agent-quality:define-tests (referenced) - User flows + criteria
|
|
392
|
+
- agent-quality:run-tests (referenced) - Execute test suites
|
|
393
|
+
- agent-quality:validate-ontology (referenced) - 6D alignment check
|
|
394
|
+
|
|
395
|
+
**What agent-quality Does:**
|
|
396
|
+
1. Define User Flows → What users must accomplish
|
|
397
|
+
2. Create Acceptance Criteria → How we know feature works
|
|
398
|
+
3. Define Technical Tests → Unit, integration, e2e tests
|
|
399
|
+
4. Run Test Suites → Execute against implementations
|
|
400
|
+
5. Validate Ontology → Check 6-dimension compliance
|
|
401
|
+
6. Report Failures → Flag issues to agent-problem-solver
|
|
402
|
+
|
|
403
|
+
**Delegation Rules:**
|
|
404
|
+
- agent-director assigns: "Define tests for course creation"
|
|
405
|
+
- agent-quality executes: Creates user flows + acceptance criteria
|
|
406
|
+
- Returns: Test requirements for agent-designer (wireframes)
|
|
407
|
+
- Returns: Test requirements for agent-backend (mutations)
|
|
408
|
+
- Returns: Test requirements for agent-frontend (components)
|
|
409
|
+
- All specialists use quality requirements to drive implementation
|
|
410
|
+
|
|
411
|
+
**Quality Loop:**
|
|
412
|
+
1. agent-quality: Defines tests
|
|
413
|
+
2. agent-designer: Creates designs satisfying tests
|
|
414
|
+
3. Specialists: Implement to pass tests
|
|
415
|
+
4. agent-quality: Runs tests, reports failures
|
|
416
|
+
5. agent-problem-solver: Analyzes failures
|
|
417
|
+
6. Specialists: Fix issues
|
|
418
|
+
7. Repeat until all tests pass
|
|
419
|
+
|
|
420
|
+
**Integration Pattern:**
|
|
421
|
+
- Receives requests from: agent-director (via delegation)
|
|
422
|
+
- Provides requirements to: agent-designer, agent-backend, agent-frontend
|
|
423
|
+
- Reports failures to: agent-problem-solver (for analysis)
|
|
424
|
+
- Monitors: All implementations against acceptance criteria
|
|
425
|
+
|
|
426
|
+
**Context Budget:** 21,000 tokens
|
|
427
|
+
**Prompt File:** .claude/agents/agent-quality.md
|
|
428
|
+
**Skills Directory:** .claude/skills/ (agent-quality-*.md)
|
|
347
429
|
|
|
348
430
|
B. Back to Main Menu
|
|
349
431
|
|
|
350
432
|
Choose action (1-6, B): _
|
|
351
433
|
```
|
|
352
434
|
|
|
353
|
-
####
|
|
435
|
+
#### 9. agent-designer (Design Specialist)
|
|
354
436
|
```yaml
|
|
355
|
-
action:
|
|
437
|
+
action: show_designer_agent
|
|
356
438
|
display: |
|
|
357
|
-
🎨 **DESIGN
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
-
|
|
364
|
-
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
439
|
+
🎨 **AGENT-DESIGNER: DESIGN SPECIALIST**
|
|
440
|
+
|
|
441
|
+
Test-driven design: wireframes, components, tokens aligned to acceptance criteria
|
|
442
|
+
Delegated by agent-director for inference tasks involving design and UX.
|
|
443
|
+
|
|
444
|
+
**Currently Executing (via agent-director delegation):**
|
|
445
|
+
- Infer 28: Create course card wireframe
|
|
446
|
+
- Infer 29: Design enrollment form states
|
|
447
|
+
- Infer 30: Generate Tailwind design tokens from brand
|
|
448
|
+
|
|
449
|
+
**Available Skills (from .claude/skills/):**
|
|
450
|
+
- agent-designer:create-wireframe (11 KB) - Test-driven wireframes
|
|
451
|
+
- agent-designer:define-components (referenced) - Component specs
|
|
452
|
+
- agent-designer:set-design-tokens (referenced) - Token generation
|
|
453
|
+
|
|
454
|
+
**What agent-designer Does:**
|
|
455
|
+
1. Create Wireframes → Maps acceptance criteria to UI elements
|
|
456
|
+
2. Design Components → Specifies component hierarchy & props
|
|
457
|
+
3. Set Design Tokens → Colors, spacing, typography from brand
|
|
458
|
+
4. Ensure Accessibility → WCAG 2.1 AA contrast validation
|
|
459
|
+
5. Specify All States → Default, loading, error, success, empty
|
|
460
|
+
|
|
461
|
+
**Delegation Rules:**
|
|
462
|
+
- agent-quality defines tests (user flows, acceptance criteria)
|
|
463
|
+
- agent-director assigns: "Design course enrollment form"
|
|
464
|
+
- agent-designer executes: Creates wireframe satisfying all acceptance criteria
|
|
465
|
+
- Uses skill: agent-designer:create-wireframe for guidance
|
|
466
|
+
- Returns: Wireframe + component specs + design tokens
|
|
467
|
+
- agent-frontend uses wireframe for implementation
|
|
468
|
+
- agent-director: Marks inference complete, advances to next
|
|
469
|
+
|
|
470
|
+
**Integration Pattern:**
|
|
471
|
+
- Receives requests from: agent-director (via delegation)
|
|
472
|
+
- Reads requirements from: agent-quality (acceptance criteria)
|
|
473
|
+
- Provides specs to: agent-frontend (implements wireframes)
|
|
474
|
+
- Validates with: WCAG AA accessibility checklist
|
|
475
|
+
|
|
476
|
+
**Design Philosophy:** Design exists to enable tests to pass
|
|
477
|
+
**Context Budget:** 15,000 tokens
|
|
478
|
+
**Prompt File:** .claude/agents/agent-designer.md
|
|
479
|
+
**Skills Directory:** .claude/skills/ (agent-designer-*.md)
|
|
376
480
|
|
|
377
481
|
B. Back to Main Menu
|
|
378
482
|
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# MCP Management Commands
|
|
2
|
+
|
|
3
|
+
Manage MCP context usage - enable/disable MCPs on demand to save tokens.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Show current MCP status and token usage
|
|
9
|
+
./scripts/mcp-toggle.sh status
|
|
10
|
+
|
|
11
|
+
# Switch to minimal config (only shadcn) - saves ~10k tokens
|
|
12
|
+
./scripts/mcp-toggle.sh minimal
|
|
13
|
+
|
|
14
|
+
# Restore all MCPs
|
|
15
|
+
./scripts/mcp-toggle.sh full
|
|
16
|
+
|
|
17
|
+
# Backup current config
|
|
18
|
+
./scripts/mcp-toggle.sh backup
|
|
19
|
+
|
|
20
|
+
# Restore from backup
|
|
21
|
+
./scripts/mcp-toggle.sh restore
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Available MCPs
|
|
25
|
+
|
|
26
|
+
- **shadcn**: 4.7k tokens (component registry)
|
|
27
|
+
- **cloudflare-docs**: 1.4k tokens (documentation search)
|
|
28
|
+
- **cloudflare-builds**: 5.7k tokens (Workers builds)
|
|
29
|
+
- **figma**: 2.0k tokens (design data)
|
|
30
|
+
- **ide**: 1.3k tokens (VS Code integration)
|
|
31
|
+
|
|
32
|
+
**Total:** ~15.1k tokens when all enabled
|
|
33
|
+
|
|
34
|
+
## Quick Commands
|
|
35
|
+
|
|
36
|
+
### Daily Development (Recommended)
|
|
37
|
+
```bash
|
|
38
|
+
./scripts/mcp-toggle.sh minimal
|
|
39
|
+
# Only shadcn enabled, saves ~10k tokens
|
|
40
|
+
# Restart Claude Code
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### When Deploying to Cloudflare
|
|
44
|
+
```bash
|
|
45
|
+
./scripts/mcp-toggle.sh full
|
|
46
|
+
# Enable all MCPs
|
|
47
|
+
# Restart Claude Code
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### When Designing with Figma
|
|
51
|
+
```bash
|
|
52
|
+
# Manually add figma to minimal config
|
|
53
|
+
# Or use full config temporarily
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Important Notes
|
|
57
|
+
|
|
58
|
+
1. **Restart Required**: After changing .mcp.json, restart Claude Code
|
|
59
|
+
2. **Backup Created**: Script automatically backs up before changes
|
|
60
|
+
3. **Token Savings**: Minimal config saves ~10k tokens (66% reduction)
|
|
61
|
+
4. **Default Minimal**: Use minimal config for daily work, switch to full only when needed
|
|
62
|
+
|
|
63
|
+
## Workflow
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Start of day: Go minimal
|
|
67
|
+
./scripts/mcp-toggle.sh minimal
|
|
68
|
+
# Restart Claude Code
|
|
69
|
+
# Work with ~5k MCP tokens instead of 15k
|
|
70
|
+
|
|
71
|
+
# When you need Cloudflare tools:
|
|
72
|
+
./scripts/mcp-toggle.sh full
|
|
73
|
+
# Restart Claude Code
|
|
74
|
+
# All MCPs available
|
|
75
|
+
|
|
76
|
+
# End of day: Back to minimal
|
|
77
|
+
./scripts/mcp-toggle.sh minimal
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Manual Override
|
|
81
|
+
|
|
82
|
+
Edit `.mcp.json` directly to enable specific MCPs:
|
|
83
|
+
|
|
84
|
+
```json
|
|
85
|
+
{
|
|
86
|
+
"mcpServers": {
|
|
87
|
+
"shadcn": { ... }, // Always keep
|
|
88
|
+
"cloudflare-docs": { ... } // Add when needed
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Restart Claude Code after editing.
|