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,690 @@
|
|
|
1
|
+
# Prepare for Figma Export: ID Injection Workflow
|
|
2
|
+
|
|
3
|
+
**Version**: 1.0
|
|
4
|
+
**Last Updated**: January 21, 2026
|
|
5
|
+
**Purpose**: Temporarily add OBJECT IDs to HTML for Figma MCP export
|
|
6
|
+
**Direction**: Code → Figma (with temporary ID injection)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
This workflow enables exporting code to Figma via the html.to.design MCP server **without permanently adding IDs to production code**. The agent temporarily injects OBJECT IDs from specifications during export, then removes them afterward.
|
|
13
|
+
|
|
14
|
+
### The Problem This Solves
|
|
15
|
+
|
|
16
|
+
- ✅ **Production code stays clean** - No unnecessary IDs cluttering components
|
|
17
|
+
- ✅ **Figma layers get proper names** - OBJECT IDs from specifications used for layer naming
|
|
18
|
+
- ✅ **Specification mapping maintained** - Clear connection between specs, code, and Figma
|
|
19
|
+
- ✅ **Accessibility preserved** - No misuse of `aria-label` for layer naming
|
|
20
|
+
- ✅ **Flexible workflow** - Works for early prototypes and production code
|
|
21
|
+
|
|
22
|
+
### When to Use This Workflow
|
|
23
|
+
|
|
24
|
+
Use this workflow when:
|
|
25
|
+
- Exporting early prototypes that don't have IDs yet
|
|
26
|
+
- Exporting from browser preview for quick design review
|
|
27
|
+
- Sending production code to Figma without modifying source files
|
|
28
|
+
- Testing visual iterations in Figma before committing to code changes
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Choosing Your Export Method
|
|
33
|
+
|
|
34
|
+
There are **two methods** for exporting to Figma, each with different capabilities:
|
|
35
|
+
|
|
36
|
+
| Feature | **Method 1: MCP Server** | **Method 2: Browser Extension** |
|
|
37
|
+
|---------|-------------------------|--------------------------------|
|
|
38
|
+
| **Automation** | ✅ Fully automated | ⚠️ Manual capture required |
|
|
39
|
+
| **File Modification** | ✅ No files modified | ⚠️ Temporary aria-labels added to source |
|
|
40
|
+
| **Multiple Viewports** | ❌ One viewport at a time | ✅ Mobile, tablet, desktop simultaneously |
|
|
41
|
+
| **Responsive Testing** | ❌ Limited | ✅ True responsive capture |
|
|
42
|
+
| **Speed** | ✅ Instant | ⚠️ Requires browser interaction |
|
|
43
|
+
| **Safety** | ✅ Zero risk (no file changes) | ⚠️ Must remember to remove aria-labels |
|
|
44
|
+
| **Best For** | Quick single-page exports | Responsive design documentation |
|
|
45
|
+
|
|
46
|
+
### Recommendation
|
|
47
|
+
|
|
48
|
+
**Use MCP Server (Method 1) when:**
|
|
49
|
+
- You need a quick export for design review
|
|
50
|
+
- You're exporting a single viewport
|
|
51
|
+
- You want zero risk of modifying source files
|
|
52
|
+
|
|
53
|
+
**Use Browser Extension (Method 2) when:**
|
|
54
|
+
- You need multiple viewport captures (mobile/tablet/desktop)
|
|
55
|
+
- You're documenting responsive behavior
|
|
56
|
+
- You want to see how design adapts across breakpoints
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Core Principle: Temporary aria-label Injection
|
|
61
|
+
|
|
62
|
+
**The Strategy:**
|
|
63
|
+
1. **Read** the component code (without aria-labels)
|
|
64
|
+
2. **Load** OBJECT IDs from specification
|
|
65
|
+
3. **Generate** temporary HTML with `aria-label` attributes matching OBJECT IDs
|
|
66
|
+
4. **Export** to Figma via MCP (one page at a time)
|
|
67
|
+
5. **Discard** temporary HTML (never save to files)
|
|
68
|
+
|
|
69
|
+
**Result:** Figma layers get named from `aria-label` values, production code stays clean.
|
|
70
|
+
|
|
71
|
+
**Why aria-label for Figma?**
|
|
72
|
+
- The html.to.design MCP server uses `aria-label` attributes to name Figma layers
|
|
73
|
+
- These are temporary - only added during export, never saved to source files
|
|
74
|
+
- Production code keeps proper accessibility practices (aria-labels only where needed)
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Phase 1: Identify Export Target
|
|
79
|
+
|
|
80
|
+
### Step 1.1: Determine What to Export
|
|
81
|
+
|
|
82
|
+
**User Request Examples:**
|
|
83
|
+
- "Export the sign-in page to Figma"
|
|
84
|
+
- "Send the CTA button states to Figma for design review"
|
|
85
|
+
- "I want to iterate on the hero section spacing in Figma"
|
|
86
|
+
|
|
87
|
+
**Extract:**
|
|
88
|
+
- Component/page name
|
|
89
|
+
- File path (if provided)
|
|
90
|
+
- Purpose (design review, state documentation, visual iteration)
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### Step 1.2: Locate Source Code
|
|
95
|
+
|
|
96
|
+
**Search Strategy:**
|
|
97
|
+
```
|
|
98
|
+
1. Check if user provided file path
|
|
99
|
+
2. Search in components/ directory
|
|
100
|
+
3. Search in app/ directory
|
|
101
|
+
4. Search in docs/ for prototypes
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Decision Point:**
|
|
105
|
+
- ✅ Source found → **Continue to Phase 2**
|
|
106
|
+
- ❌ Source not found → **Ask user for clarification**
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## Phase 2: Load Specification OBJECT IDs
|
|
111
|
+
|
|
112
|
+
### Step 2.1: Search for Specification
|
|
113
|
+
|
|
114
|
+
**Search Locations (priority order):**
|
|
115
|
+
1. `docs/C-Scenarios/` - Scenario specifications
|
|
116
|
+
2. `docs/D-Design-System/` - Component specifications
|
|
117
|
+
3. Project root - Any related markdown files
|
|
118
|
+
|
|
119
|
+
**Search Method:**
|
|
120
|
+
```
|
|
121
|
+
Use grep_search or find_by_name to locate:
|
|
122
|
+
- Files containing component/page name
|
|
123
|
+
- Files with "OBJECT ID" references
|
|
124
|
+
- Specification markdown files
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
### Step 2.2: Extract OBJECT IDs
|
|
130
|
+
|
|
131
|
+
**What to Extract:**
|
|
132
|
+
```markdown
|
|
133
|
+
From specification file:
|
|
134
|
+
|
|
135
|
+
#### Hero Section CTA Button
|
|
136
|
+
**OBJECT ID**: `start-hero-cta`
|
|
137
|
+
**CSS Class**: `.btn-cta-primary`
|
|
138
|
+
|
|
139
|
+
Extract:
|
|
140
|
+
- OBJECT ID: start-hero-cta
|
|
141
|
+
- Component: Hero Section CTA Button
|
|
142
|
+
- CSS Class: btn-cta-primary
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Create ID Mapping:**
|
|
146
|
+
```javascript
|
|
147
|
+
{
|
|
148
|
+
"start-hero-cta": {
|
|
149
|
+
"cssClass": "btn-cta-primary",
|
|
150
|
+
"selector": "button.btn-cta-primary",
|
|
151
|
+
"type": "button"
|
|
152
|
+
},
|
|
153
|
+
"start-hero-headline": {
|
|
154
|
+
"cssClass": "hero-headline",
|
|
155
|
+
"selector": "h1.hero-headline",
|
|
156
|
+
"type": "heading"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### Step 2.3: Handle Missing Specifications
|
|
164
|
+
|
|
165
|
+
**If no specification found:**
|
|
166
|
+
|
|
167
|
+
**Option A: Generate IDs from Code Structure**
|
|
168
|
+
```
|
|
169
|
+
Analyze component structure:
|
|
170
|
+
- Extract CSS class names
|
|
171
|
+
- Identify semantic elements
|
|
172
|
+
- Generate OBJECT IDs following project convention
|
|
173
|
+
|
|
174
|
+
Pattern: {page}-{section}-{element}
|
|
175
|
+
Example: start-hero-cta, start-hero-headline
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**Option B: Ask User for Guidance**
|
|
179
|
+
```
|
|
180
|
+
⚠️ No specification found for {component-name}
|
|
181
|
+
|
|
182
|
+
I can:
|
|
183
|
+
1. Generate temporary IDs based on code structure
|
|
184
|
+
2. Create a specification first (recommended)
|
|
185
|
+
3. Use CSS class names as IDs
|
|
186
|
+
|
|
187
|
+
Which approach would you prefer?
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Phase 3: Generate Temporary HTML with IDs
|
|
193
|
+
|
|
194
|
+
### Step 3.1: Read Source Code
|
|
195
|
+
|
|
196
|
+
**For React/TSX Components:**
|
|
197
|
+
```tsx
|
|
198
|
+
// Original component (no IDs)
|
|
199
|
+
export function LandingHero() {
|
|
200
|
+
return (
|
|
201
|
+
<section className="hero-section">
|
|
202
|
+
<div className="hero-content">
|
|
203
|
+
<h1 className="hero-headline">
|
|
204
|
+
Every walk. on time. Every time.
|
|
205
|
+
</h1>
|
|
206
|
+
<button className="btn-cta-primary">
|
|
207
|
+
Start Planning
|
|
208
|
+
</button>
|
|
209
|
+
</div>
|
|
210
|
+
</section>
|
|
211
|
+
)
|
|
212
|
+
}
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
### Step 3.2: Map OBJECT IDs to Elements
|
|
218
|
+
|
|
219
|
+
**Mapping Strategy:**
|
|
220
|
+
```
|
|
221
|
+
Match by CSS class:
|
|
222
|
+
.hero-section → aria-label="start-hero-section"
|
|
223
|
+
.hero-content → aria-label="start-hero-content"
|
|
224
|
+
.hero-headline → aria-label="start-hero-headline"
|
|
225
|
+
.btn-cta-primary → aria-label="start-hero-cta"
|
|
226
|
+
|
|
227
|
+
Match by semantic element + context:
|
|
228
|
+
<section> in hero → aria-label="start-hero-section"
|
|
229
|
+
<h1> in hero → aria-label="start-hero-headline"
|
|
230
|
+
<button> with CTA class → aria-label="start-hero-cta"
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
### Step 3.3: Generate HTML with Injected aria-labels
|
|
236
|
+
|
|
237
|
+
**Transformation:**
|
|
238
|
+
```html
|
|
239
|
+
<!-- Generated HTML for Figma export -->
|
|
240
|
+
<section aria-label="start-hero-section" class="hero-section">
|
|
241
|
+
<div aria-label="start-hero-content" class="hero-content">
|
|
242
|
+
<h1 aria-label="start-hero-headline" class="hero-headline">
|
|
243
|
+
Every walk. on time. Every time.
|
|
244
|
+
</h1>
|
|
245
|
+
<button aria-label="start-hero-cta" class="btn-cta-primary">
|
|
246
|
+
Start Planning
|
|
247
|
+
</button>
|
|
248
|
+
</div>
|
|
249
|
+
</section>
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Key Points:**
|
|
253
|
+
- ✅ aria-label attributes added to semantic elements (temporary, for Figma layer naming)
|
|
254
|
+
- ✅ Original classes preserved
|
|
255
|
+
- ✅ Structure unchanged
|
|
256
|
+
- ✅ Content matches source exactly
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
### Step 3.4: Add Inline Styles for Figma Compatibility
|
|
261
|
+
|
|
262
|
+
**Style Requirements:**
|
|
263
|
+
```html
|
|
264
|
+
<style>
|
|
265
|
+
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');
|
|
266
|
+
|
|
267
|
+
/* Convert CSS variables to hex values */
|
|
268
|
+
.hero-section {
|
|
269
|
+
background: linear-gradient(180deg, #FFA100 0%, #FF2714 100%);
|
|
270
|
+
padding: 60px 20px;
|
|
271
|
+
font-family: 'Fredoka', sans-serif;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.hero-headline {
|
|
275
|
+
font-size: 48px;
|
|
276
|
+
font-weight: 600;
|
|
277
|
+
color: #FEF3CF;
|
|
278
|
+
line-height: 1.2;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.btn-cta-primary {
|
|
282
|
+
background: linear-gradient(to bottom, #FFA100, #FF2714);
|
|
283
|
+
color: #FEF3CF;
|
|
284
|
+
padding: 13px 25px 16px;
|
|
285
|
+
border-radius: 16px;
|
|
286
|
+
font-size: 18px;
|
|
287
|
+
font-weight: 500;
|
|
288
|
+
border: 1px solid #FFA100;
|
|
289
|
+
}
|
|
290
|
+
</style>
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
**Style Conversion Rules:**
|
|
294
|
+
- CSS variables → Hex colors
|
|
295
|
+
- rem/em → px values
|
|
296
|
+
- Google Fonts only
|
|
297
|
+
- Inline or `<style>` block
|
|
298
|
+
|
|
299
|
+
**Note:** Styles use class selectors. The `aria-label` attributes are only for Figma layer naming, not for styling.
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## Phase 4: Export to Figma
|
|
304
|
+
|
|
305
|
+
### Step 4.1: Verify MCP Connection
|
|
306
|
+
|
|
307
|
+
**Check:**
|
|
308
|
+
```
|
|
309
|
+
Is mcp1_import-html tool available?
|
|
310
|
+
- ✅ Yes → Continue to export
|
|
311
|
+
- ❌ No → Guide user through setup (see figma-mcp.md)
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
### Step 4.2: Execute Export
|
|
317
|
+
|
|
318
|
+
**MCP Call:**
|
|
319
|
+
```javascript
|
|
320
|
+
mcp1_import-html({
|
|
321
|
+
name: "Landing Hero - Start Page",
|
|
322
|
+
html: `
|
|
323
|
+
<div aria-label="start-hero-export">
|
|
324
|
+
<style>
|
|
325
|
+
/* Figma-compatible styles */
|
|
326
|
+
</style>
|
|
327
|
+
|
|
328
|
+
<!-- HTML with aria-label attributes matching OBJECT IDs -->
|
|
329
|
+
<section aria-label="start-hero-section" class="hero-section">
|
|
330
|
+
...
|
|
331
|
+
</section>
|
|
332
|
+
</div>
|
|
333
|
+
`
|
|
334
|
+
})
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
**Expected Response:**
|
|
338
|
+
```json
|
|
339
|
+
{
|
|
340
|
+
"node": {
|
|
341
|
+
"id": "3:150",
|
|
342
|
+
"name": "Landing Hero - Start Page by html.to.design...",
|
|
343
|
+
"type": "SECTION"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
### Step 4.3: Verify Export Success
|
|
351
|
+
|
|
352
|
+
**Success Indicators:**
|
|
353
|
+
- ✅ Node ID returned
|
|
354
|
+
- ✅ No error message
|
|
355
|
+
- ✅ User confirms layer visible in Figma
|
|
356
|
+
- ✅ Layer names match OBJECT IDs (from aria-label attributes)
|
|
357
|
+
|
|
358
|
+
**Communicate to User:**
|
|
359
|
+
```
|
|
360
|
+
✅ Successfully exported to Figma!
|
|
361
|
+
|
|
362
|
+
Export Details:
|
|
363
|
+
- Component: Landing Hero
|
|
364
|
+
- Figma Node ID: 3:150
|
|
365
|
+
- OBJECT IDs used (as aria-labels):
|
|
366
|
+
• start-hero-section
|
|
367
|
+
• start-hero-content
|
|
368
|
+
• start-hero-headline
|
|
369
|
+
• start-hero-cta
|
|
370
|
+
|
|
371
|
+
The layers in Figma now match your specification OBJECT IDs.
|
|
372
|
+
You can make visual adjustments in Figma and reference these IDs
|
|
373
|
+
when discussing changes.
|
|
374
|
+
|
|
375
|
+
Note: The aria-label attributes were added temporarily for export
|
|
376
|
+
only - your source code remains unchanged.
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
## Phase 5: Post-Export Cleanup
|
|
382
|
+
|
|
383
|
+
### Step 5.1: Discard Temporary HTML
|
|
384
|
+
|
|
385
|
+
**Important:**
|
|
386
|
+
- ❌ **DO NOT save** the temporary HTML to any file
|
|
387
|
+
- ❌ **DO NOT commit** aria-label-injected code to repository
|
|
388
|
+
- ✅ **ONLY use** temporary HTML for MCP export (one page at a time)
|
|
389
|
+
- ✅ **KEEP** original source code unchanged
|
|
390
|
+
|
|
391
|
+
**Why:**
|
|
392
|
+
- Production code should only have aria-labels for genuine accessibility needs
|
|
393
|
+
- Temporary aria-labels are for Figma layer naming only
|
|
394
|
+
- Specifications remain the source of truth for OBJECT IDs
|
|
395
|
+
|
|
396
|
+
---
|
|
397
|
+
|
|
398
|
+
### Step 5.2: Document Export Metadata (Optional)
|
|
399
|
+
|
|
400
|
+
**If user wants to track exports:**
|
|
401
|
+
```markdown
|
|
402
|
+
## Figma Export Log
|
|
403
|
+
|
|
404
|
+
### Landing Hero - 2026-01-21
|
|
405
|
+
- **Source**: components/landing-hero.tsx
|
|
406
|
+
- **Figma Node**: 3:150
|
|
407
|
+
- **OBJECT IDs** (via aria-label): start-hero-section, start-hero-content, start-hero-headline, start-hero-cta
|
|
408
|
+
- **Purpose**: Design review for spacing and gradient adjustments
|
|
409
|
+
- **Specification**: docs/C-Scenarios/01-Customer-Onboarding/1.1-Start-Page/1.1-Start-Page.md
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
---
|
|
413
|
+
|
|
414
|
+
## Workflow Variations
|
|
415
|
+
|
|
416
|
+
### Variation A: MCP Server Export (Single Viewport)
|
|
417
|
+
|
|
418
|
+
**Scenario:** Quick export via MCP server, one page at a time
|
|
419
|
+
|
|
420
|
+
**Process:**
|
|
421
|
+
1. User identifies component to export
|
|
422
|
+
2. Agent locates source file
|
|
423
|
+
3. Agent loads specification OBJECT IDs
|
|
424
|
+
4. Agent generates temporary HTML with `aria-label` attributes in memory
|
|
425
|
+
5. Agent exports to Figma via MCP
|
|
426
|
+
6. Agent discards temporary HTML
|
|
427
|
+
|
|
428
|
+
**Advantages:**
|
|
429
|
+
- ✅ Fully automated
|
|
430
|
+
- ✅ No file modifications
|
|
431
|
+
- ✅ No manual steps
|
|
432
|
+
|
|
433
|
+
**Limitations:**
|
|
434
|
+
- ❌ One viewport at a time
|
|
435
|
+
- ❌ Cannot capture responsive variations simultaneously
|
|
436
|
+
|
|
437
|
+
---
|
|
438
|
+
|
|
439
|
+
### Variation B: Browser Extension Export (Multiple Viewports)
|
|
440
|
+
|
|
441
|
+
**Scenario:** User wants to capture mobile, tablet, and desktop viewports simultaneously using html.to.design browser extension
|
|
442
|
+
|
|
443
|
+
**Process:**
|
|
444
|
+
|
|
445
|
+
**Step 1: Add aria-labels to Preview**
|
|
446
|
+
```
|
|
447
|
+
Agent adds aria-label attributes to source files temporarily:
|
|
448
|
+
|
|
449
|
+
components/landing-hero.tsx:
|
|
450
|
+
<section aria-label="start-hero-section" className="hero-section">
|
|
451
|
+
<h1 aria-label="start-hero-headline" className="hero-headline">
|
|
452
|
+
Every walk. on time. Every time.
|
|
453
|
+
</h1>
|
|
454
|
+
<button aria-label="start-hero-cta" className="btn-cta-primary">
|
|
455
|
+
Start Planning
|
|
456
|
+
</button>
|
|
457
|
+
</section>
|
|
458
|
+
|
|
459
|
+
⚠️ IMPORTANT: These changes are temporary and will be removed after capture
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
**Step 2: User Captures with Browser Extension**
|
|
463
|
+
```
|
|
464
|
+
Instructions to user:
|
|
465
|
+
|
|
466
|
+
1. Open preview in browser (http://localhost:3000)
|
|
467
|
+
2. Activate html.to.design browser extension
|
|
468
|
+
3. Select multiple viewports:
|
|
469
|
+
- Mobile (375px)
|
|
470
|
+
- Tablet (768px)
|
|
471
|
+
- Desktop (1440px)
|
|
472
|
+
4. Click "Capture" in extension
|
|
473
|
+
5. Confirm layers appear in Figma with proper OBJECT ID names
|
|
474
|
+
6. Notify agent when capture is complete
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
**Step 3: Remove aria-labels from Source**
|
|
478
|
+
```
|
|
479
|
+
Agent removes temporary aria-label attributes:
|
|
480
|
+
|
|
481
|
+
components/landing-hero.tsx:
|
|
482
|
+
<section className="hero-section">
|
|
483
|
+
<h1 className="hero-headline">
|
|
484
|
+
Every walk. on time. Every time.
|
|
485
|
+
</h1>
|
|
486
|
+
<button className="btn-cta-primary">
|
|
487
|
+
Start Planning
|
|
488
|
+
</button>
|
|
489
|
+
</section>
|
|
490
|
+
|
|
491
|
+
✅ Source code restored to clean state
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
**Advantages:**
|
|
495
|
+
- ✅ Multiple viewports captured simultaneously
|
|
496
|
+
- ✅ True responsive testing in Figma
|
|
497
|
+
- ✅ Layers properly named with OBJECT IDs
|
|
498
|
+
|
|
499
|
+
**Limitations:**
|
|
500
|
+
- ⚠️ Requires temporary file modification
|
|
501
|
+
- ⚠️ Manual browser extension interaction
|
|
502
|
+
- ⚠️ Must remember to remove aria-labels after capture
|
|
503
|
+
|
|
504
|
+
**Safety Protocol:**
|
|
505
|
+
```
|
|
506
|
+
Before removing aria-labels, agent asks:
|
|
507
|
+
|
|
508
|
+
"Have you completed the Figma capture with the browser extension?
|
|
509
|
+
I'll now remove the temporary aria-label attributes from your source files."
|
|
510
|
+
|
|
511
|
+
Wait for user confirmation before proceeding.
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
### Variation C: Export Component States
|
|
517
|
+
|
|
518
|
+
**Scenario:** Export button with hover, active, disabled states
|
|
519
|
+
|
|
520
|
+
**Process:**
|
|
521
|
+
1. Load OBJECT IDs from specification
|
|
522
|
+
2. Generate HTML for each state:
|
|
523
|
+
```html
|
|
524
|
+
<div aria-label="button-states-showcase">
|
|
525
|
+
<div class="state-container">
|
|
526
|
+
<div class="state-label">Default</div>
|
|
527
|
+
<button aria-label="btn-cta-primary-default">Start Planning</button>
|
|
528
|
+
</div>
|
|
529
|
+
<div class="state-container">
|
|
530
|
+
<div class="state-label">Hover</div>
|
|
531
|
+
<button aria-label="btn-cta-primary-hover">Start Planning</button>
|
|
532
|
+
</div>
|
|
533
|
+
<!-- More states... -->
|
|
534
|
+
</div>
|
|
535
|
+
```
|
|
536
|
+
3. Export to Figma (one page at a time)
|
|
537
|
+
4. Discard temporary HTML
|
|
538
|
+
|
|
539
|
+
---
|
|
540
|
+
|
|
541
|
+
### Variation D: Export Early Prototype
|
|
542
|
+
|
|
543
|
+
**Scenario:** Prototype HTML in docs/ needs design review
|
|
544
|
+
|
|
545
|
+
**Process:**
|
|
546
|
+
1. Read prototype HTML file
|
|
547
|
+
2. Check if aria-labels already present
|
|
548
|
+
3. If missing, inject aria-labels with OBJECT IDs from specification
|
|
549
|
+
4. Export to Figma
|
|
550
|
+
5. Optionally: Update prototype file with aria-labels (user decision)
|
|
551
|
+
|
|
552
|
+
**Decision Point:**
|
|
553
|
+
```
|
|
554
|
+
The prototype HTML is missing aria-labels for Figma export.
|
|
555
|
+
|
|
556
|
+
Would you like me to:
|
|
557
|
+
1. Add aria-labels temporarily for this export only
|
|
558
|
+
2. Add aria-labels permanently to the prototype file
|
|
559
|
+
3. Create a specification first, then add aria-labels
|
|
560
|
+
|
|
561
|
+
Recommendation: Option 2 is best for prototypes since they're
|
|
562
|
+
documentation artifacts, not production code.
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
---
|
|
566
|
+
|
|
567
|
+
## Best Practices
|
|
568
|
+
|
|
569
|
+
### DO ✅
|
|
570
|
+
|
|
571
|
+
- **Always load OBJECT IDs from specifications first**
|
|
572
|
+
- **Generate temporary HTML in memory** (never save to files)
|
|
573
|
+
- **Preserve original component structure** (only add aria-labels)
|
|
574
|
+
- **Export one page at a time** through MCP server
|
|
575
|
+
- **Use specification naming conventions** for consistency
|
|
576
|
+
- **Communicate clearly** that aria-labels are temporary
|
|
577
|
+
- **Verify export success** before discarding HTML
|
|
578
|
+
- **Document exports** if tracking is needed
|
|
579
|
+
|
|
580
|
+
### DON'T ❌
|
|
581
|
+
|
|
582
|
+
- **Don't modify source files** with temporary aria-labels (except for browser extension method)
|
|
583
|
+
- **Don't commit aria-label-injected code** to repository
|
|
584
|
+
- **Don't save temporary HTML** (only use for MCP export)
|
|
585
|
+
- **Don't skip specification lookup** (always check first)
|
|
586
|
+
- **Don't export without aria-labels** (Figma layers will have generic names)
|
|
587
|
+
- **Don't use generic aria-labels** (follow specification patterns)
|
|
588
|
+
|
|
589
|
+
---
|
|
590
|
+
|
|
591
|
+
## Troubleshooting
|
|
592
|
+
|
|
593
|
+
### Issue: Figma Layers Have Generic Names
|
|
594
|
+
|
|
595
|
+
**Cause:** aria-label attributes not properly injected into HTML
|
|
596
|
+
|
|
597
|
+
**Solution:**
|
|
598
|
+
1. Verify OBJECT IDs were loaded from specification
|
|
599
|
+
2. Check aria-label injection mapping logic
|
|
600
|
+
3. Ensure aria-labels added to correct elements
|
|
601
|
+
4. Re-export with corrected HTML
|
|
602
|
+
|
|
603
|
+
---
|
|
604
|
+
|
|
605
|
+
### Issue: Specification Not Found
|
|
606
|
+
|
|
607
|
+
**Cause:** Component doesn't have specification yet
|
|
608
|
+
|
|
609
|
+
**Solution:**
|
|
610
|
+
```
|
|
611
|
+
⚠️ No specification found for {component-name}
|
|
612
|
+
|
|
613
|
+
Options:
|
|
614
|
+
1. Create specification first (recommended for production components)
|
|
615
|
+
2. Generate temporary IDs from code structure (for quick exports)
|
|
616
|
+
3. Use CSS class names as IDs (fallback)
|
|
617
|
+
|
|
618
|
+
For production components, I recommend creating a specification
|
|
619
|
+
to maintain design-code parity. Would you like me to create one?
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
---
|
|
623
|
+
|
|
624
|
+
### Issue: aria-label Mapping Unclear
|
|
625
|
+
|
|
626
|
+
**Cause:** Multiple elements with same class, unclear hierarchy
|
|
627
|
+
|
|
628
|
+
**Solution:**
|
|
629
|
+
1. Analyze component structure more carefully
|
|
630
|
+
2. Use parent-child context for OBJECT ID generation
|
|
631
|
+
3. Ask user for clarification on ambiguous elements
|
|
632
|
+
4. Reference similar components in specifications
|
|
633
|
+
|
|
634
|
+
---
|
|
635
|
+
|
|
636
|
+
## Integration with Existing Workflows
|
|
637
|
+
|
|
638
|
+
### Works With: Figma Export Workshop
|
|
639
|
+
|
|
640
|
+
This workflow is a **preprocessing step** for the main Figma Export Workshop:
|
|
641
|
+
|
|
642
|
+
```
|
|
643
|
+
Prepare for Figma Export (this workflow)
|
|
644
|
+
↓ Generates HTML with aria-labels matching OBJECT IDs
|
|
645
|
+
Figma Export Workshop (existing)
|
|
646
|
+
↓ Validates and exports to Figma (one page at a time)
|
|
647
|
+
Result: Figma layers with proper OBJECT ID names
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
---
|
|
651
|
+
|
|
652
|
+
### Works With: Specification-Driven Development
|
|
653
|
+
|
|
654
|
+
This workflow **reinforces** the specification-first approach:
|
|
655
|
+
|
|
656
|
+
```
|
|
657
|
+
1. Specification created with OBJECT IDs
|
|
658
|
+
2. Component implemented (without aria-labels in production)
|
|
659
|
+
3. Export to Figma (aria-labels injected from spec, one page at a time)
|
|
660
|
+
4. Design iteration in Figma (using OBJECT ID layer names)
|
|
661
|
+
5. Changes communicated using OBJECT IDs
|
|
662
|
+
6. Code updated based on OBJECT ID references
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
**Result:** Specifications remain source of truth for naming
|
|
666
|
+
|
|
667
|
+
---
|
|
668
|
+
|
|
669
|
+
## Summary
|
|
670
|
+
|
|
671
|
+
This workflow enables **clean, specification-driven Figma exports** without cluttering production code:
|
|
672
|
+
|
|
673
|
+
- ✅ **Specifications remain source of truth** for OBJECT IDs
|
|
674
|
+
- ✅ **Production code stays clean** (no unnecessary aria-labels)
|
|
675
|
+
- ✅ **Figma layers properly named** (using OBJECT IDs via aria-labels)
|
|
676
|
+
- ✅ **Design-code parity maintained** (shared naming system)
|
|
677
|
+
- ✅ **Flexible for any stage** (prototypes, production, previews)
|
|
678
|
+
- ✅ **One page at a time** through MCP server (no file saving needed)
|
|
679
|
+
|
|
680
|
+
**Key Principle:** aria-label attributes are injected temporarily during export, then discarded. The specification-to-Figma connection is maintained without modifying source files.
|
|
681
|
+
|
|
682
|
+
---
|
|
683
|
+
|
|
684
|
+
**Related Documentation:**
|
|
685
|
+
- [Figma MCP Integration](./figma-mcp.md)
|
|
686
|
+
- [html.to.design Tool](./html-to-design.md)
|
|
687
|
+
- [WDS Tools Guide](./wds-tools-guide.md)
|
|
688
|
+
|
|
689
|
+
**Version History:**
|
|
690
|
+
- v1.0 (2026-01-21): Initial workflow based on ID injection strategy
|