@champpaba/claude-agent-kit 3.5.2 → 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 +0 -0
- package/.claude/CLAUDE.md +103 -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 +18 -12
- 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 +2 -2
- 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 +2 -2
- 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
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
**Browser Extensions:**
|
|
70
70
|
- **WAVE** (WebAIM) - Visual feedback overlay
|
|
71
71
|
- **axe DevTools** - Comprehensive accessibility scanner
|
|
72
|
-
- **Lighthouse** (
|
|
72
|
+
- **Lighthouse** (agent-browser / CLI) - Automated audit
|
|
73
73
|
|
|
74
74
|
**Online Tools:**
|
|
75
75
|
- **WebAIM Contrast Checker**: https://webaim.org/resources/contrastchecker/
|
|
@@ -554,7 +554,7 @@ function closeModal(modalId) {
|
|
|
554
554
|
|
|
555
555
|
### Automated Testing
|
|
556
556
|
|
|
557
|
-
- [ ] Run Lighthouse audit (
|
|
557
|
+
- [ ] Run Lighthouse audit (agent-browser)
|
|
558
558
|
- [ ] Run axe DevTools extension
|
|
559
559
|
- [ ] Run WAVE extension
|
|
560
560
|
- [ ] Check HTML validation (W3C Validator)
|
|
File without changes
|
|
@@ -379,7 +379,7 @@ Primary: Blue (H: 220)
|
|
|
379
379
|
**Tools:**
|
|
380
380
|
- **WebAIM Contrast Checker**: https://webaim.org/resources/contrastchecker/
|
|
381
381
|
- **Contrast Ratio**: https://contrast-ratio.com/
|
|
382
|
-
- **
|
|
382
|
+
- **agent-browser**: Lighthouse audit
|
|
383
383
|
|
|
384
384
|
**Example:**
|
|
385
385
|
```css
|
|
@@ -414,7 +414,7 @@ color: white; /* #FFFFFF */
|
|
|
414
414
|
**Testing Tools:**
|
|
415
415
|
- **Color Oracle**: Free color blindness simulator
|
|
416
416
|
- **Stark Plugin**: Figma/Sketch plugin
|
|
417
|
-
- **
|
|
417
|
+
- **agent-browser**: Screenshot for vision testing
|
|
418
418
|
|
|
419
419
|
---
|
|
420
420
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
| #244 | 11:26 PM | ✅ | Updated performance-optimization.md Lighthouse reference to use agent-browser or CLI | ~398 |
|
|
12
|
+
| #227 | 11:22 PM | ✅ | Updated change-workflow pattern to reference agent-browser | ~297 |
|
|
13
|
+
</claude-mem-context>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -406,7 +406,7 @@ done
|
|
|
406
406
|
- [Next.js: Image Optimization](https://nextjs.org/docs/basic-features/image-optimization)
|
|
407
407
|
|
|
408
408
|
**Tools:**
|
|
409
|
-
- **Lighthouse:**
|
|
409
|
+
- **Lighthouse:** `agent-browser` or `npx lighthouse <url>`
|
|
410
410
|
- **WebPageTest:** https://www.webpagetest.org/
|
|
411
411
|
- **Squoosh:** https://squoosh.app/ (image compression)
|
|
412
412
|
- **TinyPNG:** https://tinypng.com/ (batch compression)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
| #226 | 11:22 PM | ✅ | Updated agent-executor validation to check agent-browser connection instead of Chrome DevTools | ~551 |
|
|
12
|
+
| #223 | " | ✅ | Updated task-analyzer documentation to reference agent-browser across all UX testing workflows | ~521 |
|
|
13
|
+
| #222 | " | ✅ | Updated lib/README.md to reference agent-browser in design validation documentation | ~304 |
|
|
14
|
+
| #220 | " | 🔵 | Library documentation reveals design-validator uses Chrome DevTools for post-work validation | ~521 |
|
|
15
|
+
| #218 | " | 🔵 | Found Chrome DevTools reference in agent-executor readiness validation | ~282 |
|
|
16
|
+
| #205 | 11:20 PM | ✅ | Updated design-validator to use agent-browser instead of Chrome DevTools MCP | ~490 |
|
|
17
|
+
| #203 | " | ✅ | Updated design validator to use agent-browser instead of Chrome DevTools | ~464 |
|
|
18
|
+
| #196 | " | 🔵 | Design validator enforces single source of truth through prevention and detection layers | ~1026 |
|
|
19
|
+
</claude-mem-context>
|
package/.claude/lib/README.md
CHANGED
|
@@ -23,7 +23,7 @@ Defines agent boundaries. Main Claude delegates implementation work to specializ
|
|
|
23
23
|
Single Source of Truth for design compliance. Contains:
|
|
24
24
|
- Part 1: Design token loading protocol
|
|
25
25
|
- Part 2: Pre-work validation (uxui-frontend)
|
|
26
|
-
- Part 3: Post-work validation (ux-tester with
|
|
26
|
+
- Part 3: Post-work validation (ux-tester with agent-browser)
|
|
27
27
|
- Part 4: Main Claude pre-flight checklist
|
|
28
28
|
Used by: Main Claude (/cdev), uxui-frontend agent, ux-tester agent
|
|
29
29
|
|
|
@@ -154,7 +154,7 @@ WHY: Pre-work validation ensures agents loaded context before implementing. This
|
|
|
154
154
|
| backend | Patterns Loaded ✓, Existing Endpoints Search ✓, TDD Workflow (if required) |
|
|
155
155
|
| database | Schema Analysis ✓ |
|
|
156
156
|
| test-debug | Test Infrastructure ✓ |
|
|
157
|
-
| ux-tester | Personas Generated ✓, Dev Server Found ✓,
|
|
157
|
+
| ux-tester | Personas Generated ✓, Dev Server Found ✓, agent-browser Connected ✓ |
|
|
158
158
|
|
|
159
159
|
**Validation Logic:**
|
|
160
160
|
```typescript
|
|
File without changes
|
|
File without changes
|
|
@@ -16,7 +16,7 @@ PREVENTION (Before Implementation)
|
|
|
16
16
|
└── uxui-frontend: STEP 0.5 - Read data.yaml, report tokens
|
|
17
17
|
|
|
18
18
|
DETECTION (After Implementation)
|
|
19
|
-
└── ux-tester: Step 5.5 -
|
|
19
|
+
└── ux-tester: Step 5.5 - agent-browser style comparison
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
---
|
|
@@ -200,18 +200,18 @@ Report the tokens you loaded before starting implementation.
|
|
|
200
200
|
- Animation durations: 150ms, 300ms, 500ms
|
|
201
201
|
- Spacing scale
|
|
202
202
|
|
|
203
|
-
### 4.3 ใช้
|
|
203
|
+
### 4.3 ใช้ agent-browser ตรวจสอบ
|
|
204
204
|
|
|
205
205
|
**ขั้นตอน:**
|
|
206
206
|
|
|
207
207
|
1. Navigate ไปหน้าที่ต้องการตรวจ:
|
|
208
|
-
```
|
|
209
|
-
|
|
208
|
+
```bash
|
|
209
|
+
agent-browser open http://localhost:xxxx
|
|
210
210
|
```
|
|
211
211
|
|
|
212
|
-
2. Take snapshot เพื่อดู DOM และ
|
|
213
|
-
```
|
|
214
|
-
|
|
212
|
+
2. Take snapshot เพื่อดู DOM และ elements:
|
|
213
|
+
```bash
|
|
214
|
+
agent-browser snapshot -i
|
|
215
215
|
```
|
|
216
216
|
|
|
217
217
|
3. ดู elements หลักๆ:
|
|
@@ -304,7 +304,7 @@ After persona testing:
|
|
|
304
304
|
|
|
305
305
|
- [ ] Check if `design-system/data.yaml` exists
|
|
306
306
|
- [ ] If exists: Load expected tokens
|
|
307
|
-
- [ ] Use
|
|
307
|
+
- [ ] Use agent-browser to check computed styles
|
|
308
308
|
- [ ] Compare actual vs expected
|
|
309
309
|
- [ ] Add compliance section to ux-test-report.md
|
|
310
310
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -602,7 +602,7 @@ function injectUXTestingPhases(phases: Phase[], tasks: AnalyzedTask[]): Phase[]
|
|
|
602
602
|
description: `
|
|
603
603
|
Test UI from user perspectives before proceeding.
|
|
604
604
|
- Auto-generate personas based on product context
|
|
605
|
-
- Test each persona via
|
|
605
|
+
- Test each persona via agent-browser
|
|
606
606
|
- Calculate weighted conversion prediction
|
|
607
607
|
- PAUSE for user approval before next phase
|
|
608
608
|
`,
|
|
@@ -630,7 +630,7 @@ Phase N: uxui-frontend (build UI)
|
|
|
630
630
|
↓
|
|
631
631
|
Phase N.5: ux-tester (APPROVAL GATE)
|
|
632
632
|
→ Auto-generate personas (3-5 based on product)
|
|
633
|
-
→ Test each persona via
|
|
633
|
+
→ Test each persona via agent-browser
|
|
634
634
|
→ Calculate weighted conversion prediction
|
|
635
635
|
→ Generate UX test report
|
|
636
636
|
→ ⏸️ PAUSE: Wait for user decision
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
| #206 | 11:20 PM | ✅ | Updated ux-testing prerequisites to use agent-browser instead of Chrome DevTools MCP | ~426 |
|
|
12
|
+
| #195 | " | 🔵 | UX Testing phase template defines persona-based approval gate workflow | ~833 |
|
|
13
|
+
</claude-mem-context>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
ทดสอบ UI จากมุมมอง User จริง ก่อนที่จะไป Phase ถัดไป (Backend)
|
|
11
11
|
- Auto-generate personas จาก product context
|
|
12
|
-
- Test แต่ละ persona ผ่าน
|
|
12
|
+
- Test แต่ละ persona ผ่าน agent-browser
|
|
13
13
|
- คำนวณ weighted conversion prediction
|
|
14
14
|
- รอ User approve หรือ reject
|
|
15
15
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
- ✅ Phase 1 (Frontend Mockup) completed
|
|
19
19
|
- ✅ Dev server running (localhost:3000 or similar)
|
|
20
|
-
- ✅
|
|
20
|
+
- ✅ agent-browser installed (`npx skills add vercel-labs/agent-browser`)
|
|
21
21
|
|
|
22
22
|
## 🔄 Process
|
|
23
23
|
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/bin/CLAUDE.md
ADDED
|
@@ -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
|
+
| #166 | 9:55 PM | 🔵 | CLI entry point implements commander-based interface with two primary commands | ~397 |
|
|
11
|
+
</claude-mem-context>
|
package/bin/cli.js
CHANGED
|
File without changes
|
package/lib/CLAUDE.md
ADDED
|
@@ -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
|
+
| #167 | 9:55 PM | 🔵 | Init command implements smart template merging with optional PROJECT_STATUS.yml | ~465 |
|
|
11
|
+
</claude-mem-context>
|
package/lib/helpers.js
CHANGED
|
File without changes
|
package/lib/init.js
CHANGED
|
File without changes
|
package/lib/update.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@champpaba/claude-agent-kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Universal multi-agent template for Claude Code - AI-assisted development with specialized agents",
|
|
5
5
|
"main": "bin/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"bin/",
|
|
12
12
|
"lib/",
|
|
13
|
-
".claude/"
|
|
13
|
+
".claude/",
|
|
14
|
+
"skills/"
|
|
14
15
|
],
|
|
15
16
|
"scripts": {
|
|
16
17
|
"test": "vitest run",
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
| #211 | 11:21 PM | ✅ | Standardized design-extract skill to require agent-browser CLI only | ~513 |
|
|
12
|
+
</claude-mem-context>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Design Extract Skill
|
|
2
|
+
|
|
3
|
+
Extract comprehensive design system data from any website.
|
|
4
|
+
|
|
5
|
+
## Triggers
|
|
6
|
+
|
|
7
|
+
- "extract design from [URL]"
|
|
8
|
+
- "ดึง design จาก [URL]"
|
|
9
|
+
- "/extract [URL]"
|
|
10
|
+
- "analyze design of [URL]"
|
|
11
|
+
|
|
12
|
+
## Requirements
|
|
13
|
+
|
|
14
|
+
- agent-browser CLI (`npm install -g agent-browser && agent-browser install`)
|
|
15
|
+
|
|
16
|
+
## Quick Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
/extract https://airbnb.com
|
|
20
|
+
/extract https://linear.app
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## What Gets Extracted
|
|
24
|
+
|
|
25
|
+
| Category | Details |
|
|
26
|
+
|----------|---------|
|
|
27
|
+
| Colors | Backgrounds, text, borders with usage context |
|
|
28
|
+
| Typography | Fonts, weights, sizes, line heights |
|
|
29
|
+
| Spacing | Grid base detection, padding/margin values |
|
|
30
|
+
| Components | Buttons, cards, inputs with animations |
|
|
31
|
+
| Shadows | Box shadows, elevation levels |
|
|
32
|
+
| Animations | @keyframes, transitions, hover/focus states |
|
|
33
|
+
| Psychology | Style classification, emotions, target audience |
|
|
34
|
+
|
|
35
|
+
## Output
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
design-system/extracted/{site-name}/
|
|
39
|
+
├── data.yaml # Complete 17-section design data
|
|
40
|
+
└── screenshots/
|
|
41
|
+
├── full-page.png # Full page capture
|
|
42
|
+
├── button-0-default.png
|
|
43
|
+
├── button-0-hover.png
|
|
44
|
+
└── ...
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Workflow
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
1. Navigate → Open URL in browser
|
|
51
|
+
2. Extract → CSS data (colors, typography, spacing, components)
|
|
52
|
+
3. Capture → Interactive states (hover, focus screenshots)
|
|
53
|
+
4. Analyze → AI psychology analysis
|
|
54
|
+
5. Generate → data.yaml with 17 sections
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Detailed Documentation
|
|
58
|
+
|
|
59
|
+
| Reference | Use When |
|
|
60
|
+
|-----------|----------|
|
|
61
|
+
| [references/extraction-steps.md](references/extraction-steps.md) | Full step-by-step extraction process |
|
|
62
|
+
| [references/output-format.md](references/output-format.md) | data.yaml schema and sections |
|
|
63
|
+
| [references/style-detection.md](references/style-detection.md) | Design style classification |
|
|
64
|
+
| [references/error-handling.md](references/error-handling.md) | Handling failures gracefully |
|
|
65
|
+
|
|
66
|
+
## Next Steps After Extraction
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
# Extract more reference sites (optional)
|
|
70
|
+
/extract https://linear.app
|
|
71
|
+
|
|
72
|
+
# Generate final design system
|
|
73
|
+
/designsetup @prd.md
|
|
74
|
+
# → Merges all extracted data
|
|
75
|
+
# → Outputs: design-system/data.yaml
|
|
76
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
| #231 | 11:22 PM | ✅ | Simplified design-extract error handling to require only agent-browser | ~518 |
|
|
12
|
+
| #230 | " | ✅ | Updated design-extract skill error handling to reference agent-browser installation | ~376 |
|
|
13
|
+
| #228 | " | 🔵 | Design extraction error handling supports both Chrome DevTools MCP and agent-browser | ~766 |
|
|
14
|
+
| #212 | 11:21 PM | ✅ | Standardized extraction-steps to use agent-browser exclusively, removing Chrome DevTools option | ~511 |
|
|
15
|
+
| #197 | 11:20 PM | 🔵 | Design extraction workflow uses Chrome DevTools or agent-browser for automated design token extraction | ~875 |
|
|
16
|
+
</claude-mem-context>
|