whiteport-design-studio 0.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/LICENSE +27 -0
- package/README.md +196 -0
- package/docs/getting-started/MANUAL-INIT-GUIDE.md +251 -0
- package/docs/getting-started/about-wds.md +86 -0
- package/docs/getting-started/agent-activation/activation/step-01-load-agent-definition.md +28 -0
- package/docs/getting-started/agent-activation/activation/step-02-check-conversations.md +43 -0
- package/docs/getting-started/agent-activation/activation/step-03-check-activation-context.md +42 -0
- package/docs/getting-started/agent-activation/activation/step-04-handoff-presentation.md +30 -0
- package/docs/getting-started/agent-activation/activation/step-04-standard-presentation.md +27 -0
- package/docs/getting-started/agent-activation/activation/step-05-handoff-acknowledge.md +34 -0
- package/docs/getting-started/agent-activation/activation/step-05-standard-analysis.md +26 -0
- package/docs/getting-started/agent-activation/agent-launchers.md +134 -0
- package/docs/getting-started/agent-activation/wds-freya-ux.md +67 -0
- package/docs/getting-started/agent-activation/wds-idunn-pm.md +67 -0
- package/docs/getting-started/agent-activation/wds-mimir.md +78 -0
- package/docs/getting-started/agent-activation/wds-saga-analyst.md +65 -0
- package/docs/getting-started/getting-started-overview.md +112 -0
- package/docs/getting-started/installation.md +62 -0
- package/docs/getting-started/quick-start.md +125 -0
- package/docs/getting-started/where-to-go-next.md +137 -0
- package/docs/learn-wds/00-course-overview/00-getting-started-overview.md +66 -0
- package/docs/learn-wds/00-course-overview/01-prerequisites.md +98 -0
- package/docs/learn-wds/00-course-overview/02-learning-paths.md +99 -0
- package/docs/learn-wds/00-course-overview/03-support.md +128 -0
- package/docs/learn-wds/00-course-overview.md +211 -0
- package/docs/learn-wds/Webinars/2024-12-22-WDS-Jam-1-Say-Hello-to-AI-Agent-Framework.md +0 -0
- package/docs/learn-wds/Webinars/2024-12-22-WDS-Sessions-1-Say-Hello-to-WDS.md +174 -0
- package/docs/learn-wds/Webinars/2025-10-22-Webinar-WDS-v4.md +181 -0
- package/docs/learn-wds/Webinars/2026-01-15-WDS-Sessions-2-Strategy-in-Practice.md +159 -0
- package/docs/learn-wds/course-explainers/Module 00-transcript.srt +635 -0
- package/docs/learn-wds/course-explainers/Module 02-transcript.srt +807 -0
- package/docs/learn-wds/course-explainers/Module-00-notebook-lm-prompt.md +250 -0
- package/docs/learn-wds/course-explainers/Module-00-thumbnail-prompt.md +33 -0
- package/docs/learn-wds/course-explainers/Module-00-youtube-show-notes.md +78 -0
- package/docs/learn-wds/course-explainers/Module-01-notebook-lm-prompt.md +418 -0
- package/docs/learn-wds/course-explainers/Module-01-thumbnail-prompt.md +33 -0
- package/docs/learn-wds/course-explainers/Module-01-transcript.srt +731 -0
- package/docs/learn-wds/course-explainers/Module-02-notebook-lm-prompt.md +342 -0
- package/docs/learn-wds/course-explainers/Module-02-thumbnail-prompt.md +34 -0
- package/docs/learn-wds/course-explainers/Module-03-notebook-lm-prompt.md +745 -0
- package/docs/learn-wds/course-explainers/Module-03-thumbnail-prompt.md +33 -0
- package/docs/learn-wds/course-explainers/Module-03-transcript.srt +595 -0
- package/docs/learn-wds/course-explainers/Module-04-notebook-lm-prompt.md +163 -0
- package/docs/learn-wds/course-explainers/Module-04-thumbnail-prompt.md +36 -0
- package/docs/learn-wds/course-explainers/Module-04-youtube-show-notes.md +95 -0
- package/docs/learn-wds/course-explainers/Module-05-notebook-lm-prompt.md +274 -0
- package/docs/learn-wds/course-explainers/Module-05-thumbnail-prompt.md +40 -0
- package/docs/learn-wds/course-explainers/Module-05-youtube-show-notes.md +65 -0
- package/docs/learn-wds/course-explainers/module-01-YOUTUBE-SHOW-NOTES.md +75 -0
- package/docs/learn-wds/course-explainers/module-02-YOUTUBE-SHOW-NOTES.md +86 -0
- package/docs/learn-wds/course-explainers/module-03-YOUTUBE-SHOW-NOTES.md +82 -0
- package/docs/learn-wds/course-explainers/trigger-map-example.jpg +0 -0
- package/docs/learn-wds/module-01-why-wds-matters/lesson-01-the-problem.md +113 -0
- package/docs/learn-wds/module-01-why-wds-matters/lesson-02-the-solution.md +75 -0
- package/docs/learn-wds/module-01-why-wds-matters/lesson-03-the-path-forward.md +94 -0
- package/docs/learn-wds/module-01-why-wds-matters/module-01-overview.md +109 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-01-git-setup/01-lesson.md +124 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-01-git-setup/01-quick-checklist.md +63 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-01-git-setup/02-full-lesson.md +124 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-01-github-and-ide-setup/checklist.md +87 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-01-github-and-ide-setup/lesson.md +203 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-01-setting-up-github/checklist.md +70 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-git-configuration/checklist.md +40 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/01-quick-checklist.md +48 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/02-full-lesson.md +88 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/02-lesson.md +88 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/02-quick-checklist.md +48 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-install-ide/checklist.md +48 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-02-install-ide/tutorial.md +149 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/01-quick-checklist.md +51 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/02-full-lesson.md +111 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/03-lesson.md +111 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/03-quick-checklist.md +51 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-03-git-setup/checklist.md +41 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-03-git-setup/tutorial.md +159 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-04-clone-and-wds/checklist.md +93 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-04-clone-and-wds/tutorial.md +217 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/01-quick-checklist.md +73 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/02-full-lesson.md +206 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/04-lesson.md +206 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/04-quick-checklist.md +73 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-05-initiate-mimir/checklist.md +79 -0
- package/docs/learn-wds/module-02-installation-setup/lesson-05-initiate-mimir/tutorial.md +244 -0
- package/docs/learn-wds/module-02-installation-setup/module-02-overview.md +77 -0
- package/docs/learn-wds/module-03-alignment-signoff/lesson-01-understanding-alignment.md +175 -0
- package/docs/learn-wds/module-03-alignment-signoff/lesson-02-creating-alignment-document.md +289 -0
- package/docs/learn-wds/module-03-alignment-signoff/lesson-03-negotiation-acceptance.md +115 -0
- package/docs/learn-wds/module-03-alignment-signoff/lesson-04-external-contracts.md +201 -0
- package/docs/learn-wds/module-03-alignment-signoff/lesson-05-internal-signoff.md +189 -0
- package/docs/learn-wds/module-03-alignment-signoff/module-03-overview.md +170 -0
- package/docs/learn-wds/module-03-alignment-signoff/tutorial-03.md +344 -0
- package/docs/learn-wds/module-04-product-brief/lesson-01-chaos-problem.md +193 -0
- package/docs/learn-wds/module-04-product-brief/lesson-02-five-questions.md +364 -0
- package/docs/learn-wds/module-04-product-brief/lesson-03-document-structure.md +388 -0
- package/docs/learn-wds/module-04-product-brief/lesson-04-wds-advantage.md +402 -0
- package/docs/learn-wds/module-04-product-brief/lesson-05-using-brief.md +491 -0
- package/docs/learn-wds/module-04-product-brief/lesson-06-additional-documents.md +645 -0
- package/docs/learn-wds/module-04-product-brief/module-04-overview.md +194 -0
- package/docs/learn-wds/module-04-product-brief/tutorial-04.md +400 -0
- package/docs/learn-wds/module-05-map-triggers-outcomes/tutorial-04.md +460 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-01-missing-link.md +237 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-02-heritage-evolution.md +364 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-03-five-workshops-overview.md +459 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-04-workshop-1-business-goals.md +274 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-05-workshop-2-target-groups.md +504 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-06-workshop-3-driving-forces.md +458 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-07-workshop-4-prioritization.md +313 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-08-workshop-5-feature-impact.md +474 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-09-positive-negative-drivers.md +348 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-10-visual-trigger-map.md +411 -0
- package/docs/learn-wds/module-05-trigger-mapping/lesson-11-feature-impact-scoring.md +403 -0
- package/docs/learn-wds/module-05-trigger-mapping/module-05-overview.md +283 -0
- package/docs/learn-wds/module-05-trigger-mapping/tutorial-05.md +595 -0
- package/docs/learn-wds/module-05-trigger-mapping/tutorial-05b-value-trigger-chain.md +393 -0
- package/docs/learn-wds/module-05-trigger-mapping/tutorial-05c-documentation-synthesis.md +475 -0
- package/docs/learn-wds/module-06-platform-architecture/tutorial-06.md +358 -0
- package/docs/learn-wds/module-08-initialize-scenario/tutorial-08.md +521 -0
- package/docs/learn-wds/module-09-design-system/tutorial-09.md +515 -0
- package/docs/learn-wds/module-10-design-delivery/tutorial-10.md +604 -0
- package/docs/learn-wds/module-12-conceptual-specs/tutorial-12.md +734 -0
- package/docs/method/content-creation-philosophy.md +311 -0
- package/docs/method/content-purpose-guide.md +436 -0
- package/docs/method/phase-1-product-exploration-guide.md +178 -0
- package/docs/method/phase-2-trigger-mapping-guide.md +399 -0
- package/docs/method/phase-3-prd-platform-guide.md +284 -0
- package/docs/method/phase-4-ux-design-guide.md +388 -0
- package/docs/method/phase-5-design-system-guide.md +916 -0
- package/docs/method/phase-6-prd-finalization-guide.md +510 -0
- package/docs/method/tone-of-voice-guide.md +466 -0
- package/docs/method/value-trigger-chain-guide.md +474 -0
- package/docs/method/wds-method-guide.md +378 -0
- package/docs/models/action-mapping.md +681 -0
- package/docs/models/customer-awareness-cycle.md +530 -0
- package/docs/models/golden-circle.md +532 -0
- package/docs/models/gtd-getting-things-done.md +193 -0
- package/docs/models/impact-effect-mapping.md +600 -0
- package/docs/models/kathy-sierra-badass-users.md +672 -0
- package/docs/models/models-guide.md +297 -0
- package/docs/models/smart-goals-model.md +294 -0
- package/docs/tools/cursor-windsurf.md +190 -0
- package/docs/tools/figma-mcp.md +453 -0
- package/docs/tools/figma.md +212 -0
- package/docs/tools/git.md +285 -0
- package/docs/tools/html-to-design.md +185 -0
- package/docs/tools/nanobanana.md +240 -0
- package/docs/tools/prepare-for-figma-export.md +690 -0
- package/docs/tools/wds-tools-guide.md +115 -0
- package/package.json +114 -0
- package/src/agents/freya-ux.agent.yaml +128 -0
- package/src/agents/idunn-pm.agent.yaml +94 -0
- package/src/agents/mimir-orchestrator.agent.yaml +139 -0
- package/src/agents/saga-analyst.agent.yaml +128 -0
- package/src/data/agent-guides/freya/agentic-development.md +200 -0
- package/src/data/agent-guides/freya/content-creation.md +270 -0
- package/src/data/agent-guides/freya/design-system.md +336 -0
- package/src/data/agent-guides/freya/meta-content-guide.md +483 -0
- package/src/data/agent-guides/freya/specification-quality.md +250 -0
- package/src/data/agent-guides/freya/strategic-design.md +118 -0
- package/src/data/agent-guides/idunn/design-handoffs.md +411 -0
- package/src/data/agent-guides/idunn/platform-requirements.md +351 -0
- package/src/data/agent-guides/mimir/emotional-intelligence.md +295 -0
- package/src/data/agent-guides/mimir/teaching-styles.md +286 -0
- package/src/data/agent-guides/mimir/wds-overview.md +369 -0
- package/src/data/agent-guides/saga/discovery-conversation.md +245 -0
- package/src/data/agent-guides/saga/strategic-documentation.md +456 -0
- package/src/data/agent-guides/saga/trigger-mapping.md +403 -0
- package/src/data/design-system/component-boundaries.md +318 -0
- package/src/data/design-system/figma-component-structure.md +697 -0
- package/src/data/design-system/naming-conventions.md +200 -0
- package/src/data/design-system/state-management.md +93 -0
- package/src/data/design-system/token-architecture.md +474 -0
- package/src/data/design-system/validation-patterns.md +74 -0
- package/src/data/presentations/freya-intro.md +275 -0
- package/src/data/presentations/freya-presentation.md +78 -0
- package/src/data/presentations/idunn-intro.md +231 -0
- package/src/data/presentations/idunn-presentation.md +80 -0
- package/src/data/presentations/mimir-presentation.md +123 -0
- package/src/data/presentations/saga-intro.md +285 -0
- package/src/data/presentations/saga-presentation.md +75 -0
- package/src/gems/eira-visual-designer.md +571 -0
- package/src/module.yaml +111 -0
- package/src/templates/design-delivery.template.yaml +104 -0
- package/src/templates/platform-requirements.template.yaml +69 -0
- package/src/templates/test-scenario.template.yaml +192 -0
- package/src/workflows/00-system/FILE-NAMING-CONVENTIONS.md +286 -0
- package/src/workflows/00-system/INSTRUCTION-FILE-GUIDELINES.md +284 -0
- package/src/workflows/00-system/SPECIFICATION-FORMATTING-STANDARDS.md +516 -0
- package/src/workflows/00-system/language-configuration-guide.md +472 -0
- package/src/workflows/00-system/language-flow-diagram.md +446 -0
- package/src/workflows/00-system/wds-workflow-status-template.yaml +106 -0
- package/src/workflows/1-project-brief/alignment-signoff/contract.template.md +297 -0
- package/src/workflows/1-project-brief/alignment-signoff/pitch.template.md +101 -0
- package/src/workflows/1-project-brief/alignment-signoff/section-guide.md +212 -0
- package/src/workflows/1-project-brief/alignment-signoff/service-agreement.template.md +277 -0
- package/src/workflows/1-project-brief/alignment-signoff/signoff.template.md +188 -0
- package/src/workflows/1-project-brief/alignment-signoff/steps-c/step-01-start.md +81 -0
- package/src/workflows/1-project-brief/alignment-signoff/steps-c/step-01.5-extract-communications.md +78 -0
- package/src/workflows/1-project-brief/alignment-signoff/steps-c/step-02-explore-sections.md +159 -0
- package/src/workflows/1-project-brief/alignment-signoff/steps-c/step-03-synthesize.md +48 -0
- package/src/workflows/1-project-brief/alignment-signoff/steps-c/step-03.5-generate-contract.md +87 -0
- package/src/workflows/1-project-brief/alignment-signoff/steps-c/step-04-present-for-approval.md +89 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/01-start-understand/01-understand-situation.md +27 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/01-start-understand/02-determine-if-needed.md +32 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/01-start-understand/03-offer-extract-communications.md +31 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/01-start-understand/04-extract-info.md +39 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/01-start-understand/05-detect-starting-point.md +34 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/06-explore-realization.md +45 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/07-explore-solution.md +25 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/08-explore-why-it-matters.md +33 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/09-explore-how-we-see-it-working.md +29 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/10-explore-paths-we-explored.md +28 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/11-explore-recommended-solution.md +26 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/12-explore-path-forward.md +38 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/13-explore-value-we-create.md +40 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/14-explore-cost-of-inaction.md +37 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/15-explore-our-commitment.md +33 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/02-explore-sections/16-explore-summary.md +26 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/03-synthesize-present/17-reflect-back.md +33 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/03-synthesize-present/18-synthesize-document.md +41 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/03-synthesize-present/18.5-create-vtc.md +76 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/03-synthesize-present/19-present-for-approval.md +44 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/04-generate-signoff/20-offer-signoff-document.md +38 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/04-generate-signoff/21-determine-business-model.md +50 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/22-build-section-01-project-overview.md +29 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/23-build-section-02-business-model.md +66 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/24-build-section-03-scope-of-work.md +46 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/25-build-section-04-payment-terms.md +81 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/26-build-section-05-timeline.md +31 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/27-build-section-06-availability.md +38 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/28-build-section-07-confidentiality.md +42 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/29-build-section-08-not-to-exceed.md +54 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/30-build-section-09-work-initiation.md +41 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/31-build-section-10-terms-and-conditions.md +38 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/32-build-section-11-approval.md +36 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/05-build-contract/33-finalize-contract.md +40 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/06-build-signoff-internal/34-build-internal-signoff.md +65 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/06-build-signoff-internal/35-finalize-signoff.md +39 -0
- package/src/workflows/1-project-brief/alignment-signoff/substeps/substeps-guide.md +81 -0
- package/src/workflows/1-project-brief/alignment-signoff/validation-report-alignment-signoff.md +360 -0
- package/src/workflows/1-project-brief/alignment-signoff/workflow.md +157 -0
- package/src/workflows/1-project-brief/complete/validation-report-complete.md +142 -0
- package/src/workflows/1-project-brief/complete/workflow.md +60 -0
- package/src/workflows/1-project-brief/handover/instructions.md +16 -0
- package/src/workflows/1-project-brief/handover/steps/step-01-analyze-brief.md +31 -0
- package/src/workflows/1-project-brief/handover/steps/step-02-create-summary.md +46 -0
- package/src/workflows/1-project-brief/handover/steps/step-03-provide-activation.md +44 -0
- package/src/workflows/1-project-brief/project-brief/complete/instructions.md +273 -0
- package/src/workflows/1-project-brief/project-brief/complete/project-brief.template.md +193 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-01-init.md +35 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-02-vision.md +43 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-03-positioning.md +34 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-04-create-vtc.md +118 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-05-business-model.md +26 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-06-business-customers.md +28 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-07-target-users.md +40 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-08-success-criteria.md +40 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-09-competitive-landscape.md +42 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-10-constraints.md +43 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-10a-platform-strategy.md +73 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-11-create-vtc.md +133 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-11-tone-of-voice.md +233 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/step-12-synthesize.md +44 -0
- package/src/workflows/1-project-brief/project-brief/complete/steps-c/substeps/11-tone-of-voice-example.md +52 -0
- package/src/workflows/1-project-brief/project-brief/complete/workflow.md +60 -0
- package/src/workflows/1-project-brief/project-brief/simplified/instructions.md +126 -0
- package/src/workflows/1-project-brief/project-brief/simplified/simplified-brief.template.md +44 -0
- package/src/workflows/1-project-brief/project-brief/validation-report-project-brief.md +343 -0
- package/src/workflows/1-project-brief/workflow.yaml +37 -0
- package/src/workflows/2-trigger-mapping/REVIEW-FINDINGS.md +160 -0
- package/src/workflows/2-trigger-mapping/document-generation/instructions.md +16 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-01-generate-hub.md +188 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-02-generate-business-goals.md +231 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-03a-generate-primary-persona.md +96 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-03b-generate-secondary-persona.md +104 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-03c-generate-tertiary-persona.md +96 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-04-generate-key-insights.md +88 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/step-05-quality-check.md +68 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/substeps/04-key-insights-structure.md +222 -0
- package/src/workflows/2-trigger-mapping/document-generation/steps-c/substeps/05-quality-checklist.md +212 -0
- package/src/workflows/2-trigger-mapping/document-generation/templates/persona-document-template.md +485 -0
- package/src/workflows/2-trigger-mapping/document-generation/validation-report-document-generation.md +321 -0
- package/src/workflows/2-trigger-mapping/document-generation/workflow.md +66 -0
- package/src/workflows/2-trigger-mapping/handover/instructions.md +15 -0
- package/src/workflows/2-trigger-mapping/handover/steps/step-01-finalize-hub.md +25 -0
- package/src/workflows/2-trigger-mapping/handover/steps/step-02-add-cross-references.md +27 -0
- package/src/workflows/2-trigger-mapping/handover/steps/step-03-quality-check.md +25 -0
- package/src/workflows/2-trigger-mapping/handover/steps/step-04-create-handover-package.md +73 -0
- package/src/workflows/2-trigger-mapping/handover/steps/step-05-provide-activation.md +64 -0
- package/src/workflows/2-trigger-mapping/instructions.md +159 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/instructions.md +28 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-01-initialize-structure.md +84 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-02-format-business-goals.md +86 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-03-format-platform.md +94 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-04-format-target-groups.md +113 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-05-format-driving-forces.md +118 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-06-create-connections.md +136 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-07-apply-styling.md +171 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/steps-c/step-08-quality-check.md +183 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/validation-report-mermaid-diagram.md +185 -0
- package/src/workflows/2-trigger-mapping/mermaid-diagram/workflow.md +70 -0
- package/src/workflows/2-trigger-mapping/micro-instructions-mermaid-diagram.md +262 -0
- package/src/workflows/2-trigger-mapping/templates/feature-impact.template.md +47 -0
- package/src/workflows/2-trigger-mapping/templates/trigger-map.template.md +169 -0
- package/src/workflows/2-trigger-mapping/workflow.yaml +55 -0
- package/src/workflows/2-trigger-mapping/workshops/0-documentation-synthesis/instructions.md +140 -0
- package/src/workflows/2-trigger-mapping/workshops/0-documentation-synthesis/step-01-business-goals.md +124 -0
- package/src/workflows/2-trigger-mapping/workshops/0-documentation-synthesis/step-02-target-groups.md +143 -0
- package/src/workflows/2-trigger-mapping/workshops/0-documentation-synthesis/step-03-driving-forces.md +133 -0
- package/src/workflows/2-trigger-mapping/workshops/0-documentation-synthesis/step-04-prioritization.md +130 -0
- package/src/workflows/2-trigger-mapping/workshops/0-documentation-synthesis/step-05-gap-analysis.md +141 -0
- package/src/workflows/2-trigger-mapping/workshops/1-business-goals/instructions.md +106 -0
- package/src/workflows/2-trigger-mapping/workshops/2-target-groups/instructions.md +106 -0
- package/src/workflows/2-trigger-mapping/workshops/3-driving-forces/instructions.md +130 -0
- package/src/workflows/2-trigger-mapping/workshops/4-prioritization/instructions.md +203 -0
- package/src/workflows/2-trigger-mapping/workshops/5-feature-impact/instructions.md +24 -0
- package/src/workflows/2-trigger-mapping/workshops/5-feature-impact/steps/step-01-extract-features.md +52 -0
- package/src/workflows/2-trigger-mapping/workshops/5-feature-impact/steps/step-02-confirm-assessment.md +41 -0
- package/src/workflows/2-trigger-mapping/workshops/5-feature-impact/steps/step-03-make-assessment.md +84 -0
- package/src/workflows/2-trigger-mapping/workshops/5-feature-impact/steps/step-04-generate-document.md +81 -0
- package/src/workflows/2-trigger-mapping/workshops/5-feature-impact/steps/step-05-wrap-up.md +55 -0
- package/src/workflows/3-prd-platform/handover/instructions.md +16 -0
- package/src/workflows/3-prd-platform/handover/steps/step-01-compile-deliverables.md +38 -0
- package/src/workflows/3-prd-platform/handover/steps/step-02-extract-epic-structure.md +30 -0
- package/src/workflows/3-prd-platform/handover/steps/step-03-prepare-prd-materials.md +31 -0
- package/src/workflows/3-prd-platform/handover/steps/step-04-create-handover-package.md +57 -0
- package/src/workflows/3-prd-platform/handover/steps/step-05-provide-activation.md +68 -0
- package/src/workflows/3-prd-platform/instructions.md +1161 -0
- package/src/workflows/3-prd-platform/templates/experimental-endpoints.template.md +221 -0
- package/src/workflows/3-prd-platform/templates/platform-architecture.template.md +159 -0
- package/src/workflows/3-prd-platform/templates/technical-constraints.template.md +191 -0
- package/src/workflows/3-prd-platform/workflow.yaml +39 -0
- package/src/workflows/4-ux-design/ARCHITECTURE.md +275 -0
- package/src/workflows/4-ux-design/COMPONENT-FILE-STRUCTURE.md +742 -0
- package/src/workflows/4-ux-design/CONCEPTUAL-SPECIFICATIONS.md +557 -0
- package/src/workflows/4-ux-design/CONTENT-PLACEMENT-GUIDE.md +552 -0
- package/src/workflows/4-ux-design/CROSS-PAGE-CONSISTENCY.md +301 -0
- package/src/workflows/4-ux-design/DOCUMENTATION-ARCHITECTURE.md +161 -0
- package/src/workflows/4-ux-design/HTML-VS-VISUAL-STYLES.md +243 -0
- package/src/workflows/4-ux-design/IMAGE-SKETCHING-BEST-PRACTICES.md +272 -0
- package/src/workflows/4-ux-design/PROACTIVE-TRANSLATION-WORKFLOW.md +447 -0
- package/src/workflows/4-ux-design/SKETCH-FIRST-IMPLEMENTATION-PLAN.md +617 -0
- package/src/workflows/4-ux-design/SKETCH-TEXT-ANALYSIS-GUIDE.md +532 -0
- package/src/workflows/4-ux-design/SKETCH-TEXT-QUICK-REFERENCE.md +222 -0
- package/src/workflows/4-ux-design/SKETCH-TEXT-STRATEGY.md +509 -0
- package/src/workflows/4-ux-design/STORYBOARD-INTEGRATION.md +714 -0
- package/src/workflows/4-ux-design/TRANSLATION-ORGANIZATION-GUIDE.md +513 -0
- package/src/workflows/4-ux-design/WDS-SPECIFICATION-PATTERN.md +436 -0
- package/src/workflows/4-ux-design/agentic-development/guides/AGENTIC-DEVELOPMENT-GUIDE.md +380 -0
- package/src/workflows/4-ux-design/agentic-development/guides/CREATION-GUIDE.md +1148 -0
- package/src/workflows/4-ux-design/agentic-development/guides/FILE-INDEX.md +212 -0
- package/src/workflows/4-ux-design/agentic-development/guides/PROTOTYPE-ANALYSIS.md +832 -0
- package/src/workflows/4-ux-design/agentic-development/guides/PROTOTYPE-INITIATION-DIALOG.md +409 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/1-prototype-setup.md +95 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/2-scenario-analysis.md +174 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/3-logical-view-breakdown.md +197 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4a-announce-and-gather.md +69 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4b-create-story-file.md +144 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4c-implement-section.md +113 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4d-present-for-testing.md +68 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4e-handle-issue.md +85 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4f-handle-improvement.md +104 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/4g-section-approved.md +146 -0
- package/src/workflows/4-ux-design/agentic-development/steps-c/5-finalization.md +158 -0
- package/src/workflows/4-ux-design/agentic-development/templates/PROTOTYPE-ROADMAP-template.md +382 -0
- package/src/workflows/4-ux-design/agentic-development/templates/components/DEV-MODE-GUIDE.md +189 -0
- package/src/workflows/4-ux-design/agentic-development/templates/components/dev-mode.css +164 -0
- package/src/workflows/4-ux-design/agentic-development/templates/components/dev-mode.html +18 -0
- package/src/workflows/4-ux-design/agentic-development/templates/components/dev-mode.js +430 -0
- package/src/workflows/4-ux-design/agentic-development/templates/demo-data-template.json +63 -0
- package/src/workflows/4-ux-design/agentic-development/templates/page-template.html +465 -0
- package/src/workflows/4-ux-design/agentic-development/templates/story-file-template.md +167 -0
- package/src/workflows/4-ux-design/agentic-development/templates/work-file-template.yaml +264 -0
- package/src/workflows/4-ux-design/agentic-development/validation-report-agentic-development.md +251 -0
- package/src/workflows/4-ux-design/agentic-development/workflow.md +631 -0
- package/src/workflows/4-ux-design/excalidraw-integration/guides/ai-collaboration.md +565 -0
- package/src/workflows/4-ux-design/excalidraw-integration/guides/excalidraw-guide.md +320 -0
- package/src/workflows/4-ux-design/excalidraw-integration/guides/excalidraw-setup.md +529 -0
- package/src/workflows/4-ux-design/excalidraw-integration/guides/export-workflow.md +563 -0
- package/src/workflows/4-ux-design/excalidraw-integration/guides/sketching-guide.md +693 -0
- package/src/workflows/4-ux-design/excalidraw-integration/validation-report-excalidraw-integration.md +208 -0
- package/src/workflows/4-ux-design/excalidraw-integration/workflow.md +226 -0
- package/src/workflows/4-ux-design/handover/instructions.md +15 -0
- package/src/workflows/4-ux-design/handover/steps/step-01-analyze-scenarios.md +32 -0
- package/src/workflows/4-ux-design/handover/steps/step-01-identify-delivery-scope.md +61 -0
- package/src/workflows/4-ux-design/handover/steps/step-02-create-summary.md +59 -0
- package/src/workflows/4-ux-design/handover/steps/step-02-extract-technical-needs.md +33 -0
- package/src/workflows/4-ux-design/handover/steps/step-03-create-delivery-package.md +79 -0
- package/src/workflows/4-ux-design/handover/steps/step-03-provide-activation.md +47 -0
- package/src/workflows/4-ux-design/handover/steps/step-04-log-delivery.md +41 -0
- package/src/workflows/4-ux-design/handover/steps/step-05-provide-activation.md +75 -0
- package/src/workflows/4-ux-design/modular-architecture/00-MODULAR-ARCHITECTURE-GUIDE.md +71 -0
- package/src/workflows/4-ux-design/modular-architecture/00-foundation/agent-designer-collaboration.md +488 -0
- package/src/workflows/4-ux-design/modular-architecture/01-core-concepts/complexity-detection.md +123 -0
- package/src/workflows/4-ux-design/modular-architecture/01-core-concepts/content-placement-rules.md +144 -0
- package/src/workflows/4-ux-design/modular-architecture/01-core-concepts/three-tier-overview.md +144 -0
- package/src/workflows/4-ux-design/modular-architecture/02-workflows/01-what-are-storyboards.md +70 -0
- package/src/workflows/4-ux-design/modular-architecture/02-workflows/01-when-to-use.md +68 -0
- package/src/workflows/4-ux-design/modular-architecture/02-workflows/02-file-structure.md +86 -0
- package/src/workflows/4-ux-design/modular-architecture/02-workflows/complexity-router-workflow.md +155 -0
- package/src/workflows/4-ux-design/modular-architecture/02-workflows/page-specification-workflow.md +312 -0
- package/src/workflows/4-ux-design/modular-architecture/02-workflows/storyboards-guide.md +75 -0
- package/src/workflows/4-ux-design/modular-architecture/03-quick-refs/benefits.md +128 -0
- package/src/workflows/4-ux-design/modular-architecture/03-quick-refs/decision-tree.md +67 -0
- package/src/workflows/4-ux-design/modular-architecture/validation-report-modular-architecture.md +220 -0
- package/src/workflows/4-ux-design/modular-architecture/workflow.md +289 -0
- package/src/workflows/4-ux-design/object-types/COMPLEXITY-ROUTER.md +842 -0
- package/src/workflows/4-ux-design/object-types/ROUTER-FLOW-DIAGRAM.md +275 -0
- package/src/workflows/4-ux-design/object-types/TEXT-DETECTION-PRIORITY.md +391 -0
- package/src/workflows/4-ux-design/object-types/object-router.md +349 -0
- package/src/workflows/4-ux-design/object-types/templates/button.md +345 -0
- package/src/workflows/4-ux-design/object-types/templates/heading-text.md +549 -0
- package/src/workflows/4-ux-design/object-types/templates/image.md +165 -0
- package/src/workflows/4-ux-design/object-types/templates/link.md +167 -0
- package/src/workflows/4-ux-design/object-types/templates/text-input.md +463 -0
- package/src/workflows/4-ux-design/object-types/validation-report-object-types.md +295 -0
- package/src/workflows/4-ux-design/object-types/workflow.md +439 -0
- package/src/workflows/4-ux-design/page-specification-quality/data/validation-standards.md +215 -0
- package/src/workflows/4-ux-design/page-specification-quality/instructions.md +32 -0
- package/src/workflows/4-ux-design/page-specification-quality/quality-guide.md +653 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-01-page-metadata.md +55 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-02-navigation.md +54 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-03-page-overview.md +47 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-04-page-sections.md +58 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-05-section-order.md +59 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-06-object-registry.md +52 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-07-design-system-separation.md +64 -0
- package/src/workflows/4-ux-design/page-specification-quality/steps-v/step-08-final-validation.md +92 -0
- package/src/workflows/4-ux-design/page-specification-quality/templates/diagnostic-report-template.md +227 -0
- package/src/workflows/4-ux-design/page-specification-quality/validation-report-page-specification-quality.md +357 -0
- package/src/workflows/4-ux-design/page-specification-quality/workflow.md +146 -0
- package/src/workflows/4-ux-design/scenario-init/SCENARIO-INIT-DIALOG.md +538 -0
- package/src/workflows/4-ux-design/scenario-init/SCENARIO-INIT-PROCESS.md +221 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/00-SCENARIO-INIT-GUIDE.md +76 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/01-platform-confirmation.md +167 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/02-feature-selection.md +70 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/03-entry-point.md +67 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/04-mental-state.md +74 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/05-mutual-success.md +69 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/06-shortest-path.md +92 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/07-create-vtc.md +132 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/examples/booking-example.md +64 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/examples/ecommerce-example.md +64 -0
- package/src/workflows/4-ux-design/scenario-init/steps-c/examples/saas-example.md +64 -0
- package/src/workflows/4-ux-design/scenario-init/validation-report-scenario-init.md +290 -0
- package/src/workflows/4-ux-design/scenario-init/workflow.md +117 -0
- package/src/workflows/4-ux-design/specification-audit-workflow.md +697 -0
- package/src/workflows/4-ux-design/steps/step-01-init.md +116 -0
- package/src/workflows/4-ux-design/steps/step-02-setup-scenario-structure.md +67 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/page-init-lightweight.md +355 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-01-page-context.md +61 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-02-page-name.md +26 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-03-page-purpose.md +25 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-04-entry-point.md +27 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-05-mental-state.md +22 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-06-desired-outcome.md +22 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-07-variants.md +29 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/step-08-create-page-structure.md +141 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/workshop-c-placeholder-pages.md +406 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/workshop-page-creation.md +578 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/page-init/workshop-page-process.md +333 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-01-core-feature.md +26 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-02-entry-point.md +26 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-03-mental-state.md +24 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-04-mutual-success.md +27 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-05-shortest-path.md +39 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-06-scenario-name.md +24 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/scenario-init/step-07-create-scenario-folder.md +145 -0
- package/src/workflows/4-ux-design/steps/step-02-substeps/substeps-guide.md +110 -0
- package/src/workflows/4-ux-design/steps/step-03-design-page.md +189 -0
- package/src/workflows/4-ux-design/steps/step-04-complete-scenario.md +59 -0
- package/src/workflows/4-ux-design/steps/step-05-next-steps.md +76 -0
- package/src/workflows/4-ux-design/stitch-generation/stitch-prompt.template.md +174 -0
- package/src/workflows/4-ux-design/stitch-generation/workflow.md +288 -0
- package/src/workflows/4-ux-design/substeps/4a-exploration.md +106 -0
- package/src/workflows/4-ux-design/substeps/4b-sketch-analysis.md +536 -0
- package/src/workflows/4-ux-design/substeps/4c-01-page-basics.md +59 -0
- package/src/workflows/4-ux-design/substeps/4c-02-layout-sections.md +66 -0
- package/src/workflows/4-ux-design/substeps/4c-03-components-objects.md +154 -0
- package/src/workflows/4-ux-design/substeps/4c-04-content-languages.md +83 -0
- package/src/workflows/4-ux-design/substeps/4c-05-interactions.md +82 -0
- package/src/workflows/4-ux-design/substeps/4c-06-states.md +125 -0
- package/src/workflows/4-ux-design/substeps/4c-07-validation.md +124 -0
- package/src/workflows/4-ux-design/substeps/4c-08-generate-spec.md +105 -0
- package/src/workflows/4-ux-design/substeps/4d-prototype.md +282 -0
- package/src/workflows/4-ux-design/substeps/4e-prd-update.md +139 -0
- package/src/workflows/4-ux-design/templates/audit-report.template.md +430 -0
- package/src/workflows/4-ux-design/templates/instructions/accessibility-audit.workflow.md +166 -0
- package/src/workflows/4-ux-design/templates/instructions/accessibility.instructions.md +102 -0
- package/src/workflows/4-ux-design/templates/instructions/data-api.instructions.md +69 -0
- package/src/workflows/4-ux-design/templates/instructions/form-validation.instructions.md +54 -0
- package/src/workflows/4-ux-design/templates/instructions/meta-content.instructions.md +37 -0
- package/src/workflows/4-ux-design/templates/instructions/open-questions.instructions.md +164 -0
- package/src/workflows/4-ux-design/templates/instructions/responsive.instructions.md +64 -0
- package/src/workflows/4-ux-design/templates/page-specification.template.md +227 -0
- package/src/workflows/4-ux-design/templates/scenario-overview.template.md +159 -0
- package/src/workflows/4-ux-design/templates/storyboard-specification.template.md +94 -0
- package/src/workflows/4-ux-design/ux-design-guide.md +223 -0
- package/src/workflows/4-ux-design/workflow-new.yaml +18 -0
- package/src/workflows/4-ux-design/workflow.md +61 -0
- package/src/workflows/4-ux-design/workflow.yaml +18 -0
- package/src/workflows/5-design-system/assessment/01-scan-existing.md +166 -0
- package/src/workflows/5-design-system/assessment/02-compare-attributes.md +287 -0
- package/src/workflows/5-design-system/assessment/03-calculate-similarity.md +357 -0
- package/src/workflows/5-design-system/assessment/04-identify-opportunities.md +339 -0
- package/src/workflows/5-design-system/assessment/05-identify-risks.md +357 -0
- package/src/workflows/5-design-system/assessment/06-present-decision.md +435 -0
- package/src/workflows/5-design-system/assessment/07-execute-decision.md +523 -0
- package/src/workflows/5-design-system/design-system-guide.md +353 -0
- package/src/workflows/5-design-system/design-system-router.md +370 -0
- package/src/workflows/5-design-system/figma-integration/INTEGRATION-SUMMARY.md +458 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-01-connection-check.md +118 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-01-substeps/substep-01-plugin-installation.md +37 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-01-substeps/substep-02-activate-plugin.md +37 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-01-substeps/substep-03-verify-mcp.md +51 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-02-identify-export-type.md +161 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-03-prepare-specifications.md +138 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-03-substeps/substep-01-analyze-code.md +62 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-03-substeps/substep-02-generate-ids.md +69 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-03-substeps/substep-03-create-spec.md +98 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-03-substeps/substep-04-review-spec.md +86 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-04-generate-validate.md +207 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/steps/step-05-execute-export.md +229 -0
- package/src/workflows/5-design-system/figma-integration/code-to-figma/workflow.md +64 -0
- package/src/workflows/5-design-system/figma-integration/figma-to-code/README.md +0 -0
- package/src/workflows/5-design-system/figma-integration/figma-to-code/figma-integration-guide.md +37 -0
- package/src/workflows/5-design-system/figma-integration/reference/figma-designer-guide.md +687 -0
- package/src/workflows/5-design-system/figma-integration/reference/figma-mcp-integration.md +661 -0
- package/src/workflows/5-design-system/figma-integration/reference/mcp-server-integration.md +922 -0
- package/src/workflows/5-design-system/figma-integration/reference/prototype-to-figma-workflow.md +933 -0
- package/src/workflows/5-design-system/figma-integration/reference/tools-reference.md +665 -0
- package/src/workflows/5-design-system/figma-integration/reference/when-to-extract-decision-guide.md +663 -0
- package/src/workflows/5-design-system/operations/add-variant.md +490 -0
- package/src/workflows/5-design-system/operations/create-new-component.md +711 -0
- package/src/workflows/5-design-system/operations/generate-catalog.md +686 -0
- package/src/workflows/5-design-system/operations/initialize-design-system.md +467 -0
- package/src/workflows/5-design-system/operations/update-component.md +600 -0
- package/src/workflows/5-design-system/templates/catalog.template.html +363 -0
- package/src/workflows/5-design-system/templates/component-library-config.template.md +65 -0
- package/src/workflows/5-design-system/templates/component.template.md +134 -0
- package/src/workflows/5-design-system/templates/design-tokens.template.md +168 -0
- package/src/workflows/5-design-system/workflow.yaml +22 -0
- package/src/workflows/6-design-deliveries/design-deliveries-guide.md +489 -0
- package/src/workflows/6-design-deliveries/steps/step-6.1-detect-completion.md +131 -0
- package/src/workflows/6-design-deliveries/steps/step-6.2-create-delivery.md +156 -0
- package/src/workflows/6-design-deliveries/steps/step-6.2-create-delivery.md.bak +309 -0
- package/src/workflows/6-design-deliveries/steps/step-6.3-create-test-scenario.md +155 -0
- package/src/workflows/6-design-deliveries/steps/step-6.3-create-test-scenario.md.bak +432 -0
- package/src/workflows/6-design-deliveries/steps/step-6.4-handoff-dialog.md +441 -0
- package/src/workflows/6-design-deliveries/steps/step-6.5-hand-off.md +327 -0
- package/src/workflows/6-design-deliveries/steps/step-6.6-continue.md +414 -0
- package/src/workflows/6-design-deliveries/workflow.md +67 -0
- package/src/workflows/7-testing/steps/step-7.1-receive-notification.md +261 -0
- package/src/workflows/7-testing/steps/step-7.2-prepare-testing.md +399 -0
- package/src/workflows/7-testing/steps/step-7.3-run-tests.md +683 -0
- package/src/workflows/7-testing/steps/step-7.4-create-issues.md +517 -0
- package/src/workflows/7-testing/steps/step-7.5-create-report.md +441 -0
- package/src/workflows/7-testing/steps/step-7.6-send-to-bmad.md +392 -0
- package/src/workflows/7-testing/steps/step-7.7-iterate-or-approve.md +596 -0
- package/src/workflows/7-testing/testing-guide.md +613 -0
- package/src/workflows/7-testing/workflow.md +79 -0
- package/src/workflows/8-ongoing-development/existing-product-guide.md +929 -0
- package/src/workflows/8-ongoing-development/steps/step-8.1-identify-opportunity.md +497 -0
- package/src/workflows/8-ongoing-development/steps/step-8.2-gather-context.md +380 -0
- package/src/workflows/8-ongoing-development/steps/step-8.3-design-update.md +495 -0
- package/src/workflows/8-ongoing-development/steps/step-8.4-create-delivery.md +402 -0
- package/src/workflows/8-ongoing-development/steps/step-8.5-hand-off.md +163 -0
- package/src/workflows/8-ongoing-development/steps/step-8.6-validate.md +265 -0
- package/src/workflows/8-ongoing-development/steps/step-8.7-monitor.md +432 -0
- package/src/workflows/8-ongoing-development/steps/step-8.8-iterate.md +547 -0
- package/src/workflows/8-ongoing-development/workflow.md +302 -0
- package/src/workflows/9-agent-dialogs/steps/step-01-initialize-dialog.md +244 -0
- package/src/workflows/9-agent-dialogs/steps/step-02-analyze-scope.md +195 -0
- package/src/workflows/9-agent-dialogs/steps/step-03-create-steps.md +186 -0
- package/src/workflows/9-agent-dialogs/steps/step-04-execute-steps.md +250 -0
- package/src/workflows/9-agent-dialogs/steps/step-05-complete-dialog.md +177 -0
- package/src/workflows/9-agent-dialogs/templates/dialog-capture.template.md +75 -0
- package/src/workflows/9-agent-dialogs/templates/dialog-types/INDEX.md +142 -0
- package/src/workflows/9-agent-dialogs/templates/dialog-types/bug-fix.template.md +164 -0
- package/src/workflows/9-agent-dialogs/templates/dialog-types/design-exploration.template.md +180 -0
- package/src/workflows/9-agent-dialogs/templates/dialog-types/prototype-implementation.template.md +292 -0
- package/src/workflows/9-agent-dialogs/templates/dialog-types/stitch-generation.template.md +311 -0
- package/src/workflows/9-agent-dialogs/templates/dialog.template.md +200 -0
- package/src/workflows/9-agent-dialogs/templates/step.template.md +118 -0
- package/src/workflows/9-agent-dialogs/workflow.md +401 -0
- package/src/workflows/PROJECT-STRUCTURE-SYSTEM.md +226 -0
- package/src/workflows/VALIDATION-SUMMARY-REPORT.md +329 -0
- package/src/workflows/paths/design-system-only.yaml +62 -0
- package/src/workflows/paths/digital-strategy.yaml +39 -0
- package/src/workflows/paths/feature-enhancement.yaml +93 -0
- package/src/workflows/paths/full-product.yaml +96 -0
- package/src/workflows/paths/landing-page.yaml +54 -0
- package/src/workflows/paths/quick-prototype.yaml +39 -0
- package/src/workflows/project-analysis/AGENT-INITIATION-FLOW.md +295 -0
- package/src/workflows/project-analysis/LINK-VERIFICATION.md +179 -0
- package/src/workflows/project-analysis/ROUTER-ARCHITECTURE.md +224 -0
- package/src/workflows/project-analysis/SYSTEM-GUIDE.md +105 -0
- package/src/workflows/project-analysis/agent-domains/freya-domain.md +144 -0
- package/src/workflows/project-analysis/agent-domains/idunn-domain.md +112 -0
- package/src/workflows/project-analysis/agent-domains/saga-domain.md +132 -0
- package/src/workflows/project-analysis/agent-handoff-guide.md +233 -0
- package/src/workflows/project-analysis/analysis-types/empty-project-response.md +141 -0
- package/src/workflows/project-analysis/analysis-types/folder-based-analysis.md +135 -0
- package/src/workflows/project-analysis/analysis-types/new-project-response.md +194 -0
- package/src/workflows/project-analysis/analysis-types/outline-based-analysis.md +207 -0
- package/src/workflows/project-analysis/analysis-types/unknown-structure-response.md +216 -0
- package/src/workflows/project-analysis/context-aware-activation.md +99 -0
- package/src/workflows/project-analysis/conversation-persistence/check-conversations.md +162 -0
- package/src/workflows/project-analysis/conversation-persistence/conversation-template.md +70 -0
- package/src/workflows/project-analysis/conversation-persistence/persistence-guide.md +81 -0
- package/src/workflows/project-analysis/conversation-persistence/save-conversation.md +146 -0
- package/src/workflows/project-analysis/instructions.md +30 -0
- package/src/workflows/project-analysis/project-analysis-router.md +76 -0
- package/src/workflows/project-analysis/task-reflection.md +303 -0
- package/src/workflows/project-analysis/validation/deep-validation-before-work.md +235 -0
- package/src/workflows/project-analysis/work-types/strategy-work.md +88 -0
- package/src/workflows/project-analysis/workflow.yaml +82 -0
- package/src/workflows/shared/content-creation-workshop/content-creation-workshop-guide.md +320 -0
- package/src/workflows/shared/content-creation-workshop/content-output.template.md +349 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/OPTIMIZATION-COMPLETE.md +143 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-00-define-purpose.md +196 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-01-load-vtc-context.md +126 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-02-awareness-strategy.md +245 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-03-action-filter.md +230 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-04-empowerment-frame.md +248 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-05-structural-order.md +227 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/step-06-generate-content.md +247 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/00-purpose-examples.md +131 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/03-action-filter-example.md +97 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/04-badass-users-principles.md +159 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/04-example-empowerment-frame.md +88 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/05-example-golden-circle.md +96 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/05-golden-circle-guide.md +160 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/06-example-hairdresser-newsletter.md +136 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/substeps/06-generation-instructions.md +95 -0
- package/src/workflows/shared/content-creation-workshop/steps-c/workflow.md +41 -0
- package/src/workflows/shared/content-creation-workshop/validation-report-content-creation-workshop.md +303 -0
- package/src/workflows/shared/content-creation-workshop/workflow.md +87 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-01-define-business-goal.md +115 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-02-identify-solution.md +105 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-03-describe-user.md +131 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-04-positive-driving-forces.md +150 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-05-negative-driving-forces.md +190 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-06-customer-awareness.md +256 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/step-07-review-and-save.md +233 -0
- package/src/workflows/shared/vtc-workshop/creation-steps-c/workflow.md +43 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-01-load-trigger-map.md +81 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-02-select-business-goal.md +84 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-03-select-user.md +88 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-04-select-driving-forces.md +100 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-05-define-solution.md +59 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-06-customer-awareness.md +75 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/step-07-review-and-save.md +151 -0
- package/src/workflows/shared/vtc-workshop/selection-steps-c/workflow.md +48 -0
- package/src/workflows/shared/vtc-workshop/validation-report-vtc-workshop.md +269 -0
- package/src/workflows/shared/vtc-workshop/vtc-creation-workshop.md +457 -0
- package/src/workflows/shared/vtc-workshop/vtc-selection-workshop.md +557 -0
- package/src/workflows/shared/vtc-workshop/vtc-template.yaml +210 -0
- package/src/workflows/shared/vtc-workshop/vtc-workshop-guide.md +418 -0
- package/src/workflows/shared/vtc-workshop/vtc-workshop-router.md +146 -0
- package/src/workflows/shared/vtc-workshop/workflow.md +174 -0
- package/src/workflows/workflow-init/COMPLETE-SYSTEM-SUMMARY.md +314 -0
- package/src/workflows/workflow-init/FINAL-SYSTEM-SUMMARY.md +321 -0
- package/src/workflows/workflow-init/PROJECT-OUTLINE-SYSTEM.md +240 -0
- package/src/workflows/workflow-init/excalidraw-setup-prompt.md +365 -0
- package/src/workflows/workflow-init/instructions.md +22 -0
- package/src/workflows/workflow-init/methodology-instructions/custom-methodology-template.md +299 -0
- package/src/workflows/workflow-init/methodology-instructions/methodology-guide.md +252 -0
- package/src/workflows/workflow-init/methodology-instructions/wds-v6-instructions.md +221 -0
- package/src/workflows/workflow-init/methodology-instructions/wps2c-v4-instructions.md +231 -0
- package/src/workflows/workflow-init/project-config.template.yaml +87 -0
- package/src/workflows/workflow-init/project-initiation-conversation.md +957 -0
- package/src/workflows/workflow-init/project-outline.template.yaml +429 -0
- package/src/workflows/workflow-init/project-type-selection.md +318 -0
- package/src/workflows/workflow-init/steps/step-02-project-structure.md +54 -0
- package/src/workflows/workflow-init/steps/step-03-delivery-config.md +76 -0
- package/src/workflows/workflow-init/steps/step-04-phases-selection.md +180 -0
- package/src/workflows/workflow-init/workflow.yaml +32 -0
- package/src/workflows/workflow-status/instructions.md +143 -0
- package/src/workflows/workflow-status/workflow.yaml +25 -0
- package/tools/cli/commands/install.js +34 -0
- package/tools/cli/lib/compiler.js +407 -0
- package/tools/cli/lib/ide-configs.js +104 -0
- package/tools/cli/lib/installer.js +257 -0
- package/tools/cli/lib/ui.js +127 -0
- package/tools/cli/wds-cli.js +43 -0
- package/tools/wds-npx-wrapper.js +37 -0
|
@@ -0,0 +1,842 @@
|
|
|
1
|
+
# Complexity Router & Decomposition Coach
|
|
2
|
+
|
|
3
|
+
**Goal:** Detect component complexity and guide designer through modular decomposition
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## STEP 1: OBJECT IDENTIFICATION
|
|
8
|
+
|
|
9
|
+
<output>**Analyzing object from sketch...**</output>
|
|
10
|
+
|
|
11
|
+
<action>Identify object type using standard object-router.md logic</action>
|
|
12
|
+
|
|
13
|
+
<output>**✓ Object Identified:** {{object_type}}
|
|
14
|
+
|
|
15
|
+
**{{object_name}}** - {{brief_description}}</output>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## STEP 2: COMPLEXITY ASSESSMENT
|
|
20
|
+
|
|
21
|
+
<action>Analyze complexity indicators:
|
|
22
|
+
|
|
23
|
+
**Simple Component Indicators:**
|
|
24
|
+
|
|
25
|
+
- Single state (no hover, active, loading variations)
|
|
26
|
+
- No user interaction (static display)
|
|
27
|
+
- No data dependencies
|
|
28
|
+
- No business logic
|
|
29
|
+
|
|
30
|
+
**Complex Component Indicators:**
|
|
31
|
+
|
|
32
|
+
- Multiple states (3+ states: empty, loading, active, completed, error)
|
|
33
|
+
- Time-based changes (countdowns, timers, real-time updates)
|
|
34
|
+
- Multi-step interactions (booking → starting → completing)
|
|
35
|
+
- Business rules (validation, permissions, blocking logic)
|
|
36
|
+
- Data synchronization (updates other components)
|
|
37
|
+
- State machines (defined transition paths)
|
|
38
|
+
|
|
39
|
+
**Examples:**
|
|
40
|
+
|
|
41
|
+
- **Simple:** Static text, image, basic button
|
|
42
|
+
- **Complex:** Calendar widget, booking system, search with filters, multi-step form
|
|
43
|
+
</action>
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## STEP 3: ROUTE BASED ON COMPLEXITY
|
|
48
|
+
|
|
49
|
+
### Path A: Simple Component
|
|
50
|
+
|
|
51
|
+
<check if="complexity == simple">
|
|
52
|
+
|
|
53
|
+
<output>**✅ Simple Component Detected**
|
|
54
|
+
|
|
55
|
+
This {{object_name}} is straightforward - I'll document it in the page specification.
|
|
56
|
+
|
|
57
|
+
**What I'll capture:**
|
|
58
|
+
|
|
59
|
+
- Visual appearance (size, color, position)
|
|
60
|
+
- Content (text in all languages)
|
|
61
|
+
- Basic interaction (if any)
|
|
62
|
+
|
|
63
|
+
Let's proceed!</output>
|
|
64
|
+
|
|
65
|
+
<action>Route to standard object-type file (e.g., button.md, heading-text.md)</action>
|
|
66
|
+
<action>Document in Page file only</action>
|
|
67
|
+
|
|
68
|
+
</check>
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Path B: Complex Component - DECOMPOSITION COACHING
|
|
73
|
+
|
|
74
|
+
<check if="complexity == complex">
|
|
75
|
+
|
|
76
|
+
<output>**🔍 Complex Component Detected**
|
|
77
|
+
|
|
78
|
+
I see this {{object_name}} has multiple states and interactions. Let me help you break this down properly!
|
|
79
|
+
|
|
80
|
+
**Complexity Indicators I Found:**
|
|
81
|
+
{{#each complexity_indicators}}
|
|
82
|
+
|
|
83
|
+
- {{indicator_description}}
|
|
84
|
+
{{/each}}
|
|
85
|
+
|
|
86
|
+
**To keep this manageable, I'll help you separate:**
|
|
87
|
+
|
|
88
|
+
1. **Page Context** - Where it appears, size, position
|
|
89
|
+
2. **Visual Design** - How each state looks (for Figma)
|
|
90
|
+
3. **Functional Logic** - How it behaves, business rules
|
|
91
|
+
|
|
92
|
+
This makes handoff to developers and designers much cleaner!
|
|
93
|
+
|
|
94
|
+
Ready to break this down?</output>
|
|
95
|
+
|
|
96
|
+
<ask>**Shall we decompose this component?**
|
|
97
|
+
|
|
98
|
+
1. **Yes** - Guide me through the separation
|
|
99
|
+
2. **No** - Keep it simple, document in page only
|
|
100
|
+
|
|
101
|
+
Choice [1/2]:</ask>
|
|
102
|
+
|
|
103
|
+
<check if="choice == 1">
|
|
104
|
+
<action>Proceed to DECOMPOSITION WORKFLOW</action>
|
|
105
|
+
</check>
|
|
106
|
+
|
|
107
|
+
<check if="choice == 2">
|
|
108
|
+
<output>**Okay!** I'll document everything in the page spec.
|
|
109
|
+
|
|
110
|
+
⚠️ **Note:** This may create a large specification file. Consider decomposition for easier maintenance.</output>
|
|
111
|
+
|
|
112
|
+
<action>Route to standard object-type file</action>
|
|
113
|
+
<action>Document in Page file only</action>
|
|
114
|
+
</check>
|
|
115
|
+
|
|
116
|
+
</check>
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## DECOMPOSITION WORKFLOW
|
|
121
|
+
|
|
122
|
+
<output>**Let's break down this {{object_name}} into manageable pieces!**
|
|
123
|
+
|
|
124
|
+
I'll ask you questions to separate the three concerns:
|
|
125
|
+
|
|
126
|
+
- **WHERE** it appears (Page)
|
|
127
|
+
- **HOW** it looks (Component)
|
|
128
|
+
- **WHAT** it does (Feature)
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
### Step 1: Page Context (WHERE)
|
|
133
|
+
|
|
134
|
+
**First, let's establish where this component appears on the page.**</output>
|
|
135
|
+
|
|
136
|
+
<ask>**Page Placement Questions:**
|
|
137
|
+
|
|
138
|
+
1. **Which page(s)** does this appear on?
|
|
139
|
+
- Example: "Calendar page", "Dashboard and Profile pages"
|
|
140
|
+
|
|
141
|
+
2. **Where on the page?**
|
|
142
|
+
- Example: "Main content area, center", "Sidebar, right side"
|
|
143
|
+
|
|
144
|
+
3. **How big is it?**
|
|
145
|
+
- Example: "Full width", "80% width", "300px fixed width"
|
|
146
|
+
|
|
147
|
+
4. **Is this the same component on multiple pages, or page-specific?**
|
|
148
|
+
- Example: "Same calendar on Dashboard and Calendar pages" vs "Unique to this page"
|
|
149
|
+
|
|
150
|
+
5. **Does the CONTENT change based on page context?**
|
|
151
|
+
- Example: "Yes - hero heading is different on each page"
|
|
152
|
+
- Example: "Yes - search placeholder changes (Products vs Help)"
|
|
153
|
+
- Example: "Yes - shows current user's family name"
|
|
154
|
+
- Example: "No - content is the same everywhere"
|
|
155
|
+
|
|
156
|
+
6. **Does the DATA source change based on page context?**
|
|
157
|
+
- Example: "Yes - fetches different data per page"
|
|
158
|
+
- Example: "No - always fetches same data"
|
|
159
|
+
|
|
160
|
+
Your answers:</ask>
|
|
161
|
+
|
|
162
|
+
<action>Capture page context:
|
|
163
|
+
|
|
164
|
+
- Pages: {{pages_list}}
|
|
165
|
+
- Position: {{position}}
|
|
166
|
+
- Size: {{size}}
|
|
167
|
+
- Reusability: {{is_reusable}}
|
|
168
|
+
- Content Varies: {{content_varies_by_page}}
|
|
169
|
+
- Data Source Varies: {{data_source_varies_by_page}}
|
|
170
|
+
</action>
|
|
171
|
+
|
|
172
|
+
<output>**✅ Page Context Captured**
|
|
173
|
+
|
|
174
|
+
**What goes in the Page file:**
|
|
175
|
+
{{#if content_varies_by_page}}
|
|
176
|
+
|
|
177
|
+
- ✅ **Page-Specific Content** (headings, text, images that change per page)
|
|
178
|
+
{{/if}}
|
|
179
|
+
{{#if data_source_varies_by_page}}
|
|
180
|
+
- ✅ **Page-Specific Data Configuration** (API endpoints, filters, scope)
|
|
181
|
+
{{/if}}
|
|
182
|
+
- ✅ **Position & Size** (where and how big)
|
|
183
|
+
- ✅ **Component Reference** (link to visual design)
|
|
184
|
+
- ✅ **Feature Reference** (link to functionality)
|
|
185
|
+
|
|
186
|
+
{{#if not content_varies_by_page}}
|
|
187
|
+
**Note:** Content is the same everywhere, so it will be documented in the Feature file instead.
|
|
188
|
+
{{/if}}
|
|
189
|
+
|
|
190
|
+
This will go in:
|
|
191
|
+
{{#each pages_list}}
|
|
192
|
+
|
|
193
|
+
- `Pages/{{page_number}}-{{page_name}}.md`
|
|
194
|
+
{{/each}}
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
### Step 2: Visual Design (HOW IT LOOKS)
|
|
199
|
+
|
|
200
|
+
**Now let's document the visual appearance and states.**</output>
|
|
201
|
+
|
|
202
|
+
<ask>**Visual States Questions:**
|
|
203
|
+
|
|
204
|
+
Looking at your sketch/storyboard, how many different visual states does this component have?
|
|
205
|
+
|
|
206
|
+
Examples:
|
|
207
|
+
|
|
208
|
+
- **Simple:** Just 1 state (always looks the same)
|
|
209
|
+
- **Interactive:** 2-3 states (default, hover, active)
|
|
210
|
+
- **Complex:** 4+ states (empty, loading, active, completed, error)
|
|
211
|
+
|
|
212
|
+
**How many states do you see?**</ask>
|
|
213
|
+
|
|
214
|
+
<action>Count states: {{state_count}}</action>
|
|
215
|
+
|
|
216
|
+
<check if="state_count >= 3">
|
|
217
|
+
<output>**📊 Multiple States Detected!**
|
|
218
|
+
|
|
219
|
+
Let's document each state's visual appearance.</output>
|
|
220
|
+
|
|
221
|
+
<ask>**For each state, I need:**
|
|
222
|
+
|
|
223
|
+
{{#each states}}
|
|
224
|
+
**State {{index}}: {{state_name}}**
|
|
225
|
+
1. What does it look like? (colors, icons, layout)
|
|
226
|
+
2. What triggers this state?
|
|
227
|
+
3. Can it transition to other states?
|
|
228
|
+
|
|
229
|
+
{{/each}}
|
|
230
|
+
|
|
231
|
+
**Do you have a storyboard sketch showing these states?**
|
|
232
|
+
- Example: "Yes, see Sketches/booking-states.jpg"
|
|
233
|
+
- If yes, provide filename
|
|
234
|
+
- If no, I'll document from your descriptions
|
|
235
|
+
|
|
236
|
+
Your input:</ask>
|
|
237
|
+
|
|
238
|
+
<action>Capture visual states:
|
|
239
|
+
{{#each states}}
|
|
240
|
+
- State: {{state_name}}
|
|
241
|
+
- Appearance: {{visual_description}}
|
|
242
|
+
- Trigger: {{trigger_description}}
|
|
243
|
+
- Transitions: {{transition_list}}
|
|
244
|
+
{{/each}}
|
|
245
|
+
|
|
246
|
+
{{#if has_storyboard}}
|
|
247
|
+
- Storyboard: {{storyboard_file}}
|
|
248
|
+
{{/if}}
|
|
249
|
+
</action>
|
|
250
|
+
</check>
|
|
251
|
+
|
|
252
|
+
<output>**✅ Visual Design Captured**
|
|
253
|
+
|
|
254
|
+
This will go in:
|
|
255
|
+
|
|
256
|
+
- `Components/{{component_name}}.component.md`
|
|
257
|
+
{{#if has_storyboard}}
|
|
258
|
+
- Storyboard reference: `Features/Storyboards/{{storyboard_file}}`
|
|
259
|
+
{{/if}}
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
### Step 3: Functional Logic (WHAT IT DOES)
|
|
264
|
+
|
|
265
|
+
**Finally, let's document the interactive behavior and business rules.**</output>
|
|
266
|
+
|
|
267
|
+
<ask>**Functionality Questions:**
|
|
268
|
+
|
|
269
|
+
1. **What can users DO with this component?**
|
|
270
|
+
- Example: "Book a walk", "Search for items", "Filter results"
|
|
271
|
+
|
|
272
|
+
2. **What happens when they interact?**
|
|
273
|
+
- Example: "Card changes color, leaderboard updates, week view syncs"
|
|
274
|
+
|
|
275
|
+
3. **Are there any business rules?**
|
|
276
|
+
- Example: "Can't book if slot is taken", "Can't start walk if another is active"
|
|
277
|
+
|
|
278
|
+
4. **Does it need data from an API?**
|
|
279
|
+
- Example: "Yes, fetches walk slots from /api/calendar/walks"
|
|
280
|
+
|
|
281
|
+
5. **Does it update other components?**
|
|
282
|
+
- Example: "Yes, updates leaderboard and week overview when booking"
|
|
283
|
+
|
|
284
|
+
Your answers:</ask>
|
|
285
|
+
|
|
286
|
+
<action>Capture functional logic:
|
|
287
|
+
|
|
288
|
+
- User Actions: {{user_actions_list}}
|
|
289
|
+
- System Responses: {{system_responses_list}}
|
|
290
|
+
- Business Rules: {{business_rules_list}}
|
|
291
|
+
- API Dependencies: {{api_endpoints_list}}
|
|
292
|
+
- Component Sync: {{synced_components_list}}
|
|
293
|
+
</action>
|
|
294
|
+
|
|
295
|
+
<output>**✅ Functional Logic Captured**
|
|
296
|
+
|
|
297
|
+
This will go in:
|
|
298
|
+
|
|
299
|
+
- `Features/{{feature_name}}.feature.md`
|
|
300
|
+
{{#if has_storyboard}}
|
|
301
|
+
- Storyboard reference: `Features/Storyboards/{{storyboard_file}}`
|
|
302
|
+
{{/if}}
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
### Summary: Three Files Created
|
|
307
|
+
|
|
308
|
+
**Great! Here's how your {{object_name}} will be documented:**
|
|
309
|
+
|
|
310
|
+
**1. Page File** (`Pages/{{page_number}}-{{page_name}}.md`)
|
|
311
|
+
|
|
312
|
+
```markdown
|
|
313
|
+
### {{section_name}}
|
|
314
|
+
|
|
315
|
+
**Component:** `{{component_name}}` (→ Components/{{component_name}}.component.md)
|
|
316
|
+
**Feature:** `{{feature_name}}` (→ Features/{{feature_name}}.feature.md)
|
|
317
|
+
|
|
318
|
+
**Position:** {{position}}
|
|
319
|
+
**Size:** {{size}}
|
|
320
|
+
|
|
321
|
+
**Configuration:**
|
|
322
|
+
{{#each page_specific_config}}
|
|
323
|
+
|
|
324
|
+
- {{config_item}}
|
|
325
|
+
{{/each}}
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
**2. Component File** (`Components/{{component_name}}.component.md`)
|
|
329
|
+
|
|
330
|
+
```markdown
|
|
331
|
+
# {{component_name}} Component
|
|
332
|
+
|
|
333
|
+
**Type:** {{component_type}}
|
|
334
|
+
**Design System ID:** `{{component_id}}`
|
|
335
|
+
|
|
336
|
+
## Visual Specifications
|
|
337
|
+
|
|
338
|
+
{{#each states}}
|
|
339
|
+
|
|
340
|
+
### State: {{state_name}}
|
|
341
|
+
|
|
342
|
+
- Background: {{background_color}}
|
|
343
|
+
- Icons: {{icons_list}}
|
|
344
|
+
- Layout: {{layout_description}}
|
|
345
|
+
{{/each}}
|
|
346
|
+
|
|
347
|
+
{{#if has_storyboard}}
|
|
348
|
+
|
|
349
|
+
## Visual Storyboard
|
|
350
|
+
|
|
351
|
+

|
|
352
|
+
{{/if}}
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
**3. Feature File** (`Features/{{feature_name}}.feature.md`)
|
|
356
|
+
|
|
357
|
+
```markdown
|
|
358
|
+
# {{feature_name}} Feature
|
|
359
|
+
|
|
360
|
+
**Feature ID:** `{{feature_id}}`
|
|
361
|
+
**Type:** {{feature_type}}
|
|
362
|
+
|
|
363
|
+
{{#if has_storyboard}}
|
|
364
|
+
|
|
365
|
+
## Visual Storyboard
|
|
366
|
+
|
|
367
|
+

|
|
368
|
+
{{/if}}
|
|
369
|
+
|
|
370
|
+
## User Interactions
|
|
371
|
+
|
|
372
|
+
{{#each user_actions}}
|
|
373
|
+
|
|
374
|
+
### {{action_name}}
|
|
375
|
+
|
|
376
|
+
**Flow:**
|
|
377
|
+
|
|
378
|
+
1. User {{user_action}}
|
|
379
|
+
2. System {{system_response}}
|
|
380
|
+
3. Updates: {{component_updates}}
|
|
381
|
+
{{/each}}
|
|
382
|
+
|
|
383
|
+
## Business Rules
|
|
384
|
+
|
|
385
|
+
{{#each business_rules}}
|
|
386
|
+
|
|
387
|
+
- {{rule_description}}
|
|
388
|
+
{{/each}}
|
|
389
|
+
|
|
390
|
+
## API Endpoints
|
|
391
|
+
|
|
392
|
+
{{#each api_endpoints}}
|
|
393
|
+
|
|
394
|
+
- {{endpoint_description}}
|
|
395
|
+
{{/each}}
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
**Does this breakdown look good?**</output>
|
|
399
|
+
|
|
400
|
+
<ask>1. **Yes** - Create these files 2. **Adjust** - I need to change something
|
|
401
|
+
|
|
402
|
+
Choice [1/2]:</ask>
|
|
403
|
+
|
|
404
|
+
<check if="choice == 1">
|
|
405
|
+
<output>**✅ Perfect! I'll create the three files.**
|
|
406
|
+
|
|
407
|
+
**Next Steps:**
|
|
408
|
+
- Page file: Lightweight, just placement and config
|
|
409
|
+
- Component file: Visual design for Figma handoff
|
|
410
|
+
- Feature file: Logic for developer implementation
|
|
411
|
+
|
|
412
|
+
This keeps everything organized and maintainable!</output>
|
|
413
|
+
|
|
414
|
+
<action>Create three separate file specifications</action>
|
|
415
|
+
<action>Cross-reference between files</action>
|
|
416
|
+
</check>
|
|
417
|
+
|
|
418
|
+
<check if="choice == 2">
|
|
419
|
+
<ask>**What needs adjustment?**</ask>
|
|
420
|
+
|
|
421
|
+
<action>Listen to feedback</action>
|
|
422
|
+
<action>Adjust file structure</action>
|
|
423
|
+
<action>Re-present summary</action>
|
|
424
|
+
</check>
|
|
425
|
+
|
|
426
|
+
</output>
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
## COMPLEXITY DETECTION EXAMPLES
|
|
431
|
+
|
|
432
|
+
### Example 1: Simple Button
|
|
433
|
+
|
|
434
|
+
**Object:** "Get Started" button
|
|
435
|
+
|
|
436
|
+
**Complexity Assessment:**
|
|
437
|
+
|
|
438
|
+
- ✅ Single interaction (click → navigate)
|
|
439
|
+
- ✅ 2-3 states (default, hover, active)
|
|
440
|
+
- ❌ No business logic
|
|
441
|
+
- ❌ No data dependencies
|
|
442
|
+
- ❌ No multi-component sync
|
|
443
|
+
|
|
444
|
+
**Result:** **SIMPLE** - Document in Page file only
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
448
|
+
### Example 2: Search Bar with Autocomplete
|
|
449
|
+
|
|
450
|
+
**Object:** Search input with dropdown suggestions
|
|
451
|
+
|
|
452
|
+
**Complexity Assessment:**
|
|
453
|
+
|
|
454
|
+
- ⚠️ Multiple states (empty, typing, loading, results, no results, error)
|
|
455
|
+
- ⚠️ Real-time updates (debounced API calls)
|
|
456
|
+
- ⚠️ Business logic (minimum 3 characters, max 10 results)
|
|
457
|
+
- ⚠️ Data dependencies (search API endpoint)
|
|
458
|
+
- ⚠️ Keyboard navigation (arrow keys, enter, escape)
|
|
459
|
+
|
|
460
|
+
**Result:** **COMPLEX** - Decompose into 3 files
|
|
461
|
+
|
|
462
|
+
**Decomposition:**
|
|
463
|
+
|
|
464
|
+
- **Page (if content varies):**
|
|
465
|
+
- Product page: Placeholder "Search products...", scope: products only
|
|
466
|
+
- Help page: Placeholder "Search help...", scope: help articles only
|
|
467
|
+
- **Component:** Visual states (empty, focused, loading, results dropdown)
|
|
468
|
+
- **Feature:** Search logic (debounce, API calls, keyboard nav, result selection)
|
|
469
|
+
|
|
470
|
+
---
|
|
471
|
+
|
|
472
|
+
### Example 3: Calendar Booking Widget
|
|
473
|
+
|
|
474
|
+
**Object:** Dog Week calendar with week view, leaderboard, booking slots
|
|
475
|
+
|
|
476
|
+
**Complexity Assessment:**
|
|
477
|
+
|
|
478
|
+
- ⚠️ 6 walk states (WHITE, GRAY, ORANGE, BLUE, GREEN, RED)
|
|
479
|
+
- ⚠️ Time-based transitions (countdown timers, auto-state changes)
|
|
480
|
+
- ⚠️ Complex business rules (per-dog blocking, early start rules)
|
|
481
|
+
- ⚠️ Multi-component sync (week view, leaderboard, calendar)
|
|
482
|
+
- ⚠️ Real-time updates (every 1 minute)
|
|
483
|
+
- ⚠️ API dependencies (fetch walks, create booking, start walk, complete walk)
|
|
484
|
+
|
|
485
|
+
**Result:** **HIGHLY COMPLEX** - Decompose into 3 files + storyboard
|
|
486
|
+
|
|
487
|
+
**Decomposition:**
|
|
488
|
+
|
|
489
|
+
- **Page:** Layout (3 sections: week overview, leaderboard, calendar), responsive behavior
|
|
490
|
+
- **Component:** Visual design of all 6 states, week circles, leaderboard cards
|
|
491
|
+
- **Feature:** State machine logic, booking flow, time-based transitions, API integration
|
|
492
|
+
- **Storyboard:** `walk-state-transitions.jpg` showing all 6 states and triggers
|
|
493
|
+
|
|
494
|
+
---
|
|
495
|
+
|
|
496
|
+
## COACHING DIALOGUE EXAMPLE
|
|
497
|
+
|
|
498
|
+
### Scenario: Designer adds Calendar Widget
|
|
499
|
+
|
|
500
|
+
**Agent:**
|
|
501
|
+
|
|
502
|
+
```
|
|
503
|
+
🔍 Complex Component Detected
|
|
504
|
+
|
|
505
|
+
I see this "Calendar Booking Widget" has multiple states and interactions.
|
|
506
|
+
Let me help you break this down properly!
|
|
507
|
+
|
|
508
|
+
**Complexity Indicators I Found:**
|
|
509
|
+
- 6 different visual states (empty, booked, countdown, active, completed, missed)
|
|
510
|
+
- Time-based transitions (countdown timers update every minute)
|
|
511
|
+
- Business rules (can't start walk if another is active for same dog)
|
|
512
|
+
- Multi-component sync (updates week view and leaderboard)
|
|
513
|
+
- API dependencies (fetch/create/update walk data)
|
|
514
|
+
|
|
515
|
+
**To keep this manageable, I'll help you separate:**
|
|
516
|
+
1. **Page Context** - Where it appears, size, position
|
|
517
|
+
2. **Visual Design** - How each state looks (for Figma)
|
|
518
|
+
3. **Functional Logic** - How it behaves, business rules
|
|
519
|
+
|
|
520
|
+
This makes handoff to developers and designers much cleaner!
|
|
521
|
+
|
|
522
|
+
Ready to break this down?
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
**Designer:** "Yes"
|
|
526
|
+
|
|
527
|
+
**Agent:**
|
|
528
|
+
|
|
529
|
+
```
|
|
530
|
+
Let's break down this Calendar Booking Widget into manageable pieces!
|
|
531
|
+
|
|
532
|
+
---
|
|
533
|
+
|
|
534
|
+
### Step 1: Page Context (WHERE)
|
|
535
|
+
|
|
536
|
+
**Page Placement Questions:**
|
|
537
|
+
|
|
538
|
+
1. Which page(s) does this appear on?
|
|
539
|
+
2. Where on the page?
|
|
540
|
+
3. How big is it?
|
|
541
|
+
4. Is this the same component on multiple pages, or page-specific?
|
|
542
|
+
```
|
|
543
|
+
|
|
544
|
+
**Designer:**
|
|
545
|
+
|
|
546
|
+
```
|
|
547
|
+
1. Calendar page only
|
|
548
|
+
2. Main content area, takes up full width below header
|
|
549
|
+
3. Full width, height adjusts based on content
|
|
550
|
+
4. Unique to calendar page
|
|
551
|
+
5. Yes - shows current user's family name in header ("Familjen Svensson: Vecka 40")
|
|
552
|
+
6. Yes - fetches walks for current user's family only
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
**Agent:**
|
|
556
|
+
|
|
557
|
+
````
|
|
558
|
+
✅ Page Context Captured
|
|
559
|
+
|
|
560
|
+
**What goes in the Page file:**
|
|
561
|
+
- ✅ Page-Specific Content (family name in header)
|
|
562
|
+
- ✅ Page-Specific Data Configuration (fetch walks for current user's family)
|
|
563
|
+
- ✅ Position & Size (main content, full-width)
|
|
564
|
+
- ✅ Component Reference (link to visual design)
|
|
565
|
+
- ✅ Feature Reference (link to functionality)
|
|
566
|
+
|
|
567
|
+
This will go in:
|
|
568
|
+
- `Pages/02-calendar-page.md`
|
|
569
|
+
|
|
570
|
+
**Example Page Content:**
|
|
571
|
+
```markdown
|
|
572
|
+
### Calendar Section
|
|
573
|
+
|
|
574
|
+
**Component:** `walk-slot-card.component.md`
|
|
575
|
+
**Feature:** `walk-booking-logic.feature.md`
|
|
576
|
+
|
|
577
|
+
**Position:** Main content area, full-width below header
|
|
578
|
+
**Size:** Full width, height adjusts to content
|
|
579
|
+
|
|
580
|
+
**Page-Specific Content:**
|
|
581
|
+
- Header Format: "[Family Name]: Vecka [Week Number]"
|
|
582
|
+
- SE: "Familjen Svensson: Vecka 40"
|
|
583
|
+
- EN: "Svensson Family: Week 40"
|
|
584
|
+
- Data Source: Current user's family from session
|
|
585
|
+
|
|
586
|
+
**Configuration:**
|
|
587
|
+
- API Endpoint: GET /api/families/:currentFamilyId/walks?week=:weekNumber
|
|
588
|
+
- Dogs Displayed: All dogs in current user's family
|
|
589
|
+
- Family Members: All members in current user's family
|
|
590
|
+
````
|
|
591
|
+
|
|
592
|
+
---
|
|
593
|
+
|
|
594
|
+
### Step 2: Visual Design (HOW IT LOOKS)
|
|
595
|
+
|
|
596
|
+
Looking at your sketch/storyboard, how many different visual states does
|
|
597
|
+
this component have?
|
|
598
|
+
|
|
599
|
+
**How many states do you see?**
|
|
600
|
+
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
**Designer:** "6 states - I have a storyboard showing them all"
|
|
604
|
+
|
|
605
|
+
**Agent:**
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
📊 Multiple States Detected!
|
|
609
|
+
|
|
610
|
+
**For each state, I need:**
|
|
611
|
+
|
|
612
|
+
State 1: Empty (WHITE)
|
|
613
|
+
|
|
614
|
+
1. What does it look like?
|
|
615
|
+
2. What triggers this state?
|
|
616
|
+
3. Can it transition to other states?
|
|
617
|
+
|
|
618
|
+
[... repeat for all 6 states ...]
|
|
619
|
+
|
|
620
|
+
**Do you have a storyboard sketch showing these states?**
|
|
621
|
+
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
**Designer:** "Yes, see Sketches/App-Main-Booking-States.jpg"
|
|
625
|
+
|
|
626
|
+
**Agent:**
|
|
627
|
+
```
|
|
628
|
+
|
|
629
|
+
✅ Visual Design Captured
|
|
630
|
+
|
|
631
|
+
This will go in:
|
|
632
|
+
|
|
633
|
+
- `Components/walk-slot-card.component.md`
|
|
634
|
+
- Storyboard reference: `Features/Storyboards/walk-state-transitions.jpg`
|
|
635
|
+
|
|
636
|
+
---
|
|
637
|
+
|
|
638
|
+
### Step 3: Functional Logic (WHAT IT DOES)
|
|
639
|
+
|
|
640
|
+
**Functionality Questions:**
|
|
641
|
+
|
|
642
|
+
1. What can users DO with this component?
|
|
643
|
+
2. What happens when they interact?
|
|
644
|
+
3. Are there any business rules?
|
|
645
|
+
4. Does it need data from an API?
|
|
646
|
+
5. Does it update other components?
|
|
647
|
+
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
**Designer:**
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
1. Book walks, start walks, complete walks
|
|
654
|
+
2. Card changes color, leaderboard updates, week view syncs
|
|
655
|
+
3. Can't start walk if another is active for same dog,
|
|
656
|
+
can't book if slot already taken
|
|
657
|
+
4. Yes - GET /api/walks, POST /api/walks, PUT /api/walks/:id
|
|
658
|
+
5. Yes - updates leaderboard count and week overview quarter circles
|
|
659
|
+
|
|
660
|
+
```
|
|
661
|
+
|
|
662
|
+
**Agent:**
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
✅ Functional Logic Captured
|
|
666
|
+
|
|
667
|
+
This will go in:
|
|
668
|
+
|
|
669
|
+
- `Features/walk-booking-logic.feature.md`
|
|
670
|
+
- Storyboard reference: `Features/Storyboards/walk-state-transitions.jpg`
|
|
671
|
+
|
|
672
|
+
---
|
|
673
|
+
|
|
674
|
+
### Summary: Three Files Created
|
|
675
|
+
|
|
676
|
+
**Great! Here's how your Calendar Booking Widget will be documented:**
|
|
677
|
+
|
|
678
|
+
**1. Page File** (`Pages/02-calendar-page.md`)
|
|
679
|
+
|
|
680
|
+
- Position: Main content, full-width
|
|
681
|
+
- Component reference: `walk-slot-card.component.md`
|
|
682
|
+
- Feature reference: `walk-booking-logic.feature.md`
|
|
683
|
+
|
|
684
|
+
**2. Component File** (`Components/walk-slot-card.component.md`)
|
|
685
|
+
|
|
686
|
+
- 6 visual states with colors, icons, layouts
|
|
687
|
+
- Storyboard: `Features/Storyboards/walk-state-transitions.jpg`
|
|
688
|
+
- Figma component mapping
|
|
689
|
+
|
|
690
|
+
**3. Feature File** (`Features/walk-booking-logic.feature.md`)
|
|
691
|
+
|
|
692
|
+
- State machine with 6 states
|
|
693
|
+
- Business rules (blocking, validation)
|
|
694
|
+
- API endpoints
|
|
695
|
+
- Multi-component sync logic
|
|
696
|
+
- Storyboard: `Storyboards/walk-state-transitions.jpg`
|
|
697
|
+
|
|
698
|
+
**Does this breakdown look good?**
|
|
699
|
+
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
**Designer:** "Yes!"
|
|
703
|
+
|
|
704
|
+
**Agent:**
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
✅ Perfect! I'll create the three files.
|
|
708
|
+
|
|
709
|
+
**Next Steps:**
|
|
710
|
+
|
|
711
|
+
- Page file: Lightweight, just placement and config
|
|
712
|
+
- Component file: Visual design for Figma handoff
|
|
713
|
+
- Feature file: Logic for developer implementation
|
|
714
|
+
|
|
715
|
+
This keeps everything organized and maintainable!
|
|
716
|
+
|
|
717
|
+
**Handoff Strategy:**
|
|
718
|
+
|
|
719
|
+
- Send Component file → Visual Designer (for Figma)
|
|
720
|
+
- Send Feature file → Developer (for implementation)
|
|
721
|
+
- Keep Page file → Your reference for layout
|
|
722
|
+
|
|
723
|
+
```
|
|
724
|
+
|
|
725
|
+
---
|
|
726
|
+
|
|
727
|
+
## KEY BENEFITS
|
|
728
|
+
|
|
729
|
+
### 1. Prevents Overwhelming Specs
|
|
730
|
+
|
|
731
|
+
**Before (Monolithic):**
|
|
732
|
+
```
|
|
733
|
+
|
|
734
|
+
Pages/02-calendar-page.md (800 lines)
|
|
735
|
+
├─ Everything mixed together
|
|
736
|
+
├─ Developer confused about what to build
|
|
737
|
+
├─ Designer confused about what to design
|
|
738
|
+
└─ Prototype misses features (leaderboard, week view)
|
|
739
|
+
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
**After (Decomposed):**
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
Pages/02-calendar-page.md (100 lines)
|
|
746
|
+
├─ Just layout and references
|
|
747
|
+
|
|
748
|
+
Components/walk-slot-card.component.md (150 lines)
|
|
749
|
+
├─ Visual design only
|
|
750
|
+
└─ Designer knows exactly what to create in Figma
|
|
751
|
+
|
|
752
|
+
Features/walk-booking-logic.feature.md (200 lines)
|
|
753
|
+
├─ Logic only
|
|
754
|
+
└─ Developer knows exactly what to implement
|
|
755
|
+
|
|
756
|
+
```
|
|
757
|
+
|
|
758
|
+
### 2. Clear Handoffs
|
|
759
|
+
|
|
760
|
+
- **Visual Designer** gets `Components/` folder → Creates Figma components
|
|
761
|
+
- **Developer** gets `Features/` folder → Implements logic
|
|
762
|
+
- **You** keep `Pages/` folder → Track design system integrity
|
|
763
|
+
|
|
764
|
+
### 3. Prevents Prototype Errors
|
|
765
|
+
|
|
766
|
+
**Why your prototype failed:**
|
|
767
|
+
- Leaderboard missing → Not in Component file
|
|
768
|
+
- Calendar wrong → Visual states not documented
|
|
769
|
+
- Week view only 5 days → Layout not specified
|
|
770
|
+
|
|
771
|
+
**With decomposition:**
|
|
772
|
+
- Component file explicitly lists all visual elements
|
|
773
|
+
- Feature file explicitly lists all interactions
|
|
774
|
+
- Storyboard shows all states visually
|
|
775
|
+
- Nothing gets missed!
|
|
776
|
+
|
|
777
|
+
---
|
|
778
|
+
|
|
779
|
+
## Content Placement Decision Tree
|
|
780
|
+
|
|
781
|
+
```
|
|
782
|
+
|
|
783
|
+
┌─────────────────────────────────────────────────┐
|
|
784
|
+
│ Does CONTENT vary by page context? │
|
|
785
|
+
│ (text, images, data source) │
|
|
786
|
+
└────────────┬────────────────────────────────────┘
|
|
787
|
+
│
|
|
788
|
+
┌──────┴──────┐
|
|
789
|
+
│ │
|
|
790
|
+
YES NO
|
|
791
|
+
│ │
|
|
792
|
+
▼ ▼
|
|
793
|
+
┌─────────────┐ ┌──────────────┐
|
|
794
|
+
│ Page File │ │ Feature File │
|
|
795
|
+
│ │ │ │
|
|
796
|
+
│ Document: │ │ Document: │
|
|
797
|
+
│ - Headings │ │ - Generic │
|
|
798
|
+
│ - Text │ │ content │
|
|
799
|
+
│ - Images │ │ - Default │
|
|
800
|
+
│ - Data API │ │ config │
|
|
801
|
+
│ - Scope │ │ │
|
|
802
|
+
└─────────────┘ └──────────────┘
|
|
803
|
+
|
|
804
|
+
Examples:
|
|
805
|
+
|
|
806
|
+
Page File (Content Varies):
|
|
807
|
+
✅ Hero heading: "Welcome to Dog Week" (Home) vs "About Dog Week" (About)
|
|
808
|
+
✅ Search placeholder: "Search products..." vs "Search help..."
|
|
809
|
+
✅ Calendar header: "Familjen Svensson: Vecka 40" (uses current user's family)
|
|
810
|
+
✅ Data API: /api/families/:currentFamilyId/walks (varies by user)
|
|
811
|
+
|
|
812
|
+
Feature File (Content Same Everywhere):
|
|
813
|
+
✅ Button text: "Submit" (always the same)
|
|
814
|
+
✅ Error message: "Invalid email" (generic validation)
|
|
815
|
+
✅ Tooltip: "Click to expand" (generic interaction)
|
|
816
|
+
✅ Data API: /api/products (same for all users)
|
|
817
|
+
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
---
|
|
821
|
+
|
|
822
|
+
## Summary
|
|
823
|
+
|
|
824
|
+
**Complexity Router:**
|
|
825
|
+
1. **Detects** simple vs complex components
|
|
826
|
+
2. **Coaches** you through decomposition
|
|
827
|
+
3. **Asks about content placement** (page-specific vs generic)
|
|
828
|
+
4. **Creates** three separate files automatically
|
|
829
|
+
5. **Prevents** overwhelming monolithic specs
|
|
830
|
+
|
|
831
|
+
**Content Placement Rule:**
|
|
832
|
+
- **Page File:** Content that changes based on WHERE it appears
|
|
833
|
+
- **Feature File:** Content that's the same everywhere
|
|
834
|
+
- **Component File:** Visual design only (no content)
|
|
835
|
+
|
|
836
|
+
**Result:**
|
|
837
|
+
- ✅ Clean handoffs to developers and designers
|
|
838
|
+
- ✅ Nothing gets missed in prototypes
|
|
839
|
+
- ✅ Easy to maintain and update
|
|
840
|
+
- ✅ Design system integrity preserved
|
|
841
|
+
- ✅ Clear separation of page-specific vs generic content
|
|
842
|
+
```
|