@su-record/vibe 2.16.4 → 3.1.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.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 -169
- package/agents/documenter.md +43 -0
- package/agents/e2e-tester.md +46 -281
- 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/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/index.d.ts +0 -4
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +0 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/llm/model-refresh.js +1 -1
- package/dist/cli/llm/model-refresh.js.map +1 -1
- 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 +80 -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/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/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/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/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__/.vibe/command-log.txt +3 -78
- package/hooks/scripts/__tests__/.vibe/memories/memories.db +0 -0
- package/hooks/scripts/__tests__/.vibe/memories/memories.db-shm +0 -0
- package/hooks/scripts/__tests__/.vibe/memories/memories.db-wal +0 -0
- package/hooks/scripts/__tests__/clone-behaviors.test.js +64 -0
- package/hooks/scripts/__tests__/clone-merge-responsive.test.js +106 -0
- 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/clone-extract.js +242 -28
- package/hooks/scripts/clone-merge-responsive.js +184 -0
- package/hooks/scripts/clone-spec.js +33 -8
- package/hooks/scripts/clone-validate.js +15 -9
- 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/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 +6 -5
- 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/clone/SKILL.md +132 -55
- 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/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 +3 -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/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/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.clone/SKILL.md +39 -19
- 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.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 +5 -4
- 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 -265
- 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 -56
- package/agents/figma/figma-architect.md +0 -116
- package/agents/figma/figma-auditor.md +0 -86
- package/agents/figma/figma-builder.md +0 -104
- 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 -124
- package/agents/teams/debug-team.md +0 -74
- package/agents/teams/dev-team.md +0 -92
- package/agents/teams/docs-team.md +0 -84
- package/agents/teams/figma-team.md +0 -89
- package/agents/teams/fullstack-team.md +0 -87
- package/agents/teams/lite-team.md +0 -73
- package/agents/teams/migration-team.md +0 -82
- package/agents/teams/refactor-team.md +0 -98
- package/agents/teams/research-team.md +0 -90
- package/agents/teams/review-debate-team.md +0 -129
- package/agents/teams/security-team.md +0 -85
- 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 -262
- package/dist/cli/llm/gemini-commands.d.ts +0 -25
- package/dist/cli/llm/gemini-commands.d.ts.map +0 -1
- package/dist/cli/llm/gemini-commands.js +0 -143
- package/dist/cli/llm/gemini-commands.js.map +0 -1
- package/dist/cli/postinstall/codex-agents.d.ts +0 -24
- package/dist/cli/postinstall/codex-agents.d.ts.map +0 -1
- package/dist/cli/postinstall/codex-agents.js +0 -114
- package/dist/cli/postinstall/codex-agents.js.map +0 -1
- package/dist/cli/postinstall/codex-instruction.d.ts +0 -10
- package/dist/cli/postinstall/codex-instruction.d.ts.map +0 -1
- package/dist/cli/postinstall/codex-instruction.js +0 -56
- package/dist/cli/postinstall/codex-instruction.js.map +0 -1
- package/dist/cli/postinstall/gemini-agents.d.ts +0 -12
- package/dist/cli/postinstall/gemini-agents.d.ts.map +0 -1
- package/dist/cli/postinstall/gemini-agents.js +0 -80
- package/dist/cli/postinstall/gemini-agents.js.map +0 -1
- package/dist/cli/postinstall/gemini-instruction.d.ts +0 -10
- package/dist/cli/postinstall/gemini-instruction.d.ts.map +0 -1
- package/dist/cli/postinstall/gemini-instruction.js +0 -59
- package/dist/cli/postinstall/gemini-instruction.js.map +0 -1
- package/dist/infra/lib/ContextCompressor.d.ts +0 -104
- package/dist/infra/lib/ContextCompressor.d.ts.map +0 -1
- package/dist/infra/lib/ContextCompressor.js +0 -297
- package/dist/infra/lib/ContextCompressor.js.map +0 -1
- package/dist/infra/lib/ContextCompressor.test.d.ts +0 -2
- package/dist/infra/lib/ContextCompressor.test.d.ts.map +0 -1
- package/dist/infra/lib/ContextCompressor.test.js +0 -25
- package/dist/infra/lib/ContextCompressor.test.js.map +0 -1
- package/dist/infra/lib/ProgressTracker.d.ts +0 -73
- package/dist/infra/lib/ProgressTracker.d.ts.map +0 -1
- package/dist/infra/lib/ProgressTracker.js +0 -267
- package/dist/infra/lib/ProgressTracker.js.map +0 -1
- package/dist/infra/lib/TokenBudgetTracker.d.ts +0 -68
- package/dist/infra/lib/TokenBudgetTracker.d.ts.map +0 -1
- package/dist/infra/lib/TokenBudgetTracker.js +0 -191
- package/dist/infra/lib/TokenBudgetTracker.js.map +0 -1
- package/dist/infra/lib/autonomy/AuditStore.d.ts +0 -63
- package/dist/infra/lib/autonomy/AuditStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AuditStore.js +0 -185
- package/dist/infra/lib/autonomy/AuditStore.js.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts +0 -84
- package/dist/infra/lib/autonomy/AutonomyConfig.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyConfig.js +0 -49
- package/dist/infra/lib/autonomy/AutonomyConfig.js.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts +0 -78
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js +0 -246
- package/dist/infra/lib/autonomy/AutonomyOrchestrator.js.map +0 -1
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts +0 -36
- package/dist/infra/lib/autonomy/BackgroundMonitor.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/BackgroundMonitor.js +0 -138
- package/dist/infra/lib/autonomy/BackgroundMonitor.js.map +0 -1
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts +0 -56
- package/dist/infra/lib/autonomy/CollaborationProtocol.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/CollaborationProtocol.js +0 -122
- package/dist/infra/lib/autonomy/CollaborationProtocol.js.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts +0 -42
- package/dist/infra/lib/autonomy/ConfirmationManager.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationManager.js +0 -200
- package/dist/infra/lib/autonomy/ConfirmationManager.js.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts +0 -55
- package/dist/infra/lib/autonomy/ConfirmationStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ConfirmationStore.js +0 -130
- package/dist/infra/lib/autonomy/ConfirmationStore.js.map +0 -1
- package/dist/infra/lib/autonomy/EventBus.d.ts +0 -20
- package/dist/infra/lib/autonomy/EventBus.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/EventBus.js +0 -119
- package/dist/infra/lib/autonomy/EventBus.js.map +0 -1
- package/dist/infra/lib/autonomy/EventOutbox.d.ts +0 -32
- package/dist/infra/lib/autonomy/EventOutbox.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/EventOutbox.js +0 -152
- package/dist/infra/lib/autonomy/EventOutbox.js.map +0 -1
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts +0 -24
- package/dist/infra/lib/autonomy/NotificationDispatcher.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/NotificationDispatcher.js +0 -112
- package/dist/infra/lib/autonomy/NotificationDispatcher.js.map +0 -1
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts +0 -76
- package/dist/infra/lib/autonomy/PolicyEngine.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/PolicyEngine.js +0 -208
- package/dist/infra/lib/autonomy/PolicyEngine.js.map +0 -1
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts +0 -61
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js +0 -236
- package/dist/infra/lib/autonomy/ProactiveAnalyzer.js.map +0 -1
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts +0 -35
- package/dist/infra/lib/autonomy/RiskClassifier.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/RiskClassifier.js +0 -147
- package/dist/infra/lib/autonomy/RiskClassifier.js.map +0 -1
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts +0 -51
- package/dist/infra/lib/autonomy/SecuritySentinel.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/SecuritySentinel.js +0 -162
- package/dist/infra/lib/autonomy/SecuritySentinel.js.map +0 -1
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts +0 -54
- package/dist/infra/lib/autonomy/SuggestionStore.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/SuggestionStore.js +0 -144
- package/dist/infra/lib/autonomy/SuggestionStore.js.map +0 -1
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts +0 -38
- package/dist/infra/lib/autonomy/TaskDecomposer.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/TaskDecomposer.js +0 -175
- package/dist/infra/lib/autonomy/TaskDecomposer.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js +0 -198
- package/dist/infra/lib/autonomy/__tests__/audit-store.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js +0 -225
- package/dist/infra/lib/autonomy/__tests__/event-bus.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/event-core.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js +0 -194
- package/dist/infra/lib/autonomy/__tests__/event-core.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/governance.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/governance.test.js +0 -540
- package/dist/infra/lib/autonomy/__tests__/governance.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/integration.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/integration.test.js +0 -480
- package/dist/infra/lib/autonomy/__tests__/integration.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/proactive.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js +0 -410
- package/dist/infra/lib/autonomy/__tests__/proactive.test.js.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts +0 -2
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js +0 -486
- package/dist/infra/lib/autonomy/__tests__/sentinel.test.js.map +0 -1
- package/dist/infra/lib/autonomy/index.d.ts +0 -18
- package/dist/infra/lib/autonomy/index.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/index.js +0 -22
- package/dist/infra/lib/autonomy/index.js.map +0 -1
- package/dist/infra/lib/autonomy/schemas.d.ts +0 -317
- package/dist/infra/lib/autonomy/schemas.d.ts.map +0 -1
- package/dist/infra/lib/autonomy/schemas.js +0 -90
- package/dist/infra/lib/autonomy/schemas.js.map +0 -1
- package/dist/infra/lib/claude/index.d.ts +0 -5
- package/dist/infra/lib/claude/index.d.ts.map +0 -1
- package/dist/infra/lib/claude/index.js +0 -5
- package/dist/infra/lib/claude/index.js.map +0 -1
- package/dist/infra/lib/claude/storage.d.ts +0 -12
- package/dist/infra/lib/claude/storage.d.ts.map +0 -1
- package/dist/infra/lib/claude/storage.js +0 -54
- package/dist/infra/lib/claude/storage.js.map +0 -1
- package/dist/infra/lib/gemini/auth.d.ts +0 -18
- package/dist/infra/lib/gemini/auth.d.ts.map +0 -1
- package/dist/infra/lib/gemini/auth.js +0 -32
- package/dist/infra/lib/gemini/auth.js.map +0 -1
- package/dist/infra/lib/gemini/capabilities.d.ts +0 -28
- package/dist/infra/lib/gemini/capabilities.d.ts.map +0 -1
- package/dist/infra/lib/gemini/capabilities.js +0 -178
- package/dist/infra/lib/gemini/capabilities.js.map +0 -1
- package/dist/infra/lib/gemini/chat.d.ts +0 -35
- package/dist/infra/lib/gemini/chat.d.ts.map +0 -1
- package/dist/infra/lib/gemini/chat.js +0 -161
- package/dist/infra/lib/gemini/chat.js.map +0 -1
- package/dist/infra/lib/gemini/completion.d.ts +0 -12
- package/dist/infra/lib/gemini/completion.d.ts.map +0 -1
- package/dist/infra/lib/gemini/completion.js +0 -13
- package/dist/infra/lib/gemini/completion.js.map +0 -1
- package/dist/infra/lib/gemini/constants.d.ts +0 -8
- package/dist/infra/lib/gemini/constants.d.ts.map +0 -1
- package/dist/infra/lib/gemini/constants.js +0 -11
- package/dist/infra/lib/gemini/constants.js.map +0 -1
- package/dist/infra/lib/gemini/index.d.ts +0 -13
- package/dist/infra/lib/gemini/index.d.ts.map +0 -1
- package/dist/infra/lib/gemini/index.js +0 -12
- package/dist/infra/lib/gemini/index.js.map +0 -1
- package/dist/infra/lib/gemini/models.d.ts +0 -11
- package/dist/infra/lib/gemini/models.d.ts.map +0 -1
- package/dist/infra/lib/gemini/models.js +0 -38
- package/dist/infra/lib/gemini/models.js.map +0 -1
- package/dist/infra/lib/gemini/orchestration.d.ts +0 -33
- package/dist/infra/lib/gemini/orchestration.d.ts.map +0 -1
- package/dist/infra/lib/gemini/orchestration.js +0 -62
- package/dist/infra/lib/gemini/orchestration.js.map +0 -1
- package/dist/infra/lib/gemini/types.d.ts +0 -115
- package/dist/infra/lib/gemini/types.d.ts.map +0 -1
- package/dist/infra/lib/gemini/types.js +0 -5
- package/dist/infra/lib/gemini/types.js.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts +0 -64
- package/dist/infra/orchestrator/AgentAnnouncer.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.js +0 -127
- package/dist/infra/orchestrator/AgentAnnouncer.js.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts +0 -5
- package/dist/infra/orchestrator/AgentAnnouncer.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentAnnouncer.test.js +0 -119
- package/dist/infra/orchestrator/AgentAnnouncer.test.js.map +0 -1
- package/dist/infra/orchestrator/AgentExecutor.d.ts +0 -22
- package/dist/infra/orchestrator/AgentExecutor.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentExecutor.js +0 -272
- package/dist/infra/orchestrator/AgentExecutor.js.map +0 -1
- package/dist/infra/orchestrator/AgentManager.d.ts +0 -72
- package/dist/infra/orchestrator/AgentManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentManager.js +0 -183
- package/dist/infra/orchestrator/AgentManager.js.map +0 -1
- package/dist/infra/orchestrator/AgentManifestCache.d.ts +0 -54
- package/dist/infra/orchestrator/AgentManifestCache.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentManifestCache.js +0 -191
- package/dist/infra/orchestrator/AgentManifestCache.js.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.d.ts +0 -76
- package/dist/infra/orchestrator/AgentRegistry.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.js +0 -217
- package/dist/infra/orchestrator/AgentRegistry.js.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts +0 -5
- package/dist/infra/orchestrator/AgentRegistry.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/AgentRegistry.test.js +0 -122
- package/dist/infra/orchestrator/AgentRegistry.test.js.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.d.ts +0 -128
- package/dist/infra/orchestrator/BackgroundManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.js +0 -620
- package/dist/infra/orchestrator/BackgroundManager.js.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts +0 -6
- package/dist/infra/orchestrator/BackgroundManager.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/BackgroundManager.test.js +0 -162
- package/dist/infra/orchestrator/BackgroundManager.test.js.map +0 -1
- package/dist/infra/orchestrator/CheckpointManager.d.ts +0 -54
- package/dist/infra/orchestrator/CheckpointManager.d.ts.map +0 -1
- package/dist/infra/orchestrator/CheckpointManager.js +0 -121
- package/dist/infra/orchestrator/CheckpointManager.js.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.d.ts +0 -12
- package/dist/infra/orchestrator/CodexAgentRuntime.d.ts.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.js +0 -94
- package/dist/infra/orchestrator/CodexAgentRuntime.js.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts +0 -2
- package/dist/infra/orchestrator/CodexAgentRuntime.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/CodexAgentRuntime.test.js +0 -37
- package/dist/infra/orchestrator/CodexAgentRuntime.test.js.map +0 -1
- package/dist/infra/orchestrator/LLMCluster.d.ts +0 -82
- package/dist/infra/orchestrator/LLMCluster.d.ts.map +0 -1
- package/dist/infra/orchestrator/LLMCluster.js +0 -146
- package/dist/infra/orchestrator/LLMCluster.js.map +0 -1
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts +0 -31
- package/dist/infra/orchestrator/MultiLlmResearch.d.ts.map +0 -1
- package/dist/infra/orchestrator/MultiLlmResearch.js +0 -160
- package/dist/infra/orchestrator/MultiLlmResearch.js.map +0 -1
- package/dist/infra/orchestrator/PhasePipeline.d.ts +0 -122
- package/dist/infra/orchestrator/PhasePipeline.d.ts.map +0 -1
- package/dist/infra/orchestrator/PhasePipeline.js +0 -385
- package/dist/infra/orchestrator/PhasePipeline.js.map +0 -1
- package/dist/infra/orchestrator/PhaseResultStore.d.ts +0 -39
- package/dist/infra/orchestrator/PhaseResultStore.d.ts.map +0 -1
- package/dist/infra/orchestrator/PhaseResultStore.js +0 -151
- package/dist/infra/orchestrator/PhaseResultStore.js.map +0 -1
- package/dist/infra/orchestrator/SessionStore.d.ts +0 -40
- package/dist/infra/orchestrator/SessionStore.d.ts.map +0 -1
- package/dist/infra/orchestrator/SessionStore.js +0 -116
- package/dist/infra/orchestrator/SessionStore.js.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.d.ts +0 -90
- package/dist/infra/orchestrator/SmartRouter.d.ts.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.js +0 -277
- package/dist/infra/orchestrator/SmartRouter.js.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.test.d.ts +0 -5
- package/dist/infra/orchestrator/SmartRouter.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/SmartRouter.test.js +0 -484
- package/dist/infra/orchestrator/SmartRouter.test.js.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts +0 -143
- package/dist/infra/orchestrator/SwarmOrchestrator.d.ts.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.js +0 -378
- package/dist/infra/orchestrator/SwarmOrchestrator.js.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts +0 -5
- package/dist/infra/orchestrator/SwarmOrchestrator.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js +0 -95
- package/dist/infra/orchestrator/SwarmOrchestrator.test.js.map +0 -1
- package/dist/infra/orchestrator/agentDiscovery.d.ts +0 -26
- package/dist/infra/orchestrator/agentDiscovery.d.ts.map +0 -1
- package/dist/infra/orchestrator/agentDiscovery.js +0 -175
- package/dist/infra/orchestrator/agentDiscovery.js.map +0 -1
- package/dist/infra/orchestrator/backgroundAgent.d.ts +0 -9
- package/dist/infra/orchestrator/backgroundAgent.d.ts.map +0 -1
- package/dist/infra/orchestrator/backgroundAgent.js +0 -10
- package/dist/infra/orchestrator/backgroundAgent.js.map +0 -1
- package/dist/infra/orchestrator/index.d.ts +0 -207
- package/dist/infra/orchestrator/index.d.ts.map +0 -1
- package/dist/infra/orchestrator/index.js +0 -362
- package/dist/infra/orchestrator/index.js.map +0 -1
- package/dist/infra/orchestrator/orchestrator.d.ts +0 -60
- package/dist/infra/orchestrator/orchestrator.d.ts.map +0 -1
- package/dist/infra/orchestrator/orchestrator.js +0 -214
- package/dist/infra/orchestrator/orchestrator.js.map +0 -1
- package/dist/infra/orchestrator/parallelResearch.d.ts +0 -27
- package/dist/infra/orchestrator/parallelResearch.d.ts.map +0 -1
- package/dist/infra/orchestrator/parallelResearch.js +0 -285
- package/dist/infra/orchestrator/parallelResearch.js.map +0 -1
- package/dist/infra/orchestrator/types.d.ts +0 -205
- package/dist/infra/orchestrator/types.d.ts.map +0 -1
- package/dist/infra/orchestrator/types.js +0 -87
- package/dist/infra/orchestrator/types.js.map +0 -1
- package/dist/infra/orchestrator/types.test.d.ts +0 -2
- package/dist/infra/orchestrator/types.test.d.ts.map +0 -1
- package/dist/infra/orchestrator/types.test.js +0 -57
- package/dist/infra/orchestrator/types.test.js.map +0 -1
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts +0 -12
- package/dist/tools/semantic/analyzeDependencyGraph.d.ts.map +0 -1
- package/dist/tools/semantic/analyzeDependencyGraph.js +0 -359
- package/dist/tools/semantic/analyzeDependencyGraph.js.map +0 -1
- package/dist/tools/semantic/astGrep.d.ts +0 -25
- package/dist/tools/semantic/astGrep.d.ts.map +0 -1
- package/dist/tools/semantic/astGrep.js +0 -324
- package/dist/tools/semantic/astGrep.js.map +0 -1
- package/dist/tools/semantic/astGrep.test.d.ts +0 -2
- package/dist/tools/semantic/astGrep.test.d.ts.map +0 -1
- package/dist/tools/semantic/astGrep.test.js +0 -74
- package/dist/tools/semantic/astGrep.test.js.map +0 -1
- package/dist/tools/semantic/findReferences.d.ts +0 -9
- package/dist/tools/semantic/findReferences.d.ts.map +0 -1
- package/dist/tools/semantic/findReferences.js +0 -200
- package/dist/tools/semantic/findReferences.js.map +0 -1
- package/dist/tools/semantic/findSymbol.d.ts +0 -8
- package/dist/tools/semantic/findSymbol.d.ts.map +0 -1
- package/dist/tools/semantic/findSymbol.js +0 -204
- package/dist/tools/semantic/findSymbol.js.map +0 -1
- package/dist/tools/semantic/index.d.ts +0 -9
- package/dist/tools/semantic/index.d.ts.map +0 -1
- package/dist/tools/semantic/index.js +0 -11
- package/dist/tools/semantic/index.js.map +0 -1
- package/dist/tools/semantic/lsp.d.ts +0 -68
- package/dist/tools/semantic/lsp.d.ts.map +0 -1
- package/dist/tools/semantic/lsp.js +0 -561
- package/dist/tools/semantic/lsp.js.map +0 -1
- package/dist/tools/spec/e2eTestGenerator.d.ts +0 -61
- package/dist/tools/spec/e2eTestGenerator.d.ts.map +0 -1
- package/dist/tools/spec/e2eTestGenerator.js +0 -255
- package/dist/tools/spec/e2eTestGenerator.js.map +0 -1
- package/dist/tools/spec/specVersioning.d.ts +0 -76
- package/dist/tools/spec/specVersioning.d.ts.map +0 -1
- package/dist/tools/spec/specVersioning.js +0 -236
- package/dist/tools/spec/specVersioning.js.map +0 -1
- 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 -72
- 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,140 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: design-critique
|
|
3
|
-
invocation: [auto]
|
|
4
|
-
tier: standard
|
|
5
|
-
description: "UX design review — Nielsen heuristics scoring, 5-persona red flag analysis. Use when design-critique, ux-review, design-review."
|
|
6
|
-
triggers: [design-critique, ux-review, design-review]
|
|
7
|
-
priority: 50
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Design Critique — UX Design Review
|
|
11
|
-
|
|
12
|
-
Evaluate design quality through Nielsen's 10 usability heuristics and 5 persona lenses. Report only — no code modifications.
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
/design-critique <target> # Critique specific page/flow
|
|
18
|
-
/design-critique . # Critique all changed UI files
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Nielsen's 10 Heuristics (0–4 Score Each)
|
|
22
|
-
|
|
23
|
-
| # | Heuristic | What to Check |
|
|
24
|
-
|---|-----------|---------------|
|
|
25
|
-
| H1 | Visibility of system status | Loading indicators, progress bars, state feedback |
|
|
26
|
-
| H2 | Match between system and real world | Natural language, familiar icons, logical groupings |
|
|
27
|
-
| H3 | User control and freedom | Undo/redo, cancel actions, exit paths |
|
|
28
|
-
| H4 | Consistency and standards | Same action = same pattern, platform conventions |
|
|
29
|
-
| H5 | Error prevention | Confirmation dialogs, input constraints, disabled states |
|
|
30
|
-
| H6 | Recognition rather than recall | Visible options, contextual help, breadcrumbs |
|
|
31
|
-
| H7 | Flexibility and efficiency | Keyboard shortcuts, defaults, power user paths |
|
|
32
|
-
| H8 | Aesthetic and minimalist design | Signal-to-noise ratio, essential info only |
|
|
33
|
-
| H9 | Help users recognize and recover from errors | Clear error messages, suggested fixes |
|
|
34
|
-
| H10 | Help and documentation | Tooltips, onboarding, contextual guidance |
|
|
35
|
-
|
|
36
|
-
### Scoring
|
|
37
|
-
|
|
38
|
-
| Score | Meaning |
|
|
39
|
-
|-------|---------|
|
|
40
|
-
| 0 | Violated — causes real user problems |
|
|
41
|
-
| 1 | Weak — frequent friction points |
|
|
42
|
-
| 2 | Adequate — works but not smooth |
|
|
43
|
-
| 3 | Good — minor friction only |
|
|
44
|
-
| 4 | Excellent — delightful experience |
|
|
45
|
-
|
|
46
|
-
## 5-Persona Red Flag Analysis
|
|
47
|
-
|
|
48
|
-
Test the design through these persona lenses:
|
|
49
|
-
|
|
50
|
-
### 1. Power User
|
|
51
|
-
- Can they complete tasks quickly?
|
|
52
|
-
- Are there keyboard shortcuts or bulk actions?
|
|
53
|
-
- Is information density appropriate (not too sparse)?
|
|
54
|
-
|
|
55
|
-
### 2. First-Time User
|
|
56
|
-
- Is the entry point obvious?
|
|
57
|
-
- Can they complete the primary task without documentation?
|
|
58
|
-
- Is progressive disclosure used (not overwhelming)?
|
|
59
|
-
|
|
60
|
-
### 3. Accessibility-Dependent User
|
|
61
|
-
- Screen reader navigation makes sense?
|
|
62
|
-
- Color is not the only information channel?
|
|
63
|
-
- Text is resizable without breaking layout?
|
|
64
|
-
|
|
65
|
-
### 4. Stressed / Distracted User
|
|
66
|
-
- Can they recover from mistakes easily?
|
|
67
|
-
- Are destructive actions clearly guarded?
|
|
68
|
-
- Is critical information scannable (not buried in paragraphs)?
|
|
69
|
-
|
|
70
|
-
### 5. Mobile-Only User
|
|
71
|
-
- Touch targets adequate?
|
|
72
|
-
- Key actions reachable with one thumb?
|
|
73
|
-
- Forms don't require excessive typing?
|
|
74
|
-
|
|
75
|
-
## Platform Adaptation
|
|
76
|
-
|
|
77
|
-
When running on mobile stacks (React Native, Flutter, iOS, Android):
|
|
78
|
-
- Focus on platform-specific UX conventions (gestures, navigation patterns)
|
|
79
|
-
- Evaluate against platform HIG (Human Interface Guidelines / Material Design)
|
|
80
|
-
- Skip web-specific heuristic items (breadcrumbs, URL-based navigation)
|
|
81
|
-
|
|
82
|
-
## Output Format
|
|
83
|
-
|
|
84
|
-
```markdown
|
|
85
|
-
## Design Critique: {target}
|
|
86
|
-
|
|
87
|
-
### Heuristic Scores
|
|
88
|
-
| # | Heuristic | Score | Key Issue |
|
|
89
|
-
|---|-----------|-------|-----------|
|
|
90
|
-
| H1 | Visibility of system status | 2/4 | No loading state on form submit |
|
|
91
|
-
| H2 | Match real world | 4/4 | — |
|
|
92
|
-
| H3 | User control | 1/4 | No undo on delete |
|
|
93
|
-
| ... | ... | ... | ... |
|
|
94
|
-
| **Total** | | **28/40** | **70%** |
|
|
95
|
-
|
|
96
|
-
### Persona Red Flags
|
|
97
|
-
|
|
98
|
-
#### Power User 🔴
|
|
99
|
-
- No keyboard shortcut for primary action
|
|
100
|
-
- Table lacks bulk selection
|
|
101
|
-
|
|
102
|
-
#### First-Time User 🟡
|
|
103
|
-
- CTA is clear but secondary options are confusing
|
|
104
|
-
|
|
105
|
-
#### Accessibility-Dependent User 🔴
|
|
106
|
-
- Color-only status indicators (red/green dots)
|
|
107
|
-
|
|
108
|
-
#### Stressed User 🟢
|
|
109
|
-
- Confirmation dialog on destructive actions ✓
|
|
110
|
-
|
|
111
|
-
#### Mobile-Only User 🟡
|
|
112
|
-
- Settings buried 3 levels deep
|
|
113
|
-
|
|
114
|
-
### Top Recommendations
|
|
115
|
-
1. {Priority-ordered design improvements}
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## Preparation
|
|
119
|
-
|
|
120
|
-
Before running the critique:
|
|
121
|
-
|
|
122
|
-
1. **Read** `.vibe/design-context.json`
|
|
123
|
-
- If missing → display: "Run `/design-teach` first for better results" → proceed with defaults
|
|
124
|
-
- If parse error → display warning → proceed with defaults → recommend `/design-teach`
|
|
125
|
-
- If present → adjust persona priorities by `audience.primary` and `audience.expertise`
|
|
126
|
-
2. **Read** brand personality to calibrate aesthetic expectations
|
|
127
|
-
|
|
128
|
-
## Next Steps
|
|
129
|
-
|
|
130
|
-
| If Result Shows | Recommended Next |
|
|
131
|
-
|----------------|-----------------|
|
|
132
|
-
| Visual complexity / clutter | `/design-distill` — remove unnecessary elements |
|
|
133
|
-
| Token inconsistencies noted | `/design-normalize` — align to design system |
|
|
134
|
-
| Good overall, minor polish needed | `/design-polish` — final pass |
|
|
135
|
-
|
|
136
|
-
## Important
|
|
137
|
-
|
|
138
|
-
- **Read-only**: Produces design critique report. No code modifications.
|
|
139
|
-
- **Context-aware**: Uses `.vibe/design-context.json` for brand/audience context if available.
|
|
140
|
-
- **Complementary**: Pairs with `/design-audit` (technical) — critique focuses on UX quality.
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: design-distill
|
|
3
|
-
invocation: [auto]
|
|
4
|
-
tier: standard
|
|
5
|
-
description: "Remove unnecessary visual complexity — strip decorative clutter, apply progressive disclosure, simplify UI to essentials. Use when design-distill, simplify-ui, ui-simplify, strip-ui."
|
|
6
|
-
triggers: [design-distill, simplify-ui, ui-simplify, strip-ui]
|
|
7
|
-
priority: 50
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Design Distill — Remove Visual Complexity
|
|
11
|
-
|
|
12
|
-
Strip unnecessary visual elements. Every remaining element must justify its existence. Applies the principle: **if it doesn't help the user complete their task, remove it.**
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
/design-distill <target> # Distill specific page/component
|
|
18
|
-
/design-distill . # Distill all changed UI files
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## What Gets Distilled
|
|
22
|
-
|
|
23
|
-
### 1. Decorative Clutter
|
|
24
|
-
|
|
25
|
-
- Gradient backgrounds that don't convey hierarchy
|
|
26
|
-
- Decorative dividers between already-spaced sections
|
|
27
|
-
- Background patterns or textures without purpose
|
|
28
|
-
- Ornamental icons (icons that don't aid comprehension)
|
|
29
|
-
- Excessive border/shadow stacking on nested containers
|
|
30
|
-
|
|
31
|
-
### 2. Redundant Information
|
|
32
|
-
|
|
33
|
-
- Headings that repeat the page title or parent context
|
|
34
|
-
- Labels that duplicate placeholder text
|
|
35
|
-
- "Welcome to {App}" banners on authenticated pages
|
|
36
|
-
- Empty state illustrations when a simple message suffices
|
|
37
|
-
- Descriptions restating what the UI element obviously does
|
|
38
|
-
|
|
39
|
-
### 3. Over-Wrapped Containers
|
|
40
|
-
|
|
41
|
-
- Cards wrapping single elements (card containing only a button)
|
|
42
|
-
- Nested cards (card inside card inside card)
|
|
43
|
-
- Wrapper divs with only cosmetic purpose
|
|
44
|
-
- Sections with only one child element
|
|
45
|
-
|
|
46
|
-
### 4. Excessive Animation
|
|
47
|
-
|
|
48
|
-
- Entry animations on every element (staggered fade-ins on list items)
|
|
49
|
-
- Hover animations on non-interactive elements
|
|
50
|
-
- Transitions > 300ms for feedback (feels sluggish)
|
|
51
|
-
- Parallax effects on content pages
|
|
52
|
-
- Decorative loading animations when a spinner suffices
|
|
53
|
-
|
|
54
|
-
### 5. Progressive Disclosure Opportunities
|
|
55
|
-
|
|
56
|
-
- Settings pages showing all options at once → group and collapse
|
|
57
|
-
- Forms with 10+ fields visible → break into steps
|
|
58
|
-
- Dashboards showing every metric → show top 3, expandable for rest
|
|
59
|
-
- Navigation with 8+ top-level items → group into categories
|
|
60
|
-
|
|
61
|
-
## Distillation Principles
|
|
62
|
-
|
|
63
|
-
| Principle | Question to Ask |
|
|
64
|
-
|-----------|----------------|
|
|
65
|
-
| **Purpose** | Does this element help the user complete a task? |
|
|
66
|
-
| **Duplication** | Is this information available elsewhere on screen? |
|
|
67
|
-
| **Cognitive load** | Would removing this reduce decision fatigue? |
|
|
68
|
-
| **Visual weight** | Does this element compete with more important content? |
|
|
69
|
-
| **Progressive disclosure** | Can this be hidden until needed? |
|
|
70
|
-
|
|
71
|
-
## Process
|
|
72
|
-
|
|
73
|
-
1. Read target files fully
|
|
74
|
-
2. Identify elements matching distillation categories
|
|
75
|
-
3. For each candidate:
|
|
76
|
-
- Verify removal won't break functionality
|
|
77
|
-
- Check if element carries semantic meaning
|
|
78
|
-
- Confirm removal improves signal-to-noise ratio
|
|
79
|
-
4. Apply removals and simplifications
|
|
80
|
-
5. Report changes with before/after rationale
|
|
81
|
-
|
|
82
|
-
## Output Format
|
|
83
|
-
|
|
84
|
-
```markdown
|
|
85
|
-
## Design Distill: {target}
|
|
86
|
-
|
|
87
|
-
### Removed
|
|
88
|
-
- ✂️ {file}:{line} — Decorative gradient background (no hierarchy purpose)
|
|
89
|
-
- ✂️ {file}:{line} — Wrapper card around single button
|
|
90
|
-
- ✂️ {file}:{line} — Heading repeating parent page title
|
|
91
|
-
|
|
92
|
-
### Simplified
|
|
93
|
-
- 🔄 {file}:{line} — Collapsed 3 nested divs into 1 flex container
|
|
94
|
-
- 🔄 {file}:{line} — Replaced staggered animation with single fade-in
|
|
95
|
-
|
|
96
|
-
### Progressive Disclosure Applied
|
|
97
|
-
- 📦 {file}:{line} — Settings grouped into collapsible sections (was 15 flat options)
|
|
98
|
-
|
|
99
|
-
### Preserved (Justified)
|
|
100
|
-
- ✓ {file}:{line} — Decorative illustration on empty state (brand expression)
|
|
101
|
-
|
|
102
|
-
### Summary
|
|
103
|
-
- Elements reviewed: {N}
|
|
104
|
-
- Removed: {N}
|
|
105
|
-
- Simplified: {N}
|
|
106
|
-
- Progressive disclosure: {N}
|
|
107
|
-
- Net complexity reduction: {percentage}
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
## Preparation
|
|
111
|
-
|
|
112
|
-
Before running distillation:
|
|
113
|
-
|
|
114
|
-
1. **Read** `.vibe/design-context.json`
|
|
115
|
-
- If missing → display: "Run `/design-teach` first for better results" → proceed with defaults
|
|
116
|
-
- If parse error → display warning → proceed with defaults → recommend `/design-teach`
|
|
117
|
-
- If present → preserve elements that match `brand.personality` (e.g., "playful" brand may justify decorative elements)
|
|
118
|
-
2. Use `aesthetic.style` to calibrate aggressiveness (minimal → more aggressive, bold → more lenient)
|
|
119
|
-
|
|
120
|
-
## Next Steps
|
|
121
|
-
|
|
122
|
-
| If Result Shows | Recommended Next |
|
|
123
|
-
|----------------|-----------------|
|
|
124
|
-
| Elements removed/simplified | `/design-normalize` — align remaining tokens |
|
|
125
|
-
| Already minimal | `/design-polish` — final pre-ship pass |
|
|
126
|
-
|
|
127
|
-
## Important
|
|
128
|
-
|
|
129
|
-
- **Modifying**: Directly removes and simplifies identified elements.
|
|
130
|
-
- **Conservative**: Only removes elements that clearly don't serve user tasks. Brand-expressive elements preserved.
|
|
131
|
-
- **Reversible**: All removals listed in report for easy review and revert if needed.
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: design-normalize
|
|
3
|
-
user-invocable: true
|
|
4
|
-
invocation: [command, auto]
|
|
5
|
-
tier: standard
|
|
6
|
-
description: "Normalize hardcoded values to design system tokens — colors, typography, spacing, shadows aligned to MASTER.md. Use when design-normalize, design-system, token-align."
|
|
7
|
-
triggers: [design-normalize, design-system, token-align]
|
|
8
|
-
priority: 50
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Design Normalize — Design System Token Alignment
|
|
12
|
-
|
|
13
|
-
Replace hardcoded design values with design system tokens from MASTER.md. Ensures visual consistency across the project.
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
/design-normalize # Normalize all changed UI files
|
|
19
|
-
/design-normalize <target> # Normalize specific component/page
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Process
|
|
23
|
-
|
|
24
|
-
### Step 1: Load Design System
|
|
25
|
-
|
|
26
|
-
Load token source in priority order:
|
|
27
|
-
|
|
28
|
-
1. `.vibe/design-system/{project}/MASTER.md` (project-specific)
|
|
29
|
-
2. `.vibe/design-context.json` (from `/design-teach`)
|
|
30
|
-
3. If neither exists → prompt: "Run `/design-teach` or create MASTER.md first. Proceeding with default token detection."
|
|
31
|
-
|
|
32
|
-
### Step 2: Scan for Hardcoded Values
|
|
33
|
-
|
|
34
|
-
Detect these categories:
|
|
35
|
-
|
|
36
|
-
| Category | Pattern | Example |
|
|
37
|
-
|----------|---------|---------|
|
|
38
|
-
| Colors | Hex `#xxx`, `#xxxxxx`, `rgb()`, `hsl()` | `#3B82F6` → `var(--color-primary)` |
|
|
39
|
-
| Typography | `font-size: 14px`, `font-weight: 600` | `14px` → `var(--text-sm)` |
|
|
40
|
-
| Spacing | `margin: 16px`, `padding: 24px`, `gap: 12px` | `16px` → `var(--space-4)` |
|
|
41
|
-
| Shadows | `box-shadow: 0 2px 4px ...` | Inline → `var(--shadow-sm)` |
|
|
42
|
-
| Border Radius | `border-radius: 8px` | `8px` → `var(--radius-md)` |
|
|
43
|
-
|
|
44
|
-
### Step 3: Map to Tokens
|
|
45
|
-
|
|
46
|
-
For each hardcoded value:
|
|
47
|
-
|
|
48
|
-
1. Find closest matching token in MASTER.md
|
|
49
|
-
2. If exact match → replace directly
|
|
50
|
-
3. If close match (within 2px/similar hue) → replace + note the mapping
|
|
51
|
-
4. If no match → flag for manual review (may need new token)
|
|
52
|
-
|
|
53
|
-
### Step 4: Apply Replacements
|
|
54
|
-
|
|
55
|
-
Replace values in source files, preserving:
|
|
56
|
-
- Intentional one-off values (commented with `/* intentional */`)
|
|
57
|
-
- Animation keyframe values
|
|
58
|
-
- SVG path data
|
|
59
|
-
- Third-party library overrides
|
|
60
|
-
|
|
61
|
-
## Token Mapping Example
|
|
62
|
-
|
|
63
|
-
```css
|
|
64
|
-
/* Before */
|
|
65
|
-
.card {
|
|
66
|
-
background: #ffffff;
|
|
67
|
-
border: 1px solid #e5e7eb;
|
|
68
|
-
border-radius: 8px;
|
|
69
|
-
padding: 24px;
|
|
70
|
-
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/* After */
|
|
74
|
-
.card {
|
|
75
|
-
background: var(--color-surface);
|
|
76
|
-
border: 1px solid var(--color-border);
|
|
77
|
-
border-radius: var(--radius-lg);
|
|
78
|
-
padding: var(--space-6);
|
|
79
|
-
box-shadow: var(--shadow-sm);
|
|
80
|
-
}
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Output Format
|
|
84
|
-
|
|
85
|
-
```markdown
|
|
86
|
-
## Design Normalize: {target}
|
|
87
|
-
|
|
88
|
-
### Token Source
|
|
89
|
-
- Using: MASTER.md / design-context.json / default detection
|
|
90
|
-
|
|
91
|
-
### Replacements Applied
|
|
92
|
-
| File | Line | Before | After | Confidence |
|
|
93
|
-
|------|------|--------|-------|------------|
|
|
94
|
-
| Card.tsx | 12 | #3B82F6 | var(--color-primary) | exact |
|
|
95
|
-
| Card.tsx | 15 | 16px | var(--space-4) | exact |
|
|
96
|
-
| Card.tsx | 18 | 7px | var(--radius-md) (8px) | close |
|
|
97
|
-
|
|
98
|
-
### New Tokens Suggested
|
|
99
|
-
- `--color-accent-light: #DBEAFE` — used 4 times, no matching token
|
|
100
|
-
|
|
101
|
-
### Skipped (Manual Review)
|
|
102
|
-
- {file}:{line} — animation keyframe value
|
|
103
|
-
- {file}:{line} — no matching token found
|
|
104
|
-
|
|
105
|
-
### Summary
|
|
106
|
-
- Scanned: {N} files
|
|
107
|
-
- Replaced: {N} values
|
|
108
|
-
- New tokens suggested: {N}
|
|
109
|
-
- Skipped: {N}
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Preparation
|
|
113
|
-
|
|
114
|
-
Before running normalization:
|
|
115
|
-
|
|
116
|
-
1. **Read** `.vibe/design-context.json`
|
|
117
|
-
- If missing → display: "Run `/design-teach` first for better results" → proceed with defaults
|
|
118
|
-
- If parse error → display warning → proceed with defaults → recommend `/design-teach`
|
|
119
|
-
- If present → use `detectedStack.styling` to determine token format (CSS vars, Tailwind, etc.)
|
|
120
|
-
2. **Read** `.vibe/design-system/*/MASTER.md`
|
|
121
|
-
- If missing → display: "Run `/design-teach` or create MASTER.md first. Proceeding with default token detection."
|
|
122
|
-
- If present → use as authoritative token source for replacements
|
|
123
|
-
|
|
124
|
-
## Next Steps
|
|
125
|
-
|
|
126
|
-
| If Result Shows | Recommended Next |
|
|
127
|
-
|----------------|-----------------|
|
|
128
|
-
| Tokens aligned successfully | `/design-polish` — final pre-ship pass |
|
|
129
|
-
| New tokens suggested | Add to MASTER.md, then re-run `/design-normalize` |
|
|
130
|
-
|
|
131
|
-
## Important
|
|
132
|
-
|
|
133
|
-
- **Modifying**: Directly replaces hardcoded values with token references.
|
|
134
|
-
- **MASTER.md required**: Works best with a defined design system. Falls back to auto-detection if missing.
|
|
135
|
-
- **Safe**: Preserves intentional overrides and third-party styles.
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: design-polish
|
|
3
|
-
invocation: [auto]
|
|
4
|
-
tier: standard
|
|
5
|
-
description: "Pre-ship final polish pass — pixel alignment, interaction states, micro-details check and auto-fix. Use when design-polish, ui-polish, final-pass, ship-ready."
|
|
6
|
-
triggers: [design-polish, ui-polish, final-pass, ship-ready]
|
|
7
|
-
priority: 50
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Design Polish — Pre-Ship Final Pass
|
|
11
|
-
|
|
12
|
-
Last-mile quality pass before shipping. Checks pixel-level details and **directly fixes** issues found.
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
/design-polish <target> # Polish specific component/page
|
|
18
|
-
/design-polish . # Polish all changed UI files
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Checklist
|
|
22
|
-
|
|
23
|
-
### 1. Alignment & Spacing
|
|
24
|
-
|
|
25
|
-
- [ ] Elements align to consistent grid (4px or 8px base)
|
|
26
|
-
- [ ] Spacing between sections follows rhythm (not arbitrary gaps)
|
|
27
|
-
- [ ] Text baselines align across columns
|
|
28
|
-
- [ ] Icons vertically centered with adjacent text
|
|
29
|
-
- [ ] Padding inside containers is symmetric unless intentional
|
|
30
|
-
|
|
31
|
-
### 2. Interaction States (Complete Set)
|
|
32
|
-
|
|
33
|
-
Every interactive element must have ALL applicable states:
|
|
34
|
-
|
|
35
|
-
| State | Check |
|
|
36
|
-
|-------|-------|
|
|
37
|
-
| Default | Base appearance defined |
|
|
38
|
-
| Hover | Visual feedback on mouse enter |
|
|
39
|
-
| Focus | Visible focus ring (a11y requirement) |
|
|
40
|
-
| Active / Pressed | Visual response on click/tap |
|
|
41
|
-
| Disabled | Reduced opacity + `pointer-events: none` + `aria-disabled` |
|
|
42
|
-
| Loading | Spinner or skeleton replacing content |
|
|
43
|
-
| Error | Red/danger styling + error message |
|
|
44
|
-
| Success | Confirmation feedback (toast, checkmark, color change) |
|
|
45
|
-
|
|
46
|
-
### 3. Typography & Copy
|
|
47
|
-
|
|
48
|
-
- [ ] No orphaned words (single word on last line of heading)
|
|
49
|
-
- [ ] Consistent capitalization (Title Case vs sentence case)
|
|
50
|
-
- [ ] No placeholder text ("Lorem ipsum", "TODO", "test")
|
|
51
|
-
- [ ] Truncation with ellipsis where text can overflow
|
|
52
|
-
- [ ] Line length ≤ 75 characters for readability
|
|
53
|
-
|
|
54
|
-
### 4. Visual Consistency
|
|
55
|
-
|
|
56
|
-
- [ ] Border radius consistent across same-level elements
|
|
57
|
-
- [ ] Shadow depth matches elevation hierarchy
|
|
58
|
-
- [ ] Icon sizes consistent (16/20/24px common set)
|
|
59
|
-
- [ ] Color usage matches semantic meaning (red=error, green=success)
|
|
60
|
-
|
|
61
|
-
### 5. Cleanup
|
|
62
|
-
|
|
63
|
-
- [ ] No `console.log` statements
|
|
64
|
-
- [ ] No commented-out JSX/HTML
|
|
65
|
-
- [ ] No `z-index` values > 100 without documented reason
|
|
66
|
-
- [ ] No inline styles that should be classes/tokens
|
|
67
|
-
- [ ] No dead CSS classes
|
|
68
|
-
|
|
69
|
-
## Auto-Fix Rules
|
|
70
|
-
|
|
71
|
-
| Issue | Fix Action |
|
|
72
|
-
|-------|-----------|
|
|
73
|
-
| Missing hover state on button | Add hover style using existing token |
|
|
74
|
-
| Missing focus ring | Add `focus-visible` outline |
|
|
75
|
-
| Missing disabled state | Add disabled variant with reduced opacity |
|
|
76
|
-
| Inconsistent border radius | Normalize to nearest design token |
|
|
77
|
-
| Inline color values | Replace with CSS variable |
|
|
78
|
-
| `console.log` in UI files | Remove |
|
|
79
|
-
| Commented-out code | Remove |
|
|
80
|
-
|
|
81
|
-
## Process
|
|
82
|
-
|
|
83
|
-
1. Read target files fully
|
|
84
|
-
2. Run checklist against each file
|
|
85
|
-
3. Collect findings with file:line references
|
|
86
|
-
4. Apply auto-fixes for safe items
|
|
87
|
-
5. Report items requiring manual review
|
|
88
|
-
6. Re-verify fixed files pass checklist
|
|
89
|
-
|
|
90
|
-
## Output Format
|
|
91
|
-
|
|
92
|
-
```markdown
|
|
93
|
-
## Design Polish: {target}
|
|
94
|
-
|
|
95
|
-
### Auto-Fixed
|
|
96
|
-
- ✅ {file}:{line} — Added hover state to submit button
|
|
97
|
-
- ✅ {file}:{line} — Replaced #3B82F6 with var(--color-primary)
|
|
98
|
-
- ✅ {file}:{line} — Removed console.log
|
|
99
|
-
|
|
100
|
-
### Manual Review Needed
|
|
101
|
-
- ⚠️ {file}:{line} — Orphaned word in heading (layout choice)
|
|
102
|
-
- ⚠️ {file}:{line} — Missing loading state on async action
|
|
103
|
-
|
|
104
|
-
### Summary
|
|
105
|
-
- Items checked: {N}
|
|
106
|
-
- Auto-fixed: {N}
|
|
107
|
-
- Manual review: {N}
|
|
108
|
-
- Ship-ready: {yes/no}
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
## Preparation
|
|
112
|
-
|
|
113
|
-
Before running polish:
|
|
114
|
-
|
|
115
|
-
1. **Read** `.vibe/design-context.json`
|
|
116
|
-
- If missing → display: "Run `/design-teach` first for better results" → proceed with defaults
|
|
117
|
-
- If parse error → display warning → proceed with defaults → recommend `/design-teach`
|
|
118
|
-
- If present → apply brand-appropriate micro-interaction styles from `aesthetic.style`
|
|
119
|
-
2. **Read** `.vibe/design-system/*/MASTER.md` (if exists) for token references
|
|
120
|
-
|
|
121
|
-
## Next Steps
|
|
122
|
-
|
|
123
|
-
| If Result Shows | Recommended Next |
|
|
124
|
-
|----------------|-----------------|
|
|
125
|
-
| All items pass | Ship ready — no further action needed |
|
|
126
|
-
| Design system gaps found | `/design-normalize` first, then re-run `/design-polish` |
|
|
127
|
-
|
|
128
|
-
## Important
|
|
129
|
-
|
|
130
|
-
- **Modifying**: This skill directly applies safe fixes.
|
|
131
|
-
- **Conservative**: Only auto-fixes items with clear, safe remediation. Ambiguous items flagged for manual review.
|
|
132
|
-
- **Pairs with**: Run `/design-audit` first for broad issues, then `/design-polish` for final touches.
|