@champpaba/claude-agent-kit 1.1.1 → 1.4.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/.claude/CLAUDE.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # CLAUDE.md
2
2
 
3
3
  > **Navigation Hub for AI Agents**
4
- > **Template Version:** 1.1.0 - Universal Multi-Agent Template
5
- > **Latest:** Production-ready with validation enforcement, TDD classification, and retry logic
4
+ > **Template Version:** 1.3.0 - Universal Multi-Agent Template
5
+ > **Latest:** TaskMaster Integration - Intelligent task analysis with complexity, dependencies, risk assessment
6
6
 
7
7
  ---
8
8
 
@@ -28,8 +28,10 @@ Universal, framework-agnostic template for AI-assisted development.
28
28
  ## 📖 Quick Navigation
29
29
 
30
30
  **Design/UI:**
31
- - `/designsetup` - **NEW!** Auto-generate style guide from reference/codebase/AI
32
- - `design-system/STYLE_GUIDE.md` - Project-specific style guide (generated by /designsetup)
31
+ - `/designsetup` - Auto-generate style guide from reference/codebase/AI
32
+ - `design-system/STYLE_TOKENS.json` - **NEW!** Lightweight design tokens (~500 tokens)
33
+ - `design-system/STYLE_GUIDE.md` - Full style guide (17 sections, ~5000 tokens)
34
+ - `@/.claude/lib/document-loader.md` - **NEW!** Token-efficient loading patterns ✨
33
35
  - `@/.claude/contexts/design/index.md` (General design principles - fallback)
34
36
  - `@/.claude/contexts/design/box-thinking.md` (Layout analysis)
35
37
  - `@/.claude/contexts/patterns/ui-component-consistency.md` (Visual consistency)
@@ -80,475 +82,81 @@ Universal, framework-agnostic template for AI-assisted development.
80
82
 
81
83
  ## 📚 Best Practices System
82
84
 
83
- ### How It Works:
85
+ **→ See:** `@/.claude/lib/detailed-guides/best-practices-system.md` for complete guide
84
86
 
85
- 1. **Run `/agentsetup`** to detect tech stack and generate best practices
86
- 2. **Context7 queries** latest framework docs (React, Next.js, Prisma, etc.)
87
- 3. **Best practices files** created in `domain/{project}/best-practices/`
88
- 4. **Agents auto-discover** project via 3-level indexing
89
- 5. **Code quality** enforced by framework-specific patterns
90
-
91
- ### Generated Files:
92
-
93
- ```
94
- .claude/contexts/domain/
95
- ├── index.md # Level 1 - Project Registry
96
- └── {project}/
97
- ├── README.md # Level 2 - Project Overview
98
- ├── tech-stack.md # Tech details
99
- └── best-practices/
100
- ├── index.md # Level 3 - Best Practices Registry
101
- ├── react-18.md # ✅ DO's, ❌ DON'Ts, 🎯 Checklist
102
- ├── nextjs-15.md
103
- ├── prisma-6.md
104
- └── vitest-2.md
105
- ```
106
-
107
- ### Agent Discovery Flow:
108
-
109
- **Every agent follows this sequence (STEP 0):**
110
-
111
- ```
112
- 1. Read: domain/index.md → Get current project name
113
- 2. Read: domain/{project}/README.md → Get tech stack
114
- 3. Read: domain/{project}/best-practices/index.md → Get relevant files
115
- 4. Read: domain/{project}/best-practices/{files} → Load best practices
116
- 5. Report: "✅ Project Context Loaded"
117
- ```
118
-
119
- **Example: uxui-frontend agent**
120
- ```
121
- ✅ Project Context Loaded
122
-
123
- 📁 Project: my-app
124
- 🛠️ Stack: Next.js 15, React 18, Prisma 6
125
- 📚 Best Practices Loaded:
126
- - React 18 ✓
127
- - Next.js 15 ✓
128
-
129
- 🎯 Ready to create UI components!
130
- ```
87
+ **Quick Summary:**
88
+ - Run `/agentsetup` Auto-detects tech stack Queries Context7 → Generates framework-specific best practices
89
+ - Files created in `.claude/contexts/domain/{project}/best-practices/` (React, Next.js, Prisma, etc.)
90
+ - Agents auto-discover via 3-level indexing (domain → project → best-practices)
91
+ - Enforces code quality with framework-specific patterns
131
92
 
