@mytechtoday/augment-extensions 3.1.2 → 3.3.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/AGENTS.md +127 -0
- package/README.md +1050 -32
- package/augment-extensions/coding-standards/java/CHANGELOG.md +12 -0
- package/augment-extensions/coding-standards/java/README.md +54 -0
- package/augment-extensions/coding-standards/java/examples/SearchRequest.java +13 -0
- package/augment-extensions/coding-standards/java/metadata.json +36 -0
- package/augment-extensions/coding-standards/java/module.json +35 -0
- package/augment-extensions/coding-standards/java/rules/language-and-api-design.md +45 -0
- package/augment-extensions/coding-standards/java/rules/reliability-and-concurrency.md +43 -0
- package/augment-extensions/coding-standards/java/rules/testing-tooling-and-security.md +39 -0
- package/augment-extensions/coding-standards/q/CHANGELOG.md +16 -0
- package/augment-extensions/coding-standards/q/README.md +53 -0
- package/augment-extensions/coding-standards/q/examples/ArrayAndTupleNamingConventions.qs +27 -0
- package/augment-extensions/coding-standards/q/examples/CallableAliasNamingConventions.qs +20 -0
- package/augment-extensions/coding-standards/q/examples/CircuitCompositionNamingConventions.qs +24 -0
- package/augment-extensions/coding-standards/q/examples/ConstantValueNamingConventions.qs +19 -0
- package/augment-extensions/coding-standards/q/examples/EntryPointAttributeNamingConventions.qs +17 -0
- package/augment-extensions/coding-standards/q/examples/FunctorApplicationInControlledCircuits.qs +84 -0
- package/augment-extensions/coding-standards/q/examples/FunctorSpecializationNamingConventions.qs +29 -0
- package/augment-extensions/coding-standards/q/examples/GenericTypeParameterNamingConventions.qs +20 -0
- package/augment-extensions/coding-standards/q/examples/HamiltonianOperatorNamingConventions.qs +24 -0
- package/augment-extensions/coding-standards/q/examples/MeasurementResultNamingConventions.qs +48 -0
- package/augment-extensions/coding-standards/q/examples/NamespaceNamingConventions.qs +30 -0
- package/augment-extensions/coding-standards/q/examples/OperationAndFunctionNamingConventions.qs +31 -0
- package/augment-extensions/coding-standards/q/examples/OracleCallableNamingConventions.qs +41 -0
- package/augment-extensions/coding-standards/q/examples/PauliBasisNamingConventions.qs +42 -0
- package/augment-extensions/coding-standards/q/examples/PauliOperatorNamingConventions.qs +24 -0
- package/augment-extensions/coding-standards/q/examples/QubitManagementAndTeleportation.qs +94 -0
- package/augment-extensions/coding-standards/q/examples/QubitNamingConventions.qs +53 -0
- package/augment-extensions/coding-standards/q/examples/QubitRegisterNamingConventions.qs +30 -0
- package/augment-extensions/coding-standards/q/examples/StateVectorNamingConventions.qs +23 -0
- package/augment-extensions/coding-standards/q/examples/UserDefinedTypeNamingConventions.qs +22 -0
- package/augment-extensions/coding-standards/q/examples/VariableAndParameterNamingConventions.qs +26 -0
- package/augment-extensions/coding-standards/q/examples/bell-state.qs +21 -0
- package/augment-extensions/coding-standards/q/metadata.json +38 -0
- package/augment-extensions/coding-standards/q/module.json +29 -0
- package/augment-extensions/coding-standards/q/rules/q-error-handling.md +143 -0
- package/augment-extensions/coding-standards/q/rules/q-naming-conventions.md +82 -0
- package/augment-extensions/coding-standards/q/rules/q-performance-optimization.md +10 -0
- package/augment-extensions/coding-standards/q/rules/q-qubit-management.md +10 -0
- package/augment-extensions/coding-standards/q/rules/q-security.md +10 -0
- package/augment-extensions/coding-standards/q/rules/q-standards.md +127 -0
- package/augment-extensions/coding-standards/q/rules/q-testing.md +10 -0
- package/augment-extensions/coding-standards/spring/CHANGELOG.md +12 -0
- package/augment-extensions/coding-standards/spring/README.md +61 -0
- package/augment-extensions/coding-standards/spring/examples/OrderController.java +40 -0
- package/augment-extensions/coding-standards/spring/metadata.json +39 -0
- package/augment-extensions/coding-standards/spring/module.json +38 -0
- package/augment-extensions/coding-standards/spring/rules/beans-configuration-and-boot.md +39 -0
- package/augment-extensions/coding-standards/spring/rules/data-testing-and-transactions.md +36 -0
- package/augment-extensions/coding-standards/spring/rules/production-operations.md +40 -0
- package/augment-extensions/coding-standards/spring/rules/web-apis-and-security.md +43 -0
- package/augment-extensions/visual-design/CHANGELOG.md +2 -2
- package/augment-extensions/visual-design/README.md +31 -8
- package/augment-extensions/visual-design/VERSION +1 -0
- package/augment-extensions/visual-design/__tests__/README.md +32 -18
- package/augment-extensions/visual-design/__tests__/guidance-contract.test.ts +355 -0
- package/augment-extensions/visual-design/__tests__/vendor-styles.test.ts +23 -5
- package/augment-extensions/visual-design/domains/other/dotnet-application.ts +1 -1
- package/augment-extensions/visual-design/domains/other/mobile-application.ts +3 -4
- package/augment-extensions/visual-design/domains/other/os-application.ts +1 -1
- package/augment-extensions/visual-design/domains/other/windows-platform.ts +1 -1
- package/augment-extensions/visual-design/domains/web-page-styles/amazon-cloudscape.ts +4 -4
- package/augment-extensions/visual-design/domains/web-page-styles/google-modern.ts +10 -10
- package/augment-extensions/visual-design/domains/web-page-styles/microsoft-fluent.ts +3 -3
- package/augment-extensions/visual-design/examples/README.md +2 -0
- package/augment-extensions/visual-design/examples/basic-usage.md +5 -3
- package/augment-extensions/visual-design/examples/vendor-comparison.md +2 -2
- package/augment-extensions/visual-design/guidelines/coverage-map.md +30 -0
- package/augment-extensions/visual-design/guidelines/design-levels.md +211 -0
- package/augment-extensions/visual-design/guidelines/index.md +5 -0
- package/augment-extensions/visual-design/metadata.json +26 -5
- package/augment-extensions/visual-design/module.json +39 -6
- package/augment-extensions/visual-design/rules/accessibility-and-color.md +51 -0
- package/augment-extensions/visual-design/rules/design-practice.md +55 -0
- package/augment-extensions/visual-design/rules/index.md +34 -0
- package/augment-extensions/visual-design/rules/platform-guidance.md +47 -0
- package/augment-extensions/visual-design/scripts/validate-guidance.cjs +233 -0
- package/augment-extensions/visual-design/skills/README.md +11 -0
- package/augment-extensions/visual-design/skills/design-brief.md +40 -0
- package/augment-extensions/visual-design/skills/design-review.md +38 -0
- package/augment-extensions/visual-design/skills/responsive-validation/SKILL.md +94 -0
- package/augment-extensions/visual-design/skills/responsive-validation/scripts/responsive-sweep.cjs +457 -0
- package/augment-extensions/visual-design/style-selector.ts +4 -4
- package/augment-extensions/visual-design/types.ts +101 -46
- package/augment-extensions/visual-design/visual-design-core.ts +8 -8
- package/augment-extensions/workflows/agent-engineering/README.md +67 -0
- package/augment-extensions/workflows/agent-engineering/examples/contracts.cjs +89 -0
- package/augment-extensions/workflows/agent-engineering/examples/demo.cjs +17 -0
- package/augment-extensions/workflows/agent-engineering/examples/evaluation-cases.json +7 -0
- package/augment-extensions/workflows/agent-engineering/examples/graphs.cjs +149 -0
- package/augment-extensions/workflows/agent-engineering/examples/loop.cjs +125 -0
- package/augment-extensions/workflows/agent-engineering/examples/recovery.cjs +51 -0
- package/augment-extensions/workflows/agent-engineering/examples/stub.cjs +11 -0
- package/augment-extensions/workflows/agent-engineering/examples/verify.cjs +21 -0
- package/augment-extensions/workflows/agent-engineering/module.json +24 -0
- package/augment-extensions/workflows/agent-engineering/rules/01-adoption.md +30 -0
- package/augment-extensions/workflows/agent-engineering/rules/02-agents.md +34 -0
- package/augment-extensions/workflows/agent-engineering/rules/03-contracts.md +34 -0
- package/augment-extensions/workflows/agent-engineering/rules/04-loops.md +39 -0
- package/augment-extensions/workflows/agent-engineering/rules/05-graphs.md +39 -0
- package/augment-extensions/workflows/agent-engineering/rules/06-improvement.md +38 -0
- package/augment-extensions/workflows/agent-engineering/schemas/contracts.schema.json +1 -0
- package/augment-extensions/workflows/agent-engineering/scripts/validate.cjs +32 -0
- package/augment-extensions/workflows/agent-engineering/sources.md +12 -0
- package/augment-extensions/workflows/agent-engineering/templates/agent.json +40 -0
- package/augment-extensions/workflows/agent-engineering/templates/check-tool.json +94 -0
- package/augment-extensions/workflows/agent-engineering/templates/evidence.json +29 -0
- package/augment-extensions/workflows/agent-engineering/templates/invocation.json +40 -0
- package/augment-extensions/workflows/agent-engineering/templates/node.json +27 -0
- package/augment-extensions/workflows/agent-engineering/templates/state.json +27 -0
- package/augment-extensions/workflows/agent-engineering/templates/task.json +40 -0
- package/augment-extensions/workflows/agent-engineering/templates/tool.json +52 -0
- package/augment-extensions/workflows/decision-layer/README.md +136 -0
- package/augment-extensions/workflows/decision-layer/examples/call-inventory.json +6 -0
- package/augment-extensions/workflows/decision-layer/examples/config.json +9 -0
- package/augment-extensions/workflows/decision-layer/examples/decision.json +13 -0
- package/augment-extensions/workflows/decision-layer/examples/labeled-cases.json +410 -0
- package/augment-extensions/workflows/decision-layer/examples/source.txt +3 -0
- package/augment-extensions/workflows/decision-layer/examples/task.json +8 -0
- package/augment-extensions/workflows/decision-layer/installation/package-lock.json +27 -0
- package/augment-extensions/workflows/decision-layer/installation/package.json +7 -0
- package/augment-extensions/workflows/decision-layer/installation/sources.json +18 -0
- package/augment-extensions/workflows/decision-layer/module.json +24 -0
- package/augment-extensions/workflows/decision-layer/rules/00-index.md +5 -0
- package/augment-extensions/workflows/decision-layer/rules/01-responsibilities.md +15 -0
- package/augment-extensions/workflows/decision-layer/rules/02-operation.md +13 -0
- package/augment-extensions/workflows/decision-layer/runtime/cli.cjs +70 -0
- package/augment-extensions/workflows/decision-layer/runtime/common.cjs +85 -0
- package/augment-extensions/workflows/decision-layer/runtime/contracts.d.ts +8 -0
- package/augment-extensions/workflows/decision-layer/runtime/decisions.cjs +198 -0
- package/augment-extensions/workflows/decision-layer/runtime/evaluate.cjs +61 -0
- package/augment-extensions/workflows/decision-layer/runtime/install.cjs +186 -0
- package/augment-extensions/workflows/decision-layer/runtime/integrations.cjs +64 -0
- package/augment-extensions/workflows/decision-layer/runtime/runner.cjs +201 -0
- package/augment-extensions/workflows/decision-layer/runtime/worker-child.cjs +15 -0
- package/augment-extensions/workflows/decision-layer/runtime/workers.cjs +15 -0
- package/augment-extensions/workflows/decision-layer/schemas/config.schema.json +27 -0
- package/augment-extensions/workflows/decision-layer/scripts/validate.cjs +16 -0
- package/augment-extensions/workflows/decision-layer/sources.md +25 -0
- package/cli/MODULES.md +804 -302
- package/cli/dist/__test_file-tracking.d.ts +2 -0
- package/cli/dist/__test_file-tracking.d.ts.map +1 -0
- package/cli/dist/__test_file-tracking.js +4 -0
- package/cli/dist/__test_file-tracking.js.map +1 -0
- package/cli/dist/adapters/banner.d.ts +62 -0
- package/cli/dist/adapters/banner.d.ts.map +1 -0
- package/cli/dist/adapters/banner.js +105 -0
- package/cli/dist/adapters/banner.js.map +1 -0
- package/cli/dist/adapters/claude-code.d.ts +13 -0
- package/cli/dist/adapters/claude-code.d.ts.map +1 -0
- package/cli/dist/adapters/claude-code.js +79 -0
- package/cli/dist/adapters/claude-code.js.map +1 -0
- package/cli/dist/adapters/copilot.d.ts +17 -0
- package/cli/dist/adapters/copilot.d.ts.map +1 -0
- package/cli/dist/adapters/copilot.js +81 -0
- package/cli/dist/adapters/copilot.js.map +1 -0
- package/cli/dist/adapters/cursor.d.ts +16 -0
- package/cli/dist/adapters/cursor.d.ts.map +1 -0
- package/cli/dist/adapters/cursor.js +99 -0
- package/cli/dist/adapters/cursor.js.map +1 -0
- package/cli/dist/adapters/index.d.ts +25 -0
- package/cli/dist/adapters/index.d.ts.map +1 -0
- package/cli/dist/adapters/index.js +59 -0
- package/cli/dist/adapters/index.js.map +1 -0
- package/cli/dist/adapters/types.d.ts +113 -0
- package/cli/dist/adapters/types.d.ts.map +1 -0
- package/cli/dist/adapters/types.js +13 -0
- package/cli/dist/adapters/types.js.map +1 -0
- package/cli/dist/adapters/windsurf.d.ts +14 -0
- package/cli/dist/adapters/windsurf.d.ts.map +1 -0
- package/cli/dist/adapters/windsurf.js +78 -0
- package/cli/dist/adapters/windsurf.js.map +1 -0
- package/cli/dist/analysis/ast-parser.d.ts.map +1 -1
- package/cli/dist/analysis/ast-parser.js +25 -9
- package/cli/dist/analysis/ast-parser.js.map +1 -1
- package/cli/dist/analysis/index.d.ts +1 -0
- package/cli/dist/analysis/index.d.ts.map +1 -1
- package/cli/dist/analysis/index.js +1 -0
- package/cli/dist/analysis/index.js.map +1 -1
- package/cli/dist/analysis/pattern-analyzer.d.ts +6 -0
- package/cli/dist/analysis/pattern-analyzer.d.ts.map +1 -0
- package/cli/dist/analysis/pattern-analyzer.js +100 -0
- package/cli/dist/analysis/pattern-analyzer.js.map +1 -0
- package/cli/dist/cli.js +67 -37
- package/cli/dist/cli.js.map +1 -1
- package/cli/dist/commands/code-analysis.d.ts.map +1 -1
- package/cli/dist/commands/code-analysis.js +22 -2
- package/cli/dist/commands/code-analysis.js.map +1 -1
- package/cli/dist/commands/decision.d.ts +4 -0
- package/cli/dist/commands/decision.d.ts.map +1 -0
- package/cli/dist/commands/decision.js +32 -0
- package/cli/dist/commands/decision.js.map +1 -0
- package/cli/dist/commands/export.d.ts +81 -0
- package/cli/dist/commands/export.d.ts.map +1 -0
- package/cli/dist/commands/export.js +334 -0
- package/cli/dist/commands/export.js.map +1 -0
- package/cli/dist/commands/gui-decision.d.ts +6 -0
- package/cli/dist/commands/gui-decision.d.ts.map +1 -0
- package/cli/dist/commands/gui-decision.js +189 -0
- package/cli/dist/commands/gui-decision.js.map +1 -0
- package/cli/dist/commands/gui-module-manager.d.ts +14 -0
- package/cli/dist/commands/gui-module-manager.d.ts.map +1 -0
- package/cli/dist/commands/gui-module-manager.js +326 -0
- package/cli/dist/commands/gui-module-manager.js.map +1 -0
- package/cli/dist/commands/gui.d.ts +5 -9
- package/cli/dist/commands/gui.d.ts.map +1 -1
- package/cli/dist/commands/gui.js +186 -231
- package/cli/dist/commands/gui.js.map +1 -1
- package/cli/dist/commands/init.d.ts +2 -0
- package/cli/dist/commands/init.d.ts.map +1 -1
- package/cli/dist/commands/init.js +84 -3
- package/cli/dist/commands/init.js.map +1 -1
- package/cli/dist/commands/lifecycle.d.ts +14 -0
- package/cli/dist/commands/lifecycle.d.ts.map +1 -0
- package/cli/dist/commands/lifecycle.js +463 -0
- package/cli/dist/commands/lifecycle.js.map +1 -0
- package/cli/dist/commands/link.d.ts +5 -0
- package/cli/dist/commands/link.d.ts.map +1 -1
- package/cli/dist/commands/link.js +137 -29
- package/cli/dist/commands/link.js.map +1 -1
- package/cli/dist/commands/list.js +2 -2
- package/cli/dist/commands/list.js.map +1 -1
- package/cli/dist/commands/mcp.d.ts +1 -2
- package/cli/dist/commands/mcp.d.ts.map +1 -1
- package/cli/dist/commands/mcp.js +20 -20
- package/cli/dist/commands/mcp.js.map +1 -1
- package/cli/dist/commands/module-management.d.ts +9 -0
- package/cli/dist/commands/module-management.d.ts.map +1 -0
- package/cli/dist/commands/module-management.js +420 -0
- package/cli/dist/commands/module-management.js.map +1 -0
- package/cli/dist/commands/search.js +1 -11
- package/cli/dist/commands/search.js.map +1 -1
- package/cli/dist/commands/self-remove.d.ts.map +1 -1
- package/cli/dist/commands/self-remove.js +98 -44
- package/cli/dist/commands/self-remove.js.map +1 -1
- package/cli/dist/commands/show.d.ts +1 -1
- package/cli/dist/commands/show.d.ts.map +1 -1
- package/cli/dist/commands/show.js +21 -10
- package/cli/dist/commands/show.js.map +1 -1
- package/cli/dist/commands/showCompleted.d.ts +1 -0
- package/cli/dist/commands/showCompleted.d.ts.map +1 -1
- package/cli/dist/commands/showCompleted.js +4 -3
- package/cli/dist/commands/showCompleted.js.map +1 -1
- package/cli/dist/commands/skill.d.ts +7 -1
- package/cli/dist/commands/skill.d.ts.map +1 -1
- package/cli/dist/commands/skill.js +79 -21
- package/cli/dist/commands/skill.js.map +1 -1
- package/cli/dist/commands/unlink.d.ts +2 -0
- package/cli/dist/commands/unlink.d.ts.map +1 -1
- package/cli/dist/commands/unlink.js +86 -44
- package/cli/dist/commands/unlink.js.map +1 -1
- package/cli/dist/commands/update.d.ts.map +1 -1
- package/cli/dist/commands/update.js +6 -16
- package/cli/dist/commands/update.js.map +1 -1
- package/cli/dist/commands/upgrade.d.ts +2 -0
- package/cli/dist/commands/upgrade.d.ts.map +1 -1
- package/cli/dist/commands/upgrade.js +22 -5
- package/cli/dist/commands/upgrade.js.map +1 -1
- package/cli/dist/commands/use.d.ts.map +1 -1
- package/cli/dist/commands/use.js +2 -68
- package/cli/dist/commands/use.js.map +1 -1
- package/cli/dist/core/compatibility-checker.d.ts +37 -1
- package/cli/dist/core/compatibility-checker.d.ts.map +1 -1
- package/cli/dist/core/compatibility-checker.js +133 -12
- package/cli/dist/core/compatibility-checker.js.map +1 -1
- package/cli/dist/gui/state/navigation-state.d.ts +20 -0
- package/cli/dist/gui/state/navigation-state.d.ts.map +1 -0
- package/cli/dist/gui/state/navigation-state.js +115 -0
- package/cli/dist/gui/state/navigation-state.js.map +1 -0
- package/cli/dist/gui/state/selection-state.d.ts +21 -0
- package/cli/dist/gui/state/selection-state.d.ts.map +1 -0
- package/cli/dist/gui/state/selection-state.js +117 -0
- package/cli/dist/gui/state/selection-state.js.map +1 -0
- package/cli/dist/lib/export-runner.d.ts +76 -0
- package/cli/dist/lib/export-runner.d.ts.map +1 -0
- package/cli/dist/lib/export-runner.js +111 -0
- package/cli/dist/lib/export-runner.js.map +1 -0
- package/cli/dist/lib/mcp-detection.d.ts +40 -0
- package/cli/dist/lib/mcp-detection.d.ts.map +1 -0
- package/cli/dist/lib/mcp-detection.js +167 -0
- package/cli/dist/lib/mcp-detection.js.map +1 -0
- package/cli/dist/lib/mirror-coordination.d.ts +57 -0
- package/cli/dist/lib/mirror-coordination.d.ts.map +1 -0
- package/cli/dist/lib/mirror-coordination.js +151 -0
- package/cli/dist/lib/mirror-coordination.js.map +1 -0
- package/cli/dist/lib/mirror-runner.d.ts +123 -0
- package/cli/dist/lib/mirror-runner.d.ts.map +1 -0
- package/cli/dist/lib/mirror-runner.js +579 -0
- package/cli/dist/lib/mirror-runner.js.map +1 -0
- package/cli/dist/lib/module-resolver.d.ts +65 -0
- package/cli/dist/lib/module-resolver.d.ts.map +1 -0
- package/cli/dist/lib/module-resolver.js +211 -0
- package/cli/dist/lib/module-resolver.js.map +1 -0
- package/cli/dist/lib/source-hash.d.ts +62 -0
- package/cli/dist/lib/source-hash.d.ts.map +1 -0
- package/cli/dist/lib/source-hash.js +99 -0
- package/cli/dist/lib/source-hash.js.map +1 -0
- package/cli/dist/types/coordination-export.d.ts +33 -0
- package/cli/dist/types/coordination-export.d.ts.map +1 -0
- package/cli/dist/types/coordination-export.js +28 -0
- package/cli/dist/types/coordination-export.js.map +1 -0
- package/cli/dist/types/gui.d.ts +4 -0
- package/cli/dist/types/gui.d.ts.map +1 -1
- package/cli/dist/types/lifecycle.d.ts +81 -0
- package/cli/dist/types/lifecycle.d.ts.map +1 -0
- package/cli/dist/types/lifecycle.js +3 -0
- package/cli/dist/types/lifecycle.js.map +1 -0
- package/cli/dist/utils/beads-sync.d.ts +4 -0
- package/cli/dist/utils/beads-sync.d.ts.map +1 -1
- package/cli/dist/utils/beads-sync.js.map +1 -1
- package/cli/dist/utils/catalog-sync.d.ts.map +1 -1
- package/cli/dist/utils/catalog-sync.js +41 -8
- package/cli/dist/utils/catalog-sync.js.map +1 -1
- package/cli/dist/utils/coordination-queries.d.ts +3 -0
- package/cli/dist/utils/coordination-queries.d.ts.map +1 -1
- package/cli/dist/utils/coordination-queries.js +2 -2
- package/cli/dist/utils/coordination-queries.js.map +1 -1
- package/cli/dist/utils/decision-runner.d.ts +18 -0
- package/cli/dist/utils/decision-runner.d.ts.map +1 -0
- package/cli/dist/utils/decision-runner.js +114 -0
- package/cli/dist/utils/decision-runner.js.map +1 -0
- package/cli/dist/utils/extensions-config.d.ts +29 -0
- package/cli/dist/utils/extensions-config.d.ts.map +1 -0
- package/cli/dist/utils/extensions-config.js +151 -0
- package/cli/dist/utils/extensions-config.js.map +1 -0
- package/cli/dist/utils/extractCommandHelp.d.ts +2 -2
- package/cli/dist/utils/extractCommandHelp.d.ts.map +1 -1
- package/cli/dist/utils/extractCommandHelp.js +10 -4
- package/cli/dist/utils/extractCommandHelp.js.map +1 -1
- package/cli/dist/utils/file-tracking.d.ts +4 -0
- package/cli/dist/utils/file-tracking.d.ts.map +1 -1
- package/cli/dist/utils/file-tracking.js +5 -5
- package/cli/dist/utils/file-tracking.js.map +1 -1
- package/cli/dist/utils/glob-match.d.ts +6 -0
- package/cli/dist/utils/glob-match.d.ts.map +1 -0
- package/cli/dist/utils/glob-match.js +8 -0
- package/cli/dist/utils/glob-match.js.map +1 -0
- package/cli/dist/utils/gui-helpers.d.ts.map +1 -1
- package/cli/dist/utils/gui-helpers.js +7 -3
- package/cli/dist/utils/gui-helpers.js.map +1 -1
- package/cli/dist/utils/inspection-cache.d.ts +8 -0
- package/cli/dist/utils/inspection-cache.d.ts.map +1 -1
- package/cli/dist/utils/inspection-cache.js +12 -0
- package/cli/dist/utils/inspection-cache.js.map +1 -1
- package/cli/dist/utils/inspection-handlers.d.ts.map +1 -1
- package/cli/dist/utils/inspection-handlers.js +230 -52
- package/cli/dist/utils/inspection-handlers.js.map +1 -1
- package/cli/dist/utils/install-rules.d.ts +15 -0
- package/cli/dist/utils/install-rules.d.ts.map +1 -1
- package/cli/dist/utils/install-rules.js +247 -0
- package/cli/dist/utils/install-rules.js.map +1 -1
- package/cli/dist/utils/interactive-prompt.d.ts +7 -0
- package/cli/dist/utils/interactive-prompt.d.ts.map +1 -0
- package/cli/dist/utils/interactive-prompt.js +41 -0
- package/cli/dist/utils/interactive-prompt.js.map +1 -0
- package/cli/dist/utils/lifecycle.d.ts +47 -0
- package/cli/dist/utils/lifecycle.d.ts.map +1 -0
- package/cli/dist/utils/lifecycle.js +841 -0
- package/cli/dist/utils/lifecycle.js.map +1 -0
- package/cli/dist/utils/mcp-integration.d.ts +24 -3
- package/cli/dist/utils/mcp-integration.d.ts.map +1 -1
- package/cli/dist/utils/mcp-integration.js +364 -151
- package/cli/dist/utils/mcp-integration.js.map +1 -1
- package/cli/dist/utils/module-system.d.ts +7 -0
- package/cli/dist/utils/module-system.d.ts.map +1 -1
- package/cli/dist/utils/module-system.js +137 -42
- package/cli/dist/utils/module-system.js.map +1 -1
- package/cli/dist/utils/modules-catalog.d.ts.map +1 -1
- package/cli/dist/utils/modules-catalog.js +5 -0
- package/cli/dist/utils/modules-catalog.js.map +1 -1
- package/cli/dist/utils/openspec-sync.d.ts +4 -0
- package/cli/dist/utils/openspec-sync.d.ts.map +1 -1
- package/cli/dist/utils/openspec-sync.js.map +1 -1
- package/cli/dist/utils/plugin-system.js +1 -1
- package/cli/dist/utils/plugin-system.js.map +1 -1
- package/cli/dist/utils/skill-system.d.ts +11 -0
- package/cli/dist/utils/skill-system.d.ts.map +1 -1
- package/cli/dist/utils/skill-system.js +101 -3
- package/cli/dist/utils/skill-system.js.map +1 -1
- package/cli/dist/utils/zip-archive.d.ts +25 -0
- package/cli/dist/utils/zip-archive.d.ts.map +1 -0
- package/cli/dist/utils/zip-archive.js +287 -0
- package/cli/dist/utils/zip-archive.js.map +1 -0
- package/modules.md +89 -6
- package/package.json +150 -135
|
@@ -407,7 +407,7 @@ export const MICROSOFT_FLUENT: VendorStyle = {
|
|
|
407
407
|
'Adaptive color system with light and dark themes',
|
|
408
408
|
'Rounded corners (2px-8px radius)',
|
|
409
409
|
'Purposeful, subtle motion with ease-out curves',
|
|
410
|
-
'
|
|
410
|
+
'Accessibility patterns require verification against the product target',
|
|
411
411
|
'Responsive 12-column grid system',
|
|
412
412
|
'Component-based architecture',
|
|
413
413
|
'Focus on productivity and clarity',
|
|
@@ -430,7 +430,7 @@ export const MICROSOFT_FLUENT: VendorStyle = {
|
|
|
430
430
|
* - Use adaptive color tokens that work in light and dark themes
|
|
431
431
|
* - Apply brand primary (#0078D4) for key actions
|
|
432
432
|
* - Use neutral grays (2-step increments) for backgrounds and surfaces
|
|
433
|
-
* -
|
|
433
|
+
* - Verify each used color pair against the applicable contrast criteria
|
|
434
434
|
* - Support automatic theme switching
|
|
435
435
|
*
|
|
436
436
|
* 2. TYPOGRAPHY
|
|
@@ -469,7 +469,7 @@ export const MICROSOFT_FLUENT: VendorStyle = {
|
|
|
469
469
|
* - Provide clear visual feedback for interactions
|
|
470
470
|
*
|
|
471
471
|
* 7. ACCESSIBILITY
|
|
472
|
-
* -
|
|
472
|
+
* - Verify the implementation against the applicable current accessibility target
|
|
473
473
|
* - Provide sufficient color contrast
|
|
474
474
|
* - Support keyboard navigation
|
|
475
475
|
* - Include ARIA labels and roles
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
This directory contains practical examples demonstrating how to use the Visual Design module with Augment AI.
|
|
4
4
|
|
|
5
|
+
For task workflows, start with the module-local design brief, design review, and responsive validation skills. Use the [guidance index](../rules/index.md) and [coverage map](../guidelines/coverage-map.md) to select rules by task and depth. Browser viewport guidance applies to screen examples; print and image-generation examples retain medium-specific constraints.
|
|
6
|
+
|
|
5
7
|
## Examples
|
|
6
8
|
|
|
7
9
|
### 1. Basic Usage (`basic-usage.md`)
|
|
@@ -144,10 +144,10 @@ const googleStyle = defaultStyleSelector.selectVendorStyle('google');
|
|
|
144
144
|
</section>
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
####
|
|
147
|
+
#### Example contrast checks (WCAG 2.2 AA normal text target: 4.5:1)
|
|
148
148
|
|
|
149
149
|
```css
|
|
150
|
-
/*
|
|
150
|
+
/* These example pairs exceed 4.5:1; measure every rendered state and theme. */
|
|
151
151
|
.text-on-primary {
|
|
152
152
|
color: #FFFFFF; /* White on #6750A4 = 7.2:1 ✓ */
|
|
153
153
|
}
|
|
@@ -203,10 +203,12 @@ A modern, accessible landing page following Google Material 3 Expressive design
|
|
|
203
203
|
- ✅ Dynamic color theming
|
|
204
204
|
- ✅ Proper typography hierarchy
|
|
205
205
|
- ✅ Responsive grid layout
|
|
206
|
-
- ✅ WCAG AA contrast
|
|
206
|
+
- ✅ Example color pairs measured against WCAG 2.2 AA normal-text contrast
|
|
207
207
|
- ✅ Mobile-first approach
|
|
208
208
|
- ✅ Consistent spacing (8px grid)
|
|
209
209
|
|
|
210
|
+
This example does not establish product conformance. Check all actual text, control, theme, and state combinations against the product's stated target.
|
|
211
|
+
|
|
210
212
|
## Next Steps
|
|
211
213
|
|
|
212
214
|
- Explore other vendor styles (Microsoft Fluent 2, Amazon Cloudscape)
|
|
@@ -28,7 +28,7 @@ import { GOOGLE_MODERN } from './domains/web-page-styles/google-modern';
|
|
|
28
28
|
// - Rounded corners (8px, 12px, 16px)
|
|
29
29
|
// - Springy motion (cubic-bezier(0.2, 0, 0, 1))
|
|
30
30
|
// - Subtle elevation shadows
|
|
31
|
-
// - Accessibility
|
|
31
|
+
// - Accessibility review required; palette intent is not conformance evidence
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### When to Use
|
|
@@ -36,7 +36,7 @@ import { GOOGLE_MODERN } from './domains/web-page-styles/google-modern';
|
|
|
36
36
|
- **Consumer-facing applications**: Mobile apps, web apps
|
|
37
37
|
- **Modern, expressive designs**: Colorful, dynamic interfaces
|
|
38
38
|
- **Google ecosystem**: Android, Chrome, Google Workspace
|
|
39
|
-
- **Accessibility
|
|
39
|
+
- **Accessibility**: Verify rendered colors, states, and applicable criteria before making a conformance claim
|
|
40
40
|
|
|
41
41
|
### Example: Landing Page Hero
|
|
42
42
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Design Guidance Coverage Map
|
|
2
|
+
|
|
3
|
+
Each cell links to the guidance for that level. Basic covers foundations and common decisions. Intermediate applies systems to real constraints. Advanced covers tradeoffs, governance, performance, accessibility, and edge cases.
|
|
4
|
+
|
|
5
|
+
| Area | Basic | Intermediate | Advanced |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| General design | [Basic](design-levels.md#basic-general-design) | [Intermediate](design-levels.md#intermediate-general-design) | [Advanced](design-levels.md#advanced-general-design) |
|
|
8
|
+
| Color | [Basic](design-levels.md#basic-color) | [Intermediate](design-levels.md#intermediate-color) | [Advanced](design-levels.md#advanced-color) |
|
|
9
|
+
| Typography | [Basic](design-levels.md#basic-typography) | [Intermediate](design-levels.md#intermediate-typography) | [Advanced](design-levels.md#advanced-typography) |
|
|
10
|
+
| Layout | [Basic](design-levels.md#basic-layout) | [Intermediate](design-levels.md#intermediate-layout) | [Advanced](design-levels.md#advanced-layout) |
|
|
11
|
+
| UX design | [Basic](design-levels.md#basic-general-design) | [Intermediate](design-levels.md#intermediate-general-design) | [Advanced](design-levels.md#advanced-general-design) |
|
|
12
|
+
| UI design | [Basic](design-levels.md#basic-ui-interaction-and-visual-design) | [Intermediate](design-levels.md#intermediate-ui-interaction-and-visual-design) | [Advanced](design-levels.md#advanced-ui-interaction-and-visual-design) |
|
|
13
|
+
| Interaction design | [Basic](design-levels.md#basic-ui-interaction-and-visual-design) | [Intermediate](design-levels.md#intermediate-ui-interaction-and-visual-design) | [Advanced](design-levels.md#advanced-ui-interaction-and-visual-design) |
|
|
14
|
+
| Visual and graphic design | [Basic](design-levels.md#basic-ui-interaction-and-visual-design) | [Intermediate](design-levels.md#intermediate-ui-interaction-and-visual-design) | [Advanced](design-levels.md#advanced-ui-interaction-and-visual-design) |
|
|
15
|
+
| Information architecture | [Basic](design-levels.md#basic-ux-information-architecture-and-ux-writing) | [Intermediate](design-levels.md#intermediate-ux-information-architecture-and-ux-writing) | [Advanced](design-levels.md#advanced-ux-information-architecture-and-ux-writing) |
|
|
16
|
+
| User research and strategy | [Basic](design-levels.md#basic-research-product-and-service-design) | [Intermediate](design-levels.md#intermediate-research-product-and-service-design) | [Advanced](design-levels.md#advanced-research-product-and-service-design) |
|
|
17
|
+
| Product design | [Basic](design-levels.md#basic-research-product-and-service-design) | [Intermediate](design-levels.md#intermediate-research-product-and-service-design) | [Advanced](design-levels.md#advanced-research-product-and-service-design) |
|
|
18
|
+
| Service design | [Basic](design-levels.md#basic-research-product-and-service-design) | [Intermediate](design-levels.md#intermediate-research-product-and-service-design) | [Advanced](design-levels.md#advanced-research-product-and-service-design) |
|
|
19
|
+
| UX writing | [Basic](design-levels.md#basic-ux-information-architecture-and-ux-writing) | [Intermediate](design-levels.md#intermediate-ux-information-architecture-and-ux-writing) | [Advanced](design-levels.md#advanced-ux-information-architecture-and-ux-writing) |
|
|
20
|
+
| Accessibility | [Basic](design-levels.md#basic-accessibility-and-motion) | [Intermediate](design-levels.md#intermediate-accessibility-and-motion) | [Advanced](design-levels.md#advanced-accessibility-and-motion) |
|
|
21
|
+
| Motion | [Basic](design-levels.md#basic-accessibility-and-motion) | [Intermediate](design-levels.md#intermediate-accessibility-and-motion) | [Advanced](design-levels.md#advanced-accessibility-and-motion) |
|
|
22
|
+
| Design systems | [Basic](design-levels.md#basic-design-systems) | [Intermediate](design-levels.md#intermediate-design-systems) | [Advanced](design-levels.md#advanced-design-systems) |
|
|
23
|
+
| Web applications and sites | [Basic](design-levels.md#basic-platform-practice) | [Intermediate](design-levels.md#intermediate-platform-practice) | [Advanced](design-levels.md#advanced-platform-practice) |
|
|
24
|
+
| Mobile applications | [Basic](design-levels.md#basic-platform-practice) | [Intermediate](design-levels.md#intermediate-platform-practice) | [Advanced](design-levels.md#advanced-platform-practice) |
|
|
25
|
+
| Desktop software | [Basic](design-levels.md#basic-platform-practice) | [Intermediate](design-levels.md#intermediate-platform-practice) | [Advanced](design-levels.md#advanced-platform-practice) |
|
|
26
|
+
| Cross-platform products | [Basic](design-levels.md#basic-platform-practice) | [Intermediate](design-levels.md#intermediate-platform-practice) | [Advanced](design-levels.md#advanced-platform-practice) |
|
|
27
|
+
|
|
28
|
+
## Medium-specific scope
|
|
29
|
+
|
|
30
|
+
The viewport sweep applies to screen interfaces. Print, film, and image-generation work are explicitly scoped in [platform guidance](../rules/platform-guidance.md) and retain their existing domain material. Their applicable design, accessibility, identity, color, typography, and composition guidance remains in scope.
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# Design Levels
|
|
2
|
+
|
|
3
|
+
Use the level that matches the task, risk, and evidence available. Advanced work extends the foundations; it does not bypass them.
|
|
4
|
+
|
|
5
|
+
## General design
|
|
6
|
+
|
|
7
|
+
### Basic: General design
|
|
8
|
+
|
|
9
|
+
- State who the interface serves, the main task, and the expected outcome.
|
|
10
|
+
- Put the most important information and action in a clear hierarchy.
|
|
11
|
+
- Use consistent alignment, spacing, and component patterns.
|
|
12
|
+
- Sketch the main user journey and identify its start, completion, and recovery points.
|
|
13
|
+
- Review one realistic task with a user or a representative usability method.
|
|
14
|
+
|
|
15
|
+
### Intermediate: General design
|
|
16
|
+
|
|
17
|
+
- Adapt hierarchy and patterns to real content, device constraints, localization, and user context.
|
|
18
|
+
- Compare alternate journeys and test high-risk assumptions before detailed visual polish.
|
|
19
|
+
- Connect components, content structure, and interaction states to semantic design tokens.
|
|
20
|
+
- Review success, empty, loading, error, and interruption paths, not only the ideal path.
|
|
21
|
+
- Iterate from observed usability evidence and record the limits of each study.
|
|
22
|
+
|
|
23
|
+
### Advanced: General design
|
|
24
|
+
|
|
25
|
+
- Balance user outcomes, product strategy, service operations, accessibility, delivery cost, and long-term maintenance.
|
|
26
|
+
- Evaluate alternatives with explicit evidence, risk, and tradeoff records.
|
|
27
|
+
- Govern cross-platform patterns, migration paths, and design-system contribution quality.
|
|
28
|
+
- Plan for edge cases such as assistive input, very large text, right-to-left scripts, low bandwidth, interrupted tasks, and changing display environments.
|
|
29
|
+
|
|
30
|
+
## Color
|
|
31
|
+
|
|
32
|
+
### Basic: Color
|
|
33
|
+
|
|
34
|
+
- Choose a limited palette with semantic roles for text, surfaces, actions, borders, and feedback.
|
|
35
|
+
- Check foreground and background contrast for the selected state and theme.
|
|
36
|
+
- Pair color with another signal so meaning is not conveyed by hue alone.
|
|
37
|
+
- Verify that error, success, warning, and information colors are distinguishable.
|
|
38
|
+
|
|
39
|
+
### Intermediate: Color
|
|
40
|
+
|
|
41
|
+
- Define semantic tokens for light and dark themes and map states consistently.
|
|
42
|
+
- Test the full set of component states, data visualizations, disabled controls, and focus indicators.
|
|
43
|
+
- Check color-vision differences, high-contrast settings, and localized labels beside color indicators.
|
|
44
|
+
- Use measured contrast results, not the name or reputation of a palette.
|
|
45
|
+
|
|
46
|
+
### Advanced: Color
|
|
47
|
+
|
|
48
|
+
- Govern token aliases, brand palettes, contrast testing, and theme extension across products.
|
|
49
|
+
- Test forced colors, increased contrast, transparency preferences, dynamic color, and display gamut where supported.
|
|
50
|
+
- Evaluate chart palettes for multiple series, print output, color-vision variation, and non-color alternatives.
|
|
51
|
+
- Record the standard version, conformance scope, exceptions, and test method for any compliance claim.
|
|
52
|
+
|
|
53
|
+
## Typography
|
|
54
|
+
|
|
55
|
+
### Basic: Typography
|
|
56
|
+
|
|
57
|
+
- Define display, heading, body, label, and supporting text roles.
|
|
58
|
+
- Choose readable line spacing and line lengths for the medium and viewing context.
|
|
59
|
+
- Prefer scalable type and do not make essential information depend on tiny labels.
|
|
60
|
+
- Keep labels concise, specific, and understandable out of context.
|
|
61
|
+
|
|
62
|
+
### Intermediate: Typography
|
|
63
|
+
|
|
64
|
+
- Adapt the type scale to hierarchy, responsive constraints, platform styles, and content density.
|
|
65
|
+
- Support user text scaling and check wrapping, reflow, truncation, and control growth.
|
|
66
|
+
- Plan for font loading, fallback metrics, glyph coverage, localization, and right-to-left text.
|
|
67
|
+
- Review long, realistic strings in tables, buttons, navigation, error messages, and forms.
|
|
68
|
+
|
|
69
|
+
### Advanced: Typography
|
|
70
|
+
|
|
71
|
+
- Govern type tokens and platform mappings while preserving accessible scaling and user settings.
|
|
72
|
+
- Measure layout shifts and rendering performance for local and remote font strategies.
|
|
73
|
+
- Test complex scripts, variable font axes, mixed-script content, numerals, and high text enlargement.
|
|
74
|
+
- Resolve density and branding tradeoffs without hiding content or reducing operability.
|
|
75
|
+
|
|
76
|
+
## Layout
|
|
77
|
+
|
|
78
|
+
### Basic: Layout
|
|
79
|
+
|
|
80
|
+
- Organize content into a clear reading and task sequence.
|
|
81
|
+
- Use alignment, spacing, grouping, and a simple grid to show relationships.
|
|
82
|
+
- Keep the primary action and required content visible at the smallest supported size.
|
|
83
|
+
- Allow ordinary text to wrap and controls to grow with their content.
|
|
84
|
+
|
|
85
|
+
### Intermediate: Layout
|
|
86
|
+
|
|
87
|
+
- Use fluid containers and choose breakpoints when the content or interaction needs a new arrangement.
|
|
88
|
+
- Reflow navigation, forms, cards, tables, and media across portrait and landscape.
|
|
89
|
+
- Set reasonable line lengths and maximum content widths at large sizes.
|
|
90
|
+
- Test browser, safe-area, keyboard, orientation, and multi-window constraints that apply to the product.
|
|
91
|
+
|
|
92
|
+
### Advanced: Layout
|
|
93
|
+
|
|
94
|
+
- Govern responsive and container-level rules across nested components and shared shells.
|
|
95
|
+
- Evaluate dense data, extreme aspect ratios, ultra-wide displays, split windows, zoom, and 200 percent text scaling.
|
|
96
|
+
- Balance performance, image resolution, layout stability, content priority, and localization.
|
|
97
|
+
- Use deliberate exceptions for inherently two-dimensional content, and provide an accessible way to inspect or operate it.
|
|
98
|
+
|
|
99
|
+
## Research, product, and service design
|
|
100
|
+
|
|
101
|
+
### Basic: Research, product, and service design
|
|
102
|
+
|
|
103
|
+
- Write the user goal, product outcome, assumptions, and constraints before choosing a visual treatment.
|
|
104
|
+
- Select a research method that can answer the most important open question.
|
|
105
|
+
- Sketch the journey and note the channels, support, and handoffs that affect completion.
|
|
106
|
+
|
|
107
|
+
### Intermediate: Research, product, and service design
|
|
108
|
+
|
|
109
|
+
- Triangulate observation, interviews, usage data, and usability testing where appropriate.
|
|
110
|
+
- Prioritize by user impact, evidence strength, feasibility, and operational cost.
|
|
111
|
+
- Test the concept with representative tasks and use outcomes to revise scope and flow.
|
|
112
|
+
|
|
113
|
+
### Advanced: Research, product, and service design
|
|
114
|
+
|
|
115
|
+
- Govern evidence quality, research ethics, sampling limits, and the path from insight to product decision.
|
|
116
|
+
- Measure cross-channel outcomes and service handoffs without overstating causal evidence.
|
|
117
|
+
- Revisit strategy when user needs, policy, business constraints, or platform capabilities change.
|
|
118
|
+
|
|
119
|
+
## UX, information architecture, and UX writing
|
|
120
|
+
|
|
121
|
+
### Basic: UX, information architecture, and UX writing
|
|
122
|
+
|
|
123
|
+
- Group content by user tasks and use familiar labels.
|
|
124
|
+
- Show location, available actions, progress, and next steps.
|
|
125
|
+
- Write specific labels and recovery-oriented messages.
|
|
126
|
+
|
|
127
|
+
### Intermediate: UX, information architecture, and UX writing
|
|
128
|
+
|
|
129
|
+
- Test navigation and findability with realistic tasks.
|
|
130
|
+
- Use progressive disclosure only when it reduces load without hiding required information.
|
|
131
|
+
- Localize labels and content, then verify wrapping, reading order, and meaning.
|
|
132
|
+
|
|
133
|
+
### Advanced: UX, information architecture, and UX writing
|
|
134
|
+
|
|
135
|
+
- Govern taxonomy, search, content lifecycle, localization, and cross-product terminology.
|
|
136
|
+
- Evaluate complex permissions, large information sets, errors, and recovery paths.
|
|
137
|
+
- Measure findability and task comprehension, and record evidence limits.
|
|
138
|
+
|
|
139
|
+
## UI, interaction, and visual or graphic design
|
|
140
|
+
|
|
141
|
+
### Basic: UI, interaction, and visual design
|
|
142
|
+
|
|
143
|
+
- Define components by purpose and provide clear default, focus, active, disabled, loading, and error states as needed.
|
|
144
|
+
- Support the intended keyboard, pointer, and touch methods.
|
|
145
|
+
- Use consistent imagery and iconography with text or accessible names where needed.
|
|
146
|
+
|
|
147
|
+
### Intermediate: UI, interaction, and visual design
|
|
148
|
+
|
|
149
|
+
- Design state transitions, validation, feedback, error prevention, and recovery.
|
|
150
|
+
- Adapt component layouts to content, orientation, density, theme, and input capability.
|
|
151
|
+
- Use imagery and icons consistently without distortion or color-only meaning.
|
|
152
|
+
|
|
153
|
+
### Advanced: UI, interaction, and visual design
|
|
154
|
+
|
|
155
|
+
- Resolve complex focus management, concurrent states, asynchronous updates, and interrupted tasks.
|
|
156
|
+
- Govern visual identity and component behavior across platforms and accessibility settings.
|
|
157
|
+
- Evaluate motion and graphics for performance, legibility, localization, and assistive technology.
|
|
158
|
+
|
|
159
|
+
## Accessibility and motion
|
|
160
|
+
|
|
161
|
+
### Basic: Accessibility and motion
|
|
162
|
+
|
|
163
|
+
- Keep content perceivable and actions operable through supported input methods.
|
|
164
|
+
- Provide readable text, visible focus, labels, and non-color cues.
|
|
165
|
+
- Keep motion purposeful and honor the user's reduced-motion preference.
|
|
166
|
+
|
|
167
|
+
### Intermediate: Accessibility and motion
|
|
168
|
+
|
|
169
|
+
- Test semantic roles, keyboard flow, contrast, zoom, larger text, and assistive-technology output.
|
|
170
|
+
- Check dialogs, menus, errors, status updates, animation, and focus restoration.
|
|
171
|
+
- Record exact tools, settings, versions, and untested states.
|
|
172
|
+
|
|
173
|
+
### Advanced: Accessibility and motion
|
|
174
|
+
|
|
175
|
+
- Map applicable criteria to evidence and track exceptions, platform differences, and residual risks.
|
|
176
|
+
- Test complex interactions, personalization, forced colors, dynamic type, and nonvisual operation.
|
|
177
|
+
- Include disabled participants or representative methods where the project and consent process support them.
|
|
178
|
+
|
|
179
|
+
## Design systems
|
|
180
|
+
|
|
181
|
+
### Basic: Design systems
|
|
182
|
+
|
|
183
|
+
- Reuse named colors, type roles, spacing, and components.
|
|
184
|
+
- Document component purpose, variants, and states.
|
|
185
|
+
|
|
186
|
+
### Intermediate: Design systems
|
|
187
|
+
|
|
188
|
+
- Define semantic tokens, ownership, contribution review, platform mappings, and versioned migration guidance.
|
|
189
|
+
- Check system changes against accessibility, localization, responsive behavior, and performance.
|
|
190
|
+
|
|
191
|
+
### Advanced: Design systems
|
|
192
|
+
|
|
193
|
+
- Govern adoption, deprecation, exceptions, token aliases, cross-platform parity, and long-term maintenance.
|
|
194
|
+
- Measure design-system outcomes and remove patterns only after consumer impact is understood.
|
|
195
|
+
|
|
196
|
+
## Platform practice
|
|
197
|
+
|
|
198
|
+
### Basic: Platform practice
|
|
199
|
+
|
|
200
|
+
- Identify browser, mobile, desktop, or cross-platform constraints before selecting layouts.
|
|
201
|
+
- Use native navigation, safe areas, keyboard, pointer, and touch patterns appropriate to the target.
|
|
202
|
+
|
|
203
|
+
### Intermediate: Platform practice
|
|
204
|
+
|
|
205
|
+
- Test each supported platform's resize, orientation, scaling, input, and accessibility settings.
|
|
206
|
+
- Share semantic tokens while adapting components and navigation to platform conventions.
|
|
207
|
+
|
|
208
|
+
### Advanced: Platform practice
|
|
209
|
+
|
|
210
|
+
- Govern platform-specific differences, multi-window and multi-display behavior, browser support, and adaptive breakpoints.
|
|
211
|
+
- Reassess behavior when operating-system or browser guidance changes.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Visual Design Guidelines
|
|
2
|
+
|
|
3
|
+
Use [Design Levels](design-levels.md) to scale the work from a foundation to system governance. Use the [Coverage Map](coverage-map.md) to locate the basic, intermediate, and advanced sections for every design area.
|
|
4
|
+
|
|
5
|
+
These guidelines complement the module's [design practice rules](../rules/design-practice.md), [accessibility and color rules](../rules/accessibility-and-color.md), and [platform guidance](../rules/platform-guidance.md).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"name": "visual-design",
|
|
4
4
|
"displayName": "Visual Design System",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Design guidance, platform patterns, vendor palettes, and responsive validation for interfaces across web, mobile, desktop, print, film, and image generation.",
|
|
6
6
|
"type": "domain-rules",
|
|
7
7
|
"tags": [
|
|
8
8
|
"visual-design",
|
|
@@ -13,16 +13,37 @@
|
|
|
13
13
|
"typography",
|
|
14
14
|
"color-theory",
|
|
15
15
|
"layout",
|
|
16
|
-
"ui-ux"
|
|
16
|
+
"ui-ux",
|
|
17
|
+
"product-design",
|
|
18
|
+
"accessibility",
|
|
19
|
+
"responsive-design",
|
|
20
|
+
"service-design",
|
|
21
|
+
"ux-writing"
|
|
17
22
|
],
|
|
18
23
|
"compatibility": {
|
|
19
24
|
"augmentMinVersion": "1.0.0",
|
|
20
25
|
"nodeMinVersion": "18.0.0"
|
|
21
26
|
},
|
|
22
|
-
"characterCount":
|
|
23
|
-
"lastUpdated": "2026-
|
|
27
|
+
"characterCount": 304728,
|
|
28
|
+
"lastUpdated": "2026-11-08",
|
|
24
29
|
"files": {
|
|
25
|
-
"rules": [
|
|
30
|
+
"rules": [
|
|
31
|
+
"index.md",
|
|
32
|
+
"design-practice.md",
|
|
33
|
+
"accessibility-and-color.md",
|
|
34
|
+
"platform-guidance.md"
|
|
35
|
+
],
|
|
36
|
+
"guidelines": [
|
|
37
|
+
"index.md",
|
|
38
|
+
"design-levels.md",
|
|
39
|
+
"coverage-map.md"
|
|
40
|
+
],
|
|
41
|
+
"skills": [
|
|
42
|
+
"README.md",
|
|
43
|
+
"design-brief.md",
|
|
44
|
+
"design-review.md",
|
|
45
|
+
"responsive-validation/SKILL.md"
|
|
46
|
+
],
|
|
26
47
|
"examples": [
|
|
27
48
|
"ai-prompt-generation.md",
|
|
28
49
|
"basic-usage.md",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "visual-design",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"displayName": "Visual Design System",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Design guidance, platform patterns, vendor palettes, and responsive validation for interfaces across web, mobile, desktop, print, film, and image generation.",
|
|
6
6
|
"type": "domain-rules",
|
|
7
7
|
"tags": [
|
|
8
8
|
"visual-design",
|
|
@@ -13,23 +13,35 @@
|
|
|
13
13
|
"typography",
|
|
14
14
|
"color-theory",
|
|
15
15
|
"layout",
|
|
16
|
-
"ui-ux"
|
|
16
|
+
"ui-ux",
|
|
17
|
+
"product-design",
|
|
18
|
+
"accessibility",
|
|
19
|
+
"responsive-design",
|
|
20
|
+
"service-design",
|
|
21
|
+
"ux-writing"
|
|
17
22
|
],
|
|
18
23
|
"augment": {
|
|
19
24
|
"inject": "on-demand",
|
|
20
25
|
"priority": "medium",
|
|
26
|
+
"characterCount": 304728,
|
|
21
27
|
"contexts": [
|
|
22
28
|
"design",
|
|
23
29
|
"ui",
|
|
24
30
|
"ux",
|
|
25
31
|
"frontend",
|
|
26
32
|
"web-development",
|
|
27
|
-
"visual-identity"
|
|
33
|
+
"visual-identity",
|
|
34
|
+
"product-design",
|
|
35
|
+
"accessibility",
|
|
36
|
+
"responsive-design",
|
|
37
|
+
"mobile",
|
|
38
|
+
"desktop"
|
|
28
39
|
]
|
|
29
40
|
},
|
|
30
|
-
"characterCount":
|
|
41
|
+
"characterCount": 304728,
|
|
31
42
|
"contents": {
|
|
32
43
|
"core": [
|
|
44
|
+
"VERSION",
|
|
33
45
|
"visual-design-core.ts",
|
|
34
46
|
"types.ts",
|
|
35
47
|
"style-selector.ts"
|
|
@@ -60,7 +72,29 @@
|
|
|
60
72
|
],
|
|
61
73
|
"examples": [
|
|
62
74
|
"examples/"
|
|
63
|
-
]
|
|
75
|
+
],
|
|
76
|
+
"guidance": {
|
|
77
|
+
"rules": [
|
|
78
|
+
"rules/index.md",
|
|
79
|
+
"rules/design-practice.md",
|
|
80
|
+
"rules/accessibility-and-color.md",
|
|
81
|
+
"rules/platform-guidance.md"
|
|
82
|
+
],
|
|
83
|
+
"guidelines": [
|
|
84
|
+
"guidelines/index.md",
|
|
85
|
+
"guidelines/design-levels.md",
|
|
86
|
+
"guidelines/coverage-map.md"
|
|
87
|
+
],
|
|
88
|
+
"skills": [
|
|
89
|
+
"skills/README.md",
|
|
90
|
+
"skills/design-brief.md",
|
|
91
|
+
"skills/design-review.md",
|
|
92
|
+
"skills/responsive-validation/SKILL.md"
|
|
93
|
+
],
|
|
94
|
+
"coverageMap": "guidelines/coverage-map.md",
|
|
95
|
+
"responsiveRunner": "skills/responsive-validation/scripts/responsive-sweep.cjs",
|
|
96
|
+
"validationScript": "scripts/validate-guidance.cjs"
|
|
97
|
+
}
|
|
64
98
|
},
|
|
65
99
|
"vendorPriority": [
|
|
66
100
|
"google",
|
|
@@ -75,4 +109,3 @@
|
|
|
75
109
|
]
|
|
76
110
|
}
|
|
77
111
|
}
|
|
78
|
-
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Accessibility, Color, Typography, and Motion Rules
|
|
2
|
+
|
|
3
|
+
## Separate standards from recommendations
|
|
4
|
+
|
|
5
|
+
WCAG 2.2 is a W3C Recommendation. Use the success criteria and conformance level required by the product or applicable policy. This module does not establish legal applicability and does not certify an implementation.
|
|
6
|
+
|
|
7
|
+
For web content, treat WCAG 2.2 Level AA as a useful review baseline when the product has not named another target. Confirm the required version and level with the product owner and applicable jurisdiction. Native applications need their applicable platform requirements and assistive-technology testing as well.
|
|
8
|
+
|
|
9
|
+
Use the following terms precisely:
|
|
10
|
+
|
|
11
|
+
- **Requirement**: a criterion that applies to the product's stated conformance target, platform contract, or jurisdiction.
|
|
12
|
+
- **Platform convention**: current guidance from the platform owner, such as recommended touch target dimensions.
|
|
13
|
+
- **Recommendation**: a module default that should be adapted to evidence and product context.
|
|
14
|
+
|
|
15
|
+
The WCAG 2.2 minimum target-size criterion is 24 by 24 CSS pixels or an applicable exception. The 44 by 44 CSS pixel target-size enhanced criterion is Level AAA. Do not present 44 CSS pixels as the WCAG 2.2 AA minimum. See [WCAG 2.2](https://www.w3.org/TR/WCAG22/), [Target Size Minimum](https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html), and [Target Size Enhanced](https://www.w3.org/WAI/WCAG22/Understanding/target-size-enhanced.html).
|
|
16
|
+
|
|
17
|
+
## Color and themes
|
|
18
|
+
|
|
19
|
+
- Assign semantic roles before choosing swatches: canvas, surface, primary text, secondary text, action, border, focus, success, warning, error, and information.
|
|
20
|
+
- Measure each foreground and background pair used in every state and theme. WCAG 2.2 AA requires 4.5:1 for normal text and 3:1 for large text. It requires 3:1 for applicable non-text controls and graphical objects. Apply the standard's definitions and exceptions rather than assuming every visible shape has the same threshold.
|
|
21
|
+
- Check hover, focus, selected, disabled, error, success, light, dark, high-contrast, and forced-color presentations where supported.
|
|
22
|
+
- Never encode state or meaning with hue alone. Pair color with text, shape, icon, pattern, position, or another visible distinction.
|
|
23
|
+
- Check common color-vision differences with simulations as a design aid, then verify real labels, contrast, and task comprehension. A simulation is not an accessibility test.
|
|
24
|
+
- Give charts direct labels or legends and use distinct line, marker, or pattern encodings in addition to color.
|
|
25
|
+
- Test themes against actual semantic pairs. A palette that passes in one theme can fail in another.
|
|
26
|
+
|
|
27
|
+
## Typography and content
|
|
28
|
+
|
|
29
|
+
- Establish a small hierarchy for display, headings, body, labels, and supporting text. Choose size, weight, line length, and line spacing for reading context.
|
|
30
|
+
- Do not claim that one pixel size guarantees readability. Prefer scalable units and platform text styles, preserve user text settings, and test larger text without clipping or lost actions.
|
|
31
|
+
- Check font availability, loading fallback, language glyph coverage, numeral forms, and layout shift. Avoid hiding essential content until a remote font loads.
|
|
32
|
+
- Test long realistic names, translated labels, legal or help content, and right-to-left text. Allow controls and rows to grow rather than clipping text.
|
|
33
|
+
- Keep links and labels understandable when read outside visual context. Do not use placeholder text as the only form label.
|
|
34
|
+
|
|
35
|
+
## Motion and time
|
|
36
|
+
|
|
37
|
+
- Use motion only when it explains a state change, location, or relationship. Keep essential content available if motion is removed.
|
|
38
|
+
- Support the user's reduced-motion preference using the platform mechanism. The web prefers-reduced-motion media feature is defined in [Media Queries Level 5](https://www.w3.org/TR/mediaqueries-5/#prefers-reduced-motion).
|
|
39
|
+
- Avoid flashing, uncontrolled parallax, forced movement, and auto-advancing content without a usable pause or stop mechanism when required.
|
|
40
|
+
- Check loading and progress states for a clear status that does not depend on animation alone.
|
|
41
|
+
|
|
42
|
+
## Operability and assistive technology
|
|
43
|
+
|
|
44
|
+
- Make essential functionality available by keyboard on platforms with keyboard input. Keep a logical focus order and a clearly visible focus indicator.
|
|
45
|
+
- Ensure labels, roles, names, values, instructions, and error associations are exposed through the platform accessibility API.
|
|
46
|
+
- Do not put focus inside hidden content. Manage focus when opening, closing, or replacing dialogs, menus, and routes.
|
|
47
|
+
- Check zoom, text scaling, contrast preferences, reduced motion, and screen-reader output using available platform tools. Record which settings and technologies were actually tested.
|
|
48
|
+
|
|
49
|
+
## Treat existing style data as reference material
|
|
50
|
+
|
|
51
|
+
The legacy vendor and domain data includes sample breakpoints, target sizes, and accessibility descriptions. Those entries preserve style characteristics and are not a conformance certificate or universal requirement. Apply this rule and current source documentation when a legacy value conflicts with an applicable requirement or the product's design system.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Design Practice Rules
|
|
2
|
+
|
|
3
|
+
## Start with users, goals, and evidence
|
|
4
|
+
|
|
5
|
+
- Name the users, their context, the task they need to complete, and the outcome the product needs to support.
|
|
6
|
+
- Separate verified requirements and research findings from assumptions. Label unknowns and give them a way to be tested.
|
|
7
|
+
- Choose research methods that answer the decision at hand. Use interviews or contextual inquiry to understand needs, task observation to reveal workarounds, surveys for appropriately sampled patterns, and usability tests to find interaction problems.
|
|
8
|
+
- Record who participated, the method, the context, the date, and the limits of the evidence. Do not invent personas, journey findings, or measured outcomes.
|
|
9
|
+
- Map journeys across discovery, entry, completion, recovery, and follow-up. Include service touchpoints outside the interface when they affect the outcome.
|
|
10
|
+
- Form a testable design hypothesis. Use usability evidence and product measures to iterate; do not treat preference votes as proof of task success.
|
|
11
|
+
|
|
12
|
+
## Shape information and language
|
|
13
|
+
|
|
14
|
+
- Group information by users' tasks and mental models. Prefer labels users recognize over internal team terminology.
|
|
15
|
+
- Make navigation location and available actions predictable. Provide a clear route back, visible current location, and useful empty, loading, and error states.
|
|
16
|
+
- Test findability with realistic tasks. When users cannot predict a label, revise the grouping or wording and test again.
|
|
17
|
+
- Write concise, specific labels and instructions. State what happened, what the user can do next, and how to recover from errors.
|
|
18
|
+
- Avoid blame, unexplained jargon, ambiguous confirmations, and color-only meaning.
|
|
19
|
+
- Plan localization for translation, right-to-left direction, plural rules, date and number formats, and text expansion. Do not hard-code an assumed expansion percentage.
|
|
20
|
+
|
|
21
|
+
## Design interfaces and interactions
|
|
22
|
+
|
|
23
|
+
- Establish a clear hierarchy using content order, type, spacing, alignment, and restrained emphasis. Do not use size or color as the only signal of importance.
|
|
24
|
+
- Define components by purpose, anatomy, variants, and states. Cover default, hover where supported, focus, pressed, selected, disabled, loading, success, empty, validation, and error states as applicable.
|
|
25
|
+
- Support each intended input method. Keyboard, pointer, touch, switch, voice, and assistive-technology paths must reach the same essential functions when those methods are supported.
|
|
26
|
+
- Give immediate, understandable feedback for actions. Prevent duplicate submissions where needed, preserve user input after recoverable errors, and describe a clear recovery path.
|
|
27
|
+
- Keep focus logical when content appears, moves, or closes. Return focus to the invoking control when a transient layer closes.
|
|
28
|
+
- Use motion to explain state or spatial relationships. It must not be the only way information is conveyed. Respect reduced-motion preferences.
|
|
29
|
+
|
|
30
|
+
## Build coherent visual and graphic language
|
|
31
|
+
|
|
32
|
+
- Define how identity, color roles, type, spacing, shape, imagery, and icons work together. Reuse patterns to signal related meaning.
|
|
33
|
+
- Select imagery for the content and context. Preserve useful crops, provide appropriate text alternatives for meaningful images, and keep decorative media out of the accessibility tree.
|
|
34
|
+
- Use a consistent icon family and optical alignment. Pair unfamiliar icons with visible labels.
|
|
35
|
+
- Do not distort images or rely on texture, hue, or fine detail alone to communicate meaning.
|
|
36
|
+
- Treat vendor palettes and domain styles in this module as starting points. Verify current vendor documentation and test the actual product states before making compliance claims.
|
|
37
|
+
|
|
38
|
+
## Connect strategy, product, and service design
|
|
39
|
+
|
|
40
|
+
- Connect interface decisions to user outcomes and product constraints. State the tradeoff when reach, cost, schedule, risk, and quality compete.
|
|
41
|
+
- Prioritize by user impact, evidence strength, and implementation cost. Make the chosen scope and deferred needs visible.
|
|
42
|
+
- Map service handoffs, support, policies, notifications, and recovery paths when the experience crosses channels or teams.
|
|
43
|
+
- Define how a concept will be evaluated before polishing it. Use task success, errors, time, comprehension, or other suitable measures, and report what the measure cannot show.
|
|
44
|
+
|
|
45
|
+
## Govern design systems
|
|
46
|
+
|
|
47
|
+
- Use semantic tokens for roles such as surface, text, action, border, feedback, spacing, type, and motion. Avoid using a raw palette value as a role.
|
|
48
|
+
- Define component ownership, supported variants, accessibility behavior, platform adaptations, and change history.
|
|
49
|
+
- Keep design tokens and components consistent where they express shared product meaning. Allow platform-specific components where interaction conventions differ.
|
|
50
|
+
- Review additions for contrast, localization, reduced motion, responsiveness, density, and future migration cost.
|
|
51
|
+
- Mark deprecated tokens and components, give a migration path, and remove them only after usage and consumer impact are known.
|
|
52
|
+
|
|
53
|
+
## Limit viewport rules to screen work
|
|
54
|
+
|
|
55
|
+
Responsive viewport dimensions apply to web and other screen interfaces. Print uses page size, bleed, and safe areas. Film and motion-picture design use shot and viewing context. Image generation uses prompt, aspect ratio, crop, and output constraints. Do not substitute a viewport sweep for those domain-specific checks.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Visual Design Guidance Index
|
|
2
|
+
|
|
3
|
+
Use this index to choose the smallest applicable guide. Resolve conflicts in this order:
|
|
4
|
+
|
|
5
|
+
1. User needs and product requirements.
|
|
6
|
+
2. Applicable accessibility and platform requirements.
|
|
7
|
+
3. The product's established design system.
|
|
8
|
+
4. This module's defaults and examples.
|
|
9
|
+
|
|
10
|
+
Distinguish a binding requirement from a platform convention and a module recommendation. Do not claim legal compliance or user research without evidence.
|
|
11
|
+
|
|
12
|
+
## Choose by task
|
|
13
|
+
|
|
14
|
+
| Task | Start here |
|
|
15
|
+
|---|---|
|
|
16
|
+
| Frame goals, journeys, evidence, and iteration | [Design practice rules](design-practice.md) and the [design brief skill](../skills/design-brief.md) |
|
|
17
|
+
| Review a design or implementation | [Accessibility and color rules](accessibility-and-color.md), [platform guidance](platform-guidance.md), and the [design review skill](../skills/design-review.md) |
|
|
18
|
+
| Choose a depth for a new design | [Design levels](../guidelines/design-levels.md) |
|
|
19
|
+
| Apply the guidance by topic and level | [Coverage map](../guidelines/coverage-map.md) |
|
|
20
|
+
| Test an in-scope web interface responsively | [Responsive validation skill](../skills/responsive-validation/SKILL.md) |
|
|
21
|
+
| Select a vendor palette or domain pattern | Existing TypeScript data under domains, with the scope rules in [platform guidance](platform-guidance.md) |
|
|
22
|
+
|
|
23
|
+
## Guidance locations
|
|
24
|
+
|
|
25
|
+
- Rules define decisions that apply across designs and implementations.
|
|
26
|
+
- Guidelines give progressive design depth and map coverage.
|
|
27
|
+
- Skills provide repeatable, task-sized procedures.
|
|
28
|
+
- Existing vendor and domain TypeScript files remain selectable design references.
|
|
29
|
+
|
|
30
|
+
The CLI reads module metadata and the Markdown files directly under rules. Use augx show visual-design rules/index.md for this index and augx show visual-design skills/responsive-validation/SKILL.md for the responsive procedure. The repository-level augx skill command indexes the root skills directory; it does not discover module-local skill files.
|
|
31
|
+
|
|
32
|
+
## Scope
|
|
33
|
+
|
|
34
|
+
Apply viewport and orientation guidance to screen interfaces. Print, film and image-generation work have different size and composition constraints; use their existing domain material and the applicable parts of the design rules. A screen interface embedded in any of those products still needs responsive and accessibility review.
|