aiox-core 5.0.2 → 5.0.3
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/.aiox-core/data/entity-registry.yaml +748 -763
- package/.aiox-core/install-manifest.yaml +4 -4
- package/package.json +6 -1
- package/pro/feature-registry.yaml +223 -0
- package/pro/package.json +39 -0
- package/pro/pro-config.yaml +63 -0
- package/pro/squads/README.md +24 -0
- package/pro/squads/design/HEADLINE.md +3 -0
- package/pro/squads/design/README.md +109 -0
- package/pro/squads/design/agents/brad-frost.md +1097 -0
- package/pro/squads/design/agents/dan-mall.md +857 -0
- package/pro/squads/design/agents/dave-malouf.md +2272 -0
- package/pro/squads/design/agents/design-chief.md +114 -0
- package/pro/squads/design/agents/ds-foundations-lead.md +194 -0
- package/pro/squads/design/agents/ds-token-architect.md +361 -0
- package/pro/squads/design/agents/nano-banana-generator.md +162 -0
- package/pro/squads/design/agents/storybook-expert.md +809 -0
- package/pro/squads/design/checklists/atomic-refactor-checklist.md +299 -0
- package/pro/squads/design/checklists/component-adaptation-checklist.md +81 -0
- package/pro/squads/design/checklists/design-fidelity-checklist.md +283 -0
- package/pro/squads/design/checklists/design-handoff-checklist.md +55 -0
- package/pro/squads/design/checklists/design-team-health-checklist.md +454 -0
- package/pro/squads/design/checklists/designops-maturity-checklist.md +518 -0
- package/pro/squads/design/checklists/ds-a11y-release-gate-checklist.md +45 -0
- package/pro/squads/design/checklists/ds-accessibility-wcag-checklist.md +147 -0
- package/pro/squads/design/checklists/ds-component-quality-checklist.md +150 -0
- package/pro/squads/design/checklists/ds-critical-eye-review-checklist.md +147 -0
- package/pro/squads/design/checklists/ds-migration-readiness-checklist.md +99 -0
- package/pro/squads/design/checklists/ds-pattern-audit-checklist.md +164 -0
- package/pro/squads/design/checklists/reading-accessibility-checklist.md +275 -0
- package/pro/squads/design/checklists/token-mapping-checklist.md +107 -0
- package/pro/squads/design/config/coding-standards.md +286 -0
- package/pro/squads/design/config/source-tree.md +59 -0
- package/pro/squads/design/config/tech-stack.md +48 -0
- package/pro/squads/design/config.yaml +204 -0
- package/pro/squads/design/data/agentic-design-systems-guide.md +46 -0
- package/pro/squads/design/data/agentic-ds-principles.md +100 -0
- package/pro/squads/design/data/atomic-design-principles.md +108 -0
- package/pro/squads/design/data/atomic-refactor-rules.md +582 -0
- package/pro/squads/design/data/base-component-specs.md +972 -0
- package/pro/squads/design/data/brad-frost-analysis-extract-implicit.yaml +270 -0
- package/pro/squads/design/data/brad-frost-analysis-find-0.8.yaml +176 -0
- package/pro/squads/design/data/brad-frost-analysis-qa-report.yaml +168 -0
- package/pro/squads/design/data/brad-frost-dna.yaml +713 -0
- package/pro/squads/design/data/capability-tools.yaml +124 -0
- package/pro/squads/design/data/component-adaptation-changelog.md +318 -0
- package/pro/squads/design/data/consolidation-algorithms.md +168 -0
- package/pro/squads/design/data/critical-eye-scoring-rules.yaml +240 -0
- package/pro/squads/design/data/design-token-best-practices.md +107 -0
- package/pro/squads/design/data/design-tokens-spec.yaml +418 -0
- package/pro/squads/design/data/ds-reference-architectures.md +93 -0
- package/pro/squads/design/data/f2-qa-report.md +168 -0
- package/pro/squads/design/data/f3-derived-components-changelog.md +100 -0
- package/pro/squads/design/data/f3-qa-report.md +208 -0
- package/pro/squads/design/data/figma-base-components-raw.md +102 -0
- package/pro/squads/design/data/figma-tokens-raw.md +1549 -0
- package/pro/squads/design/data/fluent2-design-principles.md +114 -0
- package/pro/squads/design/data/high-retention-reading-guide.md +349 -0
- package/pro/squads/design/data/integration-patterns.md +207 -0
- package/pro/squads/design/data/internal-quality-chain.yaml +48 -0
- package/pro/squads/design/data/motion-tokens-guide.md +202 -0
- package/pro/squads/design/data/roi-calculation-guide.md +142 -0
- package/pro/squads/design/data/token-mapping-reference.md +213 -0
- package/pro/squads/design/data/w3c-dtcg-spec-reference.md +149 -0
- package/pro/squads/design/data/wcag-compliance-guide.md +267 -0
- package/pro/squads/design/docs/AUDIT_REPORT.md +97 -0
- package/pro/squads/design/docs/DS-CURATION-PIPELINE-PROPOSAL.md +577 -0
- package/pro/squads/design/docs/UPGRADE_PLAN.md +618 -0
- package/pro/squads/design/docs/brad-frost-research-validation.md +372 -0
- package/pro/squads/design/docs/dave-malouf-research-validation.md +391 -0
- package/pro/squads/design/docs/tool-discovery-report.md +87 -0
- package/pro/squads/design/docs/tool-integration-plan.md +44 -0
- package/pro/squads/design/protocols/ai-first-governance.md +56 -0
- package/pro/squads/design/protocols/governance-execution-boundary.md +59 -0
- package/pro/squads/design/protocols/handoff.md +60 -0
- package/pro/squads/design/rules/.claude-rules.md +88 -0
- package/pro/squads/design/scripts/design-system/curate_colors.cjs +447 -0
- package/pro/squads/design/scripts/design-system/curate_components.cjs +217 -0
- package/pro/squads/design/scripts/design-system/curate_radius.cjs +190 -0
- package/pro/squads/design/scripts/design-system/curate_shadows.cjs +208 -0
- package/pro/squads/design/scripts/design-system/curate_spacing.cjs +243 -0
- package/pro/squads/design/scripts/design-system/curate_typography.cjs +404 -0
- package/pro/squads/design/scripts/design-system/design-system-metadata.test.js +49 -0
- package/pro/squads/design/scripts/design-system/design_manifest_lib.cjs +142 -0
- package/pro/squads/design/scripts/design-system/fetch_page_images.cjs +195 -0
- package/pro/squads/design/scripts/design-system/generate_components_metadata.cjs +114 -0
- package/pro/squads/design/scripts/design-system/generate_curation_report.cjs +258 -0
- package/pro/squads/design/scripts/design-system/generate_tokens.cjs +342 -0
- package/pro/squads/design/scripts/design-system/sync_design_manifest.cjs +27 -0
- package/pro/squads/design/scripts/design-system/test_mcp_tools.cjs +232 -0
- package/pro/squads/design/scripts/design-system/validate_components_metadata.cjs +96 -0
- package/pro/squads/design/scripts/design-system/validate_curation.cjs +226 -0
- package/pro/squads/design/scripts/design-system/validate_design_manifest_drift.cjs +72 -0
- package/pro/squads/design/scripts/design-system/validate_mcp_skeleton.cjs +38 -0
- package/pro/squads/design/scripts/design-system/validate_registry.cjs +186 -0
- package/pro/squads/design/scripts/design-system/validate_task_checklist_bindings.cjs +78 -0
- package/pro/squads/design/scripts/dissect-artifact.cjs +806 -0
- package/pro/squads/design/scripts/validate-a11y-integration.cjs +40 -0
- package/pro/squads/design/scripts/validate-design-squad.py +411 -0
- package/pro/squads/design/squad.yaml +714 -0
- package/pro/squads/design/tasks/a11y-audit.md +340 -0
- package/pro/squads/design/tasks/aria-audit.md +525 -0
- package/pro/squads/design/tasks/atomic-refactor-execute.md +391 -0
- package/pro/squads/design/tasks/atomic-refactor-plan.md +262 -0
- package/pro/squads/design/tasks/audit-reading-experience.md +350 -0
- package/pro/squads/design/tasks/audit-tailwind-config.md +101 -0
- package/pro/squads/design/tasks/bootstrap-shadcn-library.md +96 -0
- package/pro/squads/design/tasks/bundle-audit.md +245 -0
- package/pro/squads/design/tasks/contrast-matrix.md +373 -0
- package/pro/squads/design/tasks/create-doc.md +135 -0
- package/pro/squads/design/tasks/dead-code-detection.md +329 -0
- package/pro/squads/design/tasks/design-compare.md +414 -0
- package/pro/squads/design/tasks/design-process-optimization.md +407 -0
- package/pro/squads/design/tasks/design-review-orchestration.md +99 -0
- package/pro/squads/design/tasks/design-team-scaling.md +407 -0
- package/pro/squads/design/tasks/design-tooling-audit.md +404 -0
- package/pro/squads/design/tasks/design-triage.md +89 -0
- package/pro/squads/design/tasks/designops-maturity-assessment.md +364 -0
- package/pro/squads/design/tasks/designops-metrics-setup.md +465 -0
- package/pro/squads/design/tasks/ds-agentic-audit.md +100 -0
- package/pro/squads/design/tasks/ds-agentic-setup.md +103 -0
- package/pro/squads/design/tasks/ds-audit-codebase.md +273 -0
- package/pro/squads/design/tasks/ds-build-component.md +349 -0
- package/pro/squads/design/tasks/ds-build-mcp-server.md +84 -0
- package/pro/squads/design/tasks/ds-calculate-roi.md +282 -0
- package/pro/squads/design/tasks/ds-compose-molecule.md +106 -0
- package/pro/squads/design/tasks/ds-consolidate-patterns.md +253 -0
- package/pro/squads/design/tasks/ds-context-contract.md +194 -0
- package/pro/squads/design/tasks/ds-critical-eye-compare.md +130 -0
- package/pro/squads/design/tasks/ds-critical-eye-decide.md +139 -0
- package/pro/squads/design/tasks/ds-critical-eye-inventory.md +111 -0
- package/pro/squads/design/tasks/ds-critical-eye-report.md +101 -0
- package/pro/squads/design/tasks/ds-critical-eye-score.md +109 -0
- package/pro/squads/design/tasks/ds-designops.md +99 -0
- package/pro/squads/design/tasks/ds-extend-pattern.md +91 -0
- package/pro/squads/design/tasks/ds-extract-tokens.md +312 -0
- package/pro/squads/design/tasks/ds-figma-pipeline.md +95 -0
- package/pro/squads/design/tasks/ds-fluent-audit.md +105 -0
- package/pro/squads/design/tasks/ds-fluent-build.md +110 -0
- package/pro/squads/design/tasks/ds-generate-ai-metadata.md +81 -0
- package/pro/squads/design/tasks/ds-generate-cursor-rules.md +74 -0
- package/pro/squads/design/tasks/ds-generate-documentation.md +101 -0
- package/pro/squads/design/tasks/ds-generate-migration-strategy.md +331 -0
- package/pro/squads/design/tasks/ds-generate-shock-report.md +323 -0
- package/pro/squads/design/tasks/ds-govern-a11y-compliance.md +93 -0
- package/pro/squads/design/tasks/ds-governance.md +187 -0
- package/pro/squads/design/tasks/ds-health-metrics.md +278 -0
- package/pro/squads/design/tasks/ds-integrate-squad.md +130 -0
- package/pro/squads/design/tasks/ds-integrate-workspace.md +100 -0
- package/pro/squads/design/tasks/ds-legacy-modernization.md +302 -0
- package/pro/squads/design/tasks/ds-mcp-status.md +65 -0
- package/pro/squads/design/tasks/ds-motion-audit.md +118 -0
- package/pro/squads/design/tasks/ds-multi-framework.md +96 -0
- package/pro/squads/design/tasks/ds-parallelization-gate.md +246 -0
- package/pro/squads/design/tasks/ds-query.md +90 -0
- package/pro/squads/design/tasks/ds-rebuild-artifact.md +369 -0
- package/pro/squads/design/tasks/ds-reverse-engineer.md +194 -0
- package/pro/squads/design/tasks/ds-scan-artifact.md +131 -0
- package/pro/squads/design/tasks/ds-setup-design-system.md +297 -0
- package/pro/squads/design/tasks/ds-sync-registry.md +287 -0
- package/pro/squads/design/tasks/ds-theme-multi-brand.md +90 -0
- package/pro/squads/design/tasks/ds-token-modes.md +108 -0
- package/pro/squads/design/tasks/ds-token-w3c-extract.md +105 -0
- package/pro/squads/design/tasks/ds-validate-ai-readiness.md +69 -0
- package/pro/squads/design/tasks/ds-visual-regression.md +130 -0
- package/pro/squads/design/tasks/execute-checklist.md +141 -0
- package/pro/squads/design/tasks/export-design-tokens-dtcg.md +97 -0
- package/pro/squads/design/tasks/f1-apply-foundations.md +154 -0
- package/pro/squads/design/tasks/f1-ingest-figma-tokens.md +130 -0
- package/pro/squads/design/tasks/f1-map-tokens-to-shadcn.md +145 -0
- package/pro/squads/design/tasks/f1-qa-foundations.md +95 -0
- package/pro/squads/design/tasks/f2-adapt-shadcn-components.md +155 -0
- package/pro/squads/design/tasks/f2-ingest-base-components.md +148 -0
- package/pro/squads/design/tasks/f2-qa-base-components.md +98 -0
- package/pro/squads/design/tasks/f3-derive-components.md +145 -0
- package/pro/squads/design/tasks/f3-qa-derived-components.md +101 -0
- package/pro/squads/design/tasks/focus-order-audit.md +450 -0
- package/pro/squads/design/tasks/sb-brownfield-migrate.md +367 -0
- package/pro/squads/design/tasks/sb-brownfield-scan.md +318 -0
- package/pro/squads/design/tasks/sb-configure.md +230 -0
- package/pro/squads/design/tasks/sb-expand-shadcn.md +213 -0
- package/pro/squads/design/tasks/sb-generate-all-stories.md +288 -0
- package/pro/squads/design/tasks/sb-install.md +152 -0
- package/pro/squads/design/tasks/sb-sync-workspace.md +239 -0
- package/pro/squads/design/tasks/sb-verify.md +203 -0
- package/pro/squads/design/tasks/tailwind-upgrade.md +117 -0
- package/pro/squads/design/tasks/token-usage-analytics.md +262 -0
- package/pro/squads/design/tasks/ux-rewrite-sixth-grade.md +82 -0
- package/pro/squads/design/tasks/validate-design-fidelity.md +222 -0
- package/pro/squads/design/templates/agent-template.yaml +46 -0
- package/pro/squads/design/templates/clone-mind-template.md +352 -0
- package/pro/squads/design/templates/component-prompt-injection-tmpl.md +236 -0
- package/pro/squads/design/templates/component-visual-spec-tmpl.md +378 -0
- package/pro/squads/design/templates/critical-eye-cycle-report-tmpl.md +165 -0
- package/pro/squads/design/templates/design-fidelity-report-tmpl.md +155 -0
- package/pro/squads/design/templates/ds-ai-component-metadata-schema-tmpl.json +138 -0
- package/pro/squads/design/templates/ds-artifact-analysis.md +70 -0
- package/pro/squads/design/templates/ds-health-report-tmpl.md +236 -0
- package/pro/squads/design/templates/ds-migration-strategy-tmpl.md +524 -0
- package/pro/squads/design/templates/ds-state-persistence-tmpl.yaml +194 -0
- package/pro/squads/design/templates/ds-tokens-schema-tmpl.yaml +139 -0
- package/pro/squads/design/templates/migration-strategy-tmpl.md +524 -0
- package/pro/squads/design/templates/reading-design-tokens.css +26 -0
- package/pro/squads/design/templates/state-persistence-tmpl.yaml +219 -0
- package/pro/squads/design/templates/tokens-schema-tmpl.yaml +305 -0
- package/pro/squads/design/workflows/agentic-readiness.yaml +83 -0
- package/pro/squads/design/workflows/audit-only.yaml +198 -0
- package/pro/squads/design/workflows/brownfield-complete.yaml +257 -0
- package/pro/squads/design/workflows/critical-eye.yaml +184 -0
- package/pro/squads/design/workflows/dtcg-tokens-governance.yaml +64 -0
- package/pro/squads/design/workflows/foundations-pipeline.yaml +192 -0
- package/pro/squads/design/workflows/greenfield-new.yaml +192 -0
- package/pro/squads/design/workflows/motion-quality.yaml +65 -0
- package/pro/squads/design/workflows/self-healing-workflow.yaml +237 -0
- package/pro/squads/design/workflows/storybook-brownfield-migration.yaml +400 -0
- package/pro/squads/design/workflows/storybook-full-setup.yaml +280 -0
- package/pro/squads/index.js +145 -0
- package/pro/squads/squad-creator-pro/.state.json +32 -0
- package/pro/squads/squad-creator-pro/CHANGELOG.md +275 -0
- package/pro/squads/squad-creator-pro/HEADLINE.md +3 -0
- package/pro/squads/squad-creator-pro/README.md +1059 -0
- package/pro/squads/squad-creator-pro/agents/oalanicolas.md +438 -0
- package/pro/squads/squad-creator-pro/agents/pedro-valerio.md +449 -0
- package/pro/squads/squad-creator-pro/agents/squad-chief.md +1651 -0
- package/pro/squads/squad-creator-pro/agents/thiago_finch.md +976 -0
- package/pro/squads/squad-creator-pro/assessments/axioma-assessment-wf-create-squad.yaml +325 -0
- package/pro/squads/squad-creator-pro/checklists/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/checklists/agent-depth-checklist.md +244 -0
- package/pro/squads/squad-creator-pro/checklists/agent-quality-gate.md +434 -0
- package/pro/squads/squad-creator-pro/checklists/create-agent-checklist.md +184 -0
- package/pro/squads/squad-creator-pro/checklists/create-squad-checklist.md +219 -0
- package/pro/squads/squad-creator-pro/checklists/create-workflow-checklist.md +224 -0
- package/pro/squads/squad-creator-pro/checklists/deep-research-quality.md +506 -0
- package/pro/squads/squad-creator-pro/checklists/executor-matrix-checklist.md +260 -0
- package/pro/squads/squad-creator-pro/checklists/mental-model-integration-checklist.md +95 -0
- package/pro/squads/squad-creator-pro/checklists/mind-validation.md +374 -0
- package/pro/squads/squad-creator-pro/checklists/quality-gate-checklist.md +385 -0
- package/pro/squads/squad-creator-pro/checklists/smoke-test-agent.md +313 -0
- package/pro/squads/squad-creator-pro/checklists/sop-validation.md +250 -0
- package/pro/squads/squad-creator-pro/checklists/squad-checklist.md +1014 -0
- package/pro/squads/squad-creator-pro/checklists/squad-overview-checklist.md +393 -0
- package/pro/squads/squad-creator-pro/checklists/task-anatomy-checklist.md +626 -0
- package/pro/squads/squad-creator-pro/config/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/config/axioma-validator.yaml +371 -0
- package/pro/squads/squad-creator-pro/config/heuristics.yaml +753 -0
- package/pro/squads/squad-creator-pro/config/model-routing.yaml +693 -0
- package/pro/squads/squad-creator-pro/config/quality-gates.yaml +415 -0
- package/pro/squads/squad-creator-pro/config/scoring-rubric.yaml +199 -0
- package/pro/squads/squad-creator-pro/config/squad-config.yaml +165 -0
- package/pro/squads/squad-creator-pro/config/task-anatomy.yaml +263 -0
- package/pro/squads/squad-creator-pro/config/veto-conditions.yaml +455 -0
- package/pro/squads/squad-creator-pro/config.yaml +35 -0
- package/pro/squads/squad-creator-pro/data/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/data/an-anchor-words.yaml +78 -0
- package/pro/squads/squad-creator-pro/data/an-clone-anti-patterns.yaml +148 -0
- package/pro/squads/squad-creator-pro/data/an-clone-validation.yaml +190 -0
- package/pro/squads/squad-creator-pro/data/an-diagnostic-framework.yaml +164 -0
- package/pro/squads/squad-creator-pro/data/an-output-examples.yaml +102 -0
- package/pro/squads/squad-creator-pro/data/an-source-signals.yaml +98 -0
- package/pro/squads/squad-creator-pro/data/an-source-tiers.yaml +119 -0
- package/pro/squads/squad-creator-pro/data/best-practices.md +986 -0
- package/pro/squads/squad-creator-pro/data/core-heuristics.md +510 -0
- package/pro/squads/squad-creator-pro/data/decision-heuristics-framework.md +620 -0
- package/pro/squads/squad-creator-pro/data/executor-decision-tree.md +774 -0
- package/pro/squads/squad-creator-pro/data/executor-matrix-framework.md +441 -0
- package/pro/squads/squad-creator-pro/data/fusion-decision-points-analysis.md +397 -0
- package/pro/squads/squad-creator-pro/data/fusion-executor-analysis.md +677 -0
- package/pro/squads/squad-creator-pro/data/hybridops-patterns.md +1351 -0
- package/pro/squads/squad-creator-pro/data/internal-infrastructure-library.yaml +99 -0
- package/pro/squads/squad-creator-pro/data/mental-model-task-matrix.yaml +692 -0
- package/pro/squads/squad-creator-pro/data/pipeline-patterns.md +352 -0
- package/pro/squads/squad-creator-pro/data/pm-best-practices.md +440 -0
- package/pro/squads/squad-creator-pro/data/pv-anchor-words.yaml +64 -0
- package/pro/squads/squad-creator-pro/data/pv-authenticity-markers.yaml +200 -0
- package/pro/squads/squad-creator-pro/data/pv-meta-axiomas.yaml +162 -0
- package/pro/squads/squad-creator-pro/data/pv-output-examples.yaml +342 -0
- package/pro/squads/squad-creator-pro/data/pv-workflow-validation.yaml +318 -0
- package/pro/squads/squad-creator-pro/data/quality-dimensions-framework.md +405 -0
- package/pro/squads/squad-creator-pro/data/squad-analytics-guide.md +252 -0
- package/pro/squads/squad-creator-pro/data/squad-kb.md +987 -0
- package/pro/squads/squad-creator-pro/data/squad-registry.yaml +841 -0
- package/pro/squads/squad-creator-pro/data/squad-type-definitions.yaml +578 -0
- package/pro/squads/squad-creator-pro/data/tier-system-framework.md +475 -0
- package/pro/squads/squad-creator-pro/data/tool-evaluation-framework.md +847 -0
- package/pro/squads/squad-creator-pro/data/tool-registry.yaml +700 -0
- package/pro/squads/squad-creator-pro/docs/ADR-001-model-tier-qualification.md +344 -0
- package/pro/squads/squad-creator-pro/docs/AGENT-COLLABORATION.md +609 -0
- package/pro/squads/squad-creator-pro/docs/ARCHITECTURE-DIAGRAMS.md +1466 -0
- package/pro/squads/squad-creator-pro/docs/COMMANDS.md +544 -0
- package/pro/squads/squad-creator-pro/docs/CONCEPTS.md +584 -0
- package/pro/squads/squad-creator-pro/docs/FAQ.md +731 -0
- package/pro/squads/squad-creator-pro/docs/HITL-FLOW.md +255 -0
- package/pro/squads/squad-creator-pro/docs/MIGRATION-PLAN-AGENT-CONFORMITY.md +861 -0
- package/pro/squads/squad-creator-pro/docs/MIGRATION-ROADMAP-HYBRIDOPS.md +1161 -0
- package/pro/squads/squad-creator-pro/docs/MODEL-TIER-QUALIFICATION.md +337 -0
- package/pro/squads/squad-creator-pro/docs/PATTERN-LIBRARY.md +333 -0
- package/pro/squads/squad-creator-pro/docs/PEDRO-VALERIO-ARCHITECTURE.md +456 -0
- package/pro/squads/squad-creator-pro/docs/POR-ONDE-COMECAR.md +210 -0
- package/pro/squads/squad-creator-pro/docs/QUICK-START.md +205 -0
- package/pro/squads/squad-creator-pro/docs/RFC-001-deterministic-refactoring.md +463 -0
- package/pro/squads/squad-creator-pro/docs/TOOL-RECOMMENDATIONS.md +379 -0
- package/pro/squads/squad-creator-pro/docs/TROUBLESHOOTING.md +412 -0
- package/pro/squads/squad-creator-pro/docs/TUTORIAL-COMPLETO.md +458 -0
- package/pro/squads/squad-creator-pro/docs/optimize-v4-proposal.md +354 -0
- package/pro/squads/squad-creator-pro/docs/session-report-2026-02-01.md +411 -0
- package/pro/squads/squad-creator-pro/docs/sop-extraction-process.md +674 -0
- package/pro/squads/squad-creator-pro/docs/squad-chief-agent-flow.md +981 -0
- package/pro/squads/squad-creator-pro/docs/squad-creation-pipeline-workflow.md +937 -0
- package/pro/squads/squad-creator-pro/docs/task-optimization-framework.md +229 -0
- package/pro/squads/squad-creator-pro/docs/validation-report-2026-02-01.md +439 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/HANDOFF_PROTOCOL.md +269 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/artifacts/SOURCE_CLASSIFICATION.md +258 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_001.md +166 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_002.md +206 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_003.md +239 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_004.md +153 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_005.md +161 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_006.md +166 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_007.md +190 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_008.md +191 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_009.md +234 -0
- package/pro/squads/squad-creator-pro/minds/oalanicolas/heuristics/AN_KE_010.md +240 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/Assinatura_Linguistica.md +355 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/artifacts/META_AXIOMAS.md +277 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_BS_001.md +144 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PA_001.md +174 -0
- package/pro/squads/squad-creator-pro/minds/pedro_valerio/heuristics/PV_PM_001.md +191 -0
- package/pro/squads/squad-creator-pro/package.json +26 -0
- package/pro/squads/squad-creator-pro/protocols/ai-first-governance.md +63 -0
- package/pro/squads/squad-creator-pro/scripts/README.md +246 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/dependency_check.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/inventory.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/naming_validator.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/quality_gate.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/scoring.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/__pycache__/yaml_validator.cpython-314.pyc +0 -0
- package/pro/squads/squad-creator-pro/scripts/assess-sources.sh +443 -0
- package/pro/squads/squad-creator-pro/scripts/checklist_validator.py +451 -0
- package/pro/squads/squad-creator-pro/scripts/clone-review.sh +394 -0
- package/pro/squads/squad-creator-pro/scripts/coherence-validator.py +836 -0
- package/pro/squads/squad-creator-pro/scripts/create-agent-preflight.py +243 -0
- package/pro/squads/squad-creator-pro/scripts/cross-provider/compare-results.js +281 -0
- package/pro/squads/squad-creator-pro/scripts/cross-provider/cross-provider-runner.js +462 -0
- package/pro/squads/squad-creator-pro/scripts/dependency_check.py +333 -0
- package/pro/squads/squad-creator-pro/scripts/fidelity-score.sh +519 -0
- package/pro/squads/squad-creator-pro/scripts/generate-squad-greeting.js +426 -0
- package/pro/squads/squad-creator-pro/scripts/generate-squad-guide.js +558 -0
- package/pro/squads/squad-creator-pro/scripts/inventory.py +269 -0
- package/pro/squads/squad-creator-pro/scripts/lib/config-loader.js +151 -0
- package/pro/squads/squad-creator-pro/scripts/model-tier-validator.cjs +369 -0
- package/pro/squads/squad-creator-pro/scripts/model-usage-logger.cjs +245 -0
- package/pro/squads/squad-creator-pro/scripts/modernization-score.sh +308 -0
- package/pro/squads/squad-creator-pro/scripts/naming_validator.py +299 -0
- package/pro/squads/squad-creator-pro/scripts/on-specialist-complete.py +98 -0
- package/pro/squads/squad-creator-pro/scripts/quality_gate.py +413 -0
- package/pro/squads/squad-creator-pro/scripts/refresh-registry.py +270 -0
- package/pro/squads/squad-creator-pro/scripts/save-session-metrics.py +136 -0
- package/pro/squads/squad-creator-pro/scripts/scaffold-squad.cjs +281 -0
- package/pro/squads/squad-creator-pro/scripts/scoring.py +395 -0
- package/pro/squads/squad-creator-pro/scripts/security_scanner.py +378 -0
- package/pro/squads/squad-creator-pro/scripts/squad-analytics.py +585 -0
- package/pro/squads/squad-creator-pro/scripts/squad-context-loader.cjs +205 -0
- package/pro/squads/squad-creator-pro/scripts/squad-state-manager.cjs +451 -0
- package/pro/squads/squad-creator-pro/scripts/squad-workflow-runner.cjs +471 -0
- package/pro/squads/squad-creator-pro/scripts/squad_utils.py +261 -0
- package/pro/squads/squad-creator-pro/scripts/sync-ide-command.py +590 -0
- package/pro/squads/squad-creator-pro/scripts/tests/__init__.py +1 -0
- package/pro/squads/squad-creator-pro/scripts/tests/conftest.py +309 -0
- package/pro/squads/squad-creator-pro/scripts/tests/run_bash_tests.sh +29 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_assess_sources.sh +216 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_checklist_validator.py +396 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_clone_review.sh +239 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_coherence_validator.py +212 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_dependency_check.py +361 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_fidelity_score.sh +298 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_inventory.py +307 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_modernization_score.sh +211 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_naming_validator.py +373 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_quality_gate.py +280 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_refresh_registry.py +338 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_scoring.py +366 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_security_scanner.py +354 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_squad_analytics.py +450 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_validate_clone.sh +252 -0
- package/pro/squads/squad-creator-pro/scripts/tests/test_yaml_validator.py +412 -0
- package/pro/squads/squad-creator-pro/scripts/validate-agent-output.py +115 -0
- package/pro/squads/squad-creator-pro/scripts/validate-all.sh +49 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad-structure.py +535 -0
- package/pro/squads/squad-creator-pro/scripts/validate-squad.sh +944 -0
- package/pro/squads/squad-creator-pro/scripts/yaml_validator.py +528 -0
- package/pro/squads/squad-creator-pro/skills/squad.md +301 -0
- package/pro/squads/squad-creator-pro/squad.yaml +36 -0
- package/pro/squads/squad-creator-pro/tasks/CHANGELOG.md +80 -0
- package/pro/squads/squad-creator-pro/tasks/an-assess-sources.md +78 -0
- package/pro/squads/squad-creator-pro/tasks/an-clone-review.md +104 -0
- package/pro/squads/squad-creator-pro/tasks/an-compare-outputs.md +354 -0
- package/pro/squads/squad-creator-pro/tasks/an-design-clone.md +79 -0
- package/pro/squads/squad-creator-pro/tasks/an-diagnose-clone.md +87 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-dna.md +90 -0
- package/pro/squads/squad-creator-pro/tasks/an-extract-framework.md +100 -0
- package/pro/squads/squad-creator-pro/tasks/an-fidelity-score.md +108 -0
- package/pro/squads/squad-creator-pro/tasks/an-validate-clone.md +96 -0
- package/pro/squads/squad-creator-pro/tasks/auto-acquire-sources.md +349 -0
- package/pro/squads/squad-creator-pro/tasks/collect-sources.md +533 -0
- package/pro/squads/squad-creator-pro/tasks/create-agent.md +768 -0
- package/pro/squads/squad-creator-pro/tasks/create-documentation.md +258 -0
- package/pro/squads/squad-creator-pro/tasks/create-pipeline.md +296 -0
- package/pro/squads/squad-creator-pro/tasks/create-squad.md +933 -0
- package/pro/squads/squad-creator-pro/tasks/create-task.md +1148 -0
- package/pro/squads/squad-creator-pro/tasks/create-template.md +474 -0
- package/pro/squads/squad-creator-pro/tasks/create-workflow.md +720 -0
- package/pro/squads/squad-creator-pro/tasks/deconstruct.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/deep-research-pre-agent.md +566 -0
- package/pro/squads/squad-creator-pro/tasks/detect-squad-context.md +81 -0
- package/pro/squads/squad-creator-pro/tasks/discover-tools.md +944 -0
- package/pro/squads/squad-creator-pro/tasks/extract-implicit.md +352 -0
- package/pro/squads/squad-creator-pro/tasks/extract-knowledge.md +577 -0
- package/pro/squads/squad-creator-pro/tasks/extract-sop.md +320 -0
- package/pro/squads/squad-creator-pro/tasks/extract-thinking-dna.md +653 -0
- package/pro/squads/squad-creator-pro/tasks/extract-voice-dna.md +619 -0
- package/pro/squads/squad-creator-pro/tasks/find-0.8.md +222 -0
- package/pro/squads/squad-creator-pro/tasks/install-commands.md +373 -0
- package/pro/squads/squad-creator-pro/tasks/lookup-model.md +78 -0
- package/pro/squads/squad-creator-pro/tasks/migrate-workflows-to-yaml.md +259 -0
- package/pro/squads/squad-creator-pro/tasks/next-squad.md +487 -0
- package/pro/squads/squad-creator-pro/tasks/optimize-workflow.md +851 -0
- package/pro/squads/squad-creator-pro/tasks/optimize.md +1082 -0
- package/pro/squads/squad-creator-pro/tasks/parallel-discovery.md +58 -0
- package/pro/squads/squad-creator-pro/tasks/pv-audit.md +244 -0
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment-wf-clone-mind.yaml +256 -0
- package/pro/squads/squad-creator-pro/tasks/pv-axioma-assessment.md +83 -0
- package/pro/squads/squad-creator-pro/tasks/pv-modernization-score.md +83 -0
- package/pro/squads/squad-creator-pro/tasks/qa-after-creation.md +475 -0
- package/pro/squads/squad-creator-pro/tasks/qualify-task.md +265 -0
- package/pro/squads/squad-creator-pro/tasks/reexecute-squad-phase.md +64 -0
- package/pro/squads/squad-creator-pro/tasks/refresh-registry.md +403 -0
- package/pro/squads/squad-creator-pro/tasks/smoke-test-model-routing.md +167 -0
- package/pro/squads/squad-creator-pro/tasks/squad-analytics.md +265 -0
- package/pro/squads/squad-creator-pro/tasks/squad-fusion.md +817 -0
- package/pro/squads/squad-creator-pro/tasks/squad-overview.md +683 -0
- package/pro/squads/squad-creator-pro/tasks/sync-ide-command.md +392 -0
- package/pro/squads/squad-creator-pro/tasks/update-mind.md +428 -0
- package/pro/squads/squad-creator-pro/tasks/upgrade-squad.md +919 -0
- package/pro/squads/squad-creator-pro/tasks/validate-extraction.md +209 -0
- package/pro/squads/squad-creator-pro/tasks/validate-final-artifacts.md +80 -0
- package/pro/squads/squad-creator-pro/tasks/validate-squad.md +1385 -0
- package/pro/squads/squad-creator-pro/templates/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/templates/agent-flow-doc-tmpl.md +512 -0
- package/pro/squads/squad-creator-pro/templates/agent-tmpl.md +697 -0
- package/pro/squads/squad-creator-pro/templates/config-tmpl.yaml +352 -0
- package/pro/squads/squad-creator-pro/templates/handoff-insumos-tmpl.yaml +112 -0
- package/pro/squads/squad-creator-pro/templates/orchestrator-tmpl.md +74 -0
- package/pro/squads/squad-creator-pro/templates/pipeline-progress-tmpl.py +373 -0
- package/pro/squads/squad-creator-pro/templates/pipeline-runner-tmpl.py +444 -0
- package/pro/squads/squad-creator-pro/templates/pipeline-state-tmpl.py +413 -0
- package/pro/squads/squad-creator-pro/templates/pop-extractor-prompt.md +549 -0
- package/pro/squads/squad-creator-pro/templates/quality-dashboard-tmpl.md +286 -0
- package/pro/squads/squad-creator-pro/templates/quality-gate-tmpl.yaml +589 -0
- package/pro/squads/squad-creator-pro/templates/readme-tmpl.md +231 -0
- package/pro/squads/squad-creator-pro/templates/research-output-tmpl.md +625 -0
- package/pro/squads/squad-creator-pro/templates/research-prompt-tmpl.md +479 -0
- package/pro/squads/squad-creator-pro/templates/squad-prd-tmpl.md +464 -0
- package/pro/squads/squad-creator-pro/templates/squad-readme-tmpl.md +170 -0
- package/pro/squads/squad-creator-pro/templates/story-create-agent-tmpl.md +284 -0
- package/pro/squads/squad-creator-pro/templates/task-tmpl.md +461 -0
- package/pro/squads/squad-creator-pro/templates/template-tmpl.yaml +227 -0
- package/pro/squads/squad-creator-pro/templates/workflow-doc-tmpl.md +860 -0
- package/pro/squads/squad-creator-pro/templates/workflow-tmpl.yaml +394 -0
- package/pro/squads/squad-creator-pro/test-cases/BATCH-PROGRESS.md +268 -0
- package/pro/squads/squad-creator-pro/test-cases/QUALIFICATION-DASHBOARD.yaml +13 -0
- package/pro/squads/squad-creator-pro/test-cases/_template.yaml +147 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT-SUMMARY.md +275 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/ASSESSMENT_SUMMARY.md +140 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/CHECKPOINT_MATRIX.md +202 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION-REPORT.md +413 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/EXECUTION_NOTES.md +358 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README-v2.2.2.md +299 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/README.md +320 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/TEST-REPORT-v2.1.md +351 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/VERIFICATION-CHECKLIST.txt +247 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/formal-qualification-report.yaml +389 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-output.yaml +366 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.1-output.yaml +452 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.1-output.yaml +281 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/haiku-v2.2.2-output.yaml +332 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/opus-baseline.yaml +517 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/qualification-report.yaml +213 -0
- package/pro/squads/squad-creator-pro/test-cases/an-assess-sources/test-case.yaml +69 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/haiku-round-1.yaml +213 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/opus-baseline.yaml +566 -0
- package/pro/squads/squad-creator-pro/test-cases/an-clone-review/qualification-report.yaml +82 -0
- package/pro/squads/squad-creator-pro/test-cases/an-design-clone/test-case.yaml +102 -0
- package/pro/squads/squad-creator-pro/test-cases/an-extract-dna/test-case.yaml +105 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/haiku-round-1.yaml +262 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/opus-baseline.yaml +266 -0
- package/pro/squads/squad-creator-pro/test-cases/an-fidelity-score/qualification-report.yaml +94 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/haiku-round-1.yaml +282 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/opus-baseline.yaml +470 -0
- package/pro/squads/squad-creator-pro/test-cases/an-validate-clone/qualification-report.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/collect-sources/test-case.yaml +105 -0
- package/pro/squads/squad-creator-pro/test-cases/create-task/test-case.yaml +104 -0
- package/pro/squads/squad-creator-pro/test-cases/cross-provider/DASHBOARD.yaml +11 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-audit/test-case.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/haiku-output.yaml +209 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/opus-baseline.yaml +96 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/sonnet-output.yaml +30 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-axioma-assessment/test-case.yaml +129 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/comparison-round-1.yaml +242 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/haiku-round-1.yaml +393 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/opus-baseline.yaml +488 -0
- package/pro/squads/squad-creator-pro/test-cases/pv-modernization-score/qualification-report.yaml +74 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/haiku-round-1.yaml +292 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/opus-baseline.yaml +603 -0
- package/pro/squads/squad-creator-pro/test-cases/qa-after-creation/qualification-report.yaml +97 -0
- package/pro/squads/squad-creator-pro/test-cases/smoke-test-model-routing/test-case.yaml +100 -0
- package/pro/squads/squad-creator-pro/test-cases/upgrade-squad/test-case.yaml +106 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/comparison-round-1.yaml +223 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1-MINE.yaml +36 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-1.yaml +193 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-2.yaml +303 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/haiku-round-3-v4-task.yaml +149 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-baseline.yaml +529 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/opus-round-3-v4-task.yaml +132 -0
- package/pro/squads/squad-creator-pro/test-cases/validate-squad/qualification-report.yaml +104 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output-v2-calibrated.yaml +200 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/haiku-output.yaml +183 -0
- package/pro/squads/squad-creator-pro/test-cases/wf-clone-mind/opus-baseline.yaml +112 -0
- package/pro/squads/squad-creator-pro/utils/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/workflows/.gitkeep +1 -0
- package/pro/squads/squad-creator-pro/workflows/create-squad.yaml +348 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-discovery.yaml +16 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-integration.yaml +16 -0
- package/pro/squads/squad-creator-pro/workflows/modules/module-quality-gates.yaml +15 -0
- package/pro/squads/squad-creator-pro/workflows/validate-squad.yaml +582 -0
- package/pro/squads/squad-creator-pro/workflows/wf-auto-acquire-sources.yaml +518 -0
- package/pro/squads/squad-creator-pro/workflows/wf-brownfield-upgrade-squad.yaml +46 -0
- package/pro/squads/squad-creator-pro/workflows/wf-clone-mind.yaml +521 -0
- package/pro/squads/squad-creator-pro/workflows/wf-context-aware-create-squad.yaml +47 -0
- package/pro/squads/squad-creator-pro/workflows/wf-create-squad.yaml +1619 -0
- package/pro/squads/squad-creator-pro/workflows/wf-cross-provider-qualification.yaml +711 -0
- package/pro/squads/squad-creator-pro/workflows/wf-discover-tools.yaml +1439 -0
- package/pro/squads/squad-creator-pro/workflows/wf-extraction-pipeline.yaml +486 -0
- package/pro/squads/squad-creator-pro/workflows/wf-mind-research-loop.yaml +668 -0
- package/pro/squads/squad-creator-pro/workflows/wf-model-tier-qualification.yaml +800 -0
- package/pro/squads/squad-creator-pro/workflows/wf-optimize-squad.yaml +684 -0
- package/pro/squads/squad-creator-pro/workflows/wf-research-then-create-agent.yaml +921 -0
- package/pro/squads/squad-creator-pro/workflows/wf-squad-fusion.yaml +1684 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Integrate Design System with Workspace Structure
|
|
2
|
+
|
|
3
|
+
> Task ID: brad-ds-integrate-workspace
|
|
4
|
+
> Agent: Brad (Design System Architect)
|
|
5
|
+
> Version: 1.0.0
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
|
|
9
|
+
Align the design system with the workspace topology:
|
|
10
|
+
|
|
11
|
+
- `workspace/domains/design-system`
|
|
12
|
+
- `workspace/system`
|
|
13
|
+
- `workspace/ui`
|
|
14
|
+
|
|
15
|
+
This task creates clear boundaries for tokens, primitives, patterns, and product-ready components.
|
|
16
|
+
|
|
17
|
+
## Prerequisites
|
|
18
|
+
|
|
19
|
+
- Existing design squad setup (`squads/design`)
|
|
20
|
+
- Workspace directory available
|
|
21
|
+
- Tailwind v4 strategy defined (`@theme`)
|
|
22
|
+
- Decision on registry-first distribution (Shadcn model)
|
|
23
|
+
|
|
24
|
+
## Workflow
|
|
25
|
+
|
|
26
|
+
1. **Map Current State**
|
|
27
|
+
- Inventory token files, component files, and style utilities.
|
|
28
|
+
- Classify by role: token source, primitive, product UI.
|
|
29
|
+
|
|
30
|
+
2. **Create Target Workspace Structure**
|
|
31
|
+
- `workspace/domains/design-system/tokens/primitives`
|
|
32
|
+
- `workspace/domains/design-system/tokens/semantic`
|
|
33
|
+
- `workspace/domains/design-system/tokens/component`
|
|
34
|
+
- `workspace/domains/design-system/themes`
|
|
35
|
+
- `workspace/domains/design-system/metadata`
|
|
36
|
+
- `workspace/system/primitives`
|
|
37
|
+
- `workspace/system/patterns`
|
|
38
|
+
- `workspace/ui/components`
|
|
39
|
+
- `workspace/ui/blocks`
|
|
40
|
+
|
|
41
|
+
3. **Define Ownership Boundaries**
|
|
42
|
+
- `domains/design-system`: token truth and themes.
|
|
43
|
+
- `system`: reusable Radix/Shadcn primitives and patterns.
|
|
44
|
+
- `ui`: app-facing composed components and blocks.
|
|
45
|
+
|
|
46
|
+
4. **Wire Configuration**
|
|
47
|
+
- Add mapping files under `config/mappings/`:
|
|
48
|
+
- `colors.json`
|
|
49
|
+
- `spacing.json`
|
|
50
|
+
- `components.json`
|
|
51
|
+
- Ensure mappings are generated from tokens, not hardcoded.
|
|
52
|
+
|
|
53
|
+
5. **Integrate with Registry Flow**
|
|
54
|
+
- Place `registry.json` in `workspace/ui/`.
|
|
55
|
+
- Ensure component metadata references source paths and dependencies.
|
|
56
|
+
|
|
57
|
+
6. **Validation**
|
|
58
|
+
- Verify no circular dependencies between `domains`, `system`, and `ui`.
|
|
59
|
+
- Verify component imports only flow upward:
|
|
60
|
+
- `domains` -> `system` -> `ui`
|
|
61
|
+
- Validate with lint, typecheck, and tests.
|
|
62
|
+
|
|
63
|
+
7. **Documentation**
|
|
64
|
+
- Generate migration notes:
|
|
65
|
+
- old path -> new path
|
|
66
|
+
- rollback plan
|
|
67
|
+
- unresolved gaps
|
|
68
|
+
|
|
69
|
+
## Deliverables
|
|
70
|
+
|
|
71
|
+
- Workspace-aligned folder topology
|
|
72
|
+
- Token ownership boundaries documented
|
|
73
|
+
- Mapping config files added/updated
|
|
74
|
+
- `workspace/ui/registry.json` strategy in place
|
|
75
|
+
- Migration report with file move matrix
|
|
76
|
+
|
|
77
|
+
## Success Criteria
|
|
78
|
+
|
|
79
|
+
- [ ] Workspace layers are explicit and stable
|
|
80
|
+
- [ ] Token hierarchy is split (primitives/semantic/component)
|
|
81
|
+
- [ ] Registry flow resolves components from `workspace/ui`
|
|
82
|
+
- [ ] Import direction is deterministic (`domains` -> `system` -> `ui`)
|
|
83
|
+
- [ ] Migration steps documented and reproducible
|
|
84
|
+
|
|
85
|
+
## Notes
|
|
86
|
+
|
|
87
|
+
- Prefer configuration over hardcoded mappings.
|
|
88
|
+
- Keep token names stable to avoid migration churn.
|
|
89
|
+
- Treat workspace topology as architecture, not temporary structure.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## Related Checklists
|
|
93
|
+
|
|
94
|
+
- `squads/design/checklists/ds-component-quality-checklist.md`
|
|
95
|
+
- `squads/design/checklists/ds-pattern-audit-checklist.md`
|
|
96
|
+
|
|
97
|
+
## Process Guards
|
|
98
|
+
- **Execution Type:** `Hybrid`
|
|
99
|
+
- **Dependencies:** depends_on: `[]` · enables: `[]` · workflow: `design-system`
|
|
100
|
+
- **On Fail:** Stop execution, capture evidence, and return remediation steps before proceeding.
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
# Legacy System Modernization Playbook
|
|
2
|
+
|
|
3
|
+
> Task ID: ds-legacy-modernization
|
|
4
|
+
> Agent: Brad Frost + Design Chief
|
|
5
|
+
> Version: 1.0.0
|
|
6
|
+
> Heuristic: #15 - Legado é oportunidade massiva
|
|
7
|
+
|
|
8
|
+
## Description
|
|
9
|
+
|
|
10
|
+
Playbook para modernizar sistemas legados (CodeIgniter, Laravel, Rails, jQuery) para stacks modernas com design system.
|
|
11
|
+
|
|
12
|
+
**Princípio:** Migrar sistemas legados = produto de múltiplos 6 dígitos.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Value Proposition
|
|
17
|
+
|
|
18
|
+
| Legacy Stack | Migration Target | Market Value |
|
|
19
|
+
|--------------|------------------|--------------|
|
|
20
|
+
| CodeIgniter + Bootstrap 3 | Next.js + Tailwind + Shadcn | $50K-150K |
|
|
21
|
+
| Laravel Blade + jQuery | React + Design System | $80K-200K |
|
|
22
|
+
| Rails ERB + Sprockets | Next.js + Modern CSS | $100K-300K |
|
|
23
|
+
| WordPress + Custom Theme | Headless + Component Library | $30K-100K |
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Assessment Phase
|
|
28
|
+
|
|
29
|
+
### 1. Inventory
|
|
30
|
+
|
|
31
|
+
```yaml
|
|
32
|
+
assessment:
|
|
33
|
+
codebase:
|
|
34
|
+
total_files: number
|
|
35
|
+
ui_files: number
|
|
36
|
+
css_files: number
|
|
37
|
+
js_files: number
|
|
38
|
+
|
|
39
|
+
patterns:
|
|
40
|
+
inline_styles: count
|
|
41
|
+
hardcoded_colors: count
|
|
42
|
+
duplicated_components: count
|
|
43
|
+
accessibility_issues: count
|
|
44
|
+
|
|
45
|
+
dependencies:
|
|
46
|
+
framework: string
|
|
47
|
+
css_framework: string
|
|
48
|
+
js_libraries: array
|
|
49
|
+
build_tool: string
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 2. Complexity Score
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
Score = (UI files × 0.3) + (Inline styles × 0.2) + (Duplications × 0.3) + (A11y issues × 0.2)
|
|
56
|
+
|
|
57
|
+
Low: 0-100 → 2-4 weeks
|
|
58
|
+
Medium: 100-500 → 1-3 months
|
|
59
|
+
High: 500+ → 3-6 months
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### 3. Risk Matrix
|
|
63
|
+
|
|
64
|
+
| Risk | Impact | Mitigation |
|
|
65
|
+
|------|--------|------------|
|
|
66
|
+
| Breaking existing flows | HIGH | Feature flags + gradual rollout |
|
|
67
|
+
| Data loss | CRITICAL | Backup + rollback plan |
|
|
68
|
+
| Performance regression | MEDIUM | Benchmark before/after |
|
|
69
|
+
| Team unfamiliarity | MEDIUM | Training + documentation |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Migration Strategies
|
|
74
|
+
|
|
75
|
+
### Strategy A: Big Bang (Greenfield Rebuild)
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
✅ When to use:
|
|
79
|
+
- Codebase is small (<50 UI files)
|
|
80
|
+
- Team has capacity for full rebuild
|
|
81
|
+
- Business can tolerate downtime
|
|
82
|
+
|
|
83
|
+
❌ When to avoid:
|
|
84
|
+
- Large codebase
|
|
85
|
+
- Critical system with SLAs
|
|
86
|
+
- Limited team bandwidth
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Strategy B: Strangler Fig (Gradual)
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
✅ When to use:
|
|
93
|
+
- Large codebase
|
|
94
|
+
- Can't afford downtime
|
|
95
|
+
- Need to maintain features during migration
|
|
96
|
+
|
|
97
|
+
Approach:
|
|
98
|
+
1. New features in new stack
|
|
99
|
+
2. Wrap legacy in adapter
|
|
100
|
+
3. Migrate page by page
|
|
101
|
+
4. Sunset legacy when empty
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Strategy C: Component Islands
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
✅ When to use:
|
|
108
|
+
- Mixed team (legacy + modern skills)
|
|
109
|
+
- Partial modernization acceptable
|
|
110
|
+
- Budget constraints
|
|
111
|
+
|
|
112
|
+
Approach:
|
|
113
|
+
1. Identify high-value components
|
|
114
|
+
2. Rebuild only those in modern stack
|
|
115
|
+
3. Embed via Web Components or iframes
|
|
116
|
+
4. Leave low-value areas in legacy
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Execution Phases
|
|
122
|
+
|
|
123
|
+
### Phase 1: Foundation (Week 1-2)
|
|
124
|
+
|
|
125
|
+
```yaml
|
|
126
|
+
deliverables:
|
|
127
|
+
- Assessment report
|
|
128
|
+
- Migration strategy selection
|
|
129
|
+
- Token extraction from legacy CSS
|
|
130
|
+
- Design system setup
|
|
131
|
+
|
|
132
|
+
tasks:
|
|
133
|
+
- ds-audit-codebase
|
|
134
|
+
- ds-extract-tokens
|
|
135
|
+
- ds-setup-design-system
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Phase 2: Primitives (Week 3-4)
|
|
139
|
+
|
|
140
|
+
```yaml
|
|
141
|
+
deliverables:
|
|
142
|
+
- Button, Input, Card in new system
|
|
143
|
+
- Typography system
|
|
144
|
+
- Color system
|
|
145
|
+
- Spacing system
|
|
146
|
+
|
|
147
|
+
tasks:
|
|
148
|
+
- ds-build-component (×N)
|
|
149
|
+
- ds-sync-registry
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Phase 3: Patterns (Week 5-8)
|
|
153
|
+
|
|
154
|
+
```yaml
|
|
155
|
+
deliverables:
|
|
156
|
+
- Form patterns
|
|
157
|
+
- Layout patterns
|
|
158
|
+
- Navigation patterns
|
|
159
|
+
- Feedback patterns
|
|
160
|
+
|
|
161
|
+
tasks:
|
|
162
|
+
- ds-compose-molecule (×N)
|
|
163
|
+
- ds-consolidate-patterns
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Phase 4: Pages (Week 9-12)
|
|
167
|
+
|
|
168
|
+
```yaml
|
|
169
|
+
deliverables:
|
|
170
|
+
- High-traffic pages migrated
|
|
171
|
+
- Feature parity verified
|
|
172
|
+
- A11y audit passed
|
|
173
|
+
|
|
174
|
+
tasks:
|
|
175
|
+
- Page migration (per page)
|
|
176
|
+
- a11y-audit
|
|
177
|
+
- ds-govern-a11y-compliance
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Phase 5: Cleanup (Week 13+)
|
|
181
|
+
|
|
182
|
+
```yaml
|
|
183
|
+
deliverables:
|
|
184
|
+
- Legacy code removed
|
|
185
|
+
- Documentation updated
|
|
186
|
+
- Team trained
|
|
187
|
+
|
|
188
|
+
tasks:
|
|
189
|
+
- Legacy sunset
|
|
190
|
+
- Documentation
|
|
191
|
+
- Training sessions
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## VPAT Generation (Bonus Value)
|
|
197
|
+
|
|
198
|
+
VPAT (Voluntary Product Accessibility Template) = documento que prova compliance de acessibilidade.
|
|
199
|
+
|
|
200
|
+
**Market Value:** $50K-200K por documento
|
|
201
|
+
|
|
202
|
+
### VPAT Automation Workflow
|
|
203
|
+
|
|
204
|
+
1. Run `ds-govern-a11y-compliance` on all components
|
|
205
|
+
2. Map results to WCAG criteria
|
|
206
|
+
3. Generate VPAT document
|
|
207
|
+
4. Human review for edge cases
|
|
208
|
+
|
|
209
|
+
```yaml
|
|
210
|
+
vpat_output:
|
|
211
|
+
criteria_covered: 86
|
|
212
|
+
criteria_passed: 82
|
|
213
|
+
criteria_partial: 4
|
|
214
|
+
criteria_failed: 0
|
|
215
|
+
overall_conformance: "AA"
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Pricing Model
|
|
221
|
+
|
|
222
|
+
```yaml
|
|
223
|
+
pricing_tiers:
|
|
224
|
+
assessment_only:
|
|
225
|
+
deliverables: ["Assessment report", "Migration recommendation"]
|
|
226
|
+
price_range: "$5K-15K"
|
|
227
|
+
timeline: "1-2 weeks"
|
|
228
|
+
|
|
229
|
+
foundation_package:
|
|
230
|
+
deliverables: ["Assessment", "Design system setup", "Token extraction", "5 core components"]
|
|
231
|
+
price_range: "$25K-50K"
|
|
232
|
+
timeline: "4-6 weeks"
|
|
233
|
+
|
|
234
|
+
full_migration:
|
|
235
|
+
deliverables: ["Everything above", "Full page migration", "A11y compliance", "Documentation"]
|
|
236
|
+
price_range: "$80K-300K"
|
|
237
|
+
timeline: "3-6 months"
|
|
238
|
+
|
|
239
|
+
vpat_addon:
|
|
240
|
+
deliverables: ["VPAT document", "Remediation report"]
|
|
241
|
+
price_range: "$15K-50K"
|
|
242
|
+
timeline: "2-4 weeks"
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## Veto Conditions
|
|
248
|
+
|
|
249
|
+
- [ ] No budget approved
|
|
250
|
+
- [ ] No executive sponsor
|
|
251
|
+
- [ ] Legacy system has no documentation AND no original developers
|
|
252
|
+
- [ ] Migration timeline is unrealistic (<50% of estimated)
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## Quality Gates
|
|
257
|
+
|
|
258
|
+
- [ ] Assessment score calculated
|
|
259
|
+
- [ ] Strategy selected with justification
|
|
260
|
+
- [ ] Phase deliverables defined
|
|
261
|
+
|
|
262
|
+
## Output
|
|
263
|
+
|
|
264
|
+
- `outputs/design-system/{project}/legacy/assessment-report.md`
|
|
265
|
+
- `outputs/design-system/{project}/legacy/migration-strategy.md`
|
|
266
|
+
- `outputs/design-system/{project}/legacy/migration-roadmap.md`
|
|
267
|
+
- `outputs/design-system/{project}/legacy/risk-matrix.md`
|
|
268
|
+
|
|
269
|
+
## Related Checklists
|
|
270
|
+
|
|
271
|
+
- `squads/design/checklists/ds-migration-readiness-checklist.md`
|
|
272
|
+
- `squads/design/checklists/ds-accessibility-wcag-checklist.md`
|
|
273
|
+
- [ ] Rollback plan documented
|
|
274
|
+
- [ ] Success metrics defined
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## Success Metrics
|
|
279
|
+
|
|
280
|
+
| Metric | Target |
|
|
281
|
+
|--------|--------|
|
|
282
|
+
| Page load time | -50% |
|
|
283
|
+
| Bundle size | -40% |
|
|
284
|
+
| A11y score | 95+ |
|
|
285
|
+
| Component reuse | 80%+ |
|
|
286
|
+
| Developer velocity | +100% |
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
*Task criada: 2026-02-16*
|
|
291
|
+
*Squad: Design*
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
## Process Guards
|
|
295
|
+
- **Execution Type:** `Hybrid`
|
|
296
|
+
- **Dependencies:** depends_on: `[]` · enables: `[]` · workflow: `design-system`
|
|
297
|
+
- **On Fail:** Stop execution, capture evidence, and return remediation steps before proceeding.
|
|
298
|
+
|
|
299
|
+
## Success Criteria
|
|
300
|
+
- [ ] Output artifact(s) generated and referenced.
|
|
301
|
+
- [ ] Validation checks executed with evidence.
|
|
302
|
+
- [ ] Next-step dependencies documented.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# MCP Server Status Check
|
|
2
|
+
|
|
3
|
+
> Task ID: brad-ds-mcp-status
|
|
4
|
+
> Agent: Brad Frost (Design System Architect)
|
|
5
|
+
> Version: 1.0.0
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
|
|
9
|
+
Report the current status of the Design System MCP server: tools available, data sources loaded, and health.
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
- MCP server exists at `workspace/domains/design-system/mcp/`
|
|
14
|
+
|
|
15
|
+
## Workflow
|
|
16
|
+
|
|
17
|
+
1. **Read Config**
|
|
18
|
+
- Load `mcp/config.json` for declared tools and data sources
|
|
19
|
+
|
|
20
|
+
2. **Verify Data Sources**
|
|
21
|
+
- Check each data source file exists and is valid JSON
|
|
22
|
+
- Report: file path, exists (Y/N), record count
|
|
23
|
+
|
|
24
|
+
3. **Verify Handlers**
|
|
25
|
+
- Check each handler file exists: components.ts, registry.ts, tokens.ts, guidelines.ts
|
|
26
|
+
|
|
27
|
+
4. **List Tools**
|
|
28
|
+
- Report all tool names with descriptions from server.ts TOOL_DEFINITIONS
|
|
29
|
+
|
|
30
|
+
5. **Run Validation Scripts**
|
|
31
|
+
- `node squads/design/scripts/design-system/validate_mcp_skeleton.cjs`
|
|
32
|
+
- `node squads/design/scripts/design-system/test_mcp_tools.cjs`
|
|
33
|
+
|
|
34
|
+
6. **Generate Status Report**
|
|
35
|
+
```
|
|
36
|
+
MCP Server: design-system-mcp v1.0.0
|
|
37
|
+
Status: HEALTHY | DEGRADED | DOWN
|
|
38
|
+
|
|
39
|
+
Tools: 8/8 operational
|
|
40
|
+
Data Sources: 4/4 loaded
|
|
41
|
+
Handlers: 4/4 present
|
|
42
|
+
|
|
43
|
+
Last validation: PASS/FAIL
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Deliverables
|
|
47
|
+
|
|
48
|
+
- Status report with tool list and data source health
|
|
49
|
+
|
|
50
|
+
## Success Criteria
|
|
51
|
+
|
|
52
|
+
- [ ] All tools listed with status
|
|
53
|
+
- [ ] All data sources verified
|
|
54
|
+
- [ ] Validation scripts pass
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## Related Checklists
|
|
58
|
+
|
|
59
|
+
- `squads/design/checklists/ds-component-quality-checklist.md`
|
|
60
|
+
- `squads/design/checklists/ds-pattern-audit-checklist.md`
|
|
61
|
+
|
|
62
|
+
## Process Guards
|
|
63
|
+
- **Execution Type:** `Hybrid`
|
|
64
|
+
- **Dependencies:** depends_on: `[]` · enables: `[]` · workflow: `design-system`
|
|
65
|
+
- **On Fail:** Stop execution, capture evidence, and return remediation steps before proceeding.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# Audit Animations, Transitions & Motion Tokens
|
|
2
|
+
|
|
3
|
+
> Task ID: brad-motion-audit
|
|
4
|
+
> Agent: Brad (Design System Architect)
|
|
5
|
+
> Version: 1.1.0
|
|
6
|
+
> v4.0-compatible: true
|
|
7
|
+
> **Execution Type:** `Agent`
|
|
8
|
+
> **Dependencies:** depends_on: `[]` · enables: `[]` · workflow: `motion`
|
|
9
|
+
|
|
10
|
+
## Description
|
|
11
|
+
|
|
12
|
+
Extract all CSS transition/animation values and JS animation calls from the codebase. Extract motion values into token candidates, check prefers-reduced-motion compliance, and validate against motion token best practices. **v4.1: Enriched with Val Head's 5-purpose framework — every animation evaluated for purpose (orient, direct, causality, feedback, brand). Custom easing curve audit included.**
|
|
13
|
+
|
|
14
|
+
## Prerequisites
|
|
15
|
+
|
|
16
|
+
- Codebase with UI components
|
|
17
|
+
- Read data/motion-tokens-guide.md for token standards
|
|
18
|
+
- Val Head DNA: Apply 5-purpose test to every animation found
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
|
|
22
|
+
### Interactive Elicitation
|
|
23
|
+
|
|
24
|
+
1. **Gather Parameters**
|
|
25
|
+
- Scan path
|
|
26
|
+
- Animation libraries in use (framer-motion, GSAP, CSS only, etc.)
|
|
27
|
+
- Output directory
|
|
28
|
+
|
|
29
|
+
### Steps
|
|
30
|
+
|
|
31
|
+
1. **Grep CSS transition, animation, and @keyframes Declarations**
|
|
32
|
+
- Find all `transition` properties with values
|
|
33
|
+
- Find all `animation` / `@keyframes` declarations
|
|
34
|
+
- Find all `transform` usage in transitions
|
|
35
|
+
- Extract duration and easing values with file:line references
|
|
36
|
+
- Check: extracted CSS animation count >= 0 AND each has file:line reference — log "Found {N} CSS animation values across {F} files"
|
|
37
|
+
|
|
38
|
+
2. **Grep framer-motion, GSAP, and Web Animations API Calls**
|
|
39
|
+
- Find framer-motion usage (animate, variants, transition props)
|
|
40
|
+
- Find GSAP usage (gsap.to, gsap.from, timeline)
|
|
41
|
+
- Find Web Animations API usage
|
|
42
|
+
- Find requestAnimationFrame patterns
|
|
43
|
+
- Extract duration/easing values
|
|
44
|
+
- Check: extracted JS animation count >= 0 AND each has file:line reference — log "Found {N} JS animation values across {F} files"
|
|
45
|
+
|
|
46
|
+
3. **Check prefers-reduced-motion**
|
|
47
|
+
- Search for @media (prefers-reduced-motion) queries
|
|
48
|
+
- Check coverage: every animated element should have reduced-motion handling
|
|
49
|
+
- Flag animations without reduced-motion fallback
|
|
50
|
+
- Categorize: which animations are reduced vs. removed
|
|
51
|
+
- Check: coverage = (elements with reduced-motion / total animated elements) * 100 — log "prefers-reduced-motion coverage: {pct}% ({covered}/{total})"
|
|
52
|
+
|
|
53
|
+
4. **Extract Motion Token Candidates**
|
|
54
|
+
- Cluster similar duration values (e.g., 180ms, 200ms, 220ms → normalize to 200ms)
|
|
55
|
+
- Cluster similar easing curves
|
|
56
|
+
- Map to standard motion token scale (instant/fast/normal/moderate/slow/deliberate)
|
|
57
|
+
- Identify semantic motion patterns (enter, exit, expand, collapse)
|
|
58
|
+
- Check: token candidate count > 0 AND each has usage count and semantic name — log "{N} motion token candidates extracted from {total} raw values"
|
|
59
|
+
|
|
60
|
+
5. **Generate Motion Audit Report**
|
|
61
|
+
- Total animations found
|
|
62
|
+
- Duration/easing value inventory with redundancy metrics
|
|
63
|
+
- prefers-reduced-motion coverage (% and gaps)
|
|
64
|
+
- Token recommendations
|
|
65
|
+
- Seizure risk check (>3 flashes/second)
|
|
66
|
+
- Update .state.yaml
|
|
67
|
+
|
|
68
|
+
## Output
|
|
69
|
+
|
|
70
|
+
- `motion-audit-report.md` — Full audit with findings
|
|
71
|
+
- `motion-token-candidates.json` — Proposed token values
|
|
72
|
+
- `reduced-motion-gaps.md` — Components missing prefers-reduced-motion
|
|
73
|
+
- `.state.yaml` updated
|
|
74
|
+
|
|
75
|
+
## Val Head 5-Purpose Evaluation (v4.1)
|
|
76
|
+
|
|
77
|
+
For every animation found, evaluate against:
|
|
78
|
+
1. **Orient** — Does it help users understand spatial relationships?
|
|
79
|
+
2. **Direct Attention** — Does it guide focus to important changes?
|
|
80
|
+
3. **Show Causality** — Does it show cause-and-effect?
|
|
81
|
+
4. **Provide Feedback** — Does it confirm user actions?
|
|
82
|
+
5. **Express Brand** — Does it communicate brand personality?
|
|
83
|
+
|
|
84
|
+
Animations failing ALL 5 purposes should be flagged for removal.
|
|
85
|
+
|
|
86
|
+
### Easing Audit
|
|
87
|
+
- Flag use of CSS defaults (ease, ease-in-out, linear) — recommend custom curves
|
|
88
|
+
- Check if custom easing curves reflect brand personality
|
|
89
|
+
- Evaluate if easing matches interaction type (ease-out for enters, ease-in for exits)
|
|
90
|
+
|
|
91
|
+
### UI Choreography Check
|
|
92
|
+
- Do animations feel like "siblings" (coherent family)?
|
|
93
|
+
- Or like "strangers" (disconnected, random)?
|
|
94
|
+
- Flag inconsistent motion character across components
|
|
95
|
+
|
|
96
|
+
## Failure Handling
|
|
97
|
+
|
|
98
|
+
- **No CSS animations found in codebase:** Verify scan path includes style files (.css, .scss, .tsx). If truly zero, report "No CSS animations detected — motion token extraction skipped"
|
|
99
|
+
- **Animation library not detected (framer-motion, GSAP):** Skip JS animation scan, note "JS animations: N/A — no animation library detected"
|
|
100
|
+
- **prefers-reduced-motion scan returns zero queries:** Flag as critical gap "Zero prefers-reduced-motion coverage — all animated elements at risk"
|
|
101
|
+
- **Motion token clustering produces zero candidates:** Lower clustering threshold and retry. If still zero, report raw values without token recommendations
|
|
102
|
+
|
|
103
|
+
## Success Criteria
|
|
104
|
+
|
|
105
|
+
- All animation values catalogued with source references
|
|
106
|
+
- prefers-reduced-motion coverage assessed (Val Head: "reduced motion, not no motion")
|
|
107
|
+
- Token candidates reduce value redundancy by >60%
|
|
108
|
+
- Zero seizure risk issues
|
|
109
|
+
- Every animation has at least one of 5 purposes identified
|
|
110
|
+
- CSS default easings flagged for replacement with custom curves
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## Related Checklists
|
|
114
|
+
|
|
115
|
+
- `squads/design/checklists/ds-component-quality-checklist.md`
|
|
116
|
+
|
|
117
|
+
## Process Guards
|
|
118
|
+
- **On Fail:** Stop execution, capture evidence, and return remediation steps before proceeding.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Design Web Components Strategy for Multi-Framework DS
|
|
2
|
+
|
|
3
|
+
> Task ID: brad-multi-framework
|
|
4
|
+
> Agent: Brad (Design System Architect)
|
|
5
|
+
> Version: 1.0.0
|
|
6
|
+
> **Execution Type:** `Agent`
|
|
7
|
+
> **Dependencies:** depends_on: `[]` · enables: `[]` · workflow: `multi-framework`
|
|
8
|
+
|
|
9
|
+
## Description
|
|
10
|
+
|
|
11
|
+
Design a strategy to make your design system work across multiple frameworks (React, Vue, Angular, Svelte) using Web Components as the interop layer. Evaluates current framework coupling, assesses Web Components viability, and creates a migration path.
|
|
12
|
+
|
|
13
|
+
## Prerequisites
|
|
14
|
+
|
|
15
|
+
- Existing DS in at least one framework
|
|
16
|
+
- Read data/ds-reference-architectures.md for multi-framework patterns
|
|
17
|
+
|
|
18
|
+
## Workflow
|
|
19
|
+
|
|
20
|
+
### Interactive Elicitation
|
|
21
|
+
|
|
22
|
+
1. **Gather Parameters**
|
|
23
|
+
- Current framework(s) in use
|
|
24
|
+
- Target frameworks to support
|
|
25
|
+
- Component count and complexity
|
|
26
|
+
- Performance requirements
|
|
27
|
+
|
|
28
|
+
2. **Strategy Selection**
|
|
29
|
+
- **Lit** — Google's Web Components library, lightweight, reactive
|
|
30
|
+
- **StencilJS** — Ionic's compiler, generates framework wrappers automatically
|
|
31
|
+
- **Vanilla Web Components** — No library, maximum control, more boilerplate
|
|
32
|
+
- Recommend based on team size and target frameworks
|
|
33
|
+
|
|
34
|
+
### Steps
|
|
35
|
+
|
|
36
|
+
1. **Assess Current Framework Coupling**
|
|
37
|
+
- Identify framework-specific patterns (React hooks, Vue composables, Angular services)
|
|
38
|
+
- Separate pure logic from framework-specific rendering
|
|
39
|
+
- Identify components that are framework-agnostic vs. tightly coupled
|
|
40
|
+
- Check: each component has coupling score (framework-agnostic / tightly-coupled) AND migration difficulty rating — log "{agnostic} agnostic, {coupled} coupled components"
|
|
41
|
+
|
|
42
|
+
2. **Design Web Components Architecture**
|
|
43
|
+
- Define component API surface (attributes, properties, events, slots)
|
|
44
|
+
- Plan styling strategy (CSS custom properties, shadow DOM, light DOM)
|
|
45
|
+
- Define custom element naming convention ({prefix}-{component})
|
|
46
|
+
- Plan server-side rendering approach (declarative shadow DOM)
|
|
47
|
+
- Check: architecture defines API surface (attributes, properties, events, slots) AND styling strategy documented — abort with "Architecture missing: {missing section}"
|
|
48
|
+
|
|
49
|
+
3. **Create Framework Wrappers**
|
|
50
|
+
- React wrapper: handle synthetic events, ref forwarding, prop mapping
|
|
51
|
+
- Vue wrapper: v-model support, event mapping, slot forwarding
|
|
52
|
+
- Angular wrapper: NgModule/standalone, input/output binding
|
|
53
|
+
- Check: wrapper exists for each target framework AND handles events + refs + props — abort with "Wrapper missing or incomplete for: {framework}"
|
|
54
|
+
|
|
55
|
+
4. **Build Proof-of-Concept Component**
|
|
56
|
+
- Select a medium-complexity component (e.g., Select, Dialog, Tabs)
|
|
57
|
+
- Implement as Web Component with chosen library
|
|
58
|
+
- Generate wrappers for each target framework
|
|
59
|
+
- Test in each framework's development environment
|
|
60
|
+
- Check: PoC component renders AND passes same test suite in each target framework — abort with "PoC failed in: {framework}: {error}"
|
|
61
|
+
|
|
62
|
+
5. **Create Migration Path**
|
|
63
|
+
- Phase 1: New components built as Web Components
|
|
64
|
+
- Phase 2: High-reuse existing components migrated
|
|
65
|
+
- Phase 3: Framework-specific components gradually replaced
|
|
66
|
+
- Check: migration plan has 3 phases AND component priority list with migration order — abort with "Migration plan incomplete: {missing section}"
|
|
67
|
+
|
|
68
|
+
## Output
|
|
69
|
+
|
|
70
|
+
- `multi-framework-strategy.md` — Architecture and decision documentation
|
|
71
|
+
- `poc/{component}/` — Proof-of-concept Web Component + framework wrappers
|
|
72
|
+
- `migration-plan.md` — Phased migration with component priorities
|
|
73
|
+
- `.state.yaml` updated
|
|
74
|
+
|
|
75
|
+
## Failure Handling
|
|
76
|
+
|
|
77
|
+
- **Web Component library incompatible with target framework:** If chosen library (Lit/Stencil/Vanilla) fails to render or causes runtime errors in one of the target frameworks, document the failure, test with alternate library, and recommend library switch if issue persists
|
|
78
|
+
- **Shadow DOM breaks framework styling:** If shadow DOM encapsulation prevents framework's CSS-in-JS or scoped styles from applying, switch strategy to light DOM with CSS custom properties for theming, document trade-offs in multi-framework-strategy.md
|
|
79
|
+
- **SSR/SSG not supported in target framework:** If framework requires server-side rendering (Next.js, Nuxt) but Web Components cause hydration errors or are not SSR-compatible, implement declarative shadow DOM polyfill or defer component initialization to client-side, note limitation in migration-plan.md
|
|
80
|
+
- **Framework wrapper overhead exceeds 5KB:** If wrapper code for React/Vue/Angular is too large (e.g., event mapping complexity, prop transformation), refactor to minimize wrapper logic, move complexity into Web Component itself, and re-measure — if still over threshold, document performance impact and suggest tree-shaking optimization
|
|
81
|
+
|
|
82
|
+
## Success Criteria
|
|
83
|
+
|
|
84
|
+
- PoC component works identically in all target frameworks
|
|
85
|
+
- Wrapper overhead < 2KB per framework
|
|
86
|
+
- No functionality loss compared to framework-native implementation
|
|
87
|
+
- Clear migration path with prioritized component list
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## Related Checklists
|
|
91
|
+
|
|
92
|
+
- `squads/design/checklists/ds-component-quality-checklist.md`
|
|
93
|
+
- `squads/design/checklists/ds-pattern-audit-checklist.md`
|
|
94
|
+
|
|
95
|
+
## Process Guards
|
|
96
|
+
- **On Fail:** Stop execution, capture evidence, and return remediation steps before proceeding.
|