create-yss-spec 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/template/asset-runtime.js +3 -1
- package/template/.agents/skills/.strategic-design-skills-manifest.json +1 -1
- package/template/.agents/skills/codebase-design/SKILL.md +4 -0
- package/template/{.codex/skills/improve-codebase-architecture/SKILL.md → .agents/skills/codebase-design/references/architecture-audit.md} +3 -9
- package/template/.agents/skills/frontend-commit/SKILL.md +4 -93
- package/template/.agents/skills/git-commit-core/SKILL.md +18 -0
- package/template/.agents/skills/java-backend-commit/SKILL.md +4 -96
- package/template/.agents/skills/llm-wiki/SKILL.md +12 -13
- package/template/.agents/skills/llm-wiki/assets/CLAUDE.md.template +7 -1
- package/template/.agents/skills/llm-wiki/references/compile.md +21 -114
- package/template/.agents/skills/llm-wiki/references/ingest.md +8 -33
- package/template/.agents/skills/llm-wiki/references/lint.md +9 -46
- package/template/.agents/skills/llm-wiki/references/query.md +9 -18
- package/template/.agents/skills/llm-wiki/references/schema.md +56 -29
- package/template/.agents/skills/llm-wiki/references/transactions.md +48 -0
- package/template/.agents/skills/llm-wiki/references/writing.md +4 -4
- package/template/.agents/skills/llm-wiki/scripts/advise.mjs +46 -58
- package/template/.agents/skills/llm-wiki/scripts/advise.test.mjs +11 -16
- package/template/.agents/skills/llm-wiki/scripts/core.mjs +262 -0
- package/template/.agents/skills/llm-wiki/scripts/extract.mjs +35 -18
- package/template/.agents/skills/llm-wiki/scripts/extract.test.mjs +5 -8
- package/template/.agents/skills/llm-wiki/scripts/feedback.mjs +51 -0
- package/template/.agents/skills/llm-wiki/scripts/inventory.mjs +43 -171
- package/template/.agents/skills/llm-wiki/scripts/inventory.test.mjs +25 -18
- package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.mjs +69 -92
- package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +25 -37
- package/template/.agents/skills/llm-wiki/scripts/migrate.mjs +51 -0
- package/template/.agents/skills/llm-wiki/scripts/query.mjs +149 -0
- package/template/.agents/skills/llm-wiki/scripts/regressions.test.mjs +101 -0
- package/template/.agents/skills/llm-wiki/scripts/sources.mjs +166 -0
- package/template/.agents/skills/llm-wiki/scripts/transaction.mjs +384 -0
- package/template/.agents/skills/llm-wiki/scripts/v2.test.mjs +354 -0
- package/template/.agents/skills/prototype/LOGIC.md +1 -1
- package/template/.agents/skills/prototype/SKILL.md +5 -19
- package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +3 -3
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.agents/skills/yss-implementation-contract-compiler/references/boundaries.md +2 -3
- package/template/.agents/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +14 -0
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +8 -8
- package/template/.agents/skills/yss-product-lifecycle/references/external-input-questionnaire.md +19 -0
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +20 -4
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.agents/skills/yss-product-lifecycle/references/plan-requirements.md +10 -0
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.agents/skills/yss-research/SKILL.md +4 -0
- package/template/.codex/skills/codebase-design/SKILL.md +4 -0
- package/template/{.pi/skills/improve-codebase-architecture/SKILL.md → .codex/skills/codebase-design/references/architecture-audit.md} +3 -9
- package/template/.codex/skills/frontend-commit/SKILL.md +4 -93
- package/template/.codex/skills/git-commit-core/SKILL.md +18 -0
- package/template/.codex/skills/java-backend-commit/SKILL.md +4 -96
- package/template/.codex/skills/llm-wiki/SKILL.md +12 -13
- package/template/.codex/skills/llm-wiki/assets/CLAUDE.md.template +7 -1
- package/template/.codex/skills/llm-wiki/references/compile.md +21 -114
- package/template/.codex/skills/llm-wiki/references/ingest.md +8 -33
- package/template/.codex/skills/llm-wiki/references/lint.md +9 -46
- package/template/.codex/skills/llm-wiki/references/query.md +9 -18
- package/template/.codex/skills/llm-wiki/references/schema.md +56 -29
- package/template/.codex/skills/llm-wiki/references/transactions.md +48 -0
- package/template/.codex/skills/llm-wiki/references/writing.md +4 -4
- package/template/.codex/skills/llm-wiki/scripts/advise.mjs +46 -58
- package/template/.codex/skills/llm-wiki/scripts/advise.test.mjs +11 -16
- package/template/.codex/skills/llm-wiki/scripts/core.mjs +262 -0
- package/template/.codex/skills/llm-wiki/scripts/extract.mjs +35 -18
- package/template/.codex/skills/llm-wiki/scripts/extract.test.mjs +5 -8
- package/template/.codex/skills/llm-wiki/scripts/feedback.mjs +51 -0
- package/template/.codex/skills/llm-wiki/scripts/inventory.mjs +43 -171
- package/template/.codex/skills/llm-wiki/scripts/inventory.test.mjs +25 -18
- package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.mjs +69 -92
- package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +25 -37
- package/template/.codex/skills/llm-wiki/scripts/migrate.mjs +51 -0
- package/template/.codex/skills/llm-wiki/scripts/query.mjs +149 -0
- package/template/.codex/skills/llm-wiki/scripts/regressions.test.mjs +101 -0
- package/template/.codex/skills/llm-wiki/scripts/sources.mjs +166 -0
- package/template/.codex/skills/llm-wiki/scripts/transaction.mjs +384 -0
- package/template/.codex/skills/llm-wiki/scripts/v2.test.mjs +354 -0
- package/template/.codex/skills/prototype/LOGIC.md +1 -1
- package/template/.codex/skills/prototype/SKILL.md +5 -19
- package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +3 -3
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.codex/skills/yss-implementation-contract-compiler/references/boundaries.md +2 -3
- package/template/.codex/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +14 -0
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +8 -8
- package/template/.codex/skills/yss-product-lifecycle/references/external-input-questionnaire.md +19 -0
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +20 -4
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.codex/skills/yss-product-lifecycle/references/plan-requirements.md +10 -0
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.codex/skills/yss-research/SKILL.md +4 -0
- package/template/.cursor/skills/codebase-design/SKILL.md +4 -0
- package/template/.cursor/skills/{improve-codebase-architecture/SKILL.md → codebase-design/references/architecture-audit.md} +3 -9
- package/template/.cursor/skills/frontend-commit/SKILL.md +4 -93
- package/template/.cursor/skills/git-commit-core/SKILL.md +18 -0
- package/template/.cursor/skills/java-backend-commit/SKILL.md +4 -96
- package/template/.cursor/skills/llm-wiki/SKILL.md +12 -13
- package/template/.cursor/skills/llm-wiki/assets/CLAUDE.md.template +7 -1
- package/template/.cursor/skills/llm-wiki/references/compile.md +21 -114
- package/template/.cursor/skills/llm-wiki/references/ingest.md +8 -33
- package/template/.cursor/skills/llm-wiki/references/lint.md +9 -46
- package/template/.cursor/skills/llm-wiki/references/query.md +9 -18
- package/template/.cursor/skills/llm-wiki/references/schema.md +56 -29
- package/template/.cursor/skills/llm-wiki/references/transactions.md +48 -0
- package/template/.cursor/skills/llm-wiki/references/writing.md +4 -4
- package/template/.cursor/skills/llm-wiki/scripts/advise.mjs +46 -58
- package/template/.cursor/skills/llm-wiki/scripts/advise.test.mjs +11 -16
- package/template/.cursor/skills/llm-wiki/scripts/core.mjs +262 -0
- package/template/.cursor/skills/llm-wiki/scripts/extract.mjs +35 -18
- package/template/.cursor/skills/llm-wiki/scripts/extract.test.mjs +5 -8
- package/template/.cursor/skills/llm-wiki/scripts/feedback.mjs +51 -0
- package/template/.cursor/skills/llm-wiki/scripts/inventory.mjs +43 -171
- package/template/.cursor/skills/llm-wiki/scripts/inventory.test.mjs +25 -18
- package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.mjs +69 -92
- package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +25 -37
- package/template/.cursor/skills/llm-wiki/scripts/migrate.mjs +51 -0
- package/template/.cursor/skills/llm-wiki/scripts/query.mjs +149 -0
- package/template/.cursor/skills/llm-wiki/scripts/regressions.test.mjs +101 -0
- package/template/.cursor/skills/llm-wiki/scripts/sources.mjs +166 -0
- package/template/.cursor/skills/llm-wiki/scripts/transaction.mjs +384 -0
- package/template/.cursor/skills/llm-wiki/scripts/v2.test.mjs +354 -0
- package/template/.cursor/skills/prototype/LOGIC.md +1 -1
- package/template/.cursor/skills/prototype/SKILL.md +5 -19
- package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +3 -3
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/boundaries.md +2 -3
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +14 -0
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +8 -8
- package/template/.cursor/skills/yss-product-lifecycle/references/external-input-questionnaire.md +19 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +20 -4
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.cursor/skills/yss-product-lifecycle/references/plan-requirements.md +10 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.cursor/skills/yss-research/SKILL.md +4 -0
- package/template/.pi/skills/codebase-design/SKILL.md +4 -0
- package/template/{.agents/skills/improve-codebase-architecture/SKILL.md → .pi/skills/codebase-design/references/architecture-audit.md} +3 -9
- package/template/.pi/skills/frontend-commit/SKILL.md +4 -93
- package/template/.pi/skills/git-commit-core/SKILL.md +18 -0
- package/template/.pi/skills/java-backend-commit/SKILL.md +4 -96
- package/template/.pi/skills/llm-wiki/SKILL.md +12 -13
- package/template/.pi/skills/llm-wiki/assets/CLAUDE.md.template +7 -1
- package/template/.pi/skills/llm-wiki/references/compile.md +21 -114
- package/template/.pi/skills/llm-wiki/references/ingest.md +8 -33
- package/template/.pi/skills/llm-wiki/references/lint.md +9 -46
- package/template/.pi/skills/llm-wiki/references/query.md +9 -18
- package/template/.pi/skills/llm-wiki/references/schema.md +56 -29
- package/template/.pi/skills/llm-wiki/references/transactions.md +48 -0
- package/template/.pi/skills/llm-wiki/references/writing.md +4 -4
- package/template/.pi/skills/llm-wiki/scripts/advise.mjs +46 -58
- package/template/.pi/skills/llm-wiki/scripts/advise.test.mjs +11 -16
- package/template/.pi/skills/llm-wiki/scripts/core.mjs +262 -0
- package/template/.pi/skills/llm-wiki/scripts/extract.mjs +35 -18
- package/template/.pi/skills/llm-wiki/scripts/extract.test.mjs +5 -8
- package/template/.pi/skills/llm-wiki/scripts/feedback.mjs +51 -0
- package/template/.pi/skills/llm-wiki/scripts/inventory.mjs +43 -171
- package/template/.pi/skills/llm-wiki/scripts/inventory.test.mjs +25 -18
- package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.mjs +69 -92
- package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +25 -37
- package/template/.pi/skills/llm-wiki/scripts/migrate.mjs +51 -0
- package/template/.pi/skills/llm-wiki/scripts/query.mjs +149 -0
- package/template/.pi/skills/llm-wiki/scripts/regressions.test.mjs +101 -0
- package/template/.pi/skills/llm-wiki/scripts/sources.mjs +166 -0
- package/template/.pi/skills/llm-wiki/scripts/transaction.mjs +384 -0
- package/template/.pi/skills/llm-wiki/scripts/v2.test.mjs +354 -0
- package/template/.pi/skills/prototype/LOGIC.md +1 -1
- package/template/.pi/skills/prototype/SKILL.md +5 -19
- package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +3 -3
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/boundaries.md +2 -3
- package/template/.pi/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +14 -0
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +8 -8
- package/template/.pi/skills/yss-product-lifecycle/references/external-input-questionnaire.md +19 -0
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +5 -5
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +20 -4
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.pi/skills/yss-product-lifecycle/references/plan-requirements.md +10 -0
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.pi/skills/yss-research/SKILL.md +4 -0
- package/template/.template-spec/agents/README.md +1 -1
- package/template/.template-spec/agents/digital-human-roles.yaml +1 -1
- package/template/.template-spec/agents/skill-migrations.md +15 -0
- package/template/.template-spec/agents/yss-skill-registry.yaml +10 -29
- package/template/.template-spec/architecture/README.md +3 -34
- package/template/.template-spec/plan/templates/competitive-analysis-template.md +2 -2
- package/template/.template-spec/process/contract-reading.md +24 -0
- package/template/.template-spec/process/lifecycle-registry-baseline.json +3 -1
- package/template/.template-spec/process/lifecycle-registry.yaml +6 -0
- package/template/.template-spec/process/research-completion.md +23 -0
- package/template/.template-spec/process/schemas/digital-human-task-package.schema.json +202 -12
- package/template/.template-spec/process/schemas/frontend-implementation-evidence.schema.json +7 -15
- package/template/.template-spec/process/subagent-collaboration.md +8 -0
- package/template/.template-spec/process/templates/frontend-implementation-verification-template.yaml +15 -1
- package/template/AGENTS.md +1 -1
- package/template/CONTEXT.md +5 -1
- package/template/README.md +12 -24
- package/template/scripts/contract +5 -5
- package/template/scripts/lib/contract-views.mjs +57 -2
- package/template/scripts/lib/execution-evidence.mjs +51 -0
- package/template/scripts/lib/harness-execution-scope.mjs +1 -1
- package/template/scripts/lib/implementation-contract-compiler.mjs +2 -0
- package/template/scripts/lib/lifecycle-context-query.mjs +15 -3
- package/template/scripts/lib/lifecycle-status.mjs +32 -6
- package/template/scripts/lib/lifecycle-transition.mjs +19 -1
- package/template/scripts/lib/maintenance-research.mjs +63 -0
- package/template/scripts/lib/read-only-intake.mjs +132 -0
- package/template/scripts/lib/skill-registry.mjs +2 -1
- package/template/scripts/lib/skill-supply-chain.mjs +4 -0
- package/template/scripts/lib/slice-task-package.mjs +1 -1
- package/template/scripts/lib/task-package.mjs +9 -2
- package/template/scripts/lifecycle-status +2 -2
- package/template/scripts/prepare-read-only-intake +16 -0
- package/template/scripts/run-read-only-intake +14 -0
- package/template/scripts/verify-digital-human-task-package +2 -2
- package/template/scripts/verify-frontend-implementation-evidence +24 -1
- package/template/scripts/verify-maintenance-research +13 -0
- package/template/skills-lock.json +19 -76
- package/template.manifest.json +118 -29
- package/template.snapshot.json +5 -6
- package/template/.agents/skills/grill-with-docs/SKILL.md +0 -20
- package/template/.agents/skills/grill-with-docs/agents/openai.yaml +0 -5
- package/template/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/template/.agents/skills/prototype/UI.md +0 -112
- package/template/.agents/skills/setup-matt-pocock-skills/domain.md +0 -37
- package/template/.agents/skills/to-questionnaire/SKILL.md +0 -55
- package/template/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/template/.agents/skills/wait-what/SKILL.md +0 -7
- package/template/.agents/skills/wait-what/agents/openai.yaml +0 -5
- package/template/.codex/skills/data-analytics/.app.json +0 -84
- package/template/.codex/skills/data-analytics/.codex-plugin/plugin.json +0 -66
- package/template/.codex/skills/data-analytics/.mcp.json +0 -30
- package/template/.codex/skills/data-analytics/AGENTS.md +0 -20
- package/template/.codex/skills/data-analytics/DEPENDENCIES.MD +0 -27
- package/template/.codex/skills/data-analytics/README.md +0 -60
- package/template/.codex/skills/data-analytics/__yss_dotfile__.gitignore +0 -2
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html +0 -16
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html.gz.b64.part001 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html.gz.b64.part002 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html.gz.b64.part003 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html.gz.b64.part004 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html.gz.b64.part005 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-artifact-widget.html.gz.b64.part006 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html +0 -16
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part001 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part002 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part003 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part004 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part005 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part006 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-chart-widget.html.gz.b64.part007 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-small.svg +0 -5
- package/template/.codex/skills/data-analytics/assets/datascience-table-widget.html +0 -16
- package/template/.codex/skills/data-analytics/assets/datascience-table-widget.html.gz.b64.part001 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-table-widget.html.gz.b64.part002 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-table-widget.html.gz.b64.part003 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience-table-widget.html.gz.b64.part004 +0 -1
- package/template/.codex/skills/data-analytics/assets/datascience.png +0 -0
- package/template/.codex/skills/data-analytics/assets/datascience.svg +0 -10
- package/template/.codex/skills/data-analytics/mcp/server.cjs +0 -2964
- package/template/.codex/skills/data-analytics/package-lock.json +0 -3048
- package/template/.codex/skills/data-analytics/package.json +0 -43
- package/template/.codex/skills/data-analytics/scripts/normalize-widget-assets.mjs +0 -75
- package/template/.codex/skills/data-analytics/skills/analyze-data-quality/SKILL.md +0 -137
- package/template/.codex/skills/data-analytics/skills/analyze-data-quality/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/analyze-data-quality/references/quality-checks.md +0 -29
- package/template/.codex/skills/data-analytics/skills/build-dashboard/SKILL.md +0 -148
- package/template/.codex/skills/data-analytics/skills/build-dashboard/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/build-dashboard/specifications/bi-platform-dashboard.md +0 -18
- package/template/.codex/skills/data-analytics/skills/build-dashboard/specifications/html-dashboard.md +0 -24
- package/template/.codex/skills/data-analytics/skills/build-dashboard/specifications/mcp-artifact-dashboard.md +0 -71
- package/template/.codex/skills/data-analytics/skills/build-dashboard/specifications/streamlit-dashboard.md +0 -85
- package/template/.codex/skills/data-analytics/skills/build-report/SKILL.md +0 -207
- package/template/.codex/skills/data-analytics/skills/build-report/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/build-report/assets/executive-report-shell.html +0 -70
- package/template/.codex/skills/data-analytics/skills/build-report/assets/technical-report-shell.html +0 -66
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/SKILL.md +0 -108
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/__init__.py +0 -1
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/cli.py +0 -52
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/constants.py +0 -61
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/docx_writer.py +0 -362
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/html_parser.py +0 -829
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/model.py +0 -30
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/plan.py +0 -127
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/quality.py +0 -374
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/rendering.py +0 -613
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/table_utils.py +0 -54
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/utils.py +0 -16
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc_plan.py +0 -9
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/tests/test_delivery_plan.py +0 -45
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-slides/SKILL.md +0 -77
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-slides/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-slides/scripts/report_to_google_slides.py +0 -2379
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-pdf/SKILL.md +0 -88
- package/template/.codex/skills/data-analytics/skills/build-report/report-to-pdf/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/build-report/specifications/executive-report.md +0 -97
- package/template/.codex/skills/data-analytics/skills/build-report/specifications/mcp-app-report.md +0 -59
- package/template/.codex/skills/data-analytics/skills/build-report/specifications/technical-report.md +0 -75
- package/template/.codex/skills/data-analytics/skills/design-kpis/SKILL.md +0 -103
- package/template/.codex/skills/data-analytics/skills/design-kpis/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/gather-business-context/SKILL.md +0 -68
- package/template/.codex/skills/data-analytics/skills/gather-business-context/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/index/SKILL.md +0 -251
- package/template/.codex/skills/data-analytics/skills/index/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/jupyter-notebooks/SKILL.md +0 -131
- package/template/.codex/skills/data-analytics/skills/jupyter-notebooks/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/kpi-reporting/SKILL.md +0 -141
- package/template/.codex/skills/data-analytics/skills/kpi-reporting/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/kpi-reporting/references/report-templates.md +0 -32
- package/template/.codex/skills/data-analytics/skills/market-sizing/SKILL.md +0 -106
- package/template/.codex/skills/data-analytics/skills/market-sizing/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/metric-diagnostics/SKILL.md +0 -130
- package/template/.codex/skills/data-analytics/skills/metric-diagnostics/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/product-business-analysis/SKILL.md +0 -141
- package/template/.codex/skills/data-analytics/skills/product-business-analysis/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/spreadsheets/SKILL.md +0 -178
- package/template/.codex/skills/data-analytics/skills/spreadsheets/agents/openai.yaml +0 -9
- package/template/.codex/skills/data-analytics/skills/spreadsheets/assets/file-spreadsheet.png +0 -0
- package/template/.codex/skills/data-analytics/skills/spreadsheets/charts.md +0 -31
- package/template/.codex/skills/data-analytics/skills/spreadsheets/references/artifact_tool_api.md +0 -466
- package/template/.codex/skills/data-analytics/skills/spreadsheets/style_guidelines.md +0 -99
- package/template/.codex/skills/data-analytics/skills/user-context/SKILL.md +0 -197
- package/template/.codex/skills/data-analytics/skills/user-context/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/user-context/plugin-author-config/automation-config.md +0 -26
- package/template/.codex/skills/data-analytics/skills/user-context/plugin-author-config/source-category-config.json +0 -51
- package/template/.codex/skills/data-analytics/skills/user-context/plugin-author-config/user-context-config.md +0 -66
- package/template/.codex/skills/data-analytics/skills/user-context/references/automation.md +0 -69
- package/template/.codex/skills/data-analytics/skills/user-context/references/onboarding-examples.md +0 -204
- package/template/.codex/skills/data-analytics/skills/user-context/references/onboarding-state-template.json +0 -87
- package/template/.codex/skills/data-analytics/skills/user-context/references/onboarding.md +0 -497
- package/template/.codex/skills/data-analytics/skills/user-context/references/semantic-layer/connector-playbook.md +0 -74
- package/template/.codex/skills/data-analytics/skills/user-context/references/semantic-layer/setup.md +0 -65
- package/template/.codex/skills/data-analytics/skills/user-context/references/semantic-layer/skill-template.md +0 -160
- package/template/.codex/skills/data-analytics/skills/user-context/references/semantic-layer/source-intake.md +0 -75
- package/template/.codex/skills/data-analytics/skills/user-context/references/semantic-layer/weekly-polling-automation.md +0 -96
- package/template/.codex/skills/data-analytics/skills/user-context/references/source-category-runtime.md +0 -263
- package/template/.codex/skills/data-analytics/skills/user-context/scripts/data_analytics_preflight.py +0 -1462
- package/template/.codex/skills/data-analytics/skills/user-context/scripts/init_user_context_state.py +0 -128
- package/template/.codex/skills/data-analytics/skills/user-context/scripts/reset_user_context_state.py +0 -101
- package/template/.codex/skills/data-analytics/skills/user-context/scripts/validate_user_context_preflight.py +0 -499
- package/template/.codex/skills/data-analytics/skills/user-context/tests/test_state_helpers.py +0 -978
- package/template/.codex/skills/data-analytics/skills/validate-data/SKILL.md +0 -126
- package/template/.codex/skills/data-analytics/skills/validate-data/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/validate-data/references/validation-methods.md +0 -70
- package/template/.codex/skills/data-analytics/skills/visualize-data/SKILL.md +0 -157
- package/template/.codex/skills/data-analytics/skills/visualize-data/agents/openai.yaml +0 -6
- package/template/.codex/skills/data-analytics/skills/visualize-data/references/seaborn-templates.md +0 -774
- package/template/.codex/skills/data-analytics/src/DESIGN.md +0 -222
- package/template/.codex/skills/data-analytics/src/analytics-app/App.tsx +0 -3666
- package/template/.codex/skills/data-analytics/src/analytics-app/analytics-layout.test.mjs +0 -136
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/ChartFrame.tsx +0 -54
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/ChartLegend.tsx +0 -96
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/ChartRenderer.tsx +0 -1647
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/ChartTooltip.tsx +0 -245
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-app-helpers.tsx +0 -462
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-capabilities.ts +0 -107
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-compatibility.ts +0 -164
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-contract.ts +0 -192
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-theme.ts +0 -203
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-tokens.css +0 -619
- package/template/.codex/skills/data-analytics/src/analytics-app/charting/chart-transforms.ts +0 -402
- package/template/.codex/skills/data-analytics/src/analytics-app/fonts/SystemSansVariableVF.woff2 +0 -0
- package/template/.codex/skills/data-analytics/src/analytics-app/imageExport.ts +0 -370
- package/template/.codex/skills/data-analytics/src/analytics-app/layout/AnalyticsLayoutCanvas.tsx +0 -536
- package/template/.codex/skills/data-analytics/src/analytics-app/layout/RichMarkdown.tsx +0 -681
- package/template/.codex/skills/data-analytics/src/analytics-app/layout/analyticsLayoutCore.ts +0 -164
- package/template/.codex/skills/data-analytics/src/analytics-app/main.tsx +0 -21
- package/template/.codex/skills/data-analytics/src/analytics-app/scripts/chart_contract.py +0 -472
- package/template/.codex/skills/data-analytics/src/analytics-app/scripts/check_analytics_app_runtime_links.py +0 -75
- package/template/.codex/skills/data-analytics/src/analytics-app/scripts/design_contract.py +0 -142
- package/template/.codex/skills/data-analytics/src/analytics-app/scripts/package_utils.py +0 -142
- package/template/.codex/skills/data-analytics/src/analytics-app/scripts/tests/test_package_utils.py +0 -377
- package/template/.codex/skills/data-analytics/src/analytics-app/styles.css +0 -3468
- package/template/.codex/skills/data-analytics/src/analytics-app/tables/DataTable.d.ts +0 -44
- package/template/.codex/skills/data-analytics/src/analytics-app/tables/DataTable.jsx +0 -639
- package/template/.codex/skills/data-analytics/src/analytics-app/tables/data-table.css +0 -327
- package/template/.codex/skills/data-analytics/src/analytics-app/tokens.css +0 -225
- package/template/.codex/skills/data-analytics/src/analytics-app/types.ts +0 -204
- package/template/.codex/skills/data-analytics/src/analytics-app-core.md +0 -85
- package/template/.codex/skills/data-analytics/src/codex-style-contract.md +0 -30
- package/template/.codex/skills/data-analytics/src/datascience-artifact-widget.html +0 -12
- package/template/.codex/skills/data-analytics/src/datascience-artifact-widget.jsx +0 -1008
- package/template/.codex/skills/data-analytics/src/datascience-chart-widget.css +0 -2117
- package/template/.codex/skills/data-analytics/src/datascience-chart-widget.html +0 -122
- package/template/.codex/skills/data-analytics/src/datascience-chart-widget.js +0 -3588
- package/template/.codex/skills/data-analytics/src/datascience-table-widget.css +0 -483
- package/template/.codex/skills/data-analytics/src/datascience-table-widget.html +0 -32
- package/template/.codex/skills/data-analytics/src/datascience-table-widget.js +0 -333
- package/template/.codex/skills/data-analytics/src/mcp-host.js +0 -153
- package/template/.codex/skills/data-analytics/src/recharts-config.js +0 -315
- package/template/.codex/skills/data-analytics/src/recharts-renderer.jsx +0 -294
- package/template/.codex/skills/data-analytics/src/sql-source-view.css +0 -33
- package/template/.codex/skills/data-analytics/src/sql-source-view.js +0 -157
- package/template/.codex/skills/data-analytics/src/styles/codex-theme.css +0 -121
- package/template/.codex/skills/data-analytics/src/table-renderer.jsx +0 -28
- package/template/.codex/skills/data-analytics/tests/chart-transforms.test.mjs +0 -87
- package/template/.codex/skills/data-analytics/tests/funnel-smoke.html +0 -105
- package/template/.codex/skills/data-analytics/tests/inline-widget-compare.html +0 -233
- package/template/.codex/skills/data-analytics/tests/mcp-server.test.mjs +0 -1500
- package/template/.codex/skills/data-analytics/tests/native-style-contract.test.mjs +0 -219
- package/template/.codex/skills/data-analytics/tests/recharts-config.test.mjs +0 -144
- package/template/.codex/skills/data-analytics/tests/recharts-renderer.test.mjs +0 -11
- package/template/.codex/skills/data-analytics/tests/rich-markdown.test.mjs +0 -54
- package/template/.codex/skills/data-analytics/tests/widget-render-harness.html +0 -321
- package/template/.codex/skills/data-analytics/tsconfig.json +0 -19
- package/template/.codex/skills/data-analytics/vite.config.ts +0 -46
- package/template/.codex/skills/grill-with-docs/SKILL.md +0 -20
- package/template/.codex/skills/grill-with-docs/agents/openai.yaml +0 -5
- package/template/.codex/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/template/.codex/skills/prototype/UI.md +0 -112
- package/template/.codex/skills/setup-matt-pocock-skills/domain.md +0 -37
- package/template/.codex/skills/to-questionnaire/SKILL.md +0 -55
- package/template/.codex/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/template/.codex/skills/wait-what/SKILL.md +0 -7
- package/template/.codex/skills/wait-what/agents/openai.yaml +0 -5
- package/template/.cursor/skills/grill-with-docs/SKILL.md +0 -20
- package/template/.cursor/skills/grill-with-docs/agents/openai.yaml +0 -5
- package/template/.cursor/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/template/.cursor/skills/prototype/UI.md +0 -112
- package/template/.cursor/skills/setup-matt-pocock-skills/domain.md +0 -37
- package/template/.cursor/skills/to-questionnaire/SKILL.md +0 -55
- package/template/.cursor/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/template/.cursor/skills/wait-what/SKILL.md +0 -7
- package/template/.cursor/skills/wait-what/agents/openai.yaml +0 -5
- package/template/.pi/skills/grill-with-docs/SKILL.md +0 -20
- package/template/.pi/skills/grill-with-docs/agents/openai.yaml +0 -5
- package/template/.pi/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/template/.pi/skills/prototype/UI.md +0 -112
- package/template/.pi/skills/setup-matt-pocock-skills/domain.md +0 -37
- package/template/.pi/skills/to-questionnaire/SKILL.md +0 -55
- package/template/.pi/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/template/.pi/skills/wait-what/SKILL.md +0 -7
- package/template/.pi/skills/wait-what/agents/openai.yaml +0 -5
- package/template/.template-spec/agents/domain.md +0 -31
- /package/template/.agents/skills/{improve-codebase-architecture → codebase-design/references}/HTML-REPORT.md +0 -0
- /package/template/.codex/skills/{improve-codebase-architecture → codebase-design/references}/HTML-REPORT.md +0 -0
- /package/template/.cursor/skills/{improve-codebase-architecture → codebase-design/references}/HTML-REPORT.md +0 -0
- /package/template/.pi/skills/{improve-codebase-architecture → codebase-design/references}/HTML-REPORT.md +0 -0
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Data Analytics Artifacts
|
|
3
|
-
description: Design contract for data analytics artifacts.
|
|
4
|
-
colors:
|
|
5
|
-
bg-primary: { figma: "bg/primary", css: "--ds-surface", light: "#FFFFFF", dark: "#212121" }
|
|
6
|
-
bg-secondary: { figma: "bg/secondary", css: "--ds-surface-secondary", light: "#E8E8E8", dark: "#303030" }
|
|
7
|
-
bg-tertiary: { figma: "bg/tertiary", css: "--ds-surface-tertiary", light: "#F3F3F3", dark: "#414141" }
|
|
8
|
-
border-light: { figma: "border/light", css: "--ds-border-subtle", light: "#0D0D0D / 5%", dark: "#FFFFFF / 5%" }
|
|
9
|
-
border-default: { figma: "border/default", css: "--ds-border", light: "#0D0D0D / 10%", dark: "#FFFFFF / 15%" }
|
|
10
|
-
border-heavy: { figma: "border/heavy", css: "--ds-border-strong", light: "#0D0D0D / 15%", dark: "#FFFFFF / 20%" }
|
|
11
|
-
text-primary: { figma: "text/primary", css: "--ds-text-primary", light: "#0D0D0D", dark: "#FFFFFF" }
|
|
12
|
-
text-secondary: { figma: "text/secondary", css: "--ds-text-secondary", light: "#5D5D5D", dark: "#CDCDCD" }
|
|
13
|
-
text-tertiary: { figma: "text/tertiary", css: "--ds-text-tertiary", light: "#8F8F8F", dark: "#AFAFAF" }
|
|
14
|
-
icon-accent: { figma: "icon/accent", css: "--ds-blue-bright", light: "#0285FF", dark: "#48AAFF" }
|
|
15
|
-
warning-bg: { figma: "bg/status/warning", light: "#FFF5F0", dark: "#4A2206" }
|
|
16
|
-
warning-text: { figma: "text/status/warning", light: "#E25507", dark: "#FF9E6C" }
|
|
17
|
-
error-bg: { figma: "bg/status/error", light: "#FFF0F0", dark: "#4D100E" }
|
|
18
|
-
error-text: { figma: "text/status/error", light: "#FF002A", dark: "#FF8583" }
|
|
19
|
-
chart-blue-500: { figma: "blue/500", value: "#0169CC", use: "primary chart series in the reference artifact" }
|
|
20
|
-
chart-blue-100: { figma: "blue/100", value: "#99CEFF", use: "light comparison or range fill" }
|
|
21
|
-
chart-green-700: { figma: "green/700", value: "#00692A", use: "positive status or favorable delta" }
|
|
22
|
-
chart-green-25: { figma: "green/25", value: "#EDFAF2", use: "positive status background" }
|
|
23
|
-
chart-purple-500: { figma: "purple/500", value: "#8046D9", use: "secondary chart series family" }
|
|
24
|
-
typography:
|
|
25
|
-
text-xs-normal: { figma: "text/xs/normal", fontFamily: "System Sans Variable", fontSize: "12px", lineHeight: "18px", fontWeight: 400 }
|
|
26
|
-
text-xs-semibold: { figma: "text/xs/semibold", fontFamily: "System Sans Variable", fontSize: "12px", lineHeight: "18px", fontWeight: 600 }
|
|
27
|
-
text-sm-normal: { figma: "text/sm/normal", fontFamily: "System Sans Variable", fontSize: "14px", lineHeight: "22px", fontWeight: 400, letterSpacing: "-1%" }
|
|
28
|
-
text-sm-medium: { figma: "text/sm/medium", fontFamily: "System Sans Variable", fontSize: "14px", lineHeight: "22px", fontWeight: 500, letterSpacing: "-1%" }
|
|
29
|
-
text-md-medium: { figma: "text/md/medium", fontFamily: "System Sans Variable", fontSize: "16px", lineHeight: "24px", fontWeight: 500 }
|
|
30
|
-
heading-md-medium: { figma: "heading/md/medium", fontFamily: "System Sans Variable", fontSize: "20px", lineHeight: "26px", fontWeight: 500 }
|
|
31
|
-
heading-2xl: { figma: "heading/2xl", fontFamily: "System Sans Variable", fontSize: "36px", lineHeight: "42px", fontWeight: 500, letterSpacing: "-2px" }
|
|
32
|
-
spacing:
|
|
33
|
-
space-2: "4px"
|
|
34
|
-
space-4: "8px"
|
|
35
|
-
space-8: "16px"
|
|
36
|
-
space-12: "24px"
|
|
37
|
-
space-16: "32px"
|
|
38
|
-
space-24: "48px"
|
|
39
|
-
rounded:
|
|
40
|
-
control: { figma: "corner-radius/cr-8", value: "8px" }
|
|
41
|
-
card: { figma: "corner-radius/cr-24", value: "24px" }
|
|
42
|
-
pill: { figma: "corner-radius/cr-999", value: "999px" }
|
|
43
|
-
elevation:
|
|
44
|
-
shell: { figma: "elevation/01", value: "0 4px 16px #0000000D" }
|
|
45
|
-
surfaces:
|
|
46
|
-
report: { shell_width: "1140px", content_width: "800px", outer_padding_x: "48px", role: "narrative artifact" }
|
|
47
|
-
dashboard: { shell_width: "1140px", content_width: "full", outer_padding_x: "24px", role: "visualization-first workspace" }
|
|
48
|
-
components:
|
|
49
|
-
top-bar: { height: "48px", padding: "8px 12px", typography: "text/sm/medium" }
|
|
50
|
-
metric-card: { width: "186px in report rows", padding: "16px 24px", rounded: "corner-radius/cr-24", stroke: "border/light" }
|
|
51
|
-
report-block: { width: "800px default", rounded: "corner-radius/cr-24", stroke: "border/light" }
|
|
52
|
-
chart-block: { width: "full when needed", title: "text/sm/medium", body: "text/sm/normal" }
|
|
53
|
-
table-list: { width: "800px in report context", cell: "text/sm/normal", header: "text/xs/semibold" }
|
|
54
|
-
popover-menu: { row_height: "32px", rounded: "corner-radius/cr-8", surface: "bg/primary" }
|
|
55
|
-
implementation:
|
|
56
|
-
app_runtime: "src/analytics-app"
|
|
57
|
-
shared_components: "src/analytics-app"
|
|
58
|
-
codex_baseline: "src/styles/codex-theme.css"
|
|
59
|
-
runtime_tokens: "src/analytics-app/tokens.css"
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
# Data Analytics Artifacts
|
|
63
|
-
|
|
64
|
-
## Overview
|
|
65
|
-
|
|
66
|
-
Use this file as the portable design extension contract for generated Data Analytics reports and dashboards. The base visual system is the local Codex contract in `src/codex-style-contract.md` and `src/styles/codex-theme.css`. This file carries analytics-specific machine-readable tokens in YAML front matter and human-readable rationale below, so future agents can preserve chart, KPI, table, report, and dashboard roles without re-deriving the source design system for every edit.
|
|
67
|
-
|
|
68
|
-
This file is not runtime state. The React app loads the Codex baseline before `src/analytics-app/tokens.css`; the manifest and snapshot describe the data. `DESIGN.md` explains the analytics extensions, their design rationale, and what should remain customizable when a user edits an artifact.
|
|
69
|
-
|
|
70
|
-
The canonical analytics app lives in `src/analytics-app`. It renders both dashboard and report surfaces from the manifest. Charting, table, layout, font,
|
|
71
|
-
and token components are materialized inside `src/analytics-app` so plugin distributions do not contain runtime symlinks.
|
|
72
|
-
|
|
73
|
-
## Colors
|
|
74
|
-
|
|
75
|
-
Use semantic foundation tokens first. Use the reference artifact colors only for chart series and status accents that appear in the reference design.
|
|
76
|
-
|
|
77
|
-
- `bg/primary`: light `#FFFFFF`, dark `#212121`
|
|
78
|
-
- `bg/secondary`: light `#E8E8E8`, dark `#303030`
|
|
79
|
-
- `bg/tertiary`: light `#F3F3F3`, dark `#414141`
|
|
80
|
-
- `border/light`: light `#0D0D0D / 5%`, dark `#FFFFFF / 5%`
|
|
81
|
-
- `border/default`: light `#0D0D0D / 10%`, dark `#FFFFFF / 15%`
|
|
82
|
-
- `border/heavy`: light `#0D0D0D / 15%`, dark `#FFFFFF / 20%`
|
|
83
|
-
- `text/primary`: light `#0D0D0D`, dark `#FFFFFF`
|
|
84
|
-
- `text/secondary`: light `#5D5D5D`, dark `#CDCDCD`
|
|
85
|
-
- `text/tertiary`: light `#8F8F8F`, dark `#AFAFAF`
|
|
86
|
-
- `icon/accent`: light `#0285FF`, dark `#48AAFF`
|
|
87
|
-
- `bg/status/warning`: light `#FFF5F0`, dark `#4A2206`
|
|
88
|
-
- `text/status/warning`: light `#E25507`, dark `#FF9E6C`
|
|
89
|
-
- `bg/status/error`: light `#FFF0F0`, dark `#4D100E`
|
|
90
|
-
- `text/status/error`: light `#FF002A`, dark `#FF8583`
|
|
91
|
-
- Reference accents: `blue/500` = `#0169CC`, `blue/100` = `#99CEFF`,
|
|
92
|
-
`green/700` = `#00692A`, `green/25` = `#EDFAF2`, and `purple/500` = `#8046D9`
|
|
93
|
-
|
|
94
|
-
Do not hardcode these hex values in components unless the token layer cannot express the role. Map semantic names into CSS variables in `src/analytics-app/tokens.css`.
|
|
95
|
-
|
|
96
|
-
Chart manifests can declare `palette.kind` to make color intent explicit:
|
|
97
|
-
|
|
98
|
-
- `categorical`: unrelated groups such as segment, region, model, or plan.
|
|
99
|
-
- `sequential`: ordered magnitude such as low-to-high density or intensity.
|
|
100
|
-
- `diverging`: movement around a meaningful midpoint such as zero, baseline,
|
|
101
|
-
or target.
|
|
102
|
-
- `semantic`: analytical roles such as actual, comparison, forecast, plan,
|
|
103
|
-
baseline, or target.
|
|
104
|
-
- `identity`: externally owned colors such as product colors or source-system labels.
|
|
105
|
-
|
|
106
|
-
Color must not be the only encoding for meaning. Use labels, ordering,
|
|
107
|
-
reference lines, line styles, direct annotation, or chart structure when the reader needs to understand status, change, or role without relying on color alone.
|
|
108
|
-
|
|
109
|
-
## Typography
|
|
110
|
-
|
|
111
|
-
Use the Codex host font through `--codex-font-sans`. `System Sans Variable` remains the local fallback for generated packages. Keep type compact, neutral, and scannable.
|
|
112
|
-
|
|
113
|
-
- `text/xs/normal`: 12px size, 18px line height, regular weight.
|
|
114
|
-
- `text/xs/semibold`: 12px size, 18px line height, semibold weight.
|
|
115
|
-
- `text/sm/normal`: 14px size, 22px line height, regular weight, -1% letter spacing.
|
|
116
|
-
- `text/sm/medium`: 14px size, 22px line height, medium weight, -1% letter spacing.
|
|
117
|
-
- `text/md/medium`: 16px size, 24px line height, medium weight.
|
|
118
|
-
- `heading/md/medium`: 20px size, 26px line height, medium weight.
|
|
119
|
-
- `heading/2xl`: 36px size, 42px line height, medium weight, -2px letter spacing.
|
|
120
|
-
|
|
121
|
-
Use `text/sm/medium` for the top bar, chart titles, and compact UI labels. Use `text/sm/normal` for report body copy and explanatory text. Use `text/xs/normal` or `text/xs/semibold` for table headers, legend labels, and supporting metadata.
|
|
122
|
-
|
|
123
|
-
## Layout
|
|
124
|
-
|
|
125
|
-
Reports are narrative artifacts. Preserve the 1140px shell, 800px reading column, 48px horizontal gutters, compact 48px top bar, and source-backed metadata path. Start with the answer, then evidence, then caveats or next steps. Use full-width blocks only when a chart, legend, or table needs more room than the reading column.
|
|
126
|
-
|
|
127
|
-
Dashboards are visualization-first workspaces. Preserve the same shell,
|
|
128
|
-
tokens, and app affordances, but let the content use the full width. The default order is KPI cards, primary trend, diagnostic charts, then detail tables. Global filters belong near the top only when they affect the full visible dashboard.
|
|
129
|
-
|
|
130
|
-
Both surfaces must be snapshot-first, locally previewable, and clear about freshness. If the data is blocked, partial, or fixture-only, show that through the manifest status and status surfaces instead of implying a live result.
|
|
131
|
-
|
|
132
|
-
## Elevation & Depth
|
|
133
|
-
|
|
134
|
-
Use depth sparingly. `elevation/01` (`0 4px 16px #0000000D`) belongs on the artifact shell and on real overlays such as popovers. Most component hierarchy should come from spacing, typography, borders, and subtle surface changes, not from stacked shadows.
|
|
135
|
-
|
|
136
|
-
Use `border/light` for row dividers, chart panels, metric cards, and report blocks. Use `border/default` or `border/heavy` only when a state or container needs stronger separation.
|
|
137
|
-
|
|
138
|
-
## Shapes
|
|
139
|
-
|
|
140
|
-
Use the Codex radius roles for shared UI. Keep these analytics recipes aligned with the mapped Foundations radius tokens.
|
|
141
|
-
|
|
142
|
-
- `corner-radius/cr-8`: controls, menus, compact inputs, and small buttons.
|
|
143
|
-
- `corner-radius/cr-24`: metric cards, chart panels, report blocks, and major artifact containers.
|
|
144
|
-
- `corner-radius/cr-999`: pills, badges, and compact filter chips.
|
|
145
|
-
|
|
146
|
-
Do not mix one-off radii into generated artifacts. If a generated package needs a new radius, add it to the token map before using it in components.
|
|
147
|
-
|
|
148
|
-
## Components
|
|
149
|
-
|
|
150
|
-
Shared buttons, menus, inputs, and modals should consume the Codex baseline roles. Extend components only where an analytics-specific visualization or layout needs it.
|
|
151
|
-
|
|
152
|
-
Top bar:
|
|
153
|
-
|
|
154
|
-
- Height: 48px.
|
|
155
|
-
- Padding: 8px vertical, 12px horizontal.
|
|
156
|
-
- Type: `text/sm/medium`, `text/primary`.
|
|
157
|
-
- Contents: artifact title, date/freshness affordance, share or overflow actions. Keep the title compact; do not turn the top bar into a hero.
|
|
158
|
-
|
|
159
|
-
Metric card:
|
|
160
|
-
|
|
161
|
-
- Reference report size: 186px wide by 114px tall in a four-card row.
|
|
162
|
-
- Padding: 16px vertical, 24px horizontal.
|
|
163
|
-
- Radius: `corner-radius/cr-24`.
|
|
164
|
-
- Stroke: `border/light`.
|
|
165
|
-
- Label: `text/xs/normal` or `text/xs/semibold`.
|
|
166
|
-
- Value: medium weight with tabular numerals.
|
|
167
|
-
- Use status color only for warning, error, or access states.
|
|
168
|
-
|
|
169
|
-
Report block:
|
|
170
|
-
|
|
171
|
-
- Default to the 800px content column.
|
|
172
|
-
- Use `bg/primary`, `border/light`, and `corner-radius/cr-24` for framed evidence blocks.
|
|
173
|
-
- Keep markdown narrative in editable markdown blocks. Keep visual titles neutral and put interpretation in adjacent narrative.
|
|
174
|
-
|
|
175
|
-
Chart block:
|
|
176
|
-
|
|
177
|
-
- Use the full available width when axis labels, legends, or comparisons need it.
|
|
178
|
-
- Header type should follow `text/sm/medium`; supporting text should follow `text/sm/normal` or `text/xs/normal`.
|
|
179
|
-
- Use `border/light` dividers and `bg/tertiary` only for subtle structure.
|
|
180
|
-
|
|
181
|
-
Table list:
|
|
182
|
-
|
|
183
|
-
- Report context width: 800px.
|
|
184
|
-
- Header type: `text/xs/semibold`.
|
|
185
|
-
- Cell type: `text/sm/normal`.
|
|
186
|
-
- Dividers: `border/light`.
|
|
187
|
-
- Dashboard tables should stay dense and scannable; short report tables may be slightly more spacious.
|
|
188
|
-
|
|
189
|
-
Popover menu:
|
|
190
|
-
|
|
191
|
-
- Radius: `corner-radius/cr-8`.
|
|
192
|
-
- Row height: 32px.
|
|
193
|
-
- Surface: `bg/primary` with `border/light` and `elevation/01` only when it is an actual overlay.
|
|
194
|
-
- Keep overflow controls out of copied chart/card images.
|
|
195
|
-
|
|
196
|
-
## Do's and Don'ts
|
|
197
|
-
|
|
198
|
-
Do choose the visual from the analytical comparison:
|
|
199
|
-
|
|
200
|
-
- Time trends: line or area.
|
|
201
|
-
- Ranked categories and top drivers: horizontal bar or compact leaderboard.
|
|
202
|
-
- Part-to-whole: stacked or 100% stacked bar only when the denominator is explicit.
|
|
203
|
-
- Distributions: histogram or box plot.
|
|
204
|
-
- Cohort, matrix, or two-dimensional intensity: heatmap.
|
|
205
|
-
- Additive bridge: waterfall.
|
|
206
|
-
- Stage progression: funnel or stage bars.
|
|
207
|
-
|
|
208
|
-
Do let complex chart blocks size to their marks before adding nested scroll.
|
|
209
|
-
For heatmaps, leaderboards, funnels, waterfalls, box plots, and similar custom renderers, marks should stretch when the dataset is small; once a row, stage,
|
|
210
|
-
or mark would fall below its readable minimum, grow the block height instead of making the chart body vertically scroll.
|
|
211
|
-
|
|
212
|
-
Do keep generated artifacts customizable. Users may change titles, markdown,
|
|
213
|
-
section order, card order, compatible chart type, table column widths, safe labels, and dashboard filter defaults. Preserve the manifest, snapshot, source notes, and this design contract as the audit path.
|
|
214
|
-
|
|
215
|
-
Do keep skill prose lean. Put mechanical rules in validators and tests. Put runtime values in `src/tokens.css`. Put portable visual guidance here.
|
|
216
|
-
|
|
217
|
-
Don't combine unrelated metrics in one generic movement chart. If measures use different units, denominators, directions, or materially different scales,
|
|
218
|
-
split them into typed KPI cards, separate trends, or a table with units.
|
|
219
|
-
|
|
220
|
-
Don't add visible source, reproducibility, or evidence chrome to the report body unless the artifact explicitly asks for it. Keep that in metadata and evidence affordances.
|
|
221
|
-
|
|
222
|
-
Don't replace tokenized surfaces with bespoke React unless the shared analytics primitives cannot express the artifact honestly.
|