@champpaba/claude-agent-kit 3.5.0 → 3.6.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/CHANGELOG.md +60 -0
- package/.claude/CLAUDE.md +105 -45
- package/.claude/agents/01-integration.md +0 -0
- package/.claude/agents/02-uxui-frontend.md +1 -1
- package/.claude/agents/03-test-debug.md +0 -0
- package/.claude/agents/04-frontend.md +0 -0
- package/.claude/agents/05-backend.md +0 -0
- package/.claude/agents/06-database.md +0 -0
- package/.claude/agents/07-ux-tester.md +92 -84
- package/.claude/agents/CLAUDE.md +18 -0
- package/.claude/agents/_shared/CLAUDE.md +11 -0
- package/.claude/agents/_shared/README.md +0 -0
- package/.claude/agents/_shared/agent-boundaries.md +0 -0
- package/.claude/agents/_shared/documentation-policy.md +0 -0
- package/.claude/agents/_shared/package-manager.md +0 -0
- package/.claude/agents/_shared/pre-work-checklist.md +45 -2
- package/.claude/commands/CLAUDE.md +20 -0
- package/.claude/commands/cdev.md +20 -4
- package/.claude/commands/csetup.md +0 -0
- package/.claude/commands/cstatus.md +0 -0
- package/.claude/commands/cview.md +0 -0
- package/.claude/commands/designsetup.md +0 -0
- package/.claude/commands/extract.md +22 -20
- package/.claude/commands/pageplan.md +0 -0
- package/.claude/commands/pstatus.md +0 -0
- package/.claude/contexts/_core/CLAUDE.md +11 -0
- package/.claude/contexts/_core/README.md +33 -0
- package/.claude/contexts/{patterns → _core}/code-standards.md +0 -0
- package/.claude/contexts/{patterns → _core}/development-principles.md +0 -0
- package/.claude/contexts/design/CLAUDE.md +17 -0
- package/.claude/contexts/design/accessibility.md +2 -2
- package/.claude/contexts/design/box-thinking.md +0 -0
- package/.claude/contexts/design/color-theory.md +2 -2
- package/.claude/contexts/design/index.md +0 -0
- package/.claude/contexts/design/layout.md +0 -0
- package/.claude/contexts/design/responsive.md +0 -0
- package/.claude/contexts/design/shadows.md +0 -0
- package/.claude/contexts/design/spacing.md +0 -0
- package/.claude/contexts/design/typography.md +0 -0
- package/.claude/contexts/domain/README.md +0 -0
- package/.claude/contexts/patterns/CLAUDE.md +13 -0
- package/.claude/contexts/patterns/agent-coordination.md +0 -0
- package/.claude/contexts/patterns/agent-discovery.md +0 -0
- package/.claude/contexts/patterns/animation-patterns.md +0 -0
- package/.claude/contexts/patterns/change-workflow.md +1 -1
- package/.claude/contexts/patterns/error-handling.md +0 -0
- package/.claude/contexts/patterns/error-recovery.md +0 -0
- package/.claude/contexts/patterns/frontend-component-strategy.md +0 -0
- package/.claude/contexts/patterns/git-workflow.md +0 -0
- package/.claude/contexts/patterns/logging.md +0 -0
- package/.claude/contexts/patterns/performance-optimization.md +1 -1
- package/.claude/contexts/patterns/task-breakdown.md +0 -0
- package/.claude/contexts/patterns/task-classification.md +0 -0
- package/.claude/contexts/patterns/tdd-classification.md +0 -0
- package/.claude/contexts/patterns/testing.md +0 -0
- package/.claude/contexts/patterns/ui-component-consistency.md +0 -0
- package/.claude/contexts/patterns/validation-framework.md +0 -0
- package/.claude/lib/CLAUDE.md +19 -0
- package/.claude/lib/README.md +1 -1
- package/.claude/lib/agent-executor.md +1 -1
- package/.claude/lib/agent-router.md +0 -0
- package/.claude/lib/context-loading-protocol.md +0 -0
- package/.claude/lib/design-validator.md +8 -8
- package/.claude/lib/detailed-guides/agent-system.md +0 -0
- package/.claude/lib/detailed-guides/best-practices-system.md +0 -0
- package/.claude/lib/detailed-guides/context-optimization.md +0 -0
- package/.claude/lib/detailed-guides/design-system.md +0 -0
- package/.claude/lib/detailed-guides/incremental-testing.md +0 -0
- package/.claude/lib/detailed-guides/page-planning.md +0 -0
- package/.claude/lib/detailed-guides/taskmaster-analysis.md +0 -0
- package/.claude/lib/document-loader.md +0 -0
- package/.claude/lib/feature-best-practices.md +0 -0
- package/.claude/lib/flags-updater.md +0 -0
- package/.claude/lib/handoff-protocol.md +0 -0
- package/.claude/lib/task-analyzer.md +2 -2
- package/.claude/lib/tdd-workflow.md +0 -0
- package/.claude/lib/validation-gates.md +0 -0
- package/.claude/settings.local.json +0 -0
- package/.claude/templates/PROJECT_STATUS.template.yml +0 -0
- package/.claude/templates/STYLE_GUIDE.template.md +0 -0
- package/.claude/templates/context-template.md +0 -0
- package/.claude/templates/design-context-template.md +0 -0
- package/.claude/templates/flags-template.json +0 -0
- package/.claude/templates/page-plan-example.md +0 -0
- package/.claude/templates/phases-sections/CLAUDE.md +13 -0
- package/.claude/templates/phases-sections/accessibility-test.md +0 -0
- package/.claude/templates/phases-sections/api-design.md +0 -0
- package/.claude/templates/phases-sections/backend-tests.md +0 -0
- package/.claude/templates/phases-sections/backend.md +0 -0
- package/.claude/templates/phases-sections/business-logic-validation.md +0 -0
- package/.claude/templates/phases-sections/component-tests.md +0 -0
- package/.claude/templates/phases-sections/contract-backend.md +0 -0
- package/.claude/templates/phases-sections/contract-frontend.md +0 -0
- package/.claude/templates/phases-sections/database.md +0 -0
- package/.claude/templates/phases-sections/e2e-tests.md +0 -0
- package/.claude/templates/phases-sections/fix-implementation.md +0 -0
- package/.claude/templates/phases-sections/frontend-integration.md +0 -0
- package/.claude/templates/phases-sections/frontend-mockup.md +0 -0
- package/.claude/templates/phases-sections/manual-flow-test.md +0 -0
- package/.claude/templates/phases-sections/manual-ux-test.md +0 -0
- package/.claude/templates/phases-sections/refactor-implementation.md +0 -0
- package/.claude/templates/phases-sections/refactor.md +0 -0
- package/.claude/templates/phases-sections/regression-tests.md +0 -0
- package/.claude/templates/phases-sections/responsive-test.md +0 -0
- package/.claude/templates/phases-sections/script-implementation.md +0 -0
- package/.claude/templates/phases-sections/test-coverage.md +0 -0
- package/.claude/templates/phases-sections/user-approval.md +0 -0
- package/.claude/templates/phases-sections/ux-testing.md +6 -10
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/bin/CLAUDE.md +11 -0
- package/bin/cli.js +0 -0
- package/lib/CLAUDE.md +11 -0
- package/lib/helpers.js +0 -0
- package/lib/init.js +0 -0
- package/lib/update.js +0 -0
- package/package.json +3 -2
- package/skills/design-extract/CLAUDE.md +12 -0
- package/skills/design-extract/SKILL.md +76 -0
- package/skills/design-extract/references/CLAUDE.md +16 -0
- package/skills/design-extract/references/error-handling.md +161 -0
- package/skills/design-extract/references/extraction-steps.md +183 -0
- package/skills/design-extract/references/output-format.md +250 -0
- package/skills/design-extract/references/style-detection.md +137 -0
- package/skills/design-extract/templates/CLAUDE.md +11 -0
- package/skills/design-extract/templates/data.yaml.template +95 -0
- package/skills/design-setup/CLAUDE.md +11 -0
- package/skills/design-setup/SKILL.md +104 -0
- package/skills/design-setup/references/CLAUDE.md +11 -0
- package/skills/design-setup/references/data-yaml-schema.md +205 -0
- package/skills/design-setup/references/error-handling.md +157 -0
- package/skills/design-setup/references/generation-steps.md +192 -0
- package/skills/design-setup/references/interactive-workflow.md +151 -0
- package/skills/page-planner/CLAUDE.md +11 -0
- package/skills/page-planner/SKILL.md +112 -0
- package/skills/page-planner/references/CLAUDE.md +11 -0
- package/skills/page-planner/references/animation-patterns.md +169 -0
- package/skills/page-planner/references/generation-steps.md +166 -0
- package/skills/page-planner/references/wireframe-patterns.md +182 -0
- package/skills/page-planner/templates/CLAUDE.md +11 -0
- package/skills/page-planner/templates/page-plan.md +303 -0
package/.claude/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,66 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## v3.5.2: UX Tester v3.0 - Inline Output (No File Creation)
|
|
9
|
+
|
|
10
|
+
**Problem Solved:** User ไม่ต้องการให้ ux-tester สร้างไฟล์ .md แยก - ต้องการ verbose output ใน response แทน
|
|
11
|
+
|
|
12
|
+
**Solution:** Rewrote ux-tester to v3.0 - output inline verbose ใน response โดยไม่สร้างไฟล์
|
|
13
|
+
|
|
14
|
+
### Key Changes
|
|
15
|
+
|
|
16
|
+
| Before | After |
|
|
17
|
+
|--------|-------|
|
|
18
|
+
| สร้าง `ux-test-report.md` | ❌ ไม่สร้างไฟล์ |
|
|
19
|
+
| Compact format (MAX 150 lines) | ✅ Verbose ได้เลย |
|
|
20
|
+
| Table-only output | ✅ Detailed descriptions OK |
|
|
21
|
+
|
|
22
|
+
### Files Changed
|
|
23
|
+
|
|
24
|
+
| File | Change |
|
|
25
|
+
|------|--------|
|
|
26
|
+
| `.claude/agents/07-ux-tester.md` | v2.1→v3.0, inline output, no file creation |
|
|
27
|
+
| `.claude/commands/cdev.md` | Section 6: No File Output enforcement |
|
|
28
|
+
| `.claude/templates/phases-sections/ux-testing.md` | Remove file references |
|
|
29
|
+
|
|
30
|
+
### What Changed
|
|
31
|
+
|
|
32
|
+
- **Agent v3.0**: ห้ามสร้างไฟล์ .md, output ใน response เท่านั้น
|
|
33
|
+
- **Verbose OK**: ละเอียดได้เลย ไม่มี line limit
|
|
34
|
+
- **cdev.md**: Inject "NO FILE CREATION" rule เมื่อ invoke ux-tester
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## v3.5.1: UX Tester Report Format Enforcement
|
|
39
|
+
|
|
40
|
+
**Problem Solved:** UX Tester agent ignored the compact report format from v3.5.0 and still generated verbose reports (~200+ lines). Root cause: format template was "passive" - no enforcement mechanism.
|
|
41
|
+
|
|
42
|
+
**Solution:** Added CRITICAL format rules to agent file + format enforcement injection in cdev.md.
|
|
43
|
+
|
|
44
|
+
### Key Changes
|
|
45
|
+
|
|
46
|
+
| Change | Location | Purpose |
|
|
47
|
+
|--------|----------|---------|
|
|
48
|
+
| CRITICAL format rules | `07-ux-tester.md` | Hard limits: MAX 150 lines, tables only |
|
|
49
|
+
| Section 6 enforcement | `cdev.md` Step 4.1 | Inject format rules when invoking ux-tester |
|
|
50
|
+
|
|
51
|
+
### Files Changed
|
|
52
|
+
|
|
53
|
+
| File | Change |
|
|
54
|
+
|------|--------|
|
|
55
|
+
| `.claude/agents/07-ux-tester.md` | Added "⚠️ CRITICAL: Report Format Rules" section, version 2.0→2.1 |
|
|
56
|
+
| `.claude/commands/cdev.md` | Added Section 6: Report Format Enforcement (ux-tester only) |
|
|
57
|
+
|
|
58
|
+
### Format Rules Enforced
|
|
59
|
+
|
|
60
|
+
- MAX 150 lines total
|
|
61
|
+
- Tables ONLY (no paragraphs for personas/issues)
|
|
62
|
+
- 1 row per persona, 1 row per issue
|
|
63
|
+
- MAX 10 steps in Human Testing Guide
|
|
64
|
+
- No verbose persona backgrounds/stories
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
8
68
|
## v3.5.0: UX Tester v2.0 - Token Optimized + Human Testing Guide
|
|
9
69
|
|
|
10
70
|
**Problem Solved:** UX Tester agent generated verbose reports (~200 lines) with repetitive persona details, consuming excessive tokens (~3,500). Users couldn't easily test the UI themselves because the report was technical and long.
|
package/.claude/CLAUDE.md
CHANGED
|
@@ -1,47 +1,19 @@
|
|
|
1
1
|
# CLAUDE.md
|
|
2
2
|
|
|
3
3
|
> **Navigation Hub for AI Agents**
|
|
4
|
-
> **Template Version:** 3.
|
|
5
|
-
> **Latest:**
|
|
4
|
+
> **Template Version:** 3.7.0 - Skills-Based Architecture
|
|
5
|
+
> **Latest:** Token-optimized with skill-based commands (45-65% savings)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## 📁 File Naming Conventions
|
|
9
|
+
## 📁 File Naming Conventions
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
| Source | Files | Purpose |
|
|
12
|
+
|--------|-------|---------|
|
|
13
|
+
| **OpenSpec** | `proposal.md`, `tasks.md`, `design.md`, `specs/` | WHY, WHAT, Architecture |
|
|
14
|
+
| **Template** | `data.yaml`, `page-plan.md`, `pre-work-context.md`, `phases.md` | Visual design, Agent context |
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
| File | Purpose | When to Read |
|
|
16
|
-
|------|---------|--------------|
|
|
17
|
-
| `proposal.md` | WHY - Goals, scope, rationale | Phase planning |
|
|
18
|
-
| `tasks.md` | WHAT - Implementation checklist | Task tracking |
|
|
19
|
-
| `design.md` | **Technical/Architecture decisions** (optional) | Backend/Database phases |
|
|
20
|
-
| `specs/` | Delta specs (ADDED/MODIFIED/REMOVED) | Requirement validation |
|
|
21
|
-
|
|
22
|
-
### Template Files (from claude-multi-agent-template)
|
|
23
|
-
|
|
24
|
-
| File | Purpose | When to Read |
|
|
25
|
-
|------|---------|--------------|
|
|
26
|
-
| `README.md` | **Visual design summary** (human-readable) | UI/Frontend phases |
|
|
27
|
-
| `data.yaml` | Design tokens + psychology (~300 lines) | Quick UI reference |
|
|
28
|
-
| `page-plan.md` | UI component layout + content strategy | uxui-frontend agent |
|
|
29
|
-
| `pre-work-context.md` | **v3.2.0!** All agent context (best practices, warnings, checklist) | All agents - STEP 0 ✨ |
|
|
30
|
-
| `phases.md` | Execution plan with agent assignments | All phases |
|
|
31
|
-
| `flags.json` | Progress tracking | All phases |
|
|
32
|
-
|
|
33
|
-
### Key Distinction
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
OpenSpec design.md = Technical Architecture (data flow, API structure, system design)
|
|
37
|
-
Template data.yaml = Visual Design (colors, fonts, spacing, component styles)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
**Agents should read BOTH when relevant:**
|
|
41
|
-
- `uxui-frontend` → data.yaml (visual tokens) + design.md (if has UI architecture)
|
|
42
|
-
- `backend` → design.md (API/data architecture)
|
|
43
|
-
- `database` → design.md (data models, relationships)
|
|
44
|
-
- `frontend` → data.yaml (visual tokens) + design.md (API contracts)
|
|
16
|
+
**Key Distinction:** `design.md` = Technical Architecture, `data.yaml` = Visual Design
|
|
45
17
|
|
|
46
18
|
---
|
|
47
19
|
|
|
@@ -75,16 +47,28 @@ Universal, framework-agnostic template for AI-assisted development.
|
|
|
75
47
|
- `@/.claude/lib/document-loader.md` - Token-efficient loading patterns
|
|
76
48
|
- `@/.claude/contexts/design/index.md` (General design principles - fallback)
|
|
77
49
|
|
|
78
|
-
**Development:**
|
|
79
|
-
|
|
80
|
-
|
|
50
|
+
**Development (Tiered Loading v3.6.0):**
|
|
51
|
+
|
|
52
|
+
*Tier 1 - Core (ALL agents):*
|
|
53
|
+
- `@/.claude/contexts/_core/development-principles.md` - SOLID, DRY, KISS, Fail Fast ✨
|
|
54
|
+
- `@/.claude/contexts/_core/code-standards.md` - Naming, formatting, structure ✨
|
|
55
|
+
|
|
56
|
+
*Tier 2 - Agent-Specific (load by role):*
|
|
57
|
+
- `@/.claude/contexts/patterns/tdd-classification.md` - test-debug agent
|
|
58
|
+
- `@/.claude/contexts/patterns/error-handling.md` - backend, database, frontend
|
|
59
|
+
- `@/.claude/contexts/patterns/logging.md` - backend, database
|
|
60
|
+
- `@/.claude/contexts/patterns/testing.md` - test-debug agent
|
|
61
|
+
- `@/.claude/contexts/patterns/ui-component-consistency.md` - uxui-frontend agent
|
|
62
|
+
- `@/.claude/contexts/patterns/frontend-component-strategy.md` - frontend agent
|
|
63
|
+
|
|
64
|
+
*Tier 3 - On-Demand:*
|
|
81
65
|
- `@/.claude/contexts/patterns/task-classification.md` (Agent selection guide)
|
|
82
66
|
- `@/.claude/contexts/patterns/agent-coordination.md` (When to run agents parallel/sequential)
|
|
83
67
|
- `@/.claude/contexts/patterns/error-recovery.md` (How agents handle errors & escalate)
|
|
84
|
-
- `@/.claude/contexts/patterns/logging.md`
|
|
85
|
-
- `@/.claude/contexts/patterns/testing.md`
|
|
86
68
|
- `@/.claude/contexts/patterns/task-breakdown.md`
|
|
87
|
-
- `@/.claude/contexts/patterns/
|
|
69
|
+
- `@/.claude/contexts/patterns/performance-optimization.md`
|
|
70
|
+
|
|
71
|
+
→ Full mapping: `.claude/agents/_shared/pre-work-checklist.md` (Step 0.4)
|
|
88
72
|
|
|
89
73
|
**Project Setup:**
|
|
90
74
|
- `/extract https://site.com` - Extract design from reference sites
|
|
@@ -179,6 +163,57 @@ Universal, framework-agnostic template for AI-assisted development.
|
|
|
179
163
|
|
|
180
164
|
---
|
|
181
165
|
|
|
166
|
+
## ⚡ Tiered Context Loading (v3.6.0 - NEW!)
|
|
167
|
+
|
|
168
|
+
**→ See:** `@/.claude/agents/_shared/pre-work-checklist.md` (Step 0.4)
|
|
169
|
+
|
|
170
|
+
**Problem Solved:**
|
|
171
|
+
- Loading all 13,000+ lines of contexts wastes tokens
|
|
172
|
+
- Agents load knowledge they don't need (UI agent loads backend patterns)
|
|
173
|
+
- No clear guidance on which contexts are relevant per agent
|
|
174
|
+
|
|
175
|
+
**Solution: 3-Tier Loading System**
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
179
|
+
│ Tier 1: Core (_core/) ~900 lines ALWAYS LOAD │
|
|
180
|
+
├─────────────────────────────────────────────────────────────┤
|
|
181
|
+
│ development-principles.md (SOLID, DRY, KISS) │
|
|
182
|
+
│ code-standards.md (naming, formatting) │
|
|
183
|
+
└─────────────────────────────────────────────────────────────┘
|
|
184
|
+
↓
|
|
185
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
186
|
+
│ Tier 2: Agent-Specific ~1,500 lines LOAD BY ROLE │
|
|
187
|
+
├─────────────────────────────────────────────────────────────┤
|
|
188
|
+
│ uxui-frontend → design/*.md, ui-component-consistency.md │
|
|
189
|
+
│ backend → error-handling.md, logging.md │
|
|
190
|
+
│ test-debug → tdd-classification.md, testing.md │
|
|
191
|
+
└─────────────────────────────────────────────────────────────┘
|
|
192
|
+
↓
|
|
193
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
194
|
+
│ Tier 3: On-Demand ~300 lines QUERY WHEN NEED │
|
|
195
|
+
├─────────────────────────────────────────────────────────────┤
|
|
196
|
+
│ performance-optimization.md, animation-patterns.md │
|
|
197
|
+
│ git-workflow.md, change-workflow.md │
|
|
198
|
+
└─────────────────────────────────────────────────────────────┘
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Token Savings:**
|
|
202
|
+
|
|
203
|
+
| Agent | Before (all) | After (tiered) | Savings |
|
|
204
|
+
|-------|-------------|----------------|---------|
|
|
205
|
+
| uxui-frontend | 13,000 | 3,500 | **73%** |
|
|
206
|
+
| backend | 13,000 | 2,500 | **81%** |
|
|
207
|
+
| test-debug | 13,000 | 2,000 | **85%** |
|
|
208
|
+
| database | 13,000 | 1,800 | **86%** |
|
|
209
|
+
|
|
210
|
+
**File Locations:**
|
|
211
|
+
- Tier 1: `.claude/contexts/_core/`
|
|
212
|
+
- Tier 2: `.claude/contexts/patterns/`, `.claude/contexts/design/`
|
|
213
|
+
- Tier 3: Same folders, loaded on-demand
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
182
217
|
## 🎨 Design System v2.1.0 (YAML-based)
|
|
183
218
|
|
|
184
219
|
**→ See:** `@/.claude/lib/detailed-guides/design-system.md` for complete guide
|
|
@@ -235,7 +270,7 @@ Universal, framework-agnostic template for AI-assisted development.
|
|
|
235
270
|
┌─────────────────────────────────────────────────────────────┐
|
|
236
271
|
│ DETECTION (Post-Work) │
|
|
237
272
|
├─────────────────────────────────────────────────────────────┤
|
|
238
|
-
│ ux-tester →
|
|
273
|
+
│ ux-tester → agent-browser Style Comparison │
|
|
239
274
|
│ Compare computed styles vs data.yaml tokens │
|
|
240
275
|
└─────────────────────────────────────────────────────────────┘
|
|
241
276
|
```
|
|
@@ -255,7 +290,7 @@ Universal, framework-agnostic template for AI-assisted development.
|
|
|
255
290
|
|-------|------------|
|
|
256
291
|
| Main Claude | Pre-flight check before invoking uxui-frontend |
|
|
257
292
|
| uxui-frontend | STEP 0.5: Read data.yaml, report loaded tokens |
|
|
258
|
-
| ux-tester | Step 5.5:
|
|
293
|
+
| ux-tester | Step 5.5: agent-browser validation |
|
|
259
294
|
|
|
260
295
|
**Files Updated:**
|
|
261
296
|
- `.claude/lib/design-validator.md` (NEW - Single Source of Truth)
|
|
@@ -363,7 +398,10 @@ User: "Build login system"
|
|
|
363
398
|
**Recent versions:**
|
|
364
399
|
| Version | Key Feature |
|
|
365
400
|
|---------|-------------|
|
|
366
|
-
| v3.
|
|
401
|
+
| v3.6.0 | **Tiered Context Loading** (50-80% token savings per agent) |
|
|
402
|
+
| v3.5.2 | UX Tester v3.0 (Inline Output - ไม่สร้างไฟล์, verbose ได้) |
|
|
403
|
+
| v3.5.1 | UX Tester v2.1 (Format Enforcement - MAX 150 lines) |
|
|
404
|
+
| v3.5.0 | UX Tester v2.0 (Token Optimized + Human Testing Guide) |
|
|
367
405
|
| v3.4.0 | Complete Pseudocode Elimination (~3,210 lines → imperative instructions) |
|
|
368
406
|
| v3.3.0 | **Design Validation System** (prevention + detection, single source of truth) |
|
|
369
407
|
| v3.2.0 | Consolidated Pre-Work Context (single `pre-work-context.md` for agents) |
|
|
@@ -542,3 +580,25 @@ Agents query claude-mem in STEP 0 before implementation:
|
|
|
542
580
|
---
|
|
543
581
|
|
|
544
582
|
**💡 Remember:** This template is universal. Use Context7 for framework-specific docs!
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
<claude-mem-context>
|
|
586
|
+
# Recent Activity
|
|
587
|
+
|
|
588
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
589
|
+
|
|
590
|
+
### Feb 3, 2026
|
|
591
|
+
|
|
592
|
+
| ID | Time | T | Title | Read |
|
|
593
|
+
|----|------|---|-------|------|
|
|
594
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
595
|
+
| #235 | 11:24 PM | ✅ | Updated CLAUDE.md design validation table to reference agent-browser | ~330 |
|
|
596
|
+
| #234 | 11:23 PM | 🔵 | Design validation system uses Chrome DevTools for post-work style comparison by ux-tester | ~689 |
|
|
597
|
+
| #232 | 11:22 PM | 🔵 | Found two more Chrome DevTools references in CLAUDE.md design validation section | ~488 |
|
|
598
|
+
| #190 | 11:14 PM | ✅ | Updated CLAUDE.md to version 3.7.0 with skills-based architecture | ~405 |
|
|
599
|
+
| #189 | 11:13 PM | 🔵 | CLAUDE.md navigation hub reveals template v3.7.0 with skills-based architecture and tiered loading | ~953 |
|
|
600
|
+
| #188 | 11:12 PM | 🔄 | Simplified CLAUDE.md header with condensed file naming conventions table | ~577 |
|
|
601
|
+
| #187 | " | 🔵 | CLAUDE.md navigation hub reveals comprehensive template architecture v3.6.0 | ~1396 |
|
|
602
|
+
| #186 | 11:11 PM | 🔵 | Reviewed CLAUDE.md navigation hub revealing complete template architecture and versioning | ~1048 |
|
|
603
|
+
| #185 | 11:10 PM | 🔵 | CLAUDE.md serves as comprehensive navigation hub for multi-agent system | ~1019 |
|
|
604
|
+
</claude-mem-context>
|
|
File without changes
|
|
@@ -395,7 +395,7 @@ OR
|
|
|
395
395
|
Next Step: {next task or agent}
|
|
396
396
|
```
|
|
397
397
|
|
|
398
|
-
**IMPORTANT:** Include token usage report in final output. ux-tester will validate these against data.yaml using
|
|
398
|
+
**IMPORTANT:** Include token usage report in final output. ux-tester will validate these against data.yaml using agent-browser.
|
|
399
399
|
|
|
400
400
|
---
|
|
401
401
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ux-tester
|
|
3
|
-
description: UX Testing Agent - Tests UI from user personas via
|
|
3
|
+
description: UX Testing Agent - Tests UI from user personas via agent-browser. Outputs verbose inline report (NO file creation).
|
|
4
4
|
model: opus
|
|
5
5
|
color: green
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# UX Tester Agent
|
|
8
|
+
# UX Tester Agent v3.0
|
|
9
9
|
|
|
10
|
-
> **Version:**
|
|
11
|
-
> **Output:**
|
|
10
|
+
> **Version:** 3.0.0 (Inline Output)
|
|
11
|
+
> **Output:** Verbose inline response (ไม่สร้างไฟล์)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## ⚠️ CRITICAL: NO FILE CREATION
|
|
16
|
+
|
|
17
|
+
**ห้ามสร้างไฟล์ .md ใดๆ ทั้งสิ้น!**
|
|
18
|
+
|
|
19
|
+
- ❌ ห้าม Write หรือ Edit ไฟล์ report
|
|
20
|
+
- ❌ ห้ามสร้าง `ux-test-report.md`
|
|
21
|
+
- ✅ Output ทุกอย่างใน response โดยตรง
|
|
22
|
+
- ✅ Verbose ละเอียดได้เลย
|
|
12
23
|
|
|
13
24
|
---
|
|
14
25
|
|
|
@@ -17,9 +28,9 @@ color: green
|
|
|
17
28
|
1. Load Context (proposal.md, page-plan.md, tasks.md, data.yaml)
|
|
18
29
|
2. Generate 3-5 Personas (name, %, goal, techSavvy, patience)
|
|
19
30
|
3. Find Dev Server (ports: 3000, 3001, 5173, 8080, 4200)
|
|
20
|
-
4. Test Each Persona via
|
|
31
|
+
4. Test Each Persona via agent-browser
|
|
21
32
|
5. Design Compliance Check (if data.yaml exists)
|
|
22
|
-
6.
|
|
33
|
+
6. Output Report ใน Response (ไม่สร้างไฟล์)
|
|
23
34
|
|
|
24
35
|
---
|
|
25
36
|
|
|
@@ -41,117 +52,112 @@ Note violations (colors, spacing, animation).
|
|
|
41
52
|
|
|
42
53
|
---
|
|
43
54
|
|
|
44
|
-
## Report
|
|
55
|
+
## Step 6: Output Report (Inline)
|
|
45
56
|
|
|
46
|
-
Output
|
|
57
|
+
**Output ทุกอย่างใน response โดยตรง:**
|
|
47
58
|
|
|
48
|
-
|
|
49
|
-
|
|
59
|
+
```
|
|
60
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
61
|
+
🧪 UX Test Report: {Page Name}
|
|
62
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
50
63
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
---
|
|
64
|
+
📅 {date} | 🌐 {dev-url} | 👥 {persona-count} personas
|
|
54
65
|
|
|
55
66
|
## Summary
|
|
56
67
|
|
|
57
|
-
**Conversion: {X}%** (now)
|
|
68
|
+
**Conversion: {X}%** (now) → **{Y}%** (potential)
|
|
58
69
|
|
|
59
|
-
|
|
60
|
-
|---------|---|----------|---------|
|
|
61
|
-
| {name} | {%} | {Yes/Maybe/No} | {reason or "-"} |
|
|
70
|
+
## Personas Tested
|
|
62
71
|
|
|
63
|
-
|
|
72
|
+
### 1. {Persona Name} ({%}%)
|
|
73
|
+
- **Background:** {detailed background}
|
|
74
|
+
- **Goal:** {what they want}
|
|
75
|
+
- **Tech Savvy:** {low/medium/high}
|
|
76
|
+
- **First Impression:** {what they see in 3 sec}
|
|
77
|
+
- **Flow Test:** {step by step what happened}
|
|
78
|
+
- **Mobile Test:** {how it looks on mobile}
|
|
79
|
+
- **Decision:** {Yes/Maybe/No}
|
|
80
|
+
- **Reason:** {detailed reason}
|
|
64
81
|
|
|
65
|
-
|
|
82
|
+
### 2. {Persona Name} ({%}%)
|
|
83
|
+
... (repeat for all personas)
|
|
66
84
|
|
|
67
|
-
|
|
68
|
-
|-------|---------|--------|-----|
|
|
69
|
-
| {issue} | {who %} | +{X}% | {how} |
|
|
85
|
+
## Issues Found
|
|
70
86
|
|
|
71
|
-
|
|
87
|
+
### Must Fix (Critical)
|
|
88
|
+
1. **{Issue}**
|
|
89
|
+
- Affects: {which personas, %}
|
|
90
|
+
- Impact: +{X}% conversion if fixed
|
|
91
|
+
- How to fix: {detailed fix}
|
|
72
92
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
93
|
+
### Should Fix (Important)
|
|
94
|
+
1. **{Issue}**
|
|
95
|
+
- Affects: {which personas, %}
|
|
96
|
+
- Impact: +{X}% conversion if fixed
|
|
97
|
+
- How to fix: {detailed fix}
|
|
76
98
|
|
|
77
99
|
## Working Well
|
|
78
|
-
|
|
79
|
-
- {item
|
|
80
|
-
- {item 2}
|
|
81
|
-
|
|
82
|
-
---
|
|
100
|
+
- {item 1 with detail}
|
|
101
|
+
- {item 2 with detail}
|
|
83
102
|
|
|
84
103
|
## Design Compliance
|
|
85
104
|
|
|
86
|
-
| Category | Status |
|
|
87
|
-
|
|
88
|
-
| Colors | {ok/warn/fail} | {
|
|
89
|
-
| Spacing | {ok/warn/fail} | {
|
|
90
|
-
| Animation | {ok/warn/fail} | {
|
|
91
|
-
|
|
92
|
-
{If violations: list top 3 with fix}
|
|
93
|
-
|
|
94
|
-
---
|
|
105
|
+
| Category | Status | Details |
|
|
106
|
+
|----------|--------|---------|
|
|
107
|
+
| Colors | {ok/warn/fail} | {specifics} |
|
|
108
|
+
| Spacing | {ok/warn/fail} | {specifics} |
|
|
109
|
+
| Animation | {ok/warn/fail} | {specifics} |
|
|
95
110
|
|
|
96
111
|
## Human Testing Guide
|
|
97
112
|
|
|
98
|
-
### Desktop Test
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
| 2 | {click/type/scroll what} | {result} |
|
|
104
|
-
| 3 | ... | ... |
|
|
113
|
+
### Desktop Test
|
|
114
|
+
1. Open {url}
|
|
115
|
+
2. {action} → expect {result}
|
|
116
|
+
3. {action} → expect {result}
|
|
117
|
+
...
|
|
105
118
|
|
|
106
119
|
### Mobile Test
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
| 2 | Select iPhone 14 Pro | Layout adapts |
|
|
112
|
-
| 3 | {action} | {expected} |
|
|
120
|
+
1. F12 > Toggle device (Ctrl+Shift+M)
|
|
121
|
+
2. Select iPhone 14 Pro
|
|
122
|
+
3. {action} → expect {result}
|
|
123
|
+
...
|
|
113
124
|
|
|
114
125
|
### Checklist
|
|
126
|
+
- [ ] First impression clear
|
|
127
|
+
- [ ] CTA visible
|
|
128
|
+
- [ ] Main flow works
|
|
129
|
+
- [ ] Mobile responsive
|
|
130
|
+
- [ ] No console errors
|
|
131
|
+
- [ ] Font readable
|
|
115
132
|
|
|
116
|
-
|
|
117
|
-
- [ ] CTA visible without searching
|
|
118
|
-
- [ ] Main flow completes without error
|
|
119
|
-
- [ ] Mobile works (buttons tappable)
|
|
120
|
-
- [ ] No console errors (F12 > Console)
|
|
121
|
-
- [ ] Font readable (min 14px)
|
|
133
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
122
134
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
## Decision
|
|
135
|
+
## Decision Required
|
|
126
136
|
|
|
127
|
-
|
|
128
|
-
|
|
137
|
+
✅ "approve" → Continue to Phase 2 (Backend)
|
|
138
|
+
❌ "reject [feedback]" → Go back to Phase 1 (uxui-frontend)
|
|
129
139
|
|
|
130
|
-
|
|
131
|
-
|
|
140
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
141
|
+
```
|
|
132
142
|
|
|
133
143
|
---
|
|
134
144
|
|
|
135
|
-
##
|
|
136
|
-
|
|
137
|
-
1. **Step-by-step** - list 1, 2, 3...
|
|
138
|
-
2. **Action clear** - "click button X", "type Y", "scroll down"
|
|
139
|
-
3. **Expected clear** - "see popup", "go to /signup"
|
|
140
|
-
4. **Non-technical language**
|
|
141
|
-
5. **Cover critical path** - signup, purchase, contact
|
|
142
|
-
|
|
143
|
-
---
|
|
145
|
+
## agent-browser Commands
|
|
144
146
|
|
|
145
|
-
|
|
147
|
+
| Command | Use |
|
|
148
|
+
|---------|-----|
|
|
149
|
+
| `agent-browser open <url>` | Navigate to page |
|
|
150
|
+
| `agent-browser screenshot` | Overview capture |
|
|
151
|
+
| `agent-browser snapshot -i` | Get interactive elements |
|
|
152
|
+
| `agent-browser click @ref` | Click element |
|
|
153
|
+
| `agent-browser fill @ref "text"` | Fill form |
|
|
154
|
+
| `agent-browser scroll down 500` | Scroll page |
|
|
146
155
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
| click(uid) | Click |
|
|
153
|
-
| fill(uid, value) | Fill form |
|
|
154
|
-
| resize_page(375, 812) | Mobile |
|
|
156
|
+
**Mobile testing:**
|
|
157
|
+
```bash
|
|
158
|
+
agent-browser -p ios --device "iPhone 16 Pro" open <url>
|
|
159
|
+
agent-browser -p ios snapshot -i
|
|
160
|
+
```
|
|
155
161
|
|
|
156
162
|
---
|
|
157
163
|
|
|
@@ -160,3 +166,5 @@ Output: `openspec/changes/{change-id}/ux-test-report.md`
|
|
|
160
166
|
- Talk like real user, not dev
|
|
161
167
|
- Be direct - if bad, say bad
|
|
162
168
|
- Use same language as user (Thai/English)
|
|
169
|
+
- **Verbose is OK** - ละเอียดได้เลย
|
|
170
|
+
- **NO FILE CREATION** - output ใน response เท่านั้น
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Feb 3, 2026
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
11
|
+
| #225 | 11:22 PM | 🔵 | Found Chrome DevTools reference in uxui-frontend agent documentation requiring update | ~445 |
|
|
12
|
+
| #202 | 11:20 PM | ✅ | Updated ux-tester agent to use agent-browser CLI instead of Chrome DevTools MCP | ~644 |
|
|
13
|
+
| #201 | " | ✅ | Updated UX Tester agent to use agent-browser instead of Chrome DevTools | ~378 |
|
|
14
|
+
| #200 | " | ✅ | Updated ux-tester agent to use agent-browser instead of Chrome DevTools | ~374 |
|
|
15
|
+
| #194 | " | 🔵 | UX Tester Agent v3.0 uses inline verbose output without file creation | ~884 |
|
|
16
|
+
| #172 | 9:56 PM | 🔵 | Backend agent creates API endpoints with validation and business logic | ~539 |
|
|
17
|
+
| #171 | " | 🔵 | uxui-frontend agent handles UI development with mock data and design validation | ~516 |
|
|
18
|
+
</claude-mem-context>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Feb 3, 2026
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
11
|
+
</claude-mem-context>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pre-Work Checklist (Shared by All Agents)
|
|
2
2
|
|
|
3
|
-
> **Version:** 3.
|
|
3
|
+
> **Version:** 3.6.0 (Tiered Context Loading)
|
|
4
4
|
> **Purpose:** Single source of truth for pre-work validation
|
|
5
5
|
|
|
6
6
|
---
|
|
@@ -210,10 +210,53 @@ Result: #12345 - "Chose rotating refresh tokens with Redis storage"
|
|
|
210
210
|
|
|
211
211
|
---
|
|
212
212
|
|
|
213
|
+
### Step 0.4: Tiered Context Loading (v3.6.0 - NEW)
|
|
214
|
+
|
|
215
|
+
**Load contexts based on tier system for token efficiency:**
|
|
216
|
+
|
|
217
|
+
WHY: Loading all 13,000+ lines of contexts wastes tokens. Load only what's relevant for your role.
|
|
218
|
+
|
|
219
|
+
#### Tier 1: Core (ALL agents load these)
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
@/.claude/contexts/_core/development-principles.md (SOLID, DRY, KISS)
|
|
223
|
+
@/.claude/contexts/_core/code-standards.md (naming, formatting)
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
#### Tier 2: Agent-Specific (load based on your role)
|
|
227
|
+
|
|
228
|
+
| Agent | Contexts to Load |
|
|
229
|
+
|-------|-----------------|
|
|
230
|
+
| **uxui-frontend** | `design/*.md`, `patterns/ui-component-consistency.md`, `patterns/animation-patterns.md` |
|
|
231
|
+
| **frontend** | `design/color-theory.md`, `patterns/error-handling.md`, `patterns/frontend-component-strategy.md` |
|
|
232
|
+
| **backend** | `patterns/error-handling.md`, `patterns/logging.md`, `patterns/validation-framework.md` |
|
|
233
|
+
| **database** | `patterns/error-handling.md`, `patterns/logging.md` |
|
|
234
|
+
| **test-debug** | `patterns/tdd-classification.md`, `patterns/testing.md`, `patterns/error-recovery.md` |
|
|
235
|
+
| **integration** | `patterns/error-handling.md`, `patterns/validation-framework.md` |
|
|
236
|
+
| **ux-tester** | `design/accessibility.md`, `design/color-theory.md` |
|
|
237
|
+
|
|
238
|
+
#### Tier 3: On-Demand (query when specific topic arises)
|
|
239
|
+
|
|
240
|
+
Don't pre-load these. Read only when the task specifically requires:
|
|
241
|
+
- `patterns/performance-optimization.md` - When optimizing
|
|
242
|
+
- `patterns/animation-patterns.md` - When adding animations (non-uxui agents)
|
|
243
|
+
- `patterns/git-workflow.md` - When handling git operations
|
|
244
|
+
- `patterns/change-workflow.md` - When managing change lifecycle
|
|
245
|
+
|
|
246
|
+
**Report in validation:**
|
|
247
|
+
```markdown
|
|
248
|
+
Contexts Loaded: (Step 0.4)
|
|
249
|
+
- Tier 1 (Core): development-principles.md, code-standards.md
|
|
250
|
+
- Tier 2 (Agent): {list based on agent type}
|
|
251
|
+
- Tier 3 (On-Demand): {only if task requires specific topic}
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
213
256
|
### Step 1-4: Standard Checks
|
|
214
257
|
|
|
215
258
|
1. **Context Discovery** - Load project context via agent-discovery.md
|
|
216
|
-
2. **Pattern Loading** -
|
|
259
|
+
2. **Pattern Loading** - (Now covered by Step 0.4 Tiered Loading)
|
|
217
260
|
3. **Validation Report** - Provide pre-implementation validation report
|
|
218
261
|
4. **Wait for Approval** - Proceed only after orchestrator validation
|
|
219
262
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Feb 3, 2026
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #252 | 11:38 PM | 🔵 | Git status reveals extensive refactoring with skills migration and core context reorganization | ~682 |
|
|
11
|
+
| #219 | 11:22 PM | ✅ | Updated cdev command validation requirements for ux-tester from Chrome DevTools to agent-browser | ~488 |
|
|
12
|
+
| #216 | 11:21 PM | 🔵 | Examined cdev command validation checklist for ux-tester agent | ~486 |
|
|
13
|
+
| #214 | " | ✅ | Replaced Chrome DevTools references with agent-browser in extract command | ~592 |
|
|
14
|
+
| #210 | " | ✅ | Updated extract command error handling to reference agent-browser instead of Chrome DevTools MCP | ~430 |
|
|
15
|
+
| #209 | " | ✅ | Updated extract command to use agent-browser for full-page screenshots | ~386 |
|
|
16
|
+
| #208 | " | ✅ | Updated extract command to use agent-browser CLI instead of Chrome DevTools MCP | ~350 |
|
|
17
|
+
| #198 | 11:20 PM | 🔵 | Extract command remains as full markdown specification in commands directory | ~776 |
|
|
18
|
+
| #181 | 11:09 PM | 🔵 | /pageplan command generates visual page planning with wireframes, animations, and asset checklists | ~971 |
|
|
19
|
+
| #168 | 9:55 PM | 🔵 | csetup command orchestrates AI-driven task analysis and agent workflow generation | ~572 |
|
|
20
|
+
</claude-mem-context>
|