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
package/template/.codex/skills/data-analytics/skills/user-context/references/semantic-layer/setup.md
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# Semantic Layer Setup
|
|
2
|
-
|
|
3
|
-
Use this reference when onboarding, direct setup, or maintenance work needs to create, refresh, inspect, or repair a Data Analytics semantic layer for a product or business area.
|
|
4
|
-
|
|
5
|
-
A semantic layer is a source-backed local skill that helps future Data Analytics runs answer data questions with the right metrics, tables, joins, grains, dimensions, caveats, and query patterns. The output is an agent-facing Codex skill, not a warehouse migration, semantic modeling project, or BI rebuild.
|
|
6
|
-
|
|
7
|
-
## Required References
|
|
8
|
-
|
|
9
|
-
- Read `source-intake.md` before asking the user for inputs or deciding which sources are enough.
|
|
10
|
-
- Read `connector-playbook.md` before crawling links, dashboards, team communication channels, data warehouse sources, code repositories, docs, or local skills.
|
|
11
|
-
- Read `skill-template.md` before drafting or creating the target semantic-layer skill.
|
|
12
|
-
- Read `weekly-polling-automation.md` before offering, creating, or updating recurring source polling.
|
|
13
|
-
|
|
14
|
-
## Setup Contract
|
|
15
|
-
|
|
16
|
-
- Identify or infer one coherent product, business, metric, source, or reporting area from the user's provided context or sources. Also identify intended users, destination, and whether the user wants intake-only planning, evidence crawling, a draft skill, direct local skill creation, refresh, inspection, or repair.
|
|
17
|
-
- Default direct local creations to `$CODEX_HOME/skills/<area>-semantic-layer` unless the user chose another destination. Ask before placing a generated semantic-layer skill inside a plugin.
|
|
18
|
-
- Create one target semantic-layer skill per coherent area by default. Keep unrelated areas separate unless the user explicitly wants one cross-product layer.
|
|
19
|
-
- Do not require the user to name the area up front. Require user-provided or user-approved useful context or at least one starting source before a source-backed crawl. If the user has only broad intent and no source or context, ask for one item from `source-intake.md`; if they want a skeleton only, label it as ungrounded.
|
|
20
|
-
- Build a source inventory before crawling. For direct creation or draft-file work, write it to `references/source-inventory.md`; for intake-only work, return it in chat. Before saving, summarize sources checked, missing high-value source lanes, and rejected or lower-confidence candidates.
|
|
21
|
-
- Resolve connectors lazily when the active source lane needs them. Prefer the most specific installed first-party connector or source tool; when unavailable, ask for the smallest useful export, pasted excerpt, local checkout, SQL text, schema description, screenshot, or alternate source. If the user selected a source during onboarding but the current semantic-layer lane has not read it yet, use the configured route from `../source-category-runtime.md` and attempt the actual read only when that lane needs the source.
|
|
22
|
-
- Do not create or refresh a semantic-layer skill from ambient connector availability, saved user context, or guessed app results alone. The user must provide or approve the inputs, or explicitly choose to skip or defer setup.
|
|
23
|
-
- Keep raw sensitive data, credentials, secrets, row-level customer examples, and long private messages out of generated files.
|
|
24
|
-
|
|
25
|
-
## Evidence And Synthesis
|
|
26
|
-
|
|
27
|
-
Cover the available evidence lanes: tables and namespaces, verified dashboards, raw SQL, team communication, data documentation, code repositories, and existing local skills.
|
|
28
|
-
|
|
29
|
-
Infer expected source lanes from the user's target metric, grain, domain, and supplied starting points. For example, a daily revenue semantic layer should look for daily-grain warehouse evidence, revenue metric docs or dashboards, and revenue-specific team communication before accepting weekly subscription or generic analytics sources as sufficient. If the best reachable sources are nearby but not exact, label the layer `Limited` or `Directional`, record the mismatch, and ask for the smallest source that would close the gap when the mismatch changes future answers.
|
|
30
|
-
|
|
31
|
-
Use this source precedence unless the user provides a stronger local rule:
|
|
32
|
-
|
|
33
|
-
1. Transformation code, tests, and authoritative data documentation, including maintained docs, metric dictionaries, source-backed semantic-layer skills, and user-trusted canonical data skills.
|
|
34
|
-
2. Verified dashboards and reviewed SQL.
|
|
35
|
-
3. Table metadata, lineage, schema comments, and owners.
|
|
36
|
-
4. Query history as observed usage evidence.
|
|
37
|
-
5. Team communication announcements or discussion, weighted by recency, authoritativeness, and durable links.
|
|
38
|
-
6. Other existing local skills, treated as helpful context until corroborated.
|
|
39
|
-
|
|
40
|
-
A user can promote a local data skill by naming it as canonical or trusted for the current domain; treat that as authoritative data documentation when it has clear scope and explicit metric, table, grain, or exclusion rules. Still verify high-stakes, stale, time-sensitive, or conflicting claims against the underlying cited source or connected app when possible.
|
|
41
|
-
|
|
42
|
-
Flag unresolved conflicts instead of smoothing them over. The generated skill should say which metric or table definition is canonical, which is deprecated or dashboard-specific, and what future agents should verify before high-stakes answers.
|
|
43
|
-
|
|
44
|
-
## Create Or Refresh The Target Skill
|
|
45
|
-
|
|
46
|
-
- Name the target skill after the area and job, usually `<area>-semantic-layer` or `<area>-data-semantics`.
|
|
47
|
-
- Keep the generated `SKILL.md` focused on how future agents should answer data questions, where to find canonical context, and when to verify. Put detailed metrics, tables, query patterns, gotchas, and evidence into directly linked references.
|
|
48
|
-
- Make the layer discoverable by recording the durable pointer in `$CODEX_HOME/state/plugins/data-analytics/user-context.md` under `# Semantic Layers`: area, skill name, absolute path, source inventory path, last updated date, and future-use guidance.
|
|
49
|
-
- Record operational setup or refresh status in `$CODEX_HOME/state/plugins/data-analytics/onboarding-state.json`.
|
|
50
|
-
- Validate generated standalone skills with the relevant authoring validator when files are created locally. Do not claim the skill is invokable until the runtime can see the top-level skill; Codex reload may be required.
|
|
51
|
-
|
|
52
|
-
## Output Contract
|
|
53
|
-
|
|
54
|
-
- Intake-only: return source inventory, missing high-value inputs, connector readiness, and crawl plan.
|
|
55
|
-
- Crawl-and-synthesis: return semantic-layer summary, source coverage, unresolved conflicts, confidence notes, and target skill structure.
|
|
56
|
-
- Direct create or refresh: return created or updated file paths, durable pointer written, validation results, source-use checkpoint, connector gaps, activation note when relevant, and the weekly polling resolution.
|
|
57
|
-
- Blocked: state the exact missing connector, permission, source, or destination decision and provide the best manual fallback.
|
|
58
|
-
|
|
59
|
-
## Quality Bar
|
|
60
|
-
|
|
61
|
-
- Preserve provenance for every important metric, table, query pattern, and caveat.
|
|
62
|
-
- Keep generated instructions operational: future agents should know which source to check first and what to do when sources disagree.
|
|
63
|
-
- Prefer compact semantic-layer references over copied artifacts.
|
|
64
|
-
- Continue with a partial skill when enough source-backed context exists, but label coverage honestly.
|
|
65
|
-
- Ask before external writes, dashboard changes, team communication posts, repo changes, connector installs, or recurring automation creation.
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
# Semantic Layer Skill Template
|
|
2
|
-
|
|
3
|
-
Use this reference when drafting the generated semantic-layer skill. The target skill should be small enough to load quickly and should route detailed data knowledge into references.
|
|
4
|
-
|
|
5
|
-
## Recommended File Shape
|
|
6
|
-
|
|
7
|
-
```text
|
|
8
|
-
<skills-root>/
|
|
9
|
-
<area>-semantic-layer/
|
|
10
|
-
SKILL.md
|
|
11
|
-
references/
|
|
12
|
-
source-inventory.md
|
|
13
|
-
semantic-layer.md
|
|
14
|
-
evidence.md
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Use more reference files only when the area is large enough to justify them, such as `metrics.md`, `tables.md`, `query-patterns.md`, or `gotchas.md`.
|
|
18
|
-
|
|
19
|
-
For multiple product or business areas, create one folder per area. Keep shared source links or cross-skill references explicit rather than merging unrelated semantics into one large skill.
|
|
20
|
-
|
|
21
|
-
## Target SKILL.md Shape
|
|
22
|
-
|
|
23
|
-
```markdown
|
|
24
|
-
---
|
|
25
|
-
name: <area>-semantic-layer
|
|
26
|
-
description: Use when answering data questions for <area>, including metric definitions, table choice, joins, dashboard reconciliation, freshness, and known caveats.
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
# <Area> Semantic Layer
|
|
30
|
-
|
|
31
|
-
Use this skill to answer <area> data questions with the source-backed context in `references/semantic-layer.md`.
|
|
32
|
-
|
|
33
|
-
## Start Here
|
|
34
|
-
|
|
35
|
-
1. Read `references/semantic-layer.md`.
|
|
36
|
-
2. Use the listed canonical metrics, tables, grains, joins, filters, and caveats.
|
|
37
|
-
3. Check freshness before answering time-sensitive questions.
|
|
38
|
-
4. When sources disagree or coverage is weak, say so and verify against the cited source.
|
|
39
|
-
|
|
40
|
-
## References
|
|
41
|
-
|
|
42
|
-
- `references/semantic-layer.md`: metrics, tables, filters, query patterns, gotchas, freshness, and open questions.
|
|
43
|
-
- `references/source-inventory.md`: sources checked, coverage level, permissions, rejected candidates, and update boundaries.
|
|
44
|
-
- `references/evidence.md`: detailed provenance, only when the layer needs separate evidence tracking.
|
|
45
|
-
|
|
46
|
-
## Answering Rules
|
|
47
|
-
|
|
48
|
-
- Treat this skill as source-selection guidance, not as a substitute for live reads.
|
|
49
|
-
- Preserve metric grain, time zone, date columns, filters, and join keys.
|
|
50
|
-
- Label stale, inferred, partial, or conflicted evidence.
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
## semantic-layer.md Shape
|
|
54
|
-
|
|
55
|
-
```markdown
|
|
56
|
-
# <Area> Semantic Layer
|
|
57
|
-
|
|
58
|
-
## Quick Reference
|
|
59
|
-
|
|
60
|
-
- Area:
|
|
61
|
-
- Intended users:
|
|
62
|
-
- Coverage level:
|
|
63
|
-
- Source inventory: `references/source-inventory.md`
|
|
64
|
-
- Last synthesized:
|
|
65
|
-
- Freshness expectations:
|
|
66
|
-
- Default date and time zone rules:
|
|
67
|
-
|
|
68
|
-
## Entity Clarification
|
|
69
|
-
|
|
70
|
-
Use this section to disambiguate names that future agents may confuse.
|
|
71
|
-
|
|
72
|
-
| Entity | Means | Does Not Mean | Primary IDs | Grain Notes | Sources |
|
|
73
|
-
| --- | --- | --- | --- | --- | --- |
|
|
74
|
-
|
|
75
|
-
## Key Metrics
|
|
76
|
-
|
|
77
|
-
| Metric | Definition | Numerator | Denominator | Time Grain | Canonical Source | Caveats |
|
|
78
|
-
| --- | --- | --- | --- | --- | --- | --- |
|
|
79
|
-
|
|
80
|
-
## Standard Filters And Dimensions
|
|
81
|
-
|
|
82
|
-
| Filter Or Dimension | Default Logic | Override When | Applies To | Sources |
|
|
83
|
-
| --- | --- | --- | --- | --- |
|
|
84
|
-
|
|
85
|
-
## Key Tables
|
|
86
|
-
|
|
87
|
-
| Table | When To Use | Grain | Join Keys | Freshness | Caveats | Sources |
|
|
88
|
-
| --- | --- | --- | --- | --- | --- | --- |
|
|
89
|
-
|
|
90
|
-
## Query Patterns
|
|
91
|
-
|
|
92
|
-
- Pattern:
|
|
93
|
-
- Use when:
|
|
94
|
-
- Key tables:
|
|
95
|
-
- Required filters:
|
|
96
|
-
- Common joins:
|
|
97
|
-
- Example skeleton:
|
|
98
|
-
|
|
99
|
-
## Gotchas
|
|
100
|
-
|
|
101
|
-
- Gotcha:
|
|
102
|
-
- Impact:
|
|
103
|
-
- How to avoid:
|
|
104
|
-
- Source:
|
|
105
|
-
|
|
106
|
-
## Related Dashboards And Docs
|
|
107
|
-
|
|
108
|
-
| Source | Use It For | Caveats |
|
|
109
|
-
| --- | --- | --- |
|
|
110
|
-
|
|
111
|
-
## Open Questions
|
|
112
|
-
|
|
113
|
-
- Question:
|
|
114
|
-
- Why it matters:
|
|
115
|
-
- Best owner or source to check next:
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## evidence.md Shape
|
|
119
|
-
|
|
120
|
-
Create `references/evidence.md` only when separate evidence tracking is useful, such as conflicting sources, multiple high-stakes metrics, or a large crawl. Small layers may keep source pointers directly in `references/semantic-layer.md`.
|
|
121
|
-
|
|
122
|
-
```markdown
|
|
123
|
-
# Evidence Register
|
|
124
|
-
|
|
125
|
-
| Fact Or Claim | Source Type | Source Link Or Path | Retrieved Or Observed | Confidence | Notes |
|
|
126
|
-
| --- | --- | --- | --- | --- | --- |
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
## source-inventory.md Shape
|
|
130
|
-
|
|
131
|
-
Create `references/source-inventory.md` whenever the workflow creates or drafts a target semantic-layer skill package. Intake-only runs may return the same inventory in chat without creating the file.
|
|
132
|
-
|
|
133
|
-
```markdown
|
|
134
|
-
# Source Inventory
|
|
135
|
-
|
|
136
|
-
## Coverage
|
|
137
|
-
|
|
138
|
-
- Coverage level:
|
|
139
|
-
- Sources checked:
|
|
140
|
-
- Missing high-value lanes:
|
|
141
|
-
- Rejected or lower-confidence candidates:
|
|
142
|
-
|
|
143
|
-
## Sources
|
|
144
|
-
|
|
145
|
-
| Source | Type | Locator | Connector Or Tool | Permission Status | Last Checked | Supports | Gaps Or Caveats | Automation Eligible | Update Boundary |
|
|
146
|
-
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
Use `Sources checked`, `Missing high-value lanes`, and `Rejected or lower-confidence candidates` as the pre-save source-use checkpoint. Use `Automation Eligible` to distinguish sources the weekly automation can poll directly from sources that require manual export, one-off permission, or user review. Use `Update Boundary` to say whether the automation may update semantic-layer references automatically, must draft a proposed update, or must only report changes.
|
|
150
|
-
|
|
151
|
-
## Drafting Rules
|
|
152
|
-
|
|
153
|
-
- Put durable semantic facts in the generated skill's references, not in chat-only prose.
|
|
154
|
-
- Keep `SKILL.md` operational and short; move table catalogs, metric dictionaries, query examples, and evidence into references.
|
|
155
|
-
- Do not put setup-time policy or full evidence procedures into generated `SKILL.md` files; keep those guardrails in the setup flow and validators.
|
|
156
|
-
- Keep the source inventory current enough that a weekly polling automation can determine what to check and what update boundary applies.
|
|
157
|
-
- Use source links, file paths, dashboard IDs, table names, and repo paths as provenance.
|
|
158
|
-
- Label stale, inferred, query-history-only, or team-communication-only facts.
|
|
159
|
-
- Preserve unresolved conflicts as explicit open questions.
|
|
160
|
-
- Avoid raw sensitive data, credentials, long message quotes, and copied dashboard exports.
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# Source Intake
|
|
2
|
-
|
|
3
|
-
Use this reference to gather enough information to build a source-backed semantic-layer skill without turning intake into a long questionnaire.
|
|
4
|
-
|
|
5
|
-
## Minimum Viable Intake
|
|
6
|
-
|
|
7
|
-
Proceed when the user gives enough useful context or sources to organize a layer, such as:
|
|
8
|
-
|
|
9
|
-
- a target product, feature, business area, metric, dashboard, report, table, question, or team;
|
|
10
|
-
- at least one starting source, such as a table namespace, verified dashboard, raw SQL query, data doc, code repository, notebook, team communication channel, or existing local skill;
|
|
11
|
-
- permission to read the supplied sources, when permission is not already implied by the user's request and available connectors.
|
|
12
|
-
|
|
13
|
-
Do not require the user to name the product or business area up front. Infer the likely organizing area from the supplied context, split unrelated areas when needed, and ask a concise follow-up only when the missing answer changes the crawl or destination materially. Good first follow-ups are: "Should I split these into separate semantic layers?", "Which source should I treat as canonical if these disagree?", or "Where should the generated skill live?"
|
|
14
|
-
|
|
15
|
-
## Multiple Areas
|
|
16
|
-
|
|
17
|
-
Create separate semantic-layer skills for separate product or business areas by default. If the user asks for multiple areas, collect a target area and source inventory for each one, then run the crawl and synthesis separately so each output stays compact and triggerable. Use a shared/common semantic layer only when multiple areas depend on the same substantial set of canonical metrics, tables, joins, or caveats.
|
|
18
|
-
|
|
19
|
-
## Starting Point Menu
|
|
20
|
-
|
|
21
|
-
Ask for any starting points the user has and explain why each kind can help. Tailor the menu to source lanes they have not already supplied instead of repeating known inputs. Do not imply that all inputs are required.
|
|
22
|
-
|
|
23
|
-
Infer useful source families from the user's question even when they do not name connectors. For metric-heavy requests, expect structured data plus metric docs, dashboards, or reviewed SQL. For definition or business-context requests, expect docs and team communication. For freshness, lineage, or grain questions, expect table metadata, transformation code, or owner notes. Use connected apps that can satisfy those source families, but do not treat ambient app availability as user approval to create a layer.
|
|
24
|
-
|
|
25
|
-
Use or adapt this intake prompt:
|
|
26
|
-
|
|
27
|
-
```text
|
|
28
|
-
Set Up Data Context
|
|
29
|
-
|
|
30
|
-
Codex gets better at data work when it understands the metric definitions, tables, filters, and source-of-truth context your team already uses.
|
|
31
|
-
|
|
32
|
-
Send anything you would point a new analyst to. I'll organize what you send into reusable guidance for future analysis.
|
|
33
|
-
|
|
34
|
-
Good starting points:
|
|
35
|
-
1. What this should help with, like a product or business area.
|
|
36
|
-
2. The source of truth for definitions or logic, like transformation code or repos, metric docs, a trusted data skill, reviewed SQL, dashboards, or recurring reports.
|
|
37
|
-
3. Data tables or catalogs you frequently use.
|
|
38
|
-
4. Places where data definitions, caveats, or changes are discussed, like team channels or threads.
|
|
39
|
-
|
|
40
|
-
Reply with any starting points, or say `skip for now`.
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
If the user supplies only a broad area name and no starting points or useful context, ask for one or more starting points from this menu before crawling. If they already supplied starting points or useful context, organize those inputs, ask once for any missing high-value lane only when it would materially improve coverage, then proceed from the available inventory. If they cannot provide any starting points, offer a draft-only semantic-layer skill skeleton and label it as ungrounded.
|
|
44
|
-
|
|
45
|
-
## High-Value Inputs
|
|
46
|
-
|
|
47
|
-
Request these inputs when available, and record unknowns explicitly when they are not available:
|
|
48
|
-
|
|
49
|
-
| Input | What To Ask For | Why It Matters |
|
|
50
|
-
| --- | --- | --- |
|
|
51
|
-
| Scope | Product, metric, dashboard, report, audience, or business question | Sets skill scope and trigger language |
|
|
52
|
-
| Canonical guidance | Transformation code, data docs, metric dictionaries, trusted data skills, or source-backed semantic layers | Supplies authoritative metric, table, grain, and exclusion rules |
|
|
53
|
-
| Existing analysis | Verified dashboards, reviewed SQL, notebooks, reports, or recurring analyses | Shows how definitions are used in practice |
|
|
54
|
-
| Data entry points | Tables, schemas, catalogs, namespaces, warehouses, or workspaces | Provides table metadata, lineage, grain, joins, freshness, and query history |
|
|
55
|
-
| Team context | Channels, threads, owner notes, or announcement windows | Captures corrections, deprecations, and known gotchas |
|
|
56
|
-
| Destination and boundaries | Target skill location, source permissions, sensitivity limits, freshness needs, and automation preference | Keeps creation, crawling, and future updates within the user's intent |
|
|
57
|
-
|
|
58
|
-
## Source Coverage Levels
|
|
59
|
-
|
|
60
|
-
Use these labels in final output:
|
|
61
|
-
|
|
62
|
-
- `Limited`: one useful source was crawled, but important lanes are missing.
|
|
63
|
-
- `Directional`: two or more lanes agree on core tables or metrics, but gaps remain.
|
|
64
|
-
- `Strong`: authoritative docs or transformation code plus dashboard or table evidence support the key facts.
|
|
65
|
-
- `Conflicted`: important definitions disagree and need user or owner resolution.
|
|
66
|
-
- `Blocked`: required connector, permission, source, or destination is unavailable.
|
|
67
|
-
|
|
68
|
-
## Intake Defaults
|
|
69
|
-
|
|
70
|
-
- Prefer direct links, table names, repo paths, and channel names over broad descriptions.
|
|
71
|
-
- Treat verified dashboards and transformation code as higher-value starting points than team communication discussion.
|
|
72
|
-
- Use recent query history and team communication discussion as observed behavior, not as canonical definitions by default.
|
|
73
|
-
- If the user says "build what you can", produce a partial skill and name the missing source lanes.
|
|
74
|
-
- After a direct creation or refresh with a usable source inventory, offer weekly polling as an optional follow-up instead of assuming the user wants a recurring automation.
|
|
75
|
-
- If the user asks only for a source audit, stop before creating files and return a crawl plan plus coverage assessment.
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
# Weekly Polling Automation
|
|
2
|
-
|
|
3
|
-
Use this reference when the user wants the generated semantic-layer skill to stay current by polling the given sources every week.
|
|
4
|
-
|
|
5
|
-
## When To Offer
|
|
6
|
-
|
|
7
|
-
Offer weekly polling after semantic-layer creation or refresh when the generated skill has a stable target path and a usable `references/source-inventory.md`. Also offer it when the user asks to keep the semantic layer fresh, monitor sources, watch dashboards, or update the skill if definitions change.
|
|
8
|
-
|
|
9
|
-
Do not create an automation silently. Ask for approval unless the user already gave a direct instruction such as "set up weekly polling" or "keep this updated every week".
|
|
10
|
-
|
|
11
|
-
Present the offer as its own user-facing follow-up section or final question, not as a caveat, validation note, or buried automation-status sentence. Use a direct question, for example:
|
|
12
|
-
|
|
13
|
-
```text
|
|
14
|
-
Do you want me to set up weekly source polling for this semantic layer so changes in dashboards, docs, SQL, repos, or team communication are summarized?
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
If weekly polling cannot be offered yet, name the missing prerequisite and ask for the specific input that would unblock it. If polling was already created or updated, state that clearly with the automation name and cadence instead of asking again.
|
|
18
|
-
|
|
19
|
-
After creating or repairing the automation, read it back through the available automation inspection path before claiming readiness. If readback fails, report the concrete blocker and do not say weekly polling is active.
|
|
20
|
-
|
|
21
|
-
## Automation Tool
|
|
22
|
-
|
|
23
|
-
Use the Codex app automation tool, not raw automation directives. If the automation tool is not already available, use `tool_search` to find `automation_update`.
|
|
24
|
-
|
|
25
|
-
Choose the automation kind by the update model:
|
|
26
|
-
|
|
27
|
-
- Use a `cron` automation when the job should run as a detached weekly workspace job and can safely read the source inventory and update local skill files.
|
|
28
|
-
- Use a `heartbeat` automation attached to the current thread when the user wants weekly review in this conversation, wants to approve changes before writes, or the target files are not safely writable from a detached workspace job.
|
|
29
|
-
|
|
30
|
-
Prefer updating an existing matching automation over creating a duplicate. Name the automation after the generated semantic-layer skill, such as `<area> semantic layer refresh`.
|
|
31
|
-
|
|
32
|
-
## User-Facing Updates
|
|
33
|
-
|
|
34
|
-
Every weekly run must end with a concise user-facing run summary. For a `heartbeat`, post the summary in the attached thread. For a detached `cron`, make the summary the automation run output so the user can review what happened from the automation run history.
|
|
35
|
-
|
|
36
|
-
Use this summary shape:
|
|
37
|
-
|
|
38
|
-
- Status: `no change`, `updated`, `blocked`, or `conflicted`.
|
|
39
|
-
- Sources checked: list source names and any sources skipped.
|
|
40
|
-
- Changes found: summarize source-backed metric, table, query-pattern, caveat, or source-inventory changes.
|
|
41
|
-
- Files changed: list local file paths, or say `none`.
|
|
42
|
-
- Validation: report pass, fail, or not run.
|
|
43
|
-
- Needs review: list conflicts, permission gaps, connector gaps, or proposed changes that were not written.
|
|
44
|
-
|
|
45
|
-
For no-change runs, explicitly say that no source-backed changes were found and list the sources checked. Do not send a silent or empty update.
|
|
46
|
-
|
|
47
|
-
## Schedule Defaults
|
|
48
|
-
|
|
49
|
-
If the user asks for weekly polling but does not specify timing, propose a practical weekly cadence in the user's locale, such as Monday morning. Do not show raw RRULE strings to the user. When creating the automation, pass the schedule through the automation tool fields rather than embedding the schedule in the prompt.
|
|
50
|
-
|
|
51
|
-
## Prompt Requirements
|
|
52
|
-
|
|
53
|
-
The automation prompt must be self-contained. Include:
|
|
54
|
-
|
|
55
|
-
- target semantic-layer skill path;
|
|
56
|
-
- source inventory path;
|
|
57
|
-
- source precedence and evidence standard;
|
|
58
|
-
- update boundary for each source, or an instruction to read it from `source-inventory.md`;
|
|
59
|
-
- validation command or validator path when known;
|
|
60
|
-
- output expectations for no-change, changed, blocked, and conflicted runs.
|
|
61
|
-
|
|
62
|
-
Do not include schedule details in the prompt. The schedule belongs in the automation fields.
|
|
63
|
-
|
|
64
|
-
Use this prompt skeleton and fill in concrete paths and source names:
|
|
65
|
-
|
|
66
|
-
```text
|
|
67
|
-
Poll the source inventory for the <area> semantic-layer skill and update the skill only if source-backed changes are needed.
|
|
68
|
-
|
|
69
|
-
Target skill: <absolute-or-user-provided-skill-path>
|
|
70
|
-
Source inventory: <target-skill>/references/source-inventory.md
|
|
71
|
-
|
|
72
|
-
Read the source inventory first. For each automation-eligible source, use the listed connector or tool to check for relevant changes since the last checked date. Focus on metric definitions, canonical dashboards, table grain, join keys, freshness, owner notes, deprecations, query patterns, and caveats. Respect the update boundary listed for each source.
|
|
73
|
-
|
|
74
|
-
Apply this source precedence: transformation code, tests, and authoritative data documentation, including maintained docs, metric dictionaries, source-backed semantic-layer skills, and user-trusted canonical data skills; then verified dashboards; then table metadata and lineage; then query history; then team communication context; then other local skills as supporting context. Do not update from team-communication-only, query-history-only, or generic-local-skill-only evidence unless the source inventory says that is acceptable.
|
|
75
|
-
|
|
76
|
-
If changes are clear, source-backed, and within the allowed update boundary, update the semantic-layer references and evidence register. Keep raw sensitive data, credentials, long private messages, and row-level examples out of the files. Preserve unresolved conflicts as open questions instead of choosing silently.
|
|
77
|
-
|
|
78
|
-
After edits, validate the target skill if a validator is available. End every run with a user-facing run summary using this shape:
|
|
79
|
-
|
|
80
|
-
- Status: no change, updated, blocked, or conflicted.
|
|
81
|
-
- Sources checked: source names plus any skipped sources.
|
|
82
|
-
- Changes found: source-backed metric, table, query-pattern, caveat, or source-inventory changes.
|
|
83
|
-
- Files changed: local file paths, or none.
|
|
84
|
-
- Validation: pass, fail, or not run.
|
|
85
|
-
- Needs review: conflicts, permission gaps, connector gaps, or proposed changes that were not written.
|
|
86
|
-
|
|
87
|
-
If nothing material changed, say that no source-backed changes were found and list the sources checked. Do not produce a silent or empty update.
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## Update Rules
|
|
91
|
-
|
|
92
|
-
- Update generated semantic-layer references only when a change is corroborated by an authoritative source or allowed by the source inventory's update boundary.
|
|
93
|
-
- Preserve user edits and manual notes. If a local manual note conflicts with a source update, report the conflict instead of overwriting it.
|
|
94
|
-
- Never change external dashboards, team communication channels, docs, repos, or source systems as part of the weekly polling automation.
|
|
95
|
-
- If a connector is missing, permission has expired, or a source cannot be read, record the gap in the run summary and leave the skill unchanged for that source.
|
|
96
|
-
- If the automation updates files, validate the standalone skill before reporting success.
|