@su-record/vibe 3.0.0 → 3.2.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 +2 -2
- package/README.en.md +6 -4
- package/README.md +5 -3
- package/dist/__tests__/wiring-integrity.test.d.ts +2 -0
- package/dist/__tests__/wiring-integrity.test.d.ts.map +1 -0
- package/dist/__tests__/wiring-integrity.test.js +160 -0
- package/dist/__tests__/wiring-integrity.test.js.map +1 -0
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/info.js +2 -1
- package/dist/cli/commands/info.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +4 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/index.js +102 -128
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/postinstall/claude-agents.d.ts.map +1 -1
- package/dist/cli/postinstall/claude-agents.js +0 -5
- package/dist/cli/postinstall/claude-agents.js.map +1 -1
- package/dist/cli/postinstall/constants.d.ts +6 -0
- package/dist/cli/postinstall/constants.d.ts.map +1 -1
- package/dist/cli/postinstall/constants.js +42 -60
- package/dist/cli/postinstall/constants.js.map +1 -1
- package/dist/cli/postinstall/inline-skills.js +2 -2
- package/dist/cli/postinstall/inline-skills.js.map +1 -1
- package/dist/cli/postinstall/main.d.ts.map +1 -1
- package/dist/cli/postinstall/main.js +2 -0
- package/dist/cli/postinstall/main.js.map +1 -1
- package/dist/cli/postinstall.d.ts +6 -1
- package/dist/cli/postinstall.d.ts.map +1 -1
- package/dist/cli/postinstall.js +6 -1
- package/dist/cli/postinstall.js.map +1 -1
- package/dist/cli/setup/GlobalInstaller.d.ts +1 -15
- package/dist/cli/setup/GlobalInstaller.d.ts.map +1 -1
- package/dist/cli/setup/GlobalInstaller.js +16 -115
- package/dist/cli/setup/GlobalInstaller.js.map +1 -1
- package/dist/cli/setup/GlobalInstaller.test.d.ts +2 -0
- package/dist/cli/setup/GlobalInstaller.test.d.ts.map +1 -0
- package/dist/cli/setup/GlobalInstaller.test.js +16 -0
- package/dist/cli/setup/GlobalInstaller.test.js.map +1 -0
- package/dist/cli/setup/ProjectSetup.js +2 -2
- package/dist/cli/setup/ProjectSetup.js.map +1 -1
- package/dist/cli/setup.d.ts +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +1 -1
- package/dist/cli/setup.js.map +1 -1
- package/dist/infra/lib/SkillRepository.js +1 -1
- package/dist/infra/lib/evolution/__tests__/integration.test.js +0 -42
- package/dist/infra/lib/evolution/__tests__/integration.test.js.map +1 -1
- package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -78
- package/hooks/scripts/__tests__/clone-behaviors.test.js +97 -1
- package/hooks/scripts/__tests__/clone-merge-responsive.test.js +106 -0
- package/hooks/scripts/__tests__/code-check-memory-write.test.js +81 -0
- package/hooks/scripts/__tests__/step-counter.test.js +21 -0
- package/hooks/scripts/auto-format.js +2 -11
- package/hooks/scripts/auto-test.js +2 -11
- package/hooks/scripts/clone-extract.js +388 -38
- 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 +27 -55
- package/hooks/scripts/lib/glob.js +32 -0
- package/hooks/scripts/lib/hook-context.js +19 -2
- package/hooks/scripts/post-edit.js +2 -3
- package/hooks/scripts/prompt-dispatcher.js +1 -1
- package/hooks/scripts/scope-guard.js +3 -42
- package/hooks/scripts/sentinel-guard.js +5 -20
- package/hooks/scripts/session-start.js +2 -2
- package/hooks/scripts/step-counter.js +35 -57
- package/package.json +6 -4
- package/skills/clone/SKILL.md +74 -203
- package/skills/clone/references/capture-rules.md +48 -0
- package/skills/clone/references/legal-and-error-recovery.md +40 -0
- package/skills/clone/references/refine-rules.md +61 -0
- package/skills/clone/references/scaffold-phases.md +59 -0
- package/skills/clone/references/setup-and-layout.md +30 -0
- package/skills/docs/SKILL.md +39 -4
- package/skills/docs/references/api-docs-changelog.md +34 -0
- package/skills/docs/references/codemaps-output.md +23 -0
- package/{agents/diagrammer.md → skills/docs/references/diagram-spec.md} +2 -15
- package/skills/exec-plan/SKILL.md +1 -1
- package/skills/exec-plan/templates/plan.md +1 -1
- package/skills/handoff/SKILL.md +3 -3
- package/skills/handoff/templates/handoff.md +1 -1
- package/skills/vibe/SKILL.md +3 -2
- package/skills/vibe.analyze/SKILL.md +12 -249
- package/skills/vibe.analyze/references/output-templates.md +188 -0
- package/skills/vibe.analyze/references/quality-gate.md +93 -0
- package/skills/vibe.clone/SKILL.md +52 -19
- package/skills/vibe.continue/SKILL.md +32 -0
- package/skills/vibe.design/SKILL.md +23 -1
- package/skills/vibe.design/references/ui-preview.md +20 -0
- package/skills/vibe.docs/SKILL.md +4 -2
- package/skills/vibe.figma/SKILL.md +33 -260
- package/skills/vibe.figma/references/branch-phases.md +113 -0
- package/skills/vibe.figma/references/state-schema.md +42 -0
- package/skills/vibe.figma/references/step-algorithms.md +204 -0
- package/skills/vibe.image/SKILL.md +62 -0
- package/skills/vibe.image/references/image-generation-examples.md +39 -0
- package/skills/vibe.reason/SKILL.md +3 -183
- package/skills/vibe.reason/references/output-format-template.md +57 -0
- package/skills/vibe.reason/references/quality-rubrics.md +94 -0
- package/skills/vibe.reason/references/worked-example.md +45 -0
- package/skills/vibe.review/SKILL.md +13 -348
- package/skills/vibe.review/references/boundary-check.md +25 -0
- package/skills/vibe.review/references/output-template.md +74 -0
- package/skills/vibe.review/references/quality-gate.md +84 -0
- package/skills/vibe.review/references/race-mode.md +117 -0
- package/skills/vibe.review/references/worked-examples.md +94 -0
- package/vibe/templates/claudemd-template.md +1 -1
- package/agents/acceptance-tester.md +0 -56
- package/agents/documenter.md +0 -43
- package/agents/figma/figma-engineer.md +0 -76
- 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/cli/postinstall/index.d.ts +0 -23
- package/dist/cli/postinstall/index.d.ts.map +0 -1
- package/dist/cli/postinstall/index.js +0 -23
- package/dist/cli/postinstall/index.js.map +0 -1
- package/dist/cli/setup/index.d.ts +0 -9
- package/dist/cli/setup/index.d.ts.map +0 -1
- package/dist/cli/setup/index.js +0 -12
- package/dist/cli/setup/index.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__/.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/evolution-engine.js +0 -91
- package/hooks/scripts/hud-status.js +0 -321
- package/hooks/scripts/skill-injector.js +0 -83
- package/skills/vibe.utils/SKILL.md +0 -415
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Clone — Phase 1 Capture Output & Rules
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.clone SKILL.md Phase 1 (Capture) — full per-breakpoint output directory listing and the deterministic capture rule set.
|
|
4
|
+
|
|
5
|
+
### Output per breakpoint
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/tmp/{feature}/{bp}/
|
|
9
|
+
├── rendered.html — final DOM after JS execution
|
|
10
|
+
├── computed.json — per-element computed CSS + bounding box
|
|
11
|
+
├── screenshot.png — full-page screenshot
|
|
12
|
+
├── states.json — non-default state rules (hover/focus/active/checked/tab/aria/data-state)
|
|
13
|
+
├── behaviors.json — ACTIVE sweep: scroll / tab / hover / in-view / time-driven + scrollLib
|
|
14
|
+
├── assets/
|
|
15
|
+
│ ├── images/ — all <img>, background-image, <picture> sources
|
|
16
|
+
│ ├── fonts/ — @font-face srcs
|
|
17
|
+
│ └── seo/ — favicons, apple-touch-icons, OG images, webmanifest
|
|
18
|
+
└── asset-map.json — remote URL → local path mapping
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Capture rules
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
1. Wait for `networkidle2` (no in-flight requests for 500ms) before snapshot
|
|
25
|
+
2. Scroll to bottom slowly to trigger lazy-loaded content
|
|
26
|
+
3. Resolve all <img src>, srcset, and computed background-image URLs
|
|
27
|
+
4. Resolve @font-face src() URLs from all stylesheets
|
|
28
|
+
5. Download assets in parallel (concurrency=8), preserve original extensions
|
|
29
|
+
6. Rewrite asset URLs in rendered.html and computed.json to local paths
|
|
30
|
+
7. Strip inline analytics/tracking scripts before saving rendered.html
|
|
31
|
+
8. Harvest non-default state rules from all stylesheets → states.json
|
|
32
|
+
(deterministic: read :hover/:focus/:active/:checked/[aria-*]/[data-state]/.is-*/.active/
|
|
33
|
+
.scrolled/.sticky/.pinned/… declarations straight from CSS — NO scripted clicking)
|
|
34
|
+
9. ACTIVE interaction sweep → behaviors.json (runs after lazy-load, before freeze).
|
|
35
|
+
Drives the live page to capture JS-set state that CSS harvesting can't see:
|
|
36
|
+
- Scroll-state diff: tag sticky/fixed/top-bar headers+nav, snapshot computed CSS at
|
|
37
|
+
scroll 0, scroll past threshold, re-snapshot, diff → {prop: {from, to}, triggerScrollY}
|
|
38
|
+
- Tab groups: click tab-like sibling sets, detect whether content swaps on click
|
|
39
|
+
- Hover diff: hover interactive elements (1 sample per tag+class signature, max 30),
|
|
40
|
+
diff computed styles → JS-set hover states that :hover harvesting misses
|
|
41
|
+
- In-view entrance: fresh reload, tag below-fold "waiting to animate" nodes
|
|
42
|
+
(opacity 0 / transform offset), scroll each into view, diff → fade-up/slide-in
|
|
43
|
+
- Time-driven: 3s no-input MutationObserver watch → carousel/auto-cycle candidates
|
|
44
|
+
- Scroll-lib detection: Lenis / Locomotive Scroll (native scrolling feels different —
|
|
45
|
+
the user spots it immediately; wire the lib page-level, not per-section)
|
|
46
|
+
Disable with --no-interact (restores the old fully-deterministic, screenshot-stable capture).
|
|
47
|
+
10. SEO asset harvest: favicon / apple-touch-icon / webmanifest / og:image → assets/seo/
|
|
48
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Clone — Legal & Ethical Notes + Error Recovery
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.clone SKILL.md — full legal/ethical usage notes and the Error Recovery troubleshooting table.
|
|
4
|
+
|
|
5
|
+
## Legal & Ethical Notes
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
This skill is intended for:
|
|
9
|
+
✅ "Clone coding" learning exercises (markup/layout study)
|
|
10
|
+
✅ Rebuilding the user's own previously-deployed sites
|
|
11
|
+
✅ Authorized redesigns where the user has rights to the source
|
|
12
|
+
|
|
13
|
+
NOT intended for:
|
|
14
|
+
❌ Republishing copyrighted content (text, images, logos) without permission
|
|
15
|
+
❌ Deceptive look-alike sites (phishing, brand impersonation)
|
|
16
|
+
❌ Bypassing robots.txt or rate-limiting protections
|
|
17
|
+
|
|
18
|
+
Claude must:
|
|
19
|
+
- Replace copyrighted text content with placeholders (e.g. "[Lorem ipsum]") by default
|
|
20
|
+
- --real-content: ask ONE explicit confirmation (site ownership / permission) before
|
|
21
|
+
Phase 3; on confirmation keep text verbatim (clone-spec.js --real-content)
|
|
22
|
+
- Skip and warn when robots.txt disallows fetching the target path
|
|
23
|
+
- Refuse if the user's stated intent is brand impersonation or deception
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Error Recovery
|
|
27
|
+
|
|
28
|
+
| Failure | Recovery |
|
|
29
|
+
|---------|----------|
|
|
30
|
+
| clone-extract.js Puppeteer launch failure | Verify Node ≥18 and that Chromium is installed (`npx puppeteer browsers install chrome`). Retry once. |
|
|
31
|
+
| Target site blocks headless (403/Cloudflare) | Retry with `--stealth` flag (uses puppeteer-extra stealth plugin). If still blocked, report to user. |
|
|
32
|
+
| Asset download 404 | Log to asset-map.json with `status: missing`. Use a 1×1 transparent placeholder. Continue. |
|
|
33
|
+
| robots.txt disallows path | Halt Phase 1. Inform user; require explicit `--ignore-robots` flag to proceed. |
|
|
34
|
+
| clone-refine.js produces empty sections | Site likely uses Shadow DOM or canvas rendering. Report and ask whether to fall back to screenshot-only mode. |
|
|
35
|
+
| Pixel diff stuck > 0.05 after 5 rounds | Likely font fallback or anti-aliasing. Report metric, allow user to accept threshold. |
|
|
36
|
+
| Interaction model guess wrong (Phase 5) | section.interaction is a static-DOM heuristic. Re-observe the live site, correct the model in the spec, rebuild the section for the confirmed model. |
|
|
37
|
+
| states.json empty but site has hover/tabs | States may be set via inline JS, not CSS rules. Check behaviors.json (active sweep captures scroll/tab JS state). If still missing, note in the spec and capture manually during Phase 5. |
|
|
38
|
+
| behaviors.json missing or empty | Active sweep was disabled (--no-interact), hit no sticky/tab elements, or errored (logged, non-fatal). Falls back to static states.json. Re-run without --no-interact to retry. |
|
|
39
|
+
| clone-merge-responsive.js reports many mo-only/pc-only selectors | Section detection diverged between BPs (layout differs structurally). Expected for hidden-on-mobile elements; verify each against the two sections.json trees and gate with the media query manually if needed. |
|
|
40
|
+
| Merged build fails Phase 5 at one viewport only | The merge dropped or mis-bucketed a declaration. Diff the failing viewport's computed CSS against its sections.json; fix in the merged SCSS with that evidence. |
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Clone — Phase 2 Refinement Rules & Output Schema
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.clone SKILL.md Phase 2 (Refine) — full refinement rule set and the sections.json output schema.
|
|
4
|
+
|
|
5
|
+
### Refinement rules
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Refinement applied when converting rendered.html + computed.json → sections.json:
|
|
9
|
+
1. Strip <script>, <noscript>, <style>, tracking pixels
|
|
10
|
+
2. Strip nodes with display:none, visibility:hidden, opacity:0, size 0
|
|
11
|
+
3. Detect sections: <header>, <nav>, top-level <section>/<main> children, <footer>
|
|
12
|
+
Fallback: top-level children of <body> with height > 100px
|
|
13
|
+
4. Detect repeated patterns (sibling nodes with same tag+class signature, count >= 3)
|
|
14
|
+
→ mark as component candidates
|
|
15
|
+
5. Extract design tokens:
|
|
16
|
+
- colors: unique color/background-color values, sorted by frequency
|
|
17
|
+
- typography: font-family/size/weight combinations
|
|
18
|
+
- spacing: padding/margin values (px), bucketed to nearest 4px
|
|
19
|
+
6. Background images (background-image: url) → images.bg
|
|
20
|
+
7. Inline <img> → images.content
|
|
21
|
+
8. Keep CSS subset: layout (display/flex/grid/position/inset/margin/padding/width/height/gap),
|
|
22
|
+
typography (font-*, line-height, letter-spacing, text-*, color),
|
|
23
|
+
decoration (background, border, border-radius, box-shadow, opacity),
|
|
24
|
+
transform/transition
|
|
25
|
+
9. Classify interaction model per section (static-DOM heuristic) → section.interaction
|
|
26
|
+
= { model, confidence, signals[], note }. model ∈ static | click-driven | scroll-driven
|
|
27
|
+
| time-driven | hover. This is a best-guess + ranked SIGNALS, NOT a silent decision —
|
|
28
|
+
the builder confirms it against the live site (Phase 5). Misidentifying the interaction
|
|
29
|
+
model is the #1 clone failure mode (scroll-driven original built as a click UI, etc.).
|
|
30
|
+
10. Attach matching state rules from states.json to each section → section.states
|
|
31
|
+
(rules whose selector references a class/leaf-tag inside that section's subtree)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Output
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
/tmp/{feature}/{bp}/sections.json:
|
|
38
|
+
{
|
|
39
|
+
meta: { feature, url, viewport, bp },
|
|
40
|
+
tokens: { colors: [...], typography: [...], spacing: [...] },
|
|
41
|
+
sections: [
|
|
42
|
+
{
|
|
43
|
+
name: "Header" | "Hero" | "Features" | ...,
|
|
44
|
+
nodeRef, tag, size, css,
|
|
45
|
+
interaction: { // static-DOM heuristic — builder confirms in Phase 5
|
|
46
|
+
model: "static" | "click-driven" | "scroll-driven" | "time-driven" | "hover",
|
|
47
|
+
confidence: "high" | "medium" | "low",
|
|
48
|
+
signals: [...], // ranked evidence (sticky, infinite animation, role=tab, …)
|
|
49
|
+
note
|
|
50
|
+
},
|
|
51
|
+
text, // text content (placeholder candidates)
|
|
52
|
+
components: [...], // detected repeated patterns
|
|
53
|
+
states: [ // non-default state rules scoped to this section
|
|
54
|
+
{ selector, media, css }
|
|
55
|
+
],
|
|
56
|
+
children: [...], // full recursive subtree
|
|
57
|
+
images: { bg, content: [...] }
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
```
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Clone — Phase 3A/3B/3C Builder Contract
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.clone SKILL.md Phase 3 (Scaffold) — full prep/dispatch/merge steps for MO/PC scaffold, the 150-line split rule, framework mapping, Phase 3C's import-switch/selector-review steps, and Claude's role checklist. Phase headers, Input lines, and script invocation commands stay in SKILL.md; this file covers the supporting detail only.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Prep (sequential, once):
|
|
7
|
+
a. Step 0: clone-spec.js → emit _specs/mo/{Section}.spec.md for every section
|
|
8
|
+
b. Step A: clone-to-scss.js → SCSS draft in styles/{feature}/mo/ (computed values)
|
|
9
|
+
c. Orchestrator resolves every spec TODO BEFORE dispatch:
|
|
10
|
+
├─ Confirm the interaction model (spec.interaction is a heuristic guess;
|
|
11
|
+
│ the spec's active-capture "Dynamic behaviors" block overrides it on conflict)
|
|
12
|
+
├─ List the states to implement (spec.states + Dynamic behaviors)
|
|
13
|
+
├─ Mark copyrighted text for placeholder replacement (skip with --real-content)
|
|
14
|
+
└─ Map component candidates against component-index.json (reuse vs create)
|
|
15
|
+
d. 150-line split rule (mechanical — wc -l, don't override with "but it's related"):
|
|
16
|
+
a completed spec over 150 lines means the section is too big for one builder →
|
|
17
|
+
split into sub-component specs (one per card variant / repeated pattern) + one
|
|
18
|
+
wrapper spec that imports them.
|
|
19
|
+
Dispatch (parallel):
|
|
20
|
+
⛔ Every builder prompt embeds the FULL spec text INLINE — never "go read the file".
|
|
21
|
+
The spec file stays on disk as the audit trail; the prompt must be self-sufficient.
|
|
22
|
+
⛔ Builders that write files in parallel run in worktree isolation; sub-component
|
|
23
|
+
builders complete before their wrapper builder starts.
|
|
24
|
+
Builder contract (each agent):
|
|
25
|
+
1. Build HTML structure + semantic tags + framework-specific component file
|
|
26
|
+
⛔ No CSS in <style> blocks — only @import/@use of styles/{feature}/mo/
|
|
27
|
+
⛔ Build for the CONFIRMED interaction model in the spec; wire every state
|
|
28
|
+
Framework mapping:
|
|
29
|
+
- React/Next → .tsx with CSS Modules or styled-components per stack
|
|
30
|
+
- Vue/Nuxt → .vue with scoped <style lang="scss"> @import only
|
|
31
|
+
- Svelte → .svelte with <style> @import only
|
|
32
|
+
- Vanilla → .html + linked .scss
|
|
33
|
+
2. Asset references → public/images/{feature}/ (already populated in Phase 1)
|
|
34
|
+
3. SCSS edits per Immutable Rule 1 (evidence-cited only)
|
|
35
|
+
4. Verify compile (tsc --noEmit or stack equivalent) before finishing
|
|
36
|
+
Merge (orchestrator, as builders complete):
|
|
37
|
+
5. Merge worktrees; resolve conflicts (you have full context on every spec)
|
|
38
|
+
6. clone-validate.js per section — Step B
|
|
39
|
+
├─ PASS → section done
|
|
40
|
+
└─ FAIL → fix discrepancies → re-run step 6 (loop until P1=0, no round cap)
|
|
41
|
+
|
|
42
|
+
2. Switch component style imports from styles/{feature}/{bp}/index.scss to the merged
|
|
43
|
+
styles/{feature}/index.scss
|
|
44
|
+
3. Review pc-only/mo-only selectors in the merge report — hide/show them with the
|
|
45
|
+
media query if the original does (evidence: the two sections.json trees)
|
|
46
|
+
|
|
47
|
+
Claude's role:
|
|
48
|
+
✅ Component candidates: decide which patterns become reusable components
|
|
49
|
+
✅ HTML semantics: section/h1/p/button/nav tag selection
|
|
50
|
+
✅ Text replacement: substitute copyrighted copy with placeholders or user-supplied text
|
|
51
|
+
✅ Interaction model: confirm the spec's heuristic guess, then build for the real model
|
|
52
|
+
✅ Interactions: implement every state in the spec (hover/focus/active/open), click handlers
|
|
53
|
+
✅ SCSS value edits WITH cited evidence (computed.json/states.json/behaviors.json) —
|
|
54
|
+
clone-validate.js PASS is the judge
|
|
55
|
+
❌ Do NOT invent CSS values without extraction evidence
|
|
56
|
+
❌ Do NOT write CSS directly in <style> blocks
|
|
57
|
+
❌ Do NOT hand-write vw/clamp/@media in Phase 3A/3B (responsive comes from Phase 3C merge)
|
|
58
|
+
❌ Do NOT hotlink remote URLs — all assets must use local public/images/ paths
|
|
59
|
+
```
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Clone — Setup Steps & Output Layout
|
|
2
|
+
|
|
3
|
+
> Loaded by vibe.clone SKILL.md Full Flow / Phase 0 (Setup) — working-directory + code-output layout and the full Phase 0 setup steps.
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
Working directory:
|
|
7
|
+
/tmp/{feature}/
|
|
8
|
+
├── mo/ (375×812) — rendered.html, computed.json, screenshot.png, assets/, sections.json
|
|
9
|
+
├── pc/ (1440×900) — rendered.html, computed.json, screenshot.png, assets/, sections.json
|
|
10
|
+
└── tokens.json — extracted design tokens (colors/fonts/spacing)
|
|
11
|
+
|
|
12
|
+
Code output: placed directly in the project directory per detected stack
|
|
13
|
+
components/{feature}/, components/{feature}/_specs/{mo,pc}/,
|
|
14
|
+
styles/{feature}/{mo,pc}/ (per-BP drafts) → styles/{feature}/ (Phase 3C merged),
|
|
15
|
+
public/images/{feature}/, public/ (favicons/OG from assets/seo/)
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
1. Stack detection:
|
|
20
|
+
- .vibe/config.json → stack (react/vue/next/svelte/vanilla, scss/tailwind/css-modules)
|
|
21
|
+
- Fallback: package.json deps
|
|
22
|
+
2. Feature name: URL hostname → kebab-case (e.g. stripe.com → stripe-clone)
|
|
23
|
+
- User may override with --name=<custom>
|
|
24
|
+
3. Directories:
|
|
25
|
+
- components/{feature}/, styles/{feature}/, public/images/{feature}/
|
|
26
|
+
4. Component indexing → /tmp/{feature}/component-index.json
|
|
27
|
+
(scan up to 50 existing components, extract props/slots/classes, within 2 minutes)
|
|
28
|
+
5. Design token scan → /tmp/{feature}/project-tokens.json
|
|
29
|
+
(SCSS > CSS Variables > Tailwind > CSS-in-JS)
|
|
30
|
+
```
|
package/skills/docs/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: docs
|
|
3
|
-
description: 프로젝트 문서 생성 본체 — README / 아키텍처 / 사용자 가이드 / 릴리즈
|
|
3
|
+
description: 프로젝트 문서 생성 본체 — README / 아키텍처 / 사용자 가이드 / 릴리즈 노트 / Mermaid 다이어그램 / codemaps.
|
|
4
4
|
when_to_use: /vibe.docs 진입점에서 체인 호출. 직접 호출 금지.
|
|
5
5
|
user-invocable: false
|
|
6
6
|
tier: standard
|
|
@@ -179,6 +179,41 @@ Output: `RELEASE_NOTES.md` or append to `CHANGELOG.md`
|
|
|
179
179
|
- refactor/docs/chore items
|
|
180
180
|
```
|
|
181
181
|
|
|
182
|
+
### `/vibe.docs diagram` — Diagram Generation
|
|
183
|
+
|
|
184
|
+
Generate Mermaid diagrams for architecture, ERD, flowchart, or sequence
|
|
185
|
+
visualization directly (native capability — no dedicated agent). Ground the
|
|
186
|
+
diagram in sources first: folder structure and imports for architecture;
|
|
187
|
+
`models/`, `migrations/`, `schema.*`, ORM definitions for ERDs; the real
|
|
188
|
+
branch/return structure of the code for flowcharts.
|
|
189
|
+
|
|
190
|
+
**Options:**
|
|
191
|
+
- `/vibe.docs diagram` (default): Architecture overview
|
|
192
|
+
- `/vibe.docs diagram --er`: Entity-Relationship Diagram
|
|
193
|
+
- `/vibe.docs diagram --flow`: Flowchart
|
|
194
|
+
- `/vibe.docs diagram --seq`: Sequence Diagram
|
|
195
|
+
|
|
196
|
+
> Read `references/diagram-spec.md` for the full output conventions (Mermaid syntax per diagram type, save location, accuracy constraints).
|
|
197
|
+
|
|
198
|
+
**Example:**
|
|
199
|
+
```
|
|
200
|
+
/vibe.docs diagram --er
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### `/vibe.docs codemaps` — Codemaps Generation
|
|
204
|
+
|
|
205
|
+
Generate auto-documentation from codebase structure directly (native
|
|
206
|
+
capability — no dedicated agent).
|
|
207
|
+
|
|
208
|
+
**Output Location:** `docs/CODEMAPS/`
|
|
209
|
+
|
|
210
|
+
> Read `references/codemaps-output.md` for the full generated-files tree, per-file contents, and tools used.
|
|
211
|
+
|
|
212
|
+
**Example:**
|
|
213
|
+
```
|
|
214
|
+
/vibe.docs codemaps
|
|
215
|
+
```
|
|
216
|
+
|
|
182
217
|
## Pipeline Integration
|
|
183
218
|
|
|
184
219
|
`/vibe.docs` completes the development pipeline:
|
|
@@ -202,9 +237,9 @@ When `/vibe.trace` completes with all scenarios passing, suggest:
|
|
|
202
237
|
- Preserve existing documentation that's still accurate
|
|
203
238
|
- Include concrete code examples from the actual project
|
|
204
239
|
- Keep language consistent with project (Korean/English based on CLAUDE.md)
|
|
205
|
-
-
|
|
206
|
-
-
|
|
207
|
-
-
|
|
240
|
+
- For `/vibe.docs release` (changelog mode), follow `references/api-docs-changelog.md` natively — no dedicated agent
|
|
241
|
+
- For API-heavy projects (api-docs mode), follow `references/api-docs-changelog.md` natively
|
|
242
|
+
- For `/vibe.docs arch` and `/vibe.docs diagram` Mermaid generation, follow `references/diagram-spec.md` natively
|
|
208
243
|
- Use the `agents-md` skill for `/vibe.docs agent` — applies equally to CLAUDE.md and AGENTS.md
|
|
209
244
|
|
|
210
245
|
### DON'T
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# docs — API Docs & Changelog Spec
|
|
2
|
+
|
|
3
|
+
> Loaded by docs SKILL.md for `/vibe.docs release` (changelog mode) and API-heavy projects (api-docs mode) — documentation rules for the two artifacts that go stale fastest: API docs and changelogs.
|
|
4
|
+
|
|
5
|
+
## API Mode
|
|
6
|
+
|
|
7
|
+
Walk the route handlers/controllers in the given scope and document each
|
|
8
|
+
endpoint: method + path, auth requirement, parameters (path/query/body with
|
|
9
|
+
types, required vs optional, enum values), success and error responses (all
|
|
10
|
+
status codes actually returned), and a runnable example (curl or fetch). List
|
|
11
|
+
endpoints that exist in code but lack documentation — the gap list is as
|
|
12
|
+
valuable as the docs.
|
|
13
|
+
|
|
14
|
+
## Changelog Mode
|
|
15
|
+
|
|
16
|
+
From `git diff` and `git log`, classify changes as breaking / added /
|
|
17
|
+
changed / fixed / performance / internal / dependencies. Recommend the
|
|
18
|
+
semantic version bump with a one-line reason. Every breaking change gets
|
|
19
|
+
migration steps; every fix states old vs new behavior.
|
|
20
|
+
|
|
21
|
+
## Constraints
|
|
22
|
+
|
|
23
|
+
Return documentation as text output only — never create or write files; the
|
|
24
|
+
calling command decides where content lands. Descriptions are user-facing:
|
|
25
|
+
what changed for the consumer, not which internal function was refactored
|
|
26
|
+
(pure refactors go under Internal, briefly). Document what the code actually
|
|
27
|
+
does, not what comments claim — when they disagree, flag the discrepancy
|
|
28
|
+
rather than picking one silently.
|
|
29
|
+
|
|
30
|
+
## Done
|
|
31
|
+
|
|
32
|
+
- API mode: every endpoint in scope documented or explicitly listed as an undocumented gap
|
|
33
|
+
- Changelog mode: all changes classified, version bump recommended with reason, breaking changes have migration steps
|
|
34
|
+
- Output is paste-ready text; zero files created
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# docs — Codemaps: Generated Files & Contents
|
|
2
|
+
|
|
3
|
+
> Loaded by docs SKILL.md `codemaps` mode — full generated-files tree, per-file contents, and tools used.
|
|
4
|
+
|
|
5
|
+
**Generated Files:**
|
|
6
|
+
```
|
|
7
|
+
docs/CODEMAPS/
|
|
8
|
+
├── INDEX.md # Overview of all areas
|
|
9
|
+
├── frontend.md # Frontend structure
|
|
10
|
+
├── backend.md # API/backend structure
|
|
11
|
+
├── database.md # Schema documentation
|
|
12
|
+
└── integrations.md # External services
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Each file contains:**
|
|
16
|
+
- Module table (name, path, description)
|
|
17
|
+
- Data flow diagram (Mermaid)
|
|
18
|
+
- Dependencies list
|
|
19
|
+
- Related areas
|
|
20
|
+
|
|
21
|
+
**Tools Used:**
|
|
22
|
+
- ts-morph (TypeScript AST)
|
|
23
|
+
- madge (dependency graph)
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# docs — Diagram Generation Spec
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
as Mermaid.
|
|
5
|
-
|
|
6
|
-
## Role
|
|
7
|
-
|
|
8
|
-
- Architecture diagrams from project structure and dependencies
|
|
9
|
-
- ERD from database schemas and model definitions
|
|
10
|
-
- Flowcharts of business logic and user flows
|
|
11
|
-
|
|
12
|
-
## Model
|
|
13
|
-
|
|
14
|
-
**Haiku** — fast, structured output
|
|
15
|
-
|
|
16
|
-
## Goal
|
|
3
|
+
> Loaded by docs SKILL.md `diagram` mode — Mermaid diagram generation rules (architecture, ERD, flowcharts, sequence).
|
|
17
4
|
|
|
18
5
|
Produce a Mermaid diagram that reflects the actual code, not a generic
|
|
19
6
|
picture. Ground it in sources first: folder structure and imports for
|
package/skills/handoff/SKILL.md
CHANGED
|
@@ -16,9 +16,9 @@ Record work status before session end so the next session can pick up immediatel
|
|
|
16
16
|
|
|
17
17
|
A file that records the current work status before context reset. Reading this file in a new session allows immediate continuation.
|
|
18
18
|
|
|
19
|
-
### Difference from `/vibe.
|
|
19
|
+
### Difference from `/vibe.continue`
|
|
20
20
|
|
|
21
|
-
| Item | `/vibe.
|
|
21
|
+
| Item | `/vibe.continue` | Handoff |
|
|
22
22
|
|------|--------------------------|---------|
|
|
23
23
|
| Method | Automatic session context restore | Manual handover document |
|
|
24
24
|
| Includes | Memory + session state | Work progress + notes + file list |
|
|
@@ -98,7 +98,7 @@ Read HANDOFF.md and continue working
|
|
|
98
98
|
Or use alongside VIBE auto-restore:
|
|
99
99
|
|
|
100
100
|
```
|
|
101
|
-
/vibe.
|
|
101
|
+
/vibe.continue
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
In this case, saved decisions are also restored via `core_recall_memory`.
|
package/skills/vibe/SKILL.md
CHANGED
|
@@ -64,13 +64,14 @@ user-invocable: true
|
|
|
64
64
|
| **regression fix** | "회귀", "테스트 깨졌", "다시 통과" | regress → run → verify |
|
|
65
65
|
| **contract drift** | "API 변경", "계약 깨졌", "스펙 불일치" | contract → regress (P1만) |
|
|
66
66
|
| **scaffold** | "프로젝트 만들기", "셋업", "초기 구조" | scaffold |
|
|
67
|
-
| **docs sync** | "문서 갱신", "README", "AGENTS.md" | docs |
|
|
67
|
+
| **docs sync** | "문서 갱신", "README", "AGENTS.md", "다이어그램", "코드맵" | docs (diagram/codemaps 의도 포함) |
|
|
68
68
|
| **analyze** | "분석", "조사", "이건 뭐야" + 파일/URL | analyze |
|
|
69
69
|
| **reason** | "추론", "깊게 생각", "트레이드오프", "어떻게 접근" 등 복잡한 사고 요청 | reason |
|
|
70
70
|
| **event** | "이벤트", "커뮤니티", "D-Day", "행사 자동화" | event |
|
|
71
71
|
| **harness check** | "하네스", "환경 점검" | harness |
|
|
72
72
|
| **test self** | "vibe 테스트", "CC ↔ Codex 비교" | test |
|
|
73
|
-
| **
|
|
73
|
+
| **session continue** | "이어서", "메모리", "체크포인트" | continue |
|
|
74
|
+
| **image generation** | "이미지 생성", "아이콘", "배너", "목업 이미지" | image |
|
|
74
75
|
|
|
75
76
|
복수 의도면 우선순위: resume > figma-driven > new feature > 기타.
|
|
76
77
|
|