Individual skill
spark-cli
Manages Fabric Spark work, including notebook cell code with %%configure, %%sql, PySpark and notebookutils, named notebook runs, Livy sessions, triage of failed or OOM notebook and pipeline Spark runs, and the Materialized Lake View (MLV) lifecycle. Load it before writing MLV SQL, since CREATE MATERIALIZED LAKE VIEW and its CONSTRAINT clause are Fabric-only. KQL materialized views belong to eventhouse-cli.
skills/spark-cli/SKILL.md
Source commit 4c3986d2e5b498ce2d6e6025533b94b5e5bb2ccd
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,325
- Repository last updated
- Nov 5, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- writing Derived category
- data Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 10,371 bytesapm.ymlasset · 430 bytesreferences/authoring.mddoc · 33,714 bytesreferences/authoring/resources/data-engineering-patterns.mddoc · 24,927 bytesreferences/authoring/resources/development-workflow.mddoc · 7,619 bytesreferences/authoring/resources/infrastructure-orchestration.mddoc · 10,693 bytesreferences/authoring/resources/materialized-lake-view-patterns.mddoc · 20,548 bytesreferences/authoring/resources/mlv-incremental-refresh-patterns.mddoc · 11,720 bytesreferences/authoring/resources/notebook-api-operations.mddoc · 14,521 bytesreferences/consumption.mddoc · 12,622 bytesreferences/mlv.mddoc · 33,588 bytesreferences/operations.mddoc · 20,820 bytesreferences/operations/automated-diagnostic-workflow.mddoc · 12,985 bytesreferences/operations/diagnostic-workflow.mddoc · 7,479 bytesreferences/operations/job-diagnostics.mddoc · 18,151 bytesreferences/operations/jobinsight-api.mddoc · 7,411 bytesreferences/operations/performance-patterns.mddoc · 17,778 bytesreferences/operations/pipeline-diagnosis.mddoc · 21,275 bytesreferences/operations/session-health.mddoc · 8,882 bytesreferences/operations/spark-history-server.mddoc · 6,646 bytes
Read excerpt
> **Telemetry — MANDATORY.** Every `api.fabric.microsoft.com` call must carry
> `x-ms-fabric-skill: spark-cli` (`az rest`: `--headers "x-ms-fabric-skill=spark-cli"`),
> including every LRO poll, `fabric_lro` and retry. Snippets omit it — add it anyway.
> **CRITICAL NOTES**
> 1. To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
> 2. To find the item details (including its ID) from workspace ID, item type, and item name: list all items of that type in that workspace and, then, use JMESPath filtering
> 3. **Skill disambiguation**: use `spark-cli` for notebook cell code (including `%%sql` cells), named notebook runs, Livy sessions, Spark failure triage, and everything about a Materialized Lake View -- writing the definition, reviewing a query for incremental-refresh readiness, and scheduling, refreshing, monitoring or diagnosing an existing one. A KQL materialized view in an Eventhouse is `eventhouse-cli`; plain read-only T-SQL against a Warehouse or Lakehouse SQL endpoint is `sqldw-cli`.
> 4. **Hard routing boundary**: never execute an Eventhouse/KQL materialized-view request from this skill. Route it to `eventhouse-cli`; if that skill is unavailable, state that the request cannot be completed in the current skill context and stop without calling Fabric APIs or creating artifacts.
# Fabric Spark and Materialized Lake Views -- CLI Skill
This one skill owns Fabric Spark: notebook cell authoring, notebook runs, Livy-session analysis, Spark failure diagnostics, and the whole Materialized Lake View lifecycle.