bi-bigdata-knowledge
Skill2 starsChanged 4 months agoApache-2.0View on GitHub
Big-data / distributed-compute reasoning and review layer for BI and data agents in the Seshat BI project. Use when data is too large for single-node pandas and the agent must reason about distributed or larger-than-memory processing — choosing an engine (Spark / Dask / Polars / DuckDB / warehouse), controlling partitioning and shuffle, avoiding skew and fan-out, aggregating at a declared grain at scale, choosing file formats (Parquet / Delta / Iceberg), incremental/idempotent processing, validating and reconciling at scale, diagnosing partial/retried output, reviewing backfills/partition evolution/compaction, and collecting performance/cost evidence. This is a reasoning layer, not an executor or Spark tutorial. It does not run jobs, define metrics, or own gating.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- approval-consoleSkill
- approval-evidence-packSkill
- business-knowledge-interviewSkill
- capabilitiesSkill
- consumer-data-dictionarySkill
- cross-table-lineageSkill
- dagster-orchestration-adapterSkill
- dashboard-designSkill
- dashboard-intelligenceSkill
- dbt-transformation-adapterSkill
- evidence-pack-generatorSkill
- first-hour-compassSkill
- friendly-pr-reviewerSkill
- grain-confidence-reviewerSkill
- kpi-contract-builderSkill
- pbi-mcp-write-adapterSkill
- pbip-workflowSkill
- pbip-xraySkill
- pbir-authoring-adapterSkill
- portfolio-watchSkill
- powerbi-dashboard-designSkill
- pr-readiness-reviewerSkill
- readiness-viewerSkill
- release-notes-generatorSkill
- report-intent-interviewSkill
- retail-build-warehouseSkill
- retail-control-roomSkill
- retail-discover-portfolioSkill
- retail-governSkill
- retail-initSkill
- retail-onboard-tableSkill
- retail-orchestrateSkill
- retail-scaffoldSkill
- retail-semantic-checkSkill
- retail-validateSkill
- run-next-readinessSkill
- seshat-studioSkill
- showcase-buildSkill
- source-mappingSkill
- speckit-analyzeSkill
- speckit-checklistSkill
- speckit-clarifySkill
- speckit-constitutionSkill
- speckit-git-commitSkill
- speckit-git-featureSkill
- speckit-git-initializeSkill
- speckit-git-remoteSkill
- speckit-git-validateSkill
- speckit-implementSkill
- speckit-planSkill
- speckit-specifySkill
- speckit-tasksSkill
- speckit-taskstoissuesSkill
- bi-analyst-knowledgeSkill
- bi-dax-knowledgeSkill
- bi-python-knowledgeSkill
- bi-sql-knowledgeSkill
- retail-kpi-knowledgeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Do not read the whole knowledge base: Start at INDEX.md.
- Distinctive: line 78
Execution adapters: run jobs; they never define meaning, mapping, metrics, semantic logic, or approval.
- Distinctive: line 86
Do not scale out before confirming the workload truly needs it (single-node first).
- Distinctive: line 87
Do not shuffle/repartition before knowing the data's size and key distribution.
- Distinctive: line 88
Do not join before knowing key cardinality, skew, and which side is broadcastable.
- Distinctive: line 89
Do not aggregate before declaring grain and additivity.
- Very specific: line 90
Do not collect() / pull a distributed result to the driver to "check" it.
- Distinctive: line 91
Do not claim reconciliation passed without scale-appropriate evidence.
- Distinctive: line 92
Do not infer atomic publication from job success/failure.
- Very specific: line 93
Do not run/retry/backfill/compact from this layer.
- Distinctive: line 94
Do not write production job code in this reasoning layer.
- Distinctive: line 95
Do not use big-data tooling to bypass SQL/readiness validation gates.
- Distinctive: line 96
Do not read the whole knowledge base when a router can select files.
- Very specific: line 97
Do not copy source/article text.
- Very specific: line 104
All examples use the fictional retail schema in references/retail-bigdata-schema.md.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BI Big-Data Knowledge
A thin router into a distributed / large-scale data-processing reasoning layer for BI/data agents. It helps an agent think correctly about big-data work and hand off cleanly into the SQL, DAX, readiness, and dashboard layers. It does not execute jobs or define business meaning.
This layer is the scale-out companion to bi-python-knowledge. The conceptual spine —
grain, fan-out, additivity, null semantics, reconciliation — is shared and referenced,
not repeated (see references/cross-layer-map.md). This layer owns only what changes
when compute becomes distributed or larger-than-memory.
How to use this skill
- Do not read the whole knowledge base. Start at
INDEX.md. - Match the task or symptom to a route in
INDEX.md. - Open only the knowledge file(s) that route names.
- Finish on the route's named artifact — a checklist, a JSON pattern set, or a verdict.
SKILL.md -> INDEX.md -> only the relevant file(s) -> checklist / verdict / handoffUse when
The agent needs to:
- decide whether a workload needs distributed/larger-than-memory processing at all;
- choose an engine (Spark, Dask, Polars, DuckDB, or push to a cloud warehouse);
- reason about partitioning, shuffle, and skew;
- choose join strategy (broadcast vs shuffle) and avoid fan-out at scale;
- aggregate at a declared grain over very large data;
- choose a storage/file format (Parquet, Delta, Iceberg) and avoid the small-files problem;
- design incremental, idempotent processing and handle late-arriving data;
- validate and reconcile results at scale (control totals, sampling, scalable checks);
- diagnose performance/cost (caching, spill,
collect(), UDFs); - diagnose partial outputs, attempt/retry safety, and distributed commit visibility;
- review backfills, partition-spec evolution, compaction, publication, and rollback evidence;
- review a distributed pipeline.
Do not use when
- writing production Spark/job code (this layer reasons, it does not run);
- defining what a KPI means — definition, additivity, grain intent, required fields
(
retail-kpi-knowledgeowns metric meaning; implement its ready contract at scale); - defining the measure or semantic logic (DAX owns that);
- writing SQL transformation logic (SQL layer owns that);
- single-node pandas source-prep (use
bi-python-knowledge); - approving readiness / granting a gate (readiness owns that);
- designing dashboard visuals (dashboard layer owns that).
Boundaries
- Readiness owns stage and gating.
- Retail KPI knowledge owns the business meaning of a KPI (definition, additivity, grain intent, required fields, ambiguity). This layer implements a ready contract at scale; it never defines the meaning.
- SQL knowledge owns SQL reasoning, SQL reconciliation, SQL transformation logic.
- DAX knowledge owns measures, semantic-model prerequisites (implements a business contract; does not define KPI meaning).
- Python knowledge owns single-node dataframe / source-prep reasoning.
- Big-data knowledge owns distributed / larger-than-memory execution reasoning and distributed-pipeline review.
- Dashboard design owns visual/page design after metric contracts.
- Execution adapters run jobs; they never define meaning, mapping, metrics, semantic logic, or approval.
Reason up to your edge, then hand off. Frequently the right big-data answer is "push this step to the SQL/warehouse layer" — that is a boundary call, not a failure.
Stop rules
- Do not scale out before confirming the workload truly needs it (single-node first).
- Do not shuffle/repartition before knowing the data's size and key distribution.
- Do not join before knowing key cardinality, skew, and which side is broadcastable.
- Do not aggregate before declaring grain and additivity.
- Do not
collect()/ pull a distributed result to the driver to "check" it. - Do not claim reconciliation passed without scale-appropriate evidence.
- Do not infer atomic publication from job success/failure; require manifests and commit evidence.
- Do not run/retry/backfill/compact from this layer; return the evidence packet and owner action.
- Do not write production job code in this reasoning layer.
- Do not use big-data tooling to bypass SQL/readiness validation gates.
- Do not read the whole knowledge base when a router can select files.
- Do not copy source/article text; see
references/copyright-and-sources.md.
Conventions
- ID families:
references/id-conventions.md. - Sources & copyright:
references/copyright-and-sources.md. - Shared concepts & boundaries with the Python layer:
references/cross-layer-map.md. - All examples use the fictional retail schema in
references/retail-bigdata-schema.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