132
93
  ---
133
94
 
134
95
  ## 🎨 Design System / Style Guide Generation
135
96
 
136
- ### How It Works:
137
-
138
- `/designsetup` **auto-detects** your project context and generates a comprehensive style guide.
139
-
140
- **Three Smart Paths:**
141
-
142
- 1. **Path 1: Reference Design** (Priority 1)
143
- - Detects: `reference/`, `design-reference/`, `designs/` folders
144
- - Analyzes: HTML files (SingleFile exports), screenshots
145
- - **Auto-detects design style** (Neo-Brutalism, Minimalist, Modern, etc.)
146
- - Output: Style guide based on reference design (17 sections, always)
97
+ **→ See:** `@/.claude/lib/detailed-guides/design-system.md` for complete guide
147
98
 
148
- 2. **Path 2: Brownfield - Reverse Engineering** (Priority 2)
149
- - Detects: Existing codebase (> 10 components)
150
- - Extracts: Colors, spacing, typography, component patterns
151
- - Output: Style guide reflecting current state + cleanup suggestions
152
-
153
- 3. **Path 3: Greenfield - AI-Generated** (Priority 3)
154
- - Detects: Empty project (< 10 components)
155
- - Asks: Application type (SaaS, Marketing, E-commerce, etc.)
156
- - Output: Modern, best-practice style guide
157
-
158
- ### Generated File:
159
-
160
- ```
161
- design-system/
162
- └── STYLE_GUIDE.md ← Comprehensive 17-section guide
163
- ```
164
-
165
- **All 17 Sections (Complete):**
166
- 1. Overview
167
- 2. Design Philosophy
168
- 3. Color Palette (HEX codes, usage, Tailwind classes)
169
- 4. Typography (headings, body, weights)
170
- 5. Spacing System (4px/8px grid)
171
- 6. Component Styles (Button, Card, Input, Badge, etc.)
172
- 7. Shadows & Elevation
173
- 8. Animations & Transitions
174
- 9. Border Styles
175
- 10. Border Radius
176
- 11. **Opacity & Transparency** (standalone)
177
- 12. **Z-Index Layers** (standalone)
178
- 13. **Responsive Breakpoints** (standalone)
179
- 14. CSS Variables / Tailwind Theme (Design Tokens in JSON)
180
- 15. Layout Patterns
181
- 16. Example Component Reference (React + Tailwind code)
182
- 17. Additional Sections (Best Practices, Accessibility, Icon System)
183
-
184
- ### Workflow:
185
-
186
- ```bash
187
- # Recommended flow:
188
-
189
- # 1. Generate style guide FIRST (optional but recommended)
190
- /designsetup
191
-
192
- # 2. Setup project (discovers style guide)
193
- /psetup
194
-
195
- # 3. Start development (agents use STYLE_GUIDE.md)
196
- /csetup feature-login
197
- /cdev feature-login
198
- ```
199
-
200
- ### Agent Discovery:
201
-
202
- **uxui-frontend agent automatically reads:**
203
- 1. `design-system/STYLE_GUIDE.md` (if exists) ← **Priority #1**
204
- 2. `.claude/contexts/design/*.md` (general principles) ← Fallback
205
-
206
- **Why this matters:**
207
- - ✅ Ensures visual consistency (no hardcoded colors, spacing)
208
- - ✅ Prevents duplicate components
209
- - ✅ Enforces accessibility standards
210
- - ✅ Speeds up development (reuse patterns)
99
+ **Quick Summary:**
100
+ - `/designsetup` auto-detects project context with **3 smart paths**: Reference design → Brownfield (reverse engineering) → Greenfield (AI-generated)
101
+ - Generates comprehensive `design-system/STYLE_GUIDE.md` (17 sections: colors, typography, spacing, components, etc.)
102
+ - **uxui-frontend agent** auto-reads style guide (Priority #1) or falls back to general design principles
103
+ - Ensures visual consistency, prevents duplicates, enforces accessibility
211
104
 
212
105
  ---
213
106
 
214
- ## 📋 Page Planning System (NEW!)
215
-
216
- ### What is /pageplan?
217
-
218
- **Problem it solves:**
219
- - ❌ Before: Agent creates UI without knowing existing components → duplicates Navbar 3 times
220
- - ❌ Before: Agent uses random colors, spacing → Landing page `#0d7276`, Dashboard `#4f46e5` (inconsistent!)
221
- - ❌ Before: Agent uses lorem ipsum → No real content
222
-
223
- **Solution: /pageplan command**
224
- - ✅ Searches existing components BEFORE implementing
225
- - ✅ Generates component reuse plan (Navbar ✅ reuse, HeroSection ❌ create)
226
- - ✅ AI drafts real content from PRD (headlines, descriptions)
227
- - ✅ Creates asset checklist for user to prepare (images, icons)
228
-
229
- ### How It Works:
230
-
231
- ```bash
232
- # Step 1: OpenSpec generates proposal
233
- User: "Build landing page"
234
- → proposal.md + tasks.md
235
-
236
- # Step 2: Generate page plan
237
- User: /pageplan @prd.md @project_brief.md
238
-
239
- Main Claude:
240
- 1. Reads user-specified files (@prd.md, @brief.md)
241
- 2. Reads proposal.md (technical architecture)
242
- 3. Reads STYLE_GUIDE.md (visual design)
243
- 4. Searches existing components (Glob/Grep)
244
- 5. Generates: .changes/{id}/page-plan.md
245
- - 🔄 Reuse: Navbar, Footer (found)
246
- - ✅ New: HeroSection, FeatureGrid (create)
247
- - 📝 Content draft (AI-generated from PRD)
248
- - 📦 Asset checklist (user prepares)
249
-
250
- # Step 3: User reviews & prepares
251
- → Edit content draft
252
- → Prepare assets (images, icons)
253
- → Approve page-plan.md
254
-
255
- # Step 4: Setup & implement
256
- User: /csetup landing-page
257
- User: /cdev landing-page
258
-
259
- → uxui-frontend agent:
260
- - STEP 0.5: Reads page-plan.md ✅
261
- - STEP 3: SKIP component search (page-plan did it!) ⚡
262
- - Implements: Reuse Navbar, create HeroSection
263
- - Uses: Real content from page-plan
264
- - References: Assets user prepared
265
- ```
107
+ ## Context Optimization (v1.2.0)
266
108
 
267
- ### page-plan.md Structure:
268
-
269
- ```markdown
270
- # Page Plan: Landing Page
271
-
272
- ## 1. Component Plan
273
- 🔄 Reuse: Navbar, Footer (found in codebase)
274
- ✅ New Shared: (none)
275
- ✅ New Specific: HeroSection, FeatureGrid, TestimonialCarousel
276
-
277
- ## 2. Page Structure
278
- <Layout>
279
- <Navbar /> {/* Reuse */}
280
- <HeroSection /> {/* New - content below */}
281
- <FeatureGrid /> {/* New - content below */}
282
- <Footer /> {/* Reuse */}
283
- </Layout>
284
-
285
- ## 3. Assets to Prepare (คุณต้องเตรียม)
286
- - [ ] hero-image.jpg (1920x1080)
287
- - [ ] logo.svg (200x60)
288
- - [ ] feature-icons (3x 24x24 SVG)
289
-
290
- ## 4. Content Draft (AI-Generated - กรุณา Review & Edit)
291
- **Headline:** "Master TOEIC with AI-Powered Tests"
292
- **Subheadline:** "Experience exam-quality questions..."
293
- **CTA:** "Start Free Test"
294
- ...
295
- ```
296
-
297
- ### Benefits:
298
-
299
- | Before (No page-plan) | After (With page-plan) |
300
- |----------------------|------------------------|
301
- | ❌ Agent guesses structure | ✅ Clear structure defined |
302
- | ❌ Duplicate components | ✅ Reuse existing components |
303
- | ❌ Inconsistent design | ✅ Sync with STYLE_GUIDE |
304
- | ❌ Lorem ipsum content | ✅ Real content from PRD |
305
- | ❌ Missing assets | ✅ Asset checklist prepared |
306
- | ❌ Agent wastes time searching | ✅ Search done once upfront (25% faster) |
109
+ **→ See:** `@/.claude/lib/detailed-guides/context-optimization.md` for complete guide
307
110
 
308
- ### When to Use:
309
-
310
- ```
311
- Use /pageplan for:
312
- - Landing pages
313
- - Dashboards
314
- - Multi-section UI pages
315
- - Any task with multiple components
316
-
317
- ❌ Skip /pageplan for:
318
- - Backend API endpoints
319
- - Database schemas
320
- - Simple single-component tasks
321
- - Non-UI work
322
- ```
323
-
324
- ### Integration with STYLE_GUIDE:
325
-
326
- ```
327
- STYLE_GUIDE.md → Visual design (colors, spacing, shadows)
328
- page-plan.md → Content structure (sections, components, assets)
329
-
330
- uxui-frontend agent combines both:
331
- - Colors from STYLE_GUIDE (#0d7276)
332
- - Content from page-plan ("Master TOEIC...")
333
- - Result: Consistent + Real content
334
- ```
111
+ **Quick Summary:**
112
+ - **Problem:** 20K tokens wasted (STYLE_GUIDE.md read 4x by different commands/agents)
113
+ - **Solution:** 3-tier loading → STYLE_TOKENS.json (500 tokens) → design-context.md (1K) → STYLE_GUIDE.md (5K, selective)
114
+ - **Result:** 70% token reduction (~4.7K total), 3-4x faster, maintained quality
335
115
 
336
116
  ---
337
117
 
338
- ## 🤖 Agent System
339
-
340
- ### How It Works:
118
+ ## 📋 Page Planning System
341
119
 
342
- **Main Claude analyzes tasks Invokes specialist agents directly**
120
+ **→ See:** `@/.claude/lib/detailed-guides/page-planning.md` for complete guide
343
121
 
344
- ```
345
- 1. User provides task (e.g., "Build login system")
346
-
347
- 2. Main Claude reads @task-classification.md
348
-
349
- 3. Main Claude selects appropriate agent(s)
350
-
351
- 4. Execute in proper sequence:
352
- - Phase 1: uxui-frontend (UI with mock data)
353
- - Phase 2: backend + database (parallel)
354
- - Phase 2.5: integration (validate contracts)
355
- - Phase 3: frontend (connect UI to API)
356
- - Phase 4: test-debug (tests & bug fixes)
357
- ```
358
-
359
- ### Available Agents (6 specialists):
360
-
361
- | Agent | Color | When to Use | Phase |
362
- |-------|-------|-------------|-------|
363
- | **integration** | Orange | Validate API contracts before connecting | 2.5 |
364
- | **uxui-frontend** | Blue | Design UI components with mock data | 1 |
365
- | **test-debug** | Red | Run tests and fix bugs (max 3-4 iterations) | 1,3,4 |
366
- | **frontend** | Green | Connect UI to backend APIs | 3 |
367
- | **backend** | Purple | Create API endpoints with validation | 2 |
368
- | **database** | Pink | Design schemas, migrations, complex queries | 2 |
369
-
370
- ### Usage:
371
-
372
- **For any task, Main Claude will:**
373
- 1. Read `@/.claude/contexts/patterns/task-classification.md`
374
- 2. Determine which agent(s) to use
375
- 3. Invoke agents in proper sequence
376
- 4. Coordinate between agents
377
-
378
- **You can also invoke agents directly:**
379
- ```
380
- User: "/agents uxui-frontend"
381
- Main Claude: *Executes uxui-frontend agent directly*
382
- ```
383
-
384
- ---
385
-
386
- ### 🔒 Main Claude Self-Check Protocol (MANDATORY)
387
-
388
- **⚠️ CRITICAL: Main Claude MUST complete this checklist BEFORE doing ANY work**
389
-
390
- See: `@/.claude/lib/agent-router.md` for complete routing protocol
391
-
392
- **Pre-Work Checklist (Run for EVERY user request):**
393
-
394
- ```markdown
395
- ## ✅ Pre-Work Self-Check
396
-
397
- [ ] 1. Read user request carefully
398
- - What are they asking for?
399
- - What is the end goal?
400
-
401
- [ ] 2. Detect work type
402
- - Is this implementation work? (writing code, creating files)
403
- - Is this planning/analysis? (reading, explaining, breaking down)
404
-
405
- [ ] 3. If IMPLEMENTATION work:
406
- - Read: @/.claude/contexts/patterns/task-classification.md
407
- - Which agent should handle this?
408
- • UI components → uxui-frontend
409
- • API endpoints → backend
410
- • Database schemas → database
411
- • API integration → frontend
412
- • Tests/bugs → test-debug
413
- • Contracts → integration
414
-
415
- [ ] 4. Can Main Claude do this?
416
- ✅ YES for: Planning, reading files, explaining, orchestrating workflows
417
- ❌ NO for: Writing components, creating endpoints, designing schemas
418
-
419
- [ ] 5. If MUST delegate:
420
- - Use Task tool with selected agent
421
- - Include all necessary context
422
- - Wait for agent response
423
- - Update flags.json after completion (if using /cdev)
424
-
425
- [ ] 6. Report decision to user
426
- ```
427
- 🔍 Task Analysis:
428
- - Work type: [type]
429
- - Requires: [agent] agent
430
- - Reason: [explanation]
431
-
432
- 🚀 Invoking [agent] agent...
433
- ```
434
- ```
435
-
436
- **Main Claude's Role:**
437
- - ✅ Orchestrator (plan, coordinate, report)
438
- - ✅ Progress tracker (update flags.json)
439
- - ✅ Analyst (read files, explain code)
440
- - ❌ NOT implementer (no writing code directly)
441
-
442
- **If Main Claude skips this self-check for implementation work, it violates system protocol.**
122
+ **Quick Summary:**
123
+ - **Problem:** Agents duplicate components (Navbar 3x), use random colors, lorem ipsum content
124
+ - **Solution:** `/pageplan @prd.md @brief.md` → Generates `.changes/{id}/page-plan.md` with component reuse plan, AI-drafted content, asset checklist
125
+ - **Benefits:** Prevents duplicates, ensures design consistency, real content from PRD, 25% faster (search done once upfront)
126
+ - **Use for:** Landing pages, dashboards, multi-section UI pages (skip for backend/database work)
443
127
 
444
128
  ---
445
129
 
446
- ### ⚠️ Agent Pre-Work Requirements
130
+ ## 🧠 TaskMaster-style Analysis (v1.3.0)
447
131
 
448
- **STEP 0 (ALL agents):** Every agent must discover project context first
132
+ **→ See:** `@/.claude/lib/detailed-guides/taskmaster-analysis.md` for complete guide
449
133
 
450
- **STEP 1-5 (uxui-frontend only):** Design fundamentals checklist
134
+ **Quick Summary:**
135
+ - **Problem:** Dumb task lists treat all tasks equally → no complexity/dependency/risk analysis → tasks fail, delays, security issues
136
+ - **Solution:** `/csetup` uses **6 analysis dimensions**: Complexity (1-10), Dependencies (auto-detected), Risk (LOW/MEDIUM/HIGH), Research requirements, Subtask breakdown, Priority (0-100)
137
+ - **Benefits:** Intelligent phases.md with time buffers (+41%), auto-added research phases, dependency order, risk mitigation
138
+ - **Inspired by:** [claude-task-master](https://github.com/eyaltoledano/claude-task-master)
451
139
 
452
140
  ---
453
141
 
454
- #### STEP 0: Project Discovery (ALL Agents)
455
-
456
- **Every agent MUST complete this before ANY work:**
457
-
458
- ```
459
- 1. Read: domain/index.md → Get current project name
460
- 2. Read: domain/{project}/README.md → Get tech stack summary
461
- 3. Read: domain/{project}/best-practices/index.md → Find relevant files
462
- 4. Read: domain/{project}/best-practices/{files} → Load best practices
463
- 5. Report: "✅ Project Context Loaded"
464
- ```
465
-
466
- **STEP 0.5 (uxui-frontend ONLY):**
467
-
468
- ```
469
- 6. Check: design-system/STYLE_GUIDE.md exists?
470
- - If YES → Read STYLE_GUIDE.md (Priority #1 - project-specific)
471
- - If NO → Read .claude/contexts/design/*.md (Fallback - general principles)
472
- 7. Report: "✅ Style Guide Loaded" or "⚠️ No style guide - using general principles"
473
- ```
474
-
475
- **Why this matters:**
476
- - STYLE_GUIDE.md = project-specific design system (colors, spacing, components)
477
- - design/*.md = universal design principles (box thinking, color theory)
478
- - Priority: STYLE_GUIDE.md > design/*.md
479
-
480
- **Fallback:** If discovery fails, warn user to run `/agentsetup` or `/designsetup`
481
-
482
- ---
483
-
484
- #### STEP 1-5: Design Fundamentals (uxui-frontend only)
142
+ ## 🤖 Agent System
485
143
 
486
- **When invoking uxui-frontend agent, Main Claude MUST include these requirements in the Task prompt:**
144
+ **→ See:** `@/.claude/lib/detailed-guides/agent-system.md` for complete guide
487
145
 
488
- ```
489
- MANDATORY PRE-WORK CHECKLIST (after STEP 0):
490
-
491
- Before writing ANY code, you MUST:
492
-
493
- 1. **Read ALL design contexts:**
494
- - @/.claude/contexts/design/index.md
495
- - @/.claude/contexts/design/box-thinking.md
496
- - @/.claude/contexts/design/color-theory.md
497
- - @/.claude/contexts/design/spacing.md
498
- - @/.claude/contexts/patterns/ui-component-consistency.md
499
- - @/.claude/contexts/patterns/frontend-component-strategy.md
500
-
501
- 2. **Do Box Thinking Analysis:**
502
- - Identify all boxes (parent, children, siblings)
503
- - Document relationships (container, adjacent, nested)
504
- - Plan space flow using spacing scale (8, 16, 24, 32, 40, 48px)
505
- - Plan responsive behavior (stack/merge/compress)
506
-
507
- 3. **Search for Existing Components:**
508
- - Glob: "**/*{Keyword}*.{tsx,jsx,vue}"
509
- - Grep: "[similar-pattern]"
510
- - Decision: Reuse > Compose > Extend > Create New
511
- - If creating new: Extract design tokens from most similar component
512
-
513
- 4. **Extract Design Tokens from Reference Component:**
514
- ```typescript
515
- const DESIGN_TOKENS = {
516
- spacing: { padding: '[from reference]', gap: '[from reference]' },
517
- colors: { bg: '[theme token]', text: '[theme token]', border: '[theme token]' },
518
- shadows: '[from reference - e.g., shadow-sm]',
519
- borderRadius: '[from reference - e.g., rounded-md]'
520
- }
521
- ```
522
-
523
- 5. **Report Pre-Implementation Analysis:**
524
- You MUST provide a detailed report covering steps 1-4 BEFORE writing any code.
525
-
526
- CRITICAL RULES:
527
- - ❌ NO hardcoded colors (text-gray-500) → ✅ Use theme tokens (text-foreground/70)
528
- - ❌ NO arbitrary spacing (p-5) → ✅ Use spacing scale (p-4, p-6)
529
- - ❌ NO inconsistent icons (h-5 w-5, opacity-50) → ✅ Match reference (h-4 w-4, text-foreground/70)
530
- - ❌ NO creating duplicate components → ✅ Search and reuse first
531
-
532
- If you skip these steps, your work will be rejected.
533
- ```
146
+ **Quick Summary:**
147
+ - **6 specialist agents**: integration (validate contracts), uxui-frontend (UI with mock data), test-debug (tests/bugs), frontend (connect UI to API), backend (API endpoints), database (schemas/migrations)
148
+ - **Main Claude's role**: Orchestrator (plan, coordinate, report), NOT implementer (no writing code directly)
149
+ - **Self-check protocol**: MANDATORY checklist before ANY work (detect work type → select agent → delegate)
150
+ - **Agent pre-work**: STEP 0 (project discovery for ALL) + STEP 1-5 (design fundamentals for uxui-frontend only)
534
151
 
535
- **Why this enforcement matters:**
536
- - Prevents visual inconsistency (mismatched colors, spacing, shadows)
537
- - Ensures component reuse (avoids duplicates)
538
- - Maintains design system integrity
539
- - Saves implementation time
540
-
541
- **Example: Build Login System**
542
- ```
543
- User: "Build a login system"
544
- Main Claude analyzes → Breaks into phases:
545
- Phase 1: /agents uxui-frontend (create login form UI)
546
- Phase 2: /agents backend (create POST /api/login)
547
- /agents database (create User model) [parallel]
548
- Phase 2.5: /agents integration (verify contracts)
549
- Phase 3: /agents frontend (connect form to API)
550
- Phase 4: /agents test-debug (test everything)
152
+ **Example workflow:**
551
153
  ```
154
+ User: "Build login system"
155
+ → Phase 1: uxui-frontend (UI)
156
+ → Phase 2: backend + database (parallel)
157
+ → Phase 2.5: integration (validate contracts)
158
+ → Phase 3: frontend (connect UI to API)
159
+ → Phase 4: test-debug (tests)
552
160
 
553
161
  ---
554
162