@su-record/vibe 2.16.3 → 3.0.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/.env.example +15 -0
- package/CLAUDE.md +8 -8
- package/README.en.md +46 -29
- package/README.md +41 -24
- package/agents/acceptance-tester.md +56 -0
- package/agents/architect.md +25 -67
- package/agents/build-error-resolver.md +28 -97
- package/agents/code-reviewer.md +89 -0
- package/agents/diagrammer.md +34 -165
- package/agents/documenter.md +43 -0
- package/agents/e2e-tester.md +46 -277
- package/agents/event/event-ops.md +54 -77
- package/agents/event/event-planner.md +63 -0
- package/agents/figma/figma-engineer.md +76 -0
- package/agents/implementer.md +26 -41
- package/agents/security-reviewer.md +56 -0
- package/agents/tester.md +37 -33
- package/agents/ui/design-reviewer.md +62 -0
- package/agents/ui/design-system-gen.md +63 -0
- package/dist/__tests__/agent-model-sync.test.d.ts +2 -0
- package/dist/__tests__/agent-model-sync.test.d.ts.map +1 -0
- package/dist/__tests__/agent-model-sync.test.js +71 -0
- package/dist/__tests__/agent-model-sync.test.js.map +1 -0
- package/dist/cli/auth.d.ts.map +1 -1
- package/dist/cli/auth.js +8 -1
- package/dist/cli/auth.js.map +1 -1
- package/dist/cli/commands/index.d.ts +1 -0
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +1 -0
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/info.js +2 -0
- package/dist/cli/commands/info.js.map +1 -1
- package/dist/cli/commands/llm.d.ts +11 -0
- package/dist/cli/commands/llm.d.ts.map +1 -0
- package/dist/cli/commands/llm.js +62 -0
- package/dist/cli/commands/llm.js.map +1 -0
- package/dist/cli/commands/remove.d.ts.map +1 -1
- package/dist/cli/commands/remove.js +8 -10
- package/dist/cli/commands/remove.js.map +1 -1
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/setup.js +35 -1
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/cli/index.d.ts +0 -4
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +59 -6
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/llm/config.d.ts.map +1 -1
- package/dist/cli/llm/config.js +7 -0
- package/dist/cli/llm/config.js.map +1 -1
- package/dist/cli/llm/index.d.ts +1 -0
- package/dist/cli/llm/index.d.ts.map +1 -1
- package/dist/cli/llm/index.js +1 -0
- package/dist/cli/llm/index.js.map +1 -1
- package/dist/cli/llm/model-refresh.d.ts +29 -0
- package/dist/cli/llm/model-refresh.d.ts.map +1 -0
- package/dist/cli/llm/model-refresh.js +139 -0
- package/dist/cli/llm/model-refresh.js.map +1 -0
- package/dist/cli/llm/zai-commands.d.ts +15 -0
- package/dist/cli/llm/zai-commands.d.ts.map +1 -0
- package/dist/cli/llm/zai-commands.js +64 -0
- package/dist/cli/llm/zai-commands.js.map +1 -0
- package/dist/cli/postinstall/claude-agents.d.ts.map +1 -1
- package/dist/cli/postinstall/claude-agents.js +16 -77
- package/dist/cli/postinstall/claude-agents.js.map +1 -1
- package/dist/cli/postinstall/constants.d.ts.map +1 -1
- package/dist/cli/postinstall/constants.js +81 -296
- package/dist/cli/postinstall/constants.js.map +1 -1
- package/dist/cli/postinstall/cursor-agents.d.ts +5 -0
- package/dist/cli/postinstall/cursor-agents.d.ts.map +1 -1
- package/dist/cli/postinstall/cursor-agents.js +26 -68
- package/dist/cli/postinstall/cursor-agents.js.map +1 -1
- package/dist/cli/postinstall/cursor-skills.d.ts.map +1 -1
- package/dist/cli/postinstall/cursor-skills.js +26 -30
- package/dist/cli/postinstall/cursor-skills.js.map +1 -1
- package/dist/cli/postinstall/main.d.ts.map +1 -1
- package/dist/cli/postinstall/main.js +0 -2
- package/dist/cli/postinstall/main.js.map +1 -1
- package/dist/cli/setup/Provisioner.d.ts.map +1 -1
- package/dist/cli/setup/Provisioner.js +19 -21
- package/dist/cli/setup/Provisioner.js.map +1 -1
- package/dist/cli/types.d.ts +15 -0
- package/dist/cli/types.d.ts.map +1 -1
- package/dist/cli/utils.d.ts +4 -1
- package/dist/cli/utils.d.ts.map +1 -1
- package/dist/cli/utils.js +4 -1
- package/dist/cli/utils.js.map +1 -1
- package/dist/infra/lib/FrameworkDetector.js +4 -4
- package/dist/infra/lib/FrameworkDetector.js.map +1 -1
- package/dist/infra/lib/OrchestrateWorkflow.js +2 -2
- package/dist/infra/lib/OrchestrateWorkflow.js.map +1 -1
- package/dist/infra/lib/browser/launch.js +1 -1
- package/dist/infra/lib/browser/launch.js.map +1 -1
- package/dist/infra/lib/browser/types.d.ts +1 -1
- package/dist/infra/lib/browser/types.js +1 -1
- package/dist/infra/lib/config/GlobalConfigManager.d.ts +2 -0
- package/dist/infra/lib/config/GlobalConfigManager.d.ts.map +1 -1
- package/dist/infra/lib/config/GlobalConfigManager.js +6 -0
- package/dist/infra/lib/config/GlobalConfigManager.js.map +1 -1
- package/dist/infra/lib/constants.d.ts +1 -1
- package/dist/infra/lib/constants.d.ts.map +1 -1
- package/dist/infra/lib/constants.js +4 -5
- package/dist/infra/lib/constants.js.map +1 -1
- package/dist/infra/lib/evolution/__tests__/integration.test.js +7 -7
- package/dist/infra/lib/evolution/__tests__/integration.test.js.map +1 -1
- package/dist/infra/lib/llm-availability.d.ts +4 -0
- package/dist/infra/lib/llm-availability.d.ts.map +1 -1
- package/dist/infra/lib/llm-availability.js +9 -1
- package/dist/infra/lib/llm-availability.js.map +1 -1
- package/dist/infra/lib/memory/index.d.ts +0 -2
- package/dist/infra/lib/memory/index.d.ts.map +1 -1
- package/dist/infra/lib/memory/index.js +0 -2
- package/dist/infra/lib/memory/index.js.map +1 -1
- package/dist/infra/lib/telemetry/SkillTelemetry.test.js +1 -1
- package/dist/infra/lib/telemetry/SkillTelemetry.test.js.map +1 -1
- package/dist/infra/lib/zai/client.d.ts +30 -0
- package/dist/infra/lib/zai/client.d.ts.map +1 -0
- package/dist/infra/lib/zai/client.js +124 -0
- package/dist/infra/lib/zai/client.js.map +1 -0
- package/dist/infra/lib/zai/index.d.ts +11 -0
- package/dist/infra/lib/zai/index.d.ts.map +1 -0
- package/dist/infra/lib/zai/index.js +10 -0
- package/dist/infra/lib/zai/index.js.map +1 -0
- package/dist/infra/lib/zai/orchestration.d.ts +15 -0
- package/dist/infra/lib/zai/orchestration.d.ts.map +1 -0
- package/dist/infra/lib/zai/orchestration.js +54 -0
- package/dist/infra/lib/zai/orchestration.js.map +1 -0
- package/dist/infra/lib/zai/types.d.ts +40 -0
- package/dist/infra/lib/zai/types.d.ts.map +1 -0
- package/dist/infra/lib/zai/types.js +5 -0
- package/dist/infra/lib/zai/types.js.map +1 -0
- package/dist/infra/orchestrator/SmartRouter.d.ts.map +1 -1
- package/dist/infra/orchestrator/SmartRouter.js +16 -34
- package/dist/infra/orchestrator/SmartRouter.js.map +1 -1
- package/dist/infra/orchestrator/index.d.ts +1 -0
- package/dist/infra/orchestrator/index.d.ts.map +1 -1
- package/dist/infra/orchestrator/index.js +11 -9
- package/dist/infra/orchestrator/index.js.map +1 -1
- package/dist/infra/orchestrator/types.d.ts +32 -9
- package/dist/infra/orchestrator/types.d.ts.map +1 -1
- package/dist/infra/orchestrator/types.js +68 -37
- package/dist/infra/orchestrator/types.js.map +1 -1
- package/dist/infra/orchestrator/types.test.d.ts +2 -0
- package/dist/infra/orchestrator/types.test.d.ts.map +1 -0
- package/dist/infra/orchestrator/types.test.js +57 -0
- package/dist/infra/orchestrator/types.test.js.map +1 -0
- package/dist/tools/index.d.ts +0 -4
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +0 -4
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/memory/autoSaveContext.d.ts +0 -1
- package/dist/tools/memory/autoSaveContext.d.ts.map +1 -1
- package/dist/tools/memory/autoSaveContext.js +13 -27
- package/dist/tools/memory/autoSaveContext.js.map +1 -1
- package/hooks/scripts/__tests__/code-check-detectors.test.js +2 -2
- package/hooks/scripts/__tests__/run-ledger.test.js +1 -1
- package/hooks/scripts/__tests__/scope-from-spec.test.js +12 -12
- package/hooks/scripts/__tests__/step-counter.test.js +1 -1
- package/hooks/scripts/code-check.js +16 -203
- package/hooks/scripts/context-save.js +0 -11
- package/hooks/scripts/lib/scope-from-spec.js +9 -6
- package/hooks/scripts/llm-orchestrate.js +49 -0
- package/hooks/scripts/post-edit-dispatcher.js +1 -1
- package/hooks/scripts/prompt-dispatcher.js +7 -18
- package/hooks/scripts/session-start.js +25 -35
- package/package.json +4 -4
- package/skills/agents-md/SKILL.md +62 -15
- package/skills/arch-guard/SKILL.md +1 -1
- package/skills/brand-assets/SKILL.md +2 -2
- package/skills/capability-loop/SKILL.md +1 -1
- package/skills/chub-usage/SKILL.md +1 -1
- package/skills/commerce-patterns/SKILL.md +2 -2
- package/skills/commit-push-pr/SKILL.md +0 -1
- package/skills/context7-usage/SKILL.md +1 -1
- package/skills/create-prd/agents/edge-case-finder.md +4 -4
- package/skills/create-prd/agents/prioritizer.md +4 -4
- package/skills/create-prd/agents/requirements-writer.md +3 -3
- package/skills/create-prd/agents/researcher.md +3 -3
- package/skills/create-prd/agents/reviewer.md +3 -3
- package/skills/create-prd/orchestrator.md +2 -0
- package/skills/design-refine/SKILL.md +140 -0
- package/skills/{design-polish → design-refine}/templates/polish-report.md +1 -1
- package/skills/{design-normalize → design-refine}/templates/token-audit.md +3 -3
- package/skills/design-review/SKILL.md +143 -0
- package/skills/{design-audit → design-review}/agents/a11y-auditor.md +1 -1
- package/skills/{design-audit → design-review}/agents/performance-auditor.md +1 -1
- package/skills/{design-audit → design-review}/agents/responsive-auditor.md +1 -1
- package/skills/{design-audit → design-review}/agents/slop-detector.md +1 -1
- package/skills/{design-audit → design-review}/frameworks/core-web-vitals.md +1 -1
- package/skills/{design-audit → design-review}/frameworks/wcag-checklist.md +1 -1
- package/skills/{design-audit → design-review}/orchestrator.md +5 -3
- package/skills/{design-critique → design-review}/templates/critique-report.md +3 -3
- package/skills/{design-audit → design-review}/templates/report.md +3 -3
- package/skills/design-teach/SKILL.md +11 -11
- package/skills/docs/SKILL.md +14 -16
- package/skills/e2e-commerce/SKILL.md +1 -1
- package/skills/event-comms/SKILL.md +1 -1
- package/skills/event-ops/SKILL.md +2 -2
- package/skills/event-planning/SKILL.md +1 -1
- package/skills/exec-plan/SKILL.md +2 -2
- package/skills/exec-plan/orchestrator.md +2 -0
- package/skills/figma/SKILL.md +240 -148
- package/skills/figma/rubrics/css-mapping.md +125 -0
- package/skills/git-worktree/SKILL.md +1 -1
- package/skills/handoff/SKILL.md +1 -1
- package/skills/parallel-research/SKILL.md +14 -28
- package/skills/parallel-research/orchestrator.md +2 -0
- package/skills/priority-todos/SKILL.md +1 -1
- package/skills/regress/SKILL.md +11 -0
- package/skills/restraint/SKILL.md +72 -0
- package/skills/seo-checklist/SKILL.md +2 -2
- package/skills/spec/SKILL.md +65 -836
- package/skills/test/SKILL.md +3 -3
- package/skills/tool-fallback/SKILL.md +2 -2
- package/skills/vercel-react-best-practices/SKILL.md +1 -1
- package/skills/vibe/SKILL.md +20 -35
- package/skills/vibe.analyze/SKILL.md +7 -9
- package/skills/vibe.docs/SKILL.md +1 -1
- package/skills/vibe.event/SKILL.md +27 -27
- package/skills/vibe.figma/SKILL.md +14 -18
- package/skills/vibe.harness/SKILL.md +5 -5
- package/skills/vibe.llm/SKILL.md +50 -0
- package/skills/vibe.reason/SKILL.md +0 -2
- package/skills/vibe.review/SKILL.md +45 -49
- package/skills/vibe.run/SKILL.md +2 -5
- package/skills/vibe.run/references/parallel-agents.md +33 -98
- package/skills/vibe.spec/SKILL.md +38 -535
- package/skills/vibe.utils/SKILL.md +3 -3
- package/skills/vibe.verify/SKILL.md +70 -542
- package/skills/video-production/SKILL.md +1 -1
- package/vibe/rules/orchestrator-contract.md +57 -0
- package/vibe/rules/quality/performance.md +1 -1
- package/vibe/templates/claudemd-template.md +1 -1
- package/vibe/templates/spec-template.md +35 -185
- package/agents/architect-low.md +0 -41
- package/agents/architect-medium.md +0 -59
- package/agents/compounder.md +0 -261
- package/agents/docs/api-documenter.md +0 -99
- package/agents/docs/changelog-writer.md +0 -93
- package/agents/event/event-comms.md +0 -78
- package/agents/event/event-content.md +0 -68
- package/agents/event/event-image.md +0 -95
- package/agents/event/event-scheduler.md +0 -69
- package/agents/event/event-speaker.md +0 -86
- package/agents/explorer-low.md +0 -42
- package/agents/explorer-medium.md +0 -59
- package/agents/explorer.md +0 -48
- package/agents/figma/figma-analyst.md +0 -52
- package/agents/figma/figma-architect.md +0 -112
- package/agents/figma/figma-auditor.md +0 -82
- package/agents/figma/figma-builder.md +0 -100
- package/agents/implementer-low.md +0 -43
- package/agents/implementer-medium.md +0 -52
- package/agents/junior-mentor.md +0 -141
- package/agents/planning/requirements-analyst.md +0 -84
- package/agents/planning/ux-advisor.md +0 -83
- package/agents/qa/acceptance-tester.md +0 -86
- package/agents/qa/edge-case-finder.md +0 -93
- package/agents/qa/qa-coordinator.md +0 -131
- package/agents/refactor-cleaner.md +0 -143
- package/agents/research/best-practices.md +0 -199
- package/agents/research/codebase-patterns.md +0 -157
- package/agents/research/framework-docs.md +0 -188
- package/agents/research/security-advisory.md +0 -213
- package/agents/review/architecture-reviewer.md +0 -107
- package/agents/review/complexity-reviewer.md +0 -116
- package/agents/review/data-integrity-reviewer.md +0 -88
- package/agents/review/git-history-reviewer.md +0 -103
- package/agents/review/performance-reviewer.md +0 -86
- package/agents/review/python-reviewer.md +0 -150
- package/agents/review/rails-reviewer.md +0 -139
- package/agents/review/react-reviewer.md +0 -144
- package/agents/review/security-reviewer.md +0 -80
- package/agents/review/simplicity-reviewer.md +0 -140
- package/agents/review/test-coverage-reviewer.md +0 -116
- package/agents/review/typescript-reviewer.md +0 -127
- package/agents/searcher.md +0 -54
- package/agents/simplifier.md +0 -120
- package/agents/teams/debug-team.md +0 -70
- package/agents/teams/dev-team.md +0 -88
- package/agents/teams/docs-team.md +0 -80
- package/agents/teams/figma-team.md +0 -85
- package/agents/teams/fullstack-team.md +0 -83
- package/agents/teams/lite-team.md +0 -69
- package/agents/teams/migration-team.md +0 -78
- package/agents/teams/refactor-team.md +0 -94
- package/agents/teams/research-team.md +0 -86
- package/agents/teams/review-debate-team.md +0 -125
- package/agents/teams/security-team.md +0 -81
- package/agents/ui/ui-a11y-auditor.md +0 -93
- package/agents/ui/ui-antipattern-detector.md +0 -102
- package/agents/ui/ui-dataviz-advisor.md +0 -69
- package/agents/ui/ui-design-system-gen.md +0 -57
- package/agents/ui/ui-industry-analyzer.md +0 -49
- package/agents/ui/ui-layout-architect.md +0 -65
- package/agents/ui/ui-stack-implementer.md +0 -68
- package/agents/ui/ux-compliance-reviewer.md +0 -81
- package/agents/ui-previewer.md +0 -258
- package/hooks/scripts/__tests__/keyword-detector.test.js +0 -242
- package/hooks/scripts/keyword-detector.js +0 -226
- package/skills/characterization-test/SKILL.md +0 -209
- package/skills/characterization-test/agents/behavior-capturer.md +0 -50
- package/skills/characterization-test/agents/coverage-checker.md +0 -54
- package/skills/characterization-test/agents/reporter.md +0 -50
- package/skills/characterization-test/agents/test-writer.md +0 -49
- package/skills/characterization-test/rubrics/coverage-criteria.md +0 -53
- package/skills/characterization-test/templates/test-template.ts +0 -101
- package/skills/claude-md-guide/SKILL.md +0 -353
- package/skills/claude-md-guide/rubrics/anti-patterns.md +0 -88
- package/skills/design-audit/SKILL.md +0 -154
- package/skills/design-critique/SKILL.md +0 -140
- package/skills/design-distill/SKILL.md +0 -131
- package/skills/design-normalize/SKILL.md +0 -135
- package/skills/design-polish/SKILL.md +0 -132
- package/skills/figma-convert/SKILL.md +0 -236
- package/skills/figma-extract/SKILL.md +0 -242
- package/skills/interview/SKILL.md +0 -358
- package/skills/interview/checklists/api.md +0 -101
- package/skills/interview/checklists/feature.md +0 -88
- package/skills/interview/checklists/library.md +0 -95
- package/skills/interview/checklists/mobile.md +0 -89
- package/skills/interview/checklists/webapp.md +0 -97
- package/skills/interview/checklists/website.md +0 -99
- package/skills/plan/SKILL.md +0 -254
- package/skills/rob-pike/SKILL.md +0 -66
- package/skills/spec/references/askuser-examples.md +0 -57
- package/skills/spec/references/example-session.md +0 -87
- package/skills/spec/references/templates.md +0 -194
- package/skills/spec-review/SKILL.md +0 -725
- package/skills/systematic-debugging/SKILL.md +0 -142
- package/skills/techdebt/SKILL.md +0 -126
- package/skills/techdebt/agents/analyzer.md +0 -50
- package/skills/techdebt/agents/fixer.md +0 -41
- package/skills/techdebt/agents/reviewer.md +0 -47
- package/skills/techdebt/agents/scanner.md +0 -44
- package/skills/techdebt/orchestrator.md +0 -70
- package/skills/techdebt/rubrics/severity.md +0 -51
- package/skills/techdebt/scripts/scan.js +0 -90
- package/skills/techdebt/templates/report.md +0 -86
- package/skills/typescript-advanced-types/SKILL.md +0 -68
- package/skills/typescript-advanced-types/rubrics/type-patterns.md +0 -109
- package/skills/yagni-ladder/SKILL.md +0 -90
- /package/skills/{claude-md-guide → agents-md}/templates/claude-md.md +0 -0
- /package/skills/{design-polish → design-refine}/rubrics/polish-checklist.md +0 -0
- /package/skills/{design-normalize → design-refine}/rubrics/token-naming.md +0 -0
- /package/skills/{design-distill → design-refine}/templates/design-system.md +0 -0
- /package/skills/{design-audit → design-review}/agents/scorer.md +0 -0
- /package/skills/{design-audit → design-review}/rubrics/ai-slop-patterns.md +0 -0
- /package/skills/{design-audit → design-review}/rubrics/scoring.md +0 -0
- /package/skills/{design-critique → design-review}/rubrics/ux-heuristics.md +0 -0
- /package/skills/{figma-convert → figma}/rubrics/conversion-rules.md +0 -0
- /package/skills/{figma-extract → figma}/rubrics/image-rules.md +0 -0
- /package/skills/{figma-convert → figma}/templates/component.md +0 -0
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# Security Team
|
|
2
|
-
|
|
3
|
-
보안 민감 코드 변경 시 전문 보안 검증 팀.
|
|
4
|
-
|
|
5
|
-
## 팀 구성
|
|
6
|
-
|
|
7
|
-
| 팀원 | 역할 | Model |
|
|
8
|
-
|------|------|-------|
|
|
9
|
-
| security-reviewer (리더) | OWASP Top 10 검증, 보안 이슈 우선순위 결정 | Sonnet |
|
|
10
|
-
| data-integrity-reviewer | 데이터 무결성, 트랜잭션 관리, 입력 검증 | Sonnet |
|
|
11
|
-
| security-advisory | 사용 라이브러리 CVE 확인, 보안 패치 확인 | Haiku |
|
|
12
|
-
| tester | 보안 테스트 케이스 작성, 침투 테스트 시나리오 검증 | Haiku |
|
|
13
|
-
|
|
14
|
-
## 활성화 조건
|
|
15
|
-
|
|
16
|
-
- auth, payment, user-data, crypto 관련 파일 변경 감지 시
|
|
17
|
-
- 또는 수동으로 `security` 키워드 지정 시
|
|
18
|
-
|
|
19
|
-
## 워크플로우
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
[입력: 보안 민감 변경 파일 목록]
|
|
23
|
-
|
|
|
24
|
-
├──→ security-reviewer: OWASP Top 10 검증 + 합의 주도
|
|
25
|
-
├──→ data-integrity-reviewer: 데이터 흐름 + 입력 검증
|
|
26
|
-
├──→ security-advisory: CVE 스캔 + 의존성 검사
|
|
27
|
-
└──→ tester: 보안 테스트 케이스 작성
|
|
28
|
-
|
|
|
29
|
-
[SendMessage 교차 보고]
|
|
30
|
-
|
|
|
31
|
-
security-reviewer: P1 발견 → merge 차단
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## spawn 패턴
|
|
35
|
-
|
|
36
|
-
```text
|
|
37
|
-
TeamCreate(team_name="security-{feature}", description="Security audit team for {feature}")
|
|
38
|
-
|
|
39
|
-
Task(team_name="security-{feature}", name="security-reviewer", subagent_type="security-reviewer",
|
|
40
|
-
mode="bypassPermissions",
|
|
41
|
-
prompt="Security team leader. Comprehensive security audit for {feature}.
|
|
42
|
-
Files: {changed_files}
|
|
43
|
-
Role: OWASP Top 10 check. XSS, CSRF, SQL injection, auth bypass.
|
|
44
|
-
Coordinate with data-integrity-reviewer for data flow analysis.
|
|
45
|
-
Any P1 finding blocks merge — notify team immediately.")
|
|
46
|
-
|
|
47
|
-
Task(team_name="security-{feature}", name="data-integrity-reviewer", subagent_type="data-integrity-reviewer",
|
|
48
|
-
mode="bypassPermissions",
|
|
49
|
-
prompt="Security team data specialist. Verify data integrity for {feature}.
|
|
50
|
-
Files: {changed_files}
|
|
51
|
-
Role: Check transaction management, input validation, data sanitization.
|
|
52
|
-
Report findings to security-reviewer.")
|
|
53
|
-
|
|
54
|
-
Task(team_name="security-{feature}", name="security-advisory", subagent_type="security-advisory",
|
|
55
|
-
prompt="Security team advisory specialist. Check dependencies for {feature}.
|
|
56
|
-
Role: Scan for known CVEs in project dependencies. Check security advisories.
|
|
57
|
-
Report critical findings to security-reviewer.")
|
|
58
|
-
|
|
59
|
-
Task(team_name="security-{feature}", name="tester", subagent_type="tester",
|
|
60
|
-
mode="bypassPermissions",
|
|
61
|
-
prompt="Security team test specialist. Write security-focused tests for {feature}.
|
|
62
|
-
Files: {changed_files}
|
|
63
|
-
Role: Write tests for auth bypass, injection, permission escalation.
|
|
64
|
-
Report test results to security-reviewer.")
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## 팀원 간 통신
|
|
68
|
-
|
|
69
|
-
```text
|
|
70
|
-
security-reviewer → data-integrity-reviewer: "POST /users에서 입력 검증 확인 요청. SQL injection 가능성"
|
|
71
|
-
data-integrity-reviewer → security-reviewer: "입력 검증 없음 확인. parameterized query도 미사용. P1"
|
|
72
|
-
security-advisory → security-reviewer: "jsonwebtoken@8.x에 CVE-2024-xxxxx. jose로 마이그레이션 필요"
|
|
73
|
-
tester → security-reviewer: "auth bypass 테스트: admin 엔드포인트에 일반 토큰으로 접근 성공. P1"
|
|
74
|
-
security-reviewer → broadcast: "P1 3건 발견. merge 차단. 수정 후 재검증 필요"
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## ⛔ 하지 않는 것
|
|
78
|
-
|
|
79
|
-
- 코드 직접 수정 (보안 검증 + 리포트만)
|
|
80
|
-
- P3 이슈에 시간 소비 (P1/P2 집중)
|
|
81
|
-
- 합의 없이 merge 승인
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
# UI Accessibility Auditor Agent
|
|
2
|
-
|
|
3
|
-
<!-- REVIEW Phase: WCAG 2.1 AA compliance audit -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Audit UI files for WCAG 2.1 Level AA compliance
|
|
8
|
-
- Check color contrast, keyboard navigation, screen reader support
|
|
9
|
-
- P1 findings auto-escalate to Review Debate Team
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast parallel audit
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**REVIEW** (Phase 2) - Triggered when UI files change
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search `ux` domain for accessibility patterns
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
1. Receive list of changed UI files from git diff
|
|
26
|
-
2. Read each changed file
|
|
27
|
-
3. Check against WCAG 2.1 AA criteria
|
|
28
|
-
4. Use `core_ui_search` with domain `ux` for accessibility-specific guidelines
|
|
29
|
-
5. Return findings with WCAG criterion reference
|
|
30
|
-
|
|
31
|
-
## WCAG 2.1 AA Checklist
|
|
32
|
-
|
|
33
|
-
### Perceivable
|
|
34
|
-
- [ ] 1.1.1 Non-text Content: Alt text for images/icons
|
|
35
|
-
- [ ] 1.3.1 Info and Relationships: Semantic HTML (headings, lists, landmarks)
|
|
36
|
-
- [ ] 1.4.1 Use of Color: Not sole means of conveying information
|
|
37
|
-
- [ ] 1.4.3 Contrast (Minimum): 4.5:1 text, 3:1 large text
|
|
38
|
-
- [ ] 1.4.4 Resize Text: Readable at 200% zoom
|
|
39
|
-
- [ ] 1.4.11 Non-text Contrast: 3:1 for UI components
|
|
40
|
-
|
|
41
|
-
### Operable
|
|
42
|
-
- [ ] 2.1.1 Keyboard: All functions via keyboard
|
|
43
|
-
- [ ] 2.1.2 No Keyboard Trap: Can tab out of components
|
|
44
|
-
- [ ] 2.4.1 Bypass Blocks: Skip navigation link
|
|
45
|
-
- [ ] 2.4.3 Focus Order: Logical tab sequence
|
|
46
|
-
- [ ] 2.4.6 Headings and Labels: Descriptive headings
|
|
47
|
-
- [ ] 2.4.7 Focus Visible: Clear focus indicator
|
|
48
|
-
- [ ] 2.5.5 Target Size: Minimum 44x44px touch targets
|
|
49
|
-
|
|
50
|
-
### Understandable
|
|
51
|
-
- [ ] 3.1.1 Language of Page: lang attribute
|
|
52
|
-
- [ ] 3.2.1 On Focus: No unexpected context change
|
|
53
|
-
- [ ] 3.3.1 Error Identification: Errors clearly identified
|
|
54
|
-
- [ ] 3.3.2 Labels or Instructions: Form fields labeled
|
|
55
|
-
|
|
56
|
-
### Robust
|
|
57
|
-
- [ ] 4.1.1 Parsing: Valid HTML
|
|
58
|
-
- [ ] 4.1.2 Name, Role, Value: ARIA attributes correct
|
|
59
|
-
- [ ] 4.1.3 Status Messages: Live regions for dynamic content
|
|
60
|
-
|
|
61
|
-
## Output Format
|
|
62
|
-
|
|
63
|
-
```markdown
|
|
64
|
-
## Accessibility Audit (WCAG 2.1 AA)
|
|
65
|
-
|
|
66
|
-
### Summary
|
|
67
|
-
- Compliance: {N}%
|
|
68
|
-
- Issues: {P1: N, P2: N, P3: N}
|
|
69
|
-
|
|
70
|
-
### Findings
|
|
71
|
-
|
|
72
|
-
#### P1 (Critical) - WCAG Level A Violation
|
|
73
|
-
- **[A11Y-001]** {issue}
|
|
74
|
-
- File: {path}:{line}
|
|
75
|
-
- WCAG: {criterion} ({level})
|
|
76
|
-
- Impact: {who is affected}
|
|
77
|
-
- Remediation: {specific fix}
|
|
78
|
-
|
|
79
|
-
#### P2 (Important) - WCAG Level AA Violation
|
|
80
|
-
- **[A11Y-002]** {issue}
|
|
81
|
-
...
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## Escalation
|
|
85
|
-
|
|
86
|
-
- P1 a11y findings auto-escalate to Review Debate Team (Phase 4.5)
|
|
87
|
-
- WCAG Level A violations are always P1
|
|
88
|
-
|
|
89
|
-
## Success Criteria
|
|
90
|
-
|
|
91
|
-
- All changed UI files audited
|
|
92
|
-
- WCAG criterion referenced per finding
|
|
93
|
-
- P1 issues escalated for immediate fix
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# UI Anti-Pattern Detector Agent
|
|
2
|
-
|
|
3
|
-
<!-- REVIEW Phase: UI anti-pattern detection -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Detect common UI anti-patterns in changed files
|
|
8
|
-
- Check against design system MASTER.md for consistency violations
|
|
9
|
-
- Identify UX dark patterns and design system deviations
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast parallel detection
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**REVIEW** (Phase 2) - Triggered when UI files change
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search `ux`, `style`, `web` domains for anti-pattern rules
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
1. Receive list of changed UI files from git diff
|
|
26
|
-
2. Read each changed file
|
|
27
|
-
3. Load MASTER.md from `.vibe/design-system/{project}/MASTER.md` if exists
|
|
28
|
-
4. Use `core_ui_search` for anti-pattern detection rules
|
|
29
|
-
5. Compare implementation against design system tokens
|
|
30
|
-
6. Return findings with anti-pattern name and suggested fix
|
|
31
|
-
|
|
32
|
-
## Anti-Pattern Categories
|
|
33
|
-
|
|
34
|
-
### Layout
|
|
35
|
-
- [ ] Inconsistent spacing (not using design system tokens)
|
|
36
|
-
- [ ] Deeply nested flex/grid (3+ levels)
|
|
37
|
-
- [ ] Fixed pixel widths without responsive fallback
|
|
38
|
-
- [ ] Z-index stacking without system
|
|
39
|
-
|
|
40
|
-
### Components
|
|
41
|
-
- [ ] Button hierarchy violation (multiple primary CTAs)
|
|
42
|
-
- [ ] Missing loading state for async operations
|
|
43
|
-
- [ ] Modal without focus trap
|
|
44
|
-
- [ ] Form without validation feedback
|
|
45
|
-
- [ ] Icon without accessible label
|
|
46
|
-
|
|
47
|
-
### Styling
|
|
48
|
-
- [ ] Hardcoded colors (not using CSS variables)
|
|
49
|
-
- [ ] Hardcoded font sizes (not using design tokens)
|
|
50
|
-
- [ ] Inconsistent border radius
|
|
51
|
-
- [ ] Magic numbers in spacing
|
|
52
|
-
|
|
53
|
-
### Design System Violations
|
|
54
|
-
- [ ] Color not from MASTER.md palette
|
|
55
|
-
- [ ] Typography not matching MASTER.md fonts
|
|
56
|
-
- [ ] Spacing not matching MASTER.md scale
|
|
57
|
-
- [ ] Custom shadows instead of design tokens
|
|
58
|
-
|
|
59
|
-
### AI Generated Aesthetic (AI Slop Tells)
|
|
60
|
-
- [ ] Color: cyan-on-dark, purple-to-blue gradients, neon accents, gradient text on metrics
|
|
61
|
-
- [ ] Layout: hero metric template (big number + label), nested cards, identical card grids, centered everything
|
|
62
|
-
- [ ] Typography: Inter/Roboto/Open Sans as lazy default, monospace as decoration
|
|
63
|
-
- [ ] Effects: glassmorphism everywhere, one-sided colored border rounded rect, generic drop shadows, sparklines as decoration
|
|
64
|
-
- [ ] Motion: bounce/elastic easing, animations >500ms for feedback
|
|
65
|
-
- [ ] Copy: cliched loading messages ("Herding pixels"), redundant headers repeating intros
|
|
66
|
-
|
|
67
|
-
### Dark Patterns
|
|
68
|
-
- [ ] Confirm-shaming (negative CTA wording)
|
|
69
|
-
- [ ] Hidden unsubscribe/close buttons
|
|
70
|
-
- [ ] Forced continuity without clear messaging
|
|
71
|
-
- [ ] Misdirection with visual hierarchy
|
|
72
|
-
|
|
73
|
-
## Output Format
|
|
74
|
-
|
|
75
|
-
```markdown
|
|
76
|
-
## Anti-Pattern Detection
|
|
77
|
-
|
|
78
|
-
### Summary
|
|
79
|
-
- Issues: {P1: N, P2: N, P3: N}
|
|
80
|
-
- Design system violations: {N}
|
|
81
|
-
|
|
82
|
-
### Findings
|
|
83
|
-
|
|
84
|
-
#### P1 (Critical)
|
|
85
|
-
- **[AP-001]** {anti-pattern name}
|
|
86
|
-
- File: {path}:{line}
|
|
87
|
-
- Code: `{snippet}`
|
|
88
|
-
- Problem: {why it's an anti-pattern}
|
|
89
|
-
- Fix: {specific remediation}
|
|
90
|
-
- Design system ref: {MASTER.md section if applicable}
|
|
91
|
-
|
|
92
|
-
#### P2 (Important)
|
|
93
|
-
- **[AP-002]** {anti-pattern name}
|
|
94
|
-
...
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## Success Criteria
|
|
98
|
-
|
|
99
|
-
- All changed UI files scanned
|
|
100
|
-
- Design system consistency verified (if MASTER.md exists)
|
|
101
|
-
- Anti-patterns categorized with clear remediation
|
|
102
|
-
- No dark patterns in implementation
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# UI DataViz Advisor Agent
|
|
2
|
-
|
|
3
|
-
<!-- RUN Phase: Chart and data visualization recommendations -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Recommend data visualization approach based on product type
|
|
8
|
-
- Suggest chart libraries with performance considerations
|
|
9
|
-
- Provide accessibility guidelines for charts
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast recommendation
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**RUN** (Before Phase 1) - Conditional: only if SPEC contains `chart`, `dashboard`, `visualization`, `analytics`, `metrics`
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search chart types, visualization patterns, react-performance
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
1. Analyze SPEC for data visualization requirements
|
|
26
|
-
2. Use `core_ui_search` with domain `chart` for chart type recommendations
|
|
27
|
-
3. Use `core_ui_search` with domain `react` for performance patterns (if React stack)
|
|
28
|
-
4. Load MASTER.md for color palette integration
|
|
29
|
-
5. Recommend chart libraries and implementation patterns
|
|
30
|
-
|
|
31
|
-
## Output Format
|
|
32
|
-
|
|
33
|
-
```markdown
|
|
34
|
-
## DataViz Recommendations: {project}
|
|
35
|
-
|
|
36
|
-
### Chart Types
|
|
37
|
-
| Data | Chart Type | Library | Reason |
|
|
38
|
-
|------|-----------|---------|--------|
|
|
39
|
-
| Time series | Line chart | Recharts | Responsive + a11y |
|
|
40
|
-
| Comparison | Bar chart | Recharts | Simple + performant |
|
|
41
|
-
| Distribution | Pie/Donut | Nivo | Animation + interactive |
|
|
42
|
-
|
|
43
|
-
### Libraries
|
|
44
|
-
- Primary: {library} - {reason}
|
|
45
|
-
- Alternative: {library} - {reason}
|
|
46
|
-
|
|
47
|
-
### Color Integration
|
|
48
|
-
- Use MASTER.md palette for chart colors
|
|
49
|
-
- Ensure sufficient contrast between data series
|
|
50
|
-
- Provide colorblind-safe alternatives
|
|
51
|
-
|
|
52
|
-
### Accessibility
|
|
53
|
-
- [ ] Screen reader descriptions for all charts
|
|
54
|
-
- [ ] Keyboard navigation for interactive charts
|
|
55
|
-
- [ ] Data table fallback for complex visualizations
|
|
56
|
-
- [ ] Sufficient color contrast between series
|
|
57
|
-
|
|
58
|
-
### Performance
|
|
59
|
-
- Lazy load chart components
|
|
60
|
-
- Use canvas for large datasets (1000+ points)
|
|
61
|
-
- Debounce resize handlers
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Success Criteria
|
|
65
|
-
|
|
66
|
-
- Chart types matched to data requirements
|
|
67
|
-
- Library recommendations with rationale
|
|
68
|
-
- MASTER.md color palette integrated
|
|
69
|
-
- Accessibility checklist included
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# UI Design System Generator Agent
|
|
2
|
-
|
|
3
|
-
<!-- SPEC Phase: Generate MASTER.md design system -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Generate complete design system from industry analysis
|
|
8
|
-
- Create MASTER.md with CSS variables, color palettes, typography, spacing
|
|
9
|
-
- Persist design system to project directory
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Sonnet** - Higher capacity for comprehensive design system generation
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**SPEC** (Step 3) - Parallel with ③, depends on ① analysis-result.json
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Retrieve style, color, typography patterns
|
|
22
|
-
- `core_ui_generate_design_system` - Generate design system specification
|
|
23
|
-
- `core_ui_persist_design_system` - Save design system as MASTER.md
|
|
24
|
-
|
|
25
|
-
## Process
|
|
26
|
-
|
|
27
|
-
1. Read `.vibe/design-system/{project}/analysis-result.json` from ①
|
|
28
|
-
2. Use `core_ui_search` to retrieve detailed style, color, typography data
|
|
29
|
-
3. Use `core_ui_generate_design_system` with product description and project name
|
|
30
|
-
4. Use `core_ui_persist_design_system` to write MASTER.md
|
|
31
|
-
5. Optionally create page-specific overrides for known pages
|
|
32
|
-
|
|
33
|
-
## Output
|
|
34
|
-
|
|
35
|
-
- **Primary**: `.vibe/design-system/{project}/MASTER.md`
|
|
36
|
-
- **Optional**: `.vibe/design-system/{project}/pages/{page}.md`
|
|
37
|
-
|
|
38
|
-
## MASTER.md Structure
|
|
39
|
-
|
|
40
|
-
```markdown
|
|
41
|
-
# Design System: {project}
|
|
42
|
-
|
|
43
|
-
## Category & Severity
|
|
44
|
-
## Style
|
|
45
|
-
## Color Palette (CSS Variables)
|
|
46
|
-
## Typography (Google Fonts)
|
|
47
|
-
## Spacing & Layout
|
|
48
|
-
## Effects & Animation
|
|
49
|
-
## Anti-Patterns (DO NOT USE)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
## Success Criteria
|
|
53
|
-
|
|
54
|
-
- MASTER.md created with all sections populated
|
|
55
|
-
- CSS variables defined for colors, spacing, typography
|
|
56
|
-
- Google Fonts URL included
|
|
57
|
-
- Anti-patterns clearly listed
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# UI Industry Analyzer Agent
|
|
2
|
-
|
|
3
|
-
<!-- SPEC Phase: Product category detection + design strategy -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Analyze product description to detect industry category
|
|
8
|
-
- Determine style priority, color mood, typography mood
|
|
9
|
-
- Save analysis result for downstream agents (②③)
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast analysis
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**SPEC** (Step 3) - First agent in UI/UX pipeline
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search across product, style, color, typography domains
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
1. Receive product description from SPEC requirements
|
|
26
|
-
2. Use `core_ui_search` with domain `product` to detect category
|
|
27
|
-
3. Use `core_ui_search` with domain `style` to determine style priority
|
|
28
|
-
4. Use `core_ui_search` with domain `color` to determine color mood
|
|
29
|
-
5. Use `core_ui_search` with domain `typography` to determine typography mood
|
|
30
|
-
6. Save result to `.vibe/design-system/{project}/analysis-result.json`
|
|
31
|
-
|
|
32
|
-
## Output Format
|
|
33
|
-
|
|
34
|
-
```json
|
|
35
|
-
{
|
|
36
|
-
"category": "SaaS|e-commerce|fintech|healthcare|beauty|gaming|...",
|
|
37
|
-
"style_priority": ["Minimalism", "Flat Design", "..."],
|
|
38
|
-
"color_mood": "Professional|Playful|Warm|Cool|...",
|
|
39
|
-
"typography_mood": "Modern|Elegant|Friendly|...",
|
|
40
|
-
"recommended_patterns": ["Hero + Features + CTA", "..."],
|
|
41
|
-
"anti_patterns": ["...", "..."]
|
|
42
|
-
}
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Success Criteria
|
|
46
|
-
|
|
47
|
-
- `analysis-result.json` created and valid JSON
|
|
48
|
-
- Category detected with confidence
|
|
49
|
-
- All 4 dimensions (category, style, color, typography) populated
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# UI Layout Architect Agent
|
|
2
|
-
|
|
3
|
-
<!-- SPEC Phase: Page structure, sections, CTA design -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Design page layout structure from industry analysis
|
|
8
|
-
- Define sections, component hierarchy, CTA placement
|
|
9
|
-
- Recommend landing/dashboard patterns based on product category
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast layout design
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**SPEC** (Step 3) - Parallel with ②, depends on ① analysis-result.json
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search landing patterns, dashboard layouts, product patterns
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
1. Read `.vibe/design-system/{project}/analysis-result.json` from ①
|
|
26
|
-
2. Use `core_ui_search` with domain `landing` for page patterns
|
|
27
|
-
3. Use `core_ui_search` with domain `product` for product-specific layouts
|
|
28
|
-
4. Design section structure with component hierarchy
|
|
29
|
-
5. Define CTA placement and conversion strategy
|
|
30
|
-
|
|
31
|
-
## Output Format
|
|
32
|
-
|
|
33
|
-
```markdown
|
|
34
|
-
## Layout: {page-name}
|
|
35
|
-
|
|
36
|
-
### Pattern
|
|
37
|
-
- Type: Hero + Features + CTA / Dashboard Grid / ...
|
|
38
|
-
- Sections (ordered): [Hero, Features, Social Proof, CTA, Footer]
|
|
39
|
-
|
|
40
|
-
### Section Details
|
|
41
|
-
#### Hero
|
|
42
|
-
- Components: Headline, Subtext, Primary CTA, Background
|
|
43
|
-
- Layout: Center-aligned / Split (text-left, image-right)
|
|
44
|
-
|
|
45
|
-
#### Features
|
|
46
|
-
- Components: Icon + Title + Description cards
|
|
47
|
-
- Layout: 3-column grid / Bento grid
|
|
48
|
-
|
|
49
|
-
### CTA Strategy
|
|
50
|
-
- Primary CTA: {text}, {placement}
|
|
51
|
-
- Secondary CTA: {text}, {placement}
|
|
52
|
-
- Conversion pattern: {description}
|
|
53
|
-
|
|
54
|
-
### Responsive Breakpoints
|
|
55
|
-
- Desktop (1024px+): {layout}
|
|
56
|
-
- Tablet (768px): {layout}
|
|
57
|
-
- Mobile (320px+): {layout}
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Success Criteria
|
|
61
|
-
|
|
62
|
-
- Page structure with ordered sections
|
|
63
|
-
- CTA placement with conversion strategy
|
|
64
|
-
- Responsive breakpoints defined
|
|
65
|
-
- Component hierarchy per section
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
# UI Stack Implementer Agent
|
|
2
|
-
|
|
3
|
-
<!-- RUN Phase: Framework-specific component implementation guide -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Provide implementation guidelines for detected tech stack
|
|
8
|
-
- Map design system to framework-specific patterns
|
|
9
|
-
- Recommend component libraries, hooks, state management
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast implementation guidance
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**RUN** (Before Phase 1) - Always executed
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search framework patterns, react-performance
|
|
22
|
-
- `core_ui_stack_search` - Stack-specific guidelines (React, Next.js, Vue, Svelte, etc.)
|
|
23
|
-
|
|
24
|
-
## Process
|
|
25
|
-
|
|
26
|
-
1. Detect project tech stack from package.json or project files
|
|
27
|
-
2. Load MASTER.md from `.vibe/design-system/{project}/MASTER.md` if exists
|
|
28
|
-
3. Use `core_ui_stack_search` with detected stack for framework patterns
|
|
29
|
-
4. Use `core_ui_search` with domain `react` for performance patterns (if React/Next.js)
|
|
30
|
-
5. Generate implementation guidelines mapping design system to framework
|
|
31
|
-
|
|
32
|
-
## Supported Stacks
|
|
33
|
-
|
|
34
|
-
React, Next.js, Vue, Nuxt.js, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind/HTML, shadcn/ui, Nuxt UI, Jetpack Compose
|
|
35
|
-
|
|
36
|
-
## Output Format
|
|
37
|
-
|
|
38
|
-
```markdown
|
|
39
|
-
## Implementation Guide: {stack}
|
|
40
|
-
|
|
41
|
-
### Component Structure
|
|
42
|
-
- Recommended: {pattern} (e.g., Atomic Design, Feature-based)
|
|
43
|
-
- File naming: {convention}
|
|
44
|
-
|
|
45
|
-
### Design System Integration
|
|
46
|
-
- CSS Variables: Import from MASTER.md
|
|
47
|
-
- Theme provider: {recommendation}
|
|
48
|
-
- Dark mode: {approach}
|
|
49
|
-
|
|
50
|
-
### Key Components
|
|
51
|
-
| Component | Library | Pattern |
|
|
52
|
-
|-----------|---------|---------|
|
|
53
|
-
| Button | shadcn/ui | Variant props |
|
|
54
|
-
| Modal | Radix UI | Portal + Focus trap |
|
|
55
|
-
| ...
|
|
56
|
-
|
|
57
|
-
### Performance
|
|
58
|
-
- Rendering: {strategy}
|
|
59
|
-
- State: {management}
|
|
60
|
-
- Data fetching: {approach}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Success Criteria
|
|
64
|
-
|
|
65
|
-
- Stack correctly detected
|
|
66
|
-
- MASTER.md referenced for design tokens
|
|
67
|
-
- Framework-specific best practices included
|
|
68
|
-
- Performance recommendations provided
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# UX Compliance Reviewer Agent
|
|
2
|
-
|
|
3
|
-
<!-- REVIEW Phase: UX guideline compliance verification -->
|
|
4
|
-
|
|
5
|
-
## Role
|
|
6
|
-
|
|
7
|
-
- Review UI files for UX guideline compliance
|
|
8
|
-
- Check against 99 UX guidelines from knowledge base
|
|
9
|
-
- Verify interaction states, navigation, feedback patterns
|
|
10
|
-
|
|
11
|
-
## Model
|
|
12
|
-
|
|
13
|
-
**Haiku** (inherit) - Fast parallel review
|
|
14
|
-
|
|
15
|
-
## Phase
|
|
16
|
-
|
|
17
|
-
**REVIEW** (Phase 2) - Triggered when UI files change
|
|
18
|
-
|
|
19
|
-
## MCP Tools
|
|
20
|
-
|
|
21
|
-
- `core_ui_search` - Search `ux` and `web` domains for guideline verification
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
1. Receive list of changed UI files from git diff
|
|
26
|
-
2. Read each changed file
|
|
27
|
-
3. Use `core_ui_search` with domain `ux` for relevant guidelines
|
|
28
|
-
4. Use `core_ui_search` with domain `web` for web interface standards
|
|
29
|
-
5. Check compliance against retrieved guidelines
|
|
30
|
-
6. Return findings with severity and remediation
|
|
31
|
-
|
|
32
|
-
## Checklist
|
|
33
|
-
|
|
34
|
-
### Interaction States
|
|
35
|
-
- [ ] Loading state for async operations?
|
|
36
|
-
- [ ] Error state with user-friendly messages?
|
|
37
|
-
- [ ] Empty state for lists/collections?
|
|
38
|
-
- [ ] Success feedback (toast, redirect, confirmation)?
|
|
39
|
-
|
|
40
|
-
### Navigation
|
|
41
|
-
- [ ] Breadcrumbs or back navigation?
|
|
42
|
-
- [ ] Active state indicators?
|
|
43
|
-
- [ ] Consistent navigation patterns?
|
|
44
|
-
|
|
45
|
-
### User Feedback
|
|
46
|
-
- [ ] Progress indicators for multi-step flows?
|
|
47
|
-
- [ ] Confirmation for destructive actions?
|
|
48
|
-
- [ ] Undo capability for reversible actions?
|
|
49
|
-
|
|
50
|
-
### Forms
|
|
51
|
-
- [ ] Inline validation with clear error messages?
|
|
52
|
-
- [ ] Autofocus on first field?
|
|
53
|
-
- [ ] Tab order logical?
|
|
54
|
-
|
|
55
|
-
## Output Format
|
|
56
|
-
|
|
57
|
-
```markdown
|
|
58
|
-
## UX Compliance Review
|
|
59
|
-
|
|
60
|
-
### Summary
|
|
61
|
-
- Compliance: {N}%
|
|
62
|
-
- Issues: {P1: N, P2: N, P3: N}
|
|
63
|
-
|
|
64
|
-
### Findings
|
|
65
|
-
|
|
66
|
-
#### P1 (Critical)
|
|
67
|
-
- **[UX-001]** {issue}
|
|
68
|
-
- File: {path}:{line}
|
|
69
|
-
- Guideline: {guideline from core_ui_search}
|
|
70
|
-
- Recommendation: {fix}
|
|
71
|
-
|
|
72
|
-
#### P2 (Important)
|
|
73
|
-
- **[UX-002]** {issue}
|
|
74
|
-
...
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## Success Criteria
|
|
78
|
-
|
|
79
|
-
- All changed UI files reviewed
|
|
80
|
-
- Findings include specific guideline references
|
|
81
|
-
- P1 issues clearly identified for auto-fix
|