oh-my-agent-commandcode 0.0.0-stage → 20.38.4
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/README.md +35 -2
- package/filter-test-output.sh +52 -0
- package/mods/oma.ts +347 -0
- package/package.json +30 -4
- package/skills/_shared/conditional/experiment-ledger.md +28 -0
- package/skills/_shared/conditional/exploration-loop.md +22 -0
- package/skills/_shared/conditional/quality-score.md +33 -0
- package/skills/_shared/core/anti-ai-prose.md +191 -0
- package/skills/_shared/core/api-contracts/README.md +28 -0
- package/skills/_shared/core/api-contracts/template.md +90 -0
- package/skills/_shared/core/clarification-protocol.md +23 -0
- package/skills/_shared/core/code-intelligence.md +46 -0
- package/skills/_shared/core/collaboration-policy.md +28 -0
- package/skills/_shared/core/common-checklist.md +28 -0
- package/skills/_shared/core/context-budget.md +22 -0
- package/skills/_shared/core/context-loading.md +34 -0
- package/skills/_shared/core/difficulty-guide.md +26 -0
- package/skills/_shared/core/execution-policy.md +31 -0
- package/skills/_shared/core/lessons-learned.md +33 -0
- package/skills/_shared/core/prompt-structure.md +18 -0
- package/skills/_shared/core/quality-principles.md +11 -0
- package/skills/_shared/core/session-metrics.md +35 -0
- package/skills/_shared/core/skill-routing.md +39 -0
- package/skills/_shared/core/test-approach.md +54 -0
- package/skills/_shared/core/vendor-detection.md +52 -0
- package/skills/_shared/runtime/memory-protocol.md +118 -0
- package/skills/_shared/runtime/result-contract.md +64 -0
- package/skills/_shared/ui-interaction-quality.md +133 -0
- package/skills/oma-academic-writing/SKILL.md +181 -0
- package/skills/oma-academic-writing/resources/abstract-guide.md +51 -0
- package/skills/oma-academic-writing/resources/academic-verb-tiers.md +42 -0
- package/skills/oma-academic-writing/resources/anti-ai-checklist.md +52 -0
- package/skills/oma-academic-writing/resources/hedging-guide.md +132 -0
- package/skills/oma-academic-writing/resources/sentence-structure-reference.md +151 -0
- package/skills/oma-architecture/SKILL.md +203 -0
- package/skills/oma-architecture/resources/api-evolution.md +41 -0
- package/skills/oma-architecture/resources/checklist.md +42 -0
- package/skills/oma-architecture/resources/execution-protocol.md +115 -0
- package/skills/oma-architecture/resources/methodology-selection.md +92 -0
- package/skills/oma-architecture/resources/migration-patterns.md +28 -0
- package/skills/oma-architecture/resources/output-templates.md +111 -0
- package/skills/oma-architecture/resources/stakeholder-synthesis.md +80 -0
- package/skills/oma-backend/SKILL.md +202 -0
- package/skills/oma-backend/resources/checklist.md +45 -0
- package/skills/oma-backend/resources/error-playbook.md +97 -0
- package/skills/oma-backend/resources/execution-protocol.md +39 -0
- package/skills/oma-backend/resources/orm-reference.md +61 -0
- package/skills/oma-backend/variants/node/api-template.ts +315 -0
- package/skills/oma-backend/variants/node/snippets.md +475 -0
- package/skills/oma-backend/variants/node/stack.yaml +21 -0
- package/skills/oma-backend/variants/node/tech-stack.md +33 -0
- package/skills/oma-backend/variants/python/api-template.py +378 -0
- package/skills/oma-backend/variants/python/snippets.md +199 -0
- package/skills/oma-backend/variants/python/stack.yaml +18 -0
- package/skills/oma-backend/variants/python/tech-stack.md +45 -0
- package/skills/oma-backend/variants/rust/api-template.rs +635 -0
- package/skills/oma-backend/variants/rust/snippets.md +471 -0
- package/skills/oma-backend/variants/rust/stack.yaml +20 -0
- package/skills/oma-backend/variants/rust/tech-stack.md +36 -0
- package/skills/oma-backend/variants/stack.schema.json +73 -0
- package/skills/oma-brainstorm/SKILL.md +166 -0
- package/skills/oma-brainstorm/resources/triz-lite.md +117 -0
- package/skills/oma-coordination/SKILL.md +171 -0
- package/skills/oma-db/SKILL.md +201 -0
- package/skills/oma-db/resources/anti-patterns.md +177 -0
- package/skills/oma-db/resources/checklist.md +67 -0
- package/skills/oma-db/resources/document-templates.md +107 -0
- package/skills/oma-db/resources/error-playbook.md +50 -0
- package/skills/oma-db/resources/examples.md +170 -0
- package/skills/oma-db/resources/execution-protocol.md +127 -0
- package/skills/oma-db/resources/iso-controls.md +98 -0
- package/skills/oma-db/resources/migration-playbook.md +93 -0
- package/skills/oma-db/resources/query-tuning.md +57 -0
- package/skills/oma-db/resources/vector-db.md +159 -0
- package/skills/oma-debug/SKILL.md +146 -0
- package/skills/oma-debug/resources/bug-report-template.md +327 -0
- package/skills/oma-debug/resources/checklist.md +31 -0
- package/skills/oma-debug/resources/common-patterns.md +734 -0
- package/skills/oma-debug/resources/debugging-checklist.md +364 -0
- package/skills/oma-debug/resources/error-playbook.md +94 -0
- package/skills/oma-debug/resources/execution-protocol.md +40 -0
- package/skills/oma-design/SKILL.md +135 -0
- package/skills/oma-design/resources/asset-strategy.md +34 -0
- package/skills/oma-design/resources/checklist.md +63 -0
- package/skills/oma-design/resources/data-grid.md +48 -0
- package/skills/oma-design/resources/design-md-spec.md +107 -0
- package/skills/oma-design/resources/design-tokens.md +53 -0
- package/skills/oma-design/resources/error-playbook.md +18 -0
- package/skills/oma-design/resources/execution-protocol.md +95 -0
- package/skills/oma-design/resources/external-design-skills.md +130 -0
- package/skills/oma-design/resources/getdesign-fetcher.md +104 -0
- package/skills/oma-design/resources/product-interface-review.md +59 -0
- package/skills/oma-design/resources/redesign-protocol.md +52 -0
- package/skills/oma-design/resources/stitch-integration.md +244 -0
- package/skills/oma-dev-workflow/SKILL.md +375 -0
- package/skills/oma-dev-workflow/resources/affected-checks.py +58 -0
- package/skills/oma-dev-workflow/resources/api-workflows.md +58 -0
- package/skills/oma-dev-workflow/resources/database-patterns.md +107 -0
- package/skills/oma-dev-workflow/resources/i18n-patterns.md +63 -0
- package/skills/oma-dev-workflow/resources/release-coordination.md +240 -0
- package/skills/oma-dev-workflow/resources/tooling-profiles.md +217 -0
- package/skills/oma-dev-workflow/resources/troubleshooting.md +78 -0
- package/skills/oma-dev-workflow/resources/validation-pipeline.md +246 -0
- package/skills/oma-docs/SKILL.md +77 -0
- package/skills/oma-docs/resources/commands.md +76 -0
- package/skills/oma-explanation/SKILL.md +212 -0
- package/skills/oma-explanation/resources/document-structure.md +115 -0
- package/skills/oma-explanation/resources/draft-format.md +199 -0
- package/skills/oma-explanation/resources/html-contract.md +102 -0
- package/skills/oma-frontend/SKILL.md +227 -0
- package/skills/oma-frontend/resources/angular-rules.md +110 -0
- package/skills/oma-frontend/resources/checklist.md +76 -0
- package/skills/oma-frontend/resources/error-playbook.md +125 -0
- package/skills/oma-frontend/resources/execution-protocol.md +46 -0
- package/skills/oma-frontend/resources/snippets.md +354 -0
- package/skills/oma-frontend/resources/specialized-visual-implementation.md +193 -0
- package/skills/oma-frontend/resources/tailwind-rules.md +83 -0
- package/skills/oma-frontend/resources/tech-stack.md +156 -0
- package/skills/oma-hwp/SKILL.md +166 -0
- package/skills/oma-hwp/config/hwp-config.yaml +35 -0
- package/skills/oma-hwp/resources/balanced-tables.ts +39 -0
- package/skills/oma-hwp/resources/execution-protocol.md +145 -0
- package/skills/oma-hwp/resources/flatten-tables.ts +101 -0
- package/skills/oma-hwp/resources/package.json +13 -0
- package/skills/oma-hwp/resources/troubleshooting.md +70 -0
- package/skills/oma-hwp/resources/tsconfig.json +10 -0
- package/skills/oma-hwp/resources/turndown-plugin-gfm.d.ts +9 -0
- package/skills/oma-image/SKILL.md +142 -0
- package/skills/oma-image/config/image-config.yaml +70 -0
- package/skills/oma-image/resources/checklist.md +18 -0
- package/skills/oma-image/resources/execution-protocol.md +117 -0
- package/skills/oma-image/resources/invocation.md +105 -0
- package/skills/oma-image/resources/prompt-tips.md +71 -0
- package/skills/oma-image/resources/vendor-matrix.md +90 -0
- package/skills/oma-market/SKILL.md +142 -0
- package/skills/oma-market/resources/checklist.md +12 -0
- package/skills/oma-market/resources/error-playbook.md +12 -0
- package/skills/oma-market/resources/execution-protocol.md +60 -0
- package/skills/oma-market/resources/frameworks/pestel.md +101 -0
- package/skills/oma-market/resources/frameworks/porters-5f.md +90 -0
- package/skills/oma-market/resources/frameworks/swot.md +61 -0
- package/skills/oma-market/resources/intent-rules.md +35 -0
- package/skills/oma-market/resources/output-laws.md +53 -0
- package/skills/oma-mobile/SKILL.md +168 -0
- package/skills/oma-mobile/resources/checklist.md +77 -0
- package/skills/oma-mobile/resources/error-playbook.md +198 -0
- package/skills/oma-mobile/resources/execution-protocol.md +47 -0
- package/skills/oma-mobile/resources/screen-template.dart +331 -0
- package/skills/oma-mobile/resources/screen-template.swift +239 -0
- package/skills/oma-mobile/resources/screen-template.tsx +179 -0
- package/skills/oma-mobile/resources/tech-stack.md +69 -0
- package/skills/oma-mobile/variants/README.md +45 -0
- package/skills/oma-mobile/variants/flutter/api-template.dart +461 -0
- package/skills/oma-mobile/variants/flutter/snippets.md +1353 -0
- package/skills/oma-mobile/variants/flutter/stack.yaml +21 -0
- package/skills/oma-mobile/variants/flutter/tech-stack.md +201 -0
- package/skills/oma-mobile/variants/kotlin-android/api-template.kt +182 -0
- package/skills/oma-mobile/variants/kotlin-android/snippets.md +871 -0
- package/skills/oma-mobile/variants/kotlin-android/stack.yaml +32 -0
- package/skills/oma-mobile/variants/kotlin-android/tech-stack.md +159 -0
- package/skills/oma-mobile/variants/react-native/api-template.ts +531 -0
- package/skills/oma-mobile/variants/react-native/snippets.md +1014 -0
- package/skills/oma-mobile/variants/react-native/stack.yaml +22 -0
- package/skills/oma-mobile/variants/react-native/tech-stack.md +192 -0
- package/skills/oma-mobile/variants/stack.schema.json +68 -0
- package/skills/oma-mobile/variants/swift-ios/api-template.swift +165 -0
- package/skills/oma-mobile/variants/swift-ios/snippets.md +1028 -0
- package/skills/oma-mobile/variants/swift-ios/stack.yaml +25 -0
- package/skills/oma-mobile/variants/swift-ios/tech-stack.md +174 -0
- package/skills/oma-observability/SKILL.md +225 -0
- package/skills/oma-observability/resources/anti-patterns.md +555 -0
- package/skills/oma-observability/resources/boundaries/cross-application.md +348 -0
- package/skills/oma-observability/resources/boundaries/multi-tenant.md +290 -0
- package/skills/oma-observability/resources/boundaries/release.md +372 -0
- package/skills/oma-observability/resources/boundaries/slo.md +225 -0
- package/skills/oma-observability/resources/checklist.md +123 -0
- package/skills/oma-observability/resources/examples.md +448 -0
- package/skills/oma-observability/resources/execution-protocol.md +166 -0
- package/skills/oma-observability/resources/incident-forensics.md +348 -0
- package/skills/oma-observability/resources/intent-rules.md +307 -0
- package/skills/oma-observability/resources/layers/L3-network.md +281 -0
- package/skills/oma-observability/resources/layers/L4-transport.md +299 -0
- package/skills/oma-observability/resources/layers/L7-application/crash-analytics.md +359 -0
- package/skills/oma-observability/resources/layers/L7-application/mobile-rum.md +278 -0
- package/skills/oma-observability/resources/layers/L7-application/waf.md +246 -0
- package/skills/oma-observability/resources/layers/L7-application/web-rum.md +350 -0
- package/skills/oma-observability/resources/layers/mesh.md +368 -0
- package/skills/oma-observability/resources/matrix.md +177 -0
- package/skills/oma-observability/resources/meta-observability.md +605 -0
- package/skills/oma-observability/resources/observability-as-code.md +666 -0
- package/skills/oma-observability/resources/signals/audit.md +310 -0
- package/skills/oma-observability/resources/signals/cost.md +303 -0
- package/skills/oma-observability/resources/signals/logs.md +263 -0
- package/skills/oma-observability/resources/signals/metrics.md +478 -0
- package/skills/oma-observability/resources/signals/privacy.md +351 -0
- package/skills/oma-observability/resources/signals/profiles.md +245 -0
- package/skills/oma-observability/resources/signals/traces.md +360 -0
- package/skills/oma-observability/resources/standards.md +214 -0
- package/skills/oma-observability/resources/transport/collector-topology.md +308 -0
- package/skills/oma-observability/resources/transport/otlp-grpc-vs-http.md +256 -0
- package/skills/oma-observability/resources/transport/sampling-recipes.md +297 -0
- package/skills/oma-observability/resources/transport/udp-statsd-mtu.md +167 -0
- package/skills/oma-observability/resources/vendor-categories.md +352 -0
- package/skills/oma-orchestration/SKILL.md +302 -0
- package/skills/oma-orchestration/config/cli-config.yaml +92 -0
- package/skills/oma-orchestration/resources/memory-schema.md +232 -0
- package/skills/oma-orchestration/resources/subagent-prompt-template.md +30 -0
- package/skills/oma-orchestration/scripts/parallel-run.sh +6 -0
- package/skills/oma-orchestration/scripts/spawn-agent.sh +5 -0
- package/skills/oma-orchestration/scripts/verify.sh +20 -0
- package/skills/oma-orchestration/templates/backend-task.md +19 -0
- package/skills/oma-orchestration/templates/debug-task.md +16 -0
- package/skills/oma-orchestration/templates/frontend-task.md +18 -0
- package/skills/oma-orchestration/templates/mobile-task.md +18 -0
- package/skills/oma-orchestration/templates/qa-task.md +16 -0
- package/skills/oma-orchestration/templates/tasks-example.yaml +15 -0
- package/skills/oma-pdf/SKILL.md +162 -0
- package/skills/oma-pdf/config/pdf-config.yaml +27 -0
- package/skills/oma-pdf/resources/execution-protocol.md +127 -0
- package/skills/oma-pm/SKILL.md +157 -0
- package/skills/oma-pm/resources/error-playbook.md +75 -0
- package/skills/oma-pm/resources/examples.md +439 -0
- package/skills/oma-pm/resources/execution-protocol.md +62 -0
- package/skills/oma-pm/resources/iso-planning.md +110 -0
- package/skills/oma-pm/resources/plan-phase-protocol.md +66 -0
- package/skills/oma-pm/resources/task-template.json +86 -0
- package/skills/oma-qa/SKILL.md +141 -0
- package/skills/oma-qa/resources/checklist.md +339 -0
- package/skills/oma-qa/resources/error-playbook.md +98 -0
- package/skills/oma-qa/resources/execution-protocol.md +169 -0
- package/skills/oma-qa/resources/iso-quality.md +82 -0
- package/skills/oma-qa/resources/verify-ship-protocol.md +116 -0
- package/skills/oma-recap/SKILL.md +245 -0
- package/skills/oma-recap/resources/output-formats.md +83 -0
- package/skills/oma-refactor/SKILL.md +184 -0
- package/skills/oma-refactor/resources/definition.md +108 -0
- package/skills/oma-refactor/resources/governance.md +33 -0
- package/skills/oma-refactor/resources/hotspots.py +44 -0
- package/skills/oma-refactor/resources/measurement.md +93 -0
- package/skills/oma-scholar/SKILL.md +276 -0
- package/skills/oma-scholar/config/scholar-config.yaml +79 -0
- package/skills/oma-scholar/resources/api-endpoints.md +174 -0
- package/skills/oma-scholar/resources/checklist.md +92 -0
- package/skills/oma-scholar/resources/execution-protocol.md +224 -0
- package/skills/oma-scholar/resources/fallback-providers.md +143 -0
- package/skills/oma-scholar/resources/setup-openalex.md +85 -0
- package/skills/oma-scholar/resources/sidecar-spec.md +341 -0
- package/skills/oma-scholar/resources/upstream-spec-cache.md +972 -0
- package/skills/oma-scm/SKILL.md +103 -0
- package/skills/oma-scm/resources/cm-operations.md +56 -0
- package/skills/oma-scm/resources/codeowners-playbook.md +45 -0
- package/skills/oma-scm/resources/conventional-commits.md +108 -0
- package/skills/oma-scm/resources/merge-risk.md +76 -0
- package/skills/oma-scm/resources/onboarding-risk-signals.md +71 -0
- package/skills/oma-search/SKILL.md +125 -0
- package/skills/oma-search/resources/checklist.md +36 -0
- package/skills/oma-search/resources/error-playbook.md +66 -0
- package/skills/oma-search/resources/examples.md +80 -0
- package/skills/oma-search/resources/execution-protocol.md +86 -0
- package/skills/oma-search/resources/intent-rules.md +47 -0
- package/skills/oma-search/resources/trust-registry.md +53 -0
- package/skills/oma-security/SKILL.md +172 -0
- package/skills/oma-security/resources/artex.md +108 -0
- package/skills/oma-security/resources/ci.md +134 -0
- package/skills/oma-security/resources/cisco-source.md +108 -0
- package/skills/oma-security/resources/deepsec-config.md +45 -0
- package/skills/oma-security/resources/deepsec-matchers.md +35 -0
- package/skills/oma-security/resources/deepsec-scanning.md +45 -0
- package/skills/oma-security/resources/deepsec-setup.md +41 -0
- package/skills/oma-security/resources/findings-contract.md +408 -0
- package/skills/oma-security/resources/mcp-scanning.md +122 -0
- package/skills/oma-security/resources/skill-scanning.md +106 -0
- package/skills/oma-security/resources/validation.md +71 -0
- package/skills/oma-skill-creation/SKILL.md +84 -0
- package/skills/oma-skill-creation/resources/prompt-evaluation.md +36 -0
- package/skills/oma-skill-creation/resources/ssl-lite-template.md +108 -0
- package/skills/oma-skill-creation/resources/validation-checklist.md +101 -0
- package/skills/oma-slide/SKILL.md +277 -0
- package/skills/oma-slide/resources/animation-patterns.md +245 -0
- package/skills/oma-slide/resources/assets/deck-stage.js +514 -0
- package/skills/oma-slide/resources/assets/viewport-base.css +257 -0
- package/skills/oma-slide/resources/canva-integration.md +203 -0
- package/skills/oma-slide/resources/checklist.md +46 -0
- package/skills/oma-slide/resources/design-doctrine.md +260 -0
- package/skills/oma-slide/resources/fixed-stage.md +232 -0
- package/skills/oma-slide/resources/generation-protocol.md +393 -0
- package/skills/oma-slide/resources/native-pptx.md +84 -0
- package/skills/oma-slide/resources/selection-index.json +461 -0
- package/skills/oma-slide/resources/style-presets.LICENSE +10 -0
- package/skills/oma-slide/resources/style-presets.md +520 -0
- package/skills/oma-tf-infra/SKILL.md +201 -0
- package/skills/oma-tf-infra/resources/checklist.md +53 -0
- package/skills/oma-tf-infra/resources/cost-optimization.md +574 -0
- package/skills/oma-tf-infra/resources/error-playbook.md +68 -0
- package/skills/oma-tf-infra/resources/examples.md +38 -0
- package/skills/oma-tf-infra/resources/execution-protocol.md +129 -0
- package/skills/oma-tf-infra/resources/iso-42001-infra.md +229 -0
- package/skills/oma-tf-infra/resources/multi-cloud-examples.md +241 -0
- package/skills/oma-tf-infra/resources/policy-testing-examples.md +332 -0
- package/skills/oma-translation/SKILL.md +229 -0
- package/skills/oma-translation/resources/anti-ai-patterns.md +104 -0
- package/skills/oma-translation/resources/lang/_template.md +73 -0
- package/skills/oma-translation/resources/lang/en.md +123 -0
- package/skills/oma-translation/resources/lang/ja.md +274 -0
- package/skills/oma-translation/resources/lang/ko.md +228 -0
- package/skills/oma-translation/resources/lang/zh.md +285 -0
- package/skills/oma-translation/resources/style-skills.md +104 -0
- package/skills/oma-translation/resources/translation-rubric.md +126 -0
- package/skills/oma-video/SKILL.md +229 -0
- package/skills/oma-video/config/video-config.yaml +60 -0
- package/skills/oma-video/resources/checklist.md +26 -0
- package/skills/oma-video/resources/execution-protocol.md +122 -0
- package/skills/oma-video/resources/existing-media.md +185 -0
- package/skills/oma-video/resources/hyperframes-authoring/README.md +44 -0
- package/skills/oma-video/resources/hyperframes-authoring/demo.md +31 -0
- package/skills/oma-video/resources/hyperframes-authoring/explainer.md +10 -0
- package/skills/oma-video/resources/hyperframes-authoring/shorts.md +10 -0
- package/skills/oma-video/resources/motion-principles.md +81 -0
- package/skills/oma-video/resources/mpt/driver.py +301 -0
- package/skills/oma-video/resources/prompt-tips.md +75 -0
- package/skills/oma-video/resources/script-schema.md +81 -0
- package/skills/oma-video/resources/sound-design.md +127 -0
- package/skills/oma-video/resources/strudel/package.json +11 -0
- package/skills/oma-video/resources/strudel/page.html +87 -0
- package/skills/oma-video/resources/strudel/render.mjs +295 -0
- package/skills/oma-video/resources/vendor-matrix.md +124 -0
- package/skills/oma-voice/SKILL.md +249 -0
- package/skills/oma-voice/config/voice-config.yaml +30 -0
- package/skills/oma-voice/resources/audio-processing.md +119 -0
- package/skills/oma-voice/resources/checklist.md +47 -0
- package/skills/oma-voice/resources/execution-protocol.md +215 -0
- package/skills/oma-voice/resources/prompt-tips.md +43 -0
- package/skills/oma-voice/resources/voice-matrix.md +51 -0
- package/skills/oma-voice/resources/voicestudio.md +87 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Recommended Product-Interface Review
|
|
2
|
+
|
|
3
|
+
Use this route after `oma-frontend` creates or substantially changes an admin
|
|
4
|
+
console, dashboard, SaaS product UI, or internal tool. OMA owns the handoff and
|
|
5
|
+
review status; Interface Design owns the detailed design-review method.
|
|
6
|
+
|
|
7
|
+
## Eligibility and priority
|
|
8
|
+
|
|
9
|
+
- Recommend this pass for changes to information hierarchy, navigation,
|
|
10
|
+
data density, tables, filters, forms, or a substantial product workflow.
|
|
11
|
+
- A copy-only correction, nonvisual state/API change, or unchanged interface
|
|
12
|
+
does not need this pass. Record `not-applicable` when that distinction matters.
|
|
13
|
+
- This recommendation does not introduce a mandatory approval gate. Perform a
|
|
14
|
+
scoped pass when the task scope, available evidence, tools, and budget allow;
|
|
15
|
+
otherwise record `recommended-not-run` with the reason and continue.
|
|
16
|
+
- Explicit user requirements and supplier choices take precedence. Accessibility,
|
|
17
|
+
responsive, or technical audits still use the applicable Impeccable operation;
|
|
18
|
+
do not load both suppliers for this product-interface review by default.
|
|
19
|
+
|
|
20
|
+
## Frontend handoff
|
|
21
|
+
|
|
22
|
+
Pass the affected routes/screens/components and diff, the intended users and
|
|
23
|
+
workflow, existing `DESIGN.md` and design context, incumbent stack and tokens,
|
|
24
|
+
brand/CJK/accessibility constraints, and the relevant table/grid requirements.
|
|
25
|
+
Include observed desktop and narrow-viewport states or screenshots when available,
|
|
26
|
+
plus the actual functional and responsive checks already run. Preserve approved
|
|
27
|
+
behavior, content, navigation, and form contracts.
|
|
28
|
+
|
|
29
|
+
Missing runtime evidence is a limit, not a reason to claim the rendered UI passed.
|
|
30
|
+
Do not start an unauthorized build, download a browser, or install a plugin just
|
|
31
|
+
to clear this advisory review.
|
|
32
|
+
|
|
33
|
+
## Design review
|
|
34
|
+
|
|
35
|
+
1. `oma-design` resolves Interface Design using
|
|
36
|
+
[external-design-skills.md](external-design-skills.md). Load its core skill,
|
|
37
|
+
the selected `design-review` instructions, and required support files from
|
|
38
|
+
the same resolved upstream revision. Do not assume plugin slash commands are
|
|
39
|
+
registered merely because the skill instructions were loaded.
|
|
40
|
+
2. Review only the affected interface against the project's visual contract.
|
|
41
|
+
Apply the upstream method for hierarchy, density, typography, spacing,
|
|
42
|
+
contrast, component consistency, and interaction/state completeness. For a
|
|
43
|
+
data-heavy surface, include [data-grid.md](data-grid.md).
|
|
44
|
+
3. Return findings with an inspected route/component/state, evidence, impact,
|
|
45
|
+
and a recommendation. Keep this pass read-only. Hand accepted findings back
|
|
46
|
+
to `oma-frontend`; fixes use the task's existing implementation authorization.
|
|
47
|
+
4. Record one status: `completed` with findings and observed evidence,
|
|
48
|
+
`recommended-not-run` with the missing tool/bundle/evidence or scope reason,
|
|
49
|
+
or `not-applicable`. A completed review is not automatically a passing design
|
|
50
|
+
sign-off. Do not silently replace an unavailable Interface Design review with
|
|
51
|
+
another supplier or turn its internal approval bar into an OMA stop gate.
|
|
52
|
+
|
|
53
|
+
Required functional, responsive, accessibility, and task-specific acceptance
|
|
54
|
+
checks retain their existing requirements regardless of this advisory status.
|
|
55
|
+
|
|
56
|
+
## Source
|
|
57
|
+
|
|
58
|
+
- [Interface Design](https://github.com/Dammyjay93/interface-design): core skill
|
|
59
|
+
and the upstream `.claude/commands/design-review.md` review instructions.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Existing Product Design Scope
|
|
2
|
+
|
|
3
|
+
Load this resource when reviewing or changing an existing site or app.
|
|
4
|
+
|
|
5
|
+
## Establish the authorized change
|
|
6
|
+
|
|
7
|
+
| Operation | Treatment |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Audit | Inspect the current product and report findings; keep product source, design docs, tokens, and settings unchanged |
|
|
10
|
+
| Redesign with brand preservation | Improve the requested area using the existing brand and behavior as constraints |
|
|
11
|
+
| Authorized visual overhaul | Establish a new visual direction while retaining content and behavior outside the authorized change |
|
|
12
|
+
|
|
13
|
+
Use the user's stated scope and prior decisions. If the brief leaves a material
|
|
14
|
+
brand-preservation choice unresolved, clarify that choice before changing it.
|
|
15
|
+
|
|
16
|
+
## Capture the baseline
|
|
17
|
+
|
|
18
|
+
Read the existing design document and relevant implementation. Identify the
|
|
19
|
+
brand colors, type/fallback stack, marks, affected routes and navigation,
|
|
20
|
+
conversion paths, form/analytics contracts, accessibility behavior, and relevant
|
|
21
|
+
SEO metadata. Record inspected facts separately from proposed improvements.
|
|
22
|
+
|
|
23
|
+
Reuse an existing `.design-context.md`. Update it only when context documentation
|
|
24
|
+
is within the authorized deliverable; an audit can report its baseline directly.
|
|
25
|
+
|
|
26
|
+
## Preserve project contracts
|
|
27
|
+
|
|
28
|
+
- Keep approved brand tokens, marks, and copy voice unless their change is part
|
|
29
|
+
of the request. A vendor reference or upstream visual preference does not
|
|
30
|
+
authorize replacing them.
|
|
31
|
+
- Preserve supported languages and CJK-capable typography/fallback. Check actual
|
|
32
|
+
language coverage when a font changes.
|
|
33
|
+
- Retain URLs, anchors, primary navigation labels, form field identifiers,
|
|
34
|
+
analytics events, and tracking-dependent control names unless their change is
|
|
35
|
+
authorized. Include relevant SEO and analytics checks for an authorized change.
|
|
36
|
+
- Preserve legal/consent text and existing accessibility behavior outside the
|
|
37
|
+
requested changes.
|
|
38
|
+
- Keep the existing framework, styling, component, state, and i18n conventions.
|
|
39
|
+
Use [oma-frontend](../../oma-frontend/SKILL.md) or
|
|
40
|
+
[oma-mobile](../../oma-mobile/SKILL.md) for implementation.
|
|
41
|
+
|
|
42
|
+
## Route and verify the requested work
|
|
43
|
+
|
|
44
|
+
Select one supplier through
|
|
45
|
+
[external-design-skills.md](external-design-skills.md). Give it the baseline and
|
|
46
|
+
preservation constraints, then use its guidance for the selected operation.
|
|
47
|
+
Keep the change proportional to the brief; generic modernization rankings or
|
|
48
|
+
assumed visual-lift percentages do not decide scope.
|
|
49
|
+
|
|
50
|
+
Return findings for an audit. For authorized changes, capture accepted decisions
|
|
51
|
+
in the applicable project artifacts and use [checklist.md](checklist.md) to
|
|
52
|
+
record responsive, accessibility, and behavior checks actually performed.
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
# Stitch MCP Integration (Optional)
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Google Stitch is an AI-powered UI design platform. Its MCP server enables
|
|
6
|
+
coding agents to interact with design projects programmatically.
|
|
7
|
+
|
|
8
|
+
Stitch MCP is **optional**. Design operations work without it; it adds
|
|
9
|
+
visual preview and design extraction capabilities.
|
|
10
|
+
|
|
11
|
+
## Connection and Setup
|
|
12
|
+
|
|
13
|
+
- Official remote MCP endpoint: `https://stitch.googleapis.com/mcp`
|
|
14
|
+
- API key settings: [Stitch Settings](https://stitch.withgoogle.com/settings)
|
|
15
|
+
- Authentication: Stitch API key or Google Cloud OAuth/ADC.
|
|
16
|
+
|
|
17
|
+
When the user requests Stitch and its tools are unavailable:
|
|
18
|
+
1. Resolve the MCP client from the current runtime or existing config. Ask
|
|
19
|
+
only if it cannot be determined; preserve other MCP server entries.
|
|
20
|
+
2. Configure a direct HTTP connection to the official endpoint. Reuse
|
|
21
|
+
existing credentials; prefer the client's Google OAuth/ADC integration
|
|
22
|
+
when it supports Stitch. Otherwise use the API key route. Do not
|
|
23
|
+
install a third-party MCP proxy as the default or fallback.
|
|
24
|
+
3. Run the matching setup procedure when setup is authorized; do not stop
|
|
25
|
+
at displaying commands. The user completes Google sign-in, consent,
|
|
26
|
+
project selection, or key creation when needed.
|
|
27
|
+
4. Reload/reconnect the client's MCP server, discover its tools, and call
|
|
28
|
+
`list_projects`. An empty project list is a successful connection.
|
|
29
|
+
|
|
30
|
+
### OAuth/ADC with Antigravity CLI (`agy`)
|
|
31
|
+
|
|
32
|
+
Antigravity CLI supports Google Cloud ADC through
|
|
33
|
+
`authProviderType: "google_credentials"`. Use this provider for Stitch;
|
|
34
|
+
the account login used to run `agy` does not replace MCP ADC setup.
|
|
35
|
+
|
|
36
|
+
With the official gcloud CLI installed and the user's project selected:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
gcloud auth login
|
|
40
|
+
gcloud auth application-default login
|
|
41
|
+
gcloud config set project YOUR_PROJECT_ID
|
|
42
|
+
gcloud auth application-default set-quota-project YOUR_PROJECT_ID
|
|
43
|
+
gcloud beta services mcp enable stitch.googleapis.com --project=YOUR_PROJECT_ID
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The login commands open Google sign-in in the browser. The user completes
|
|
47
|
+
sign-in and consent; reuse valid credentials when already configured.
|
|
48
|
+
If the runtime cannot provide an interactive terminal or browser, give
|
|
49
|
+
the user the login command or gcloud's login URL and resume after login.
|
|
50
|
+
The account needs `roles/serviceusage.serviceUsageConsumer` on the selected
|
|
51
|
+
project. Report missing permissions without claiming a successful connection.
|
|
52
|
+
|
|
53
|
+
Merge this entry into the active Antigravity CLI `mcp_config.json`.
|
|
54
|
+
The current official global location is `~/.gemini/config/mcp_config.json`;
|
|
55
|
+
workspace configs use `.agents/mcp_config.json`. Prefer the private global
|
|
56
|
+
config for credentials. Use `/mcp` in `agy` to inspect and reload the
|
|
57
|
+
installed client's active configuration.
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"mcpServers": {
|
|
62
|
+
"stitch": {
|
|
63
|
+
"serverUrl": "https://stitch.googleapis.com/mcp",
|
|
64
|
+
"authProviderType": "google_credentials",
|
|
65
|
+
"headers": { "X-Goog-User-Project": "YOUR_PROJECT_ID" }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Antigravity uses `serverUrl` for remote MCP connections; `url` and
|
|
72
|
+
`httpUrl` are not supported. Its Google credential provider manages ADC
|
|
73
|
+
access tokens. For other clients, verify their documented Google OAuth/ADC
|
|
74
|
+
support before choosing this route. Do not save a one-time bearer token
|
|
75
|
+
as a permanent MCP header or assume generic DCR OAuth works for Stitch.
|
|
76
|
+
|
|
77
|
+
### API Key with Direct HTTP
|
|
78
|
+
|
|
79
|
+
If the API key route is selected and no key is configured, open
|
|
80
|
+
`https://stitch.withgoogle.com/settings` in the user's browser. Use the
|
|
81
|
+
available browser tool or the command for the current OS:
|
|
82
|
+
|
|
83
|
+
| OS | Command |
|
|
84
|
+
|----|---------|
|
|
85
|
+
| macOS | `open 'https://stitch.withgoogle.com/settings'` |
|
|
86
|
+
| Linux | `xdg-open 'https://stitch.withgoogle.com/settings'` |
|
|
87
|
+
| Windows (PowerShell) | `Start-Process 'https://stitch.withgoogle.com/settings'` |
|
|
88
|
+
|
|
89
|
+
If opening fails or no browser is available, provide the clickable
|
|
90
|
+
[Stitch Settings](https://stitch.withgoogle.com/settings) link. Have the
|
|
91
|
+
user create a key under **API Keys → Create Key** and configure it in the
|
|
92
|
+
client's private MCP config or secret/environment mechanism. Keep the key
|
|
93
|
+
out of committed project files and design artifacts.
|
|
94
|
+
|
|
95
|
+
Direct HTTP uses the official endpoint and the `X-Goog-Api-Key` header.
|
|
96
|
+
Merge the Stitch entry into the client's config using its actual schema.
|
|
97
|
+
|
|
98
|
+
#### Antigravity CLI (`agy`)
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
agy mcp add --type http --header "X-Goog-Api-Key: YOUR_KEY" \
|
|
102
|
+
stitch https://stitch.googleapis.com/mcp
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Flags must precede the server name. The equivalent private config entry is:
|
|
106
|
+
|
|
107
|
+
```json
|
|
108
|
+
{
|
|
109
|
+
"mcpServers": {
|
|
110
|
+
"stitch": {
|
|
111
|
+
"serverUrl": "https://stitch.googleapis.com/mcp",
|
|
112
|
+
"headers": { "X-Goog-Api-Key": "YOUR_KEY" }
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Reload through `/mcp` and call `list_projects` to verify.
|
|
119
|
+
|
|
120
|
+
#### Claude Code
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
claude mcp add stitch --transport http https://stitch.googleapis.com/mcp \
|
|
124
|
+
--header "X-Goog-Api-Key: YOUR_KEY" --scope user
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
#### Cursor (`.cursor/mcp.json` or user MCP config)
|
|
128
|
+
|
|
129
|
+
```json
|
|
130
|
+
{
|
|
131
|
+
"mcpServers": {
|
|
132
|
+
"stitch": {
|
|
133
|
+
"url": "https://stitch.googleapis.com/mcp",
|
|
134
|
+
"headers": { "X-Goog-Api-Key": "YOUR_KEY" }
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
#### VS Code (`.vscode/mcp.json` or user MCP config)
|
|
141
|
+
|
|
142
|
+
```json
|
|
143
|
+
{
|
|
144
|
+
"servers": {
|
|
145
|
+
"stitch": {
|
|
146
|
+
"type": "http",
|
|
147
|
+
"url": "https://stitch.googleapis.com/mcp",
|
|
148
|
+
"headers": { "X-Goog-Api-Key": "YOUR_KEY" }
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
#### Codex (`~/.codex/config.toml`)
|
|
155
|
+
|
|
156
|
+
Set `STITCH_API_KEY` in the environment that launches Codex, then merge:
|
|
157
|
+
|
|
158
|
+
```toml
|
|
159
|
+
[mcp_servers.stitch]
|
|
160
|
+
url = "https://stitch.googleapis.com/mcp"
|
|
161
|
+
env_http_headers = { "X-Goog-Api-Key" = "STITCH_API_KEY" }
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
`env_http_headers` maps header names to environment variable names, so
|
|
165
|
+
the value above is the variable name rather than the key itself.
|
|
166
|
+
For other clients, follow their official HTTP MCP configuration schema
|
|
167
|
+
with the same endpoint and API key header.
|
|
168
|
+
|
|
169
|
+
## Namespace Discovery
|
|
170
|
+
|
|
171
|
+
MCP tool names may be prefixed. Before calling, discover the prefix:
|
|
172
|
+
1. Use the runtime's tool discovery or MCP tool listing mechanism.
|
|
173
|
+
2. Look for tools containing "list_projects", "get_screen", etc.
|
|
174
|
+
3. Use the discovered names and input schemas.
|
|
175
|
+
|
|
176
|
+
Call `get_screen` and download its `htmlCode.downloadUrl` or
|
|
177
|
+
`screenshot.downloadUrl` for HTML or screenshots. To map screens to site
|
|
178
|
+
routes, retrieve each screen's HTML and perform that mapping locally.
|
|
179
|
+
Use only tools exposed by the connected official server.
|
|
180
|
+
|
|
181
|
+
## Tool Mapping by Operation
|
|
182
|
+
|
|
183
|
+
Follow the discovered input schemas for all calls.
|
|
184
|
+
|
|
185
|
+
### Extract existing design context
|
|
186
|
+
| Step | Tool | Input |
|
|
187
|
+
|------|------|-------|
|
|
188
|
+
| Find projects | `list_projects` | filter: "view=owned" |
|
|
189
|
+
| Get design theme | `get_project` | resource name → designTheme object |
|
|
190
|
+
| List screens | `list_screens` | numeric project ID |
|
|
191
|
+
| Download HTML | `get_screen` + HTTP download | screen identifier → `htmlCode.downloadUrl` |
|
|
192
|
+
| Download screenshot | `get_screen` + HTTP download | screen identifier → `screenshot.downloadUrl` |
|
|
193
|
+
|
|
194
|
+
### Explore a requested direction
|
|
195
|
+
| Step | Tool | Input |
|
|
196
|
+
|------|------|-------|
|
|
197
|
+
| Generate concept | `generate_screen_from_text` | text prompt + design context |
|
|
198
|
+
| Generate variants | `generate_variants` | existing screen ID |
|
|
199
|
+
| Preview | `get_screen` + HTTP download | `screenshot.downloadUrl` for visual comparison |
|
|
200
|
+
|
|
201
|
+
### Retrieve implementation references
|
|
202
|
+
| Step | Tool | Input |
|
|
203
|
+
|------|------|-------|
|
|
204
|
+
| Map site routes | local operation | requested screen-to-route mapping |
|
|
205
|
+
| Get page HTML | `get_screen` + HTTP download | `htmlCode.downloadUrl` per route |
|
|
206
|
+
|
|
207
|
+
## Available Tools
|
|
208
|
+
|
|
209
|
+
| Tool | Description |
|
|
210
|
+
|------|-------------|
|
|
211
|
+
| `list_projects` | List all accessible Stitch projects |
|
|
212
|
+
| `get_project` | Get project details (including designTheme) |
|
|
213
|
+
| `list_screens` | List screens within a project |
|
|
214
|
+
| `get_screen` | Get screen metadata and download URLs |
|
|
215
|
+
| `generate_screen_from_text` | Generate new screen from text prompt |
|
|
216
|
+
| `edit_screens` | Edit existing screens via text prompt |
|
|
217
|
+
| `generate_variants` | Generate design variants of a screen |
|
|
218
|
+
|
|
219
|
+
## Without Stitch
|
|
220
|
+
|
|
221
|
+
All workflow phases function without Stitch MCP:
|
|
222
|
+
|
|
223
|
+
| Phase | With Stitch | Without Stitch |
|
|
224
|
+
|-------|-------------|----------------|
|
|
225
|
+
| EXTRACT | API-based token extraction | Manual URL HTML/CSS analysis or skip |
|
|
226
|
+
| PROPOSE | Visual screen generation + screenshots | Text-based concept descriptions |
|
|
227
|
+
| GENERATE | Download screen HTML and map routes locally | Direct code generation from DESIGN.md |
|
|
228
|
+
|
|
229
|
+
## Troubleshooting
|
|
230
|
+
|
|
231
|
+
Use the client's MCP status/logs and a `list_projects` call to diagnose
|
|
232
|
+
the connection. For ADC errors, rerun `gcloud auth application-default login`
|
|
233
|
+
and check the quota project, Stitch MCP API enablement, and IAM permissions.
|
|
234
|
+
For missing/invalid API keys, reopen Stitch Settings and update the private
|
|
235
|
+
client config's `X-Goog-Api-Key` header or its environment mapping.
|
|
236
|
+
If the client cannot reconnect in the current session, report that a
|
|
237
|
+
reload is needed; do not claim verification until `list_projects` succeeds.
|
|
238
|
+
|
|
239
|
+
## Sources
|
|
240
|
+
|
|
241
|
+
- [Official Stitch MCP setup](https://stitch.withgoogle.com/docs/mcp/setup)
|
|
242
|
+
- [Antigravity CLI MCP and Google credentials](https://antigravity.google/docs/mcp?tab=cli)
|
|
243
|
+
- [Google Cloud ADC and scopes](https://cloud.google.com/docs/authentication/application-default-credentials)
|
|
244
|
+
- [Codex HTTP MCP configuration](https://developers.openai.com/codex/mcp)
|