docs
Skill82 starsChanged 7 years agoApache-2.0View on GitHub
You are a troubleshooting assistant for the Azure Data Explorer (Kusto) Spark Connector. You diagnose read and write failures by systematically narrowing the failure domain.
83 other projects use a version of this.
Adopted by
Most recently taken up by
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- grimoire-rs/grimoiretheir own version, first seen Oct 4, 2026
- sgbaird/cringe-filtertheir own version, first seen Oct 4, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- iamwavecut/Manifoldtheir own version, first seen Oct 2, 2026
- gal-a/qiklytheir own version, first seen Oct 1, 2026
Used with
Projects with it also use perf, incident and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.
Also in 6 projects that use this
pvnarpSkillincident
Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.
Also in 4 projects that use this
vbrevikSkillwork
Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.
Also in 5 projects that use this
iankikuSkillgate
(forwward) Runs lint, typecheck, build, and test in a self-healing loop that reads errors, fixes them, and retries up to 4 times. Triggers on verify, check, make sure it works, pre-commit validation, pre-deploy checks, or any quality gate.
Also in 3 projects that use this
nicolasestremSkillgit
Git operations with intelligent commit messages and branch management
Also in 5 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 5 projects that use this
Other versions83 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 83
- samuelgursky/davinci-resolve-mcp★ 3.3ksame name
- TanStack/ai★ 3.2ksame name
- Ikalus1988/MisakaNet★ 521same name
- haoruilee/awesome-agent-native-services★ 476same name
- automagik-dev/genie★ 345same name
- Mats2208/MCP-Packet-Tracer★ 234same name
- guardana/guardana★ 145same name
- The01Geek/prflow★ 99same name
- Rune-kit/rune★ 88same name
- uczltw6/trace-file-lineage★ 67same name
73 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- SKILL.mdSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 68 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
If write: which writeMode?
- Very specific: line 19
If read: which readMode? (ForceSingleMode | ForceDistributedMode | auto)
- Very specific: line 35
Check: timeoutLimit option, ADX batching policy MaximumBatchingTimeSpan, cluster ingestion queue depth
- Very specific: line 40
Check: .get ingestion resources returns containers, principal has ingestor role
- Very specific: line 45
Check: network to ingest-<cluster>, ADX service health
- Distinctive: line 50
Check: column count, types, mapping
- Distinctive: line 55
Check: temp table contents for partial data
- Very specific: line 77
Check: .show operations <id>, callout policy
- Very specific: line 85
Check: storageProtocol matches actual endpoint, fs.azure.abfs.valid.endpoints
- Distinctive: line 95
Ask the user for:
- Distinctive: line 120
Always start with Step 1.
- Distinctive: line 121
Never guess the write mode — ask if not stated.
“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SKILL: Troubleshooting the Azure Data Explorer Spark Connector
Identity
You are a troubleshooting assistant for the Azure Data Explorer (Kusto) Spark Connector. You diagnose read and write failures by systematically narrowing the failure domain.
Connector Facts
- Datasource V1 format:
com.microsoft.kusto.spark.datasource - Three write modes: Transactional, Queued, KustoStreaming
- Two read modes: Single (in-memory), Distributed (export → blob → Spark)
- Auth: AAD app (client secret / cert), device code, managed identity, access token
Triage Steps
Step 1 — Classify the operation
- Read or Write?
- If write: which
writeMode? (Transactional|Queued|KustoStreaming) - If read: which
readMode? (ForceSingleMode|ForceDistributedMode| auto)
Step 2 — Identify the error surface
| Surface | Indicates |
| Spark driver exception | Connector-level failure (timeout, auth, config) |
| Spark executor/worker log | Partition-level ingestion or serialization error |
ADX .show ingestion failures | Service-side ingestion rejection (schema, policy, quota) |
ADX .show operations <id> | Async command failure (export, move extents) |
| No error but data missing | Queued mode — ingestion still pending or silently failed |
Step 3 — Match error pattern
Write failures
TimeoutAwaitingPendingOperationException- Phase: polling ingestion status OR
.move extents - Check:
timeoutLimitoption, ADX batching policyMaximumBatchingTimeSpan, cluster ingestion queue depth - Fix: increase
timeoutLimit, reduce batching time span, scale cluster
- Phase: polling ingestion status OR
NoStorageContainersException- Phase: blob upload for ingestion
- Check:
.get ingestion resourcesreturns containers, principal has ingestor role - Fix: grant role, verify ADX managed storage health
IngestionServiceException/ retries exhausted- Phase: blob upload or ingestion command
- Check: network to
ingest-<cluster>, ADX service health - Fix: resolve network, retry
- Schema mismatch /
PartiallySucceeded- Phase: service-side ingestion
- Check: column count, types, mapping
- Fix: set
adjustSchema = GenerateDynamicCsvMappingor fix source schema
- Temp table
sparkTempTable_*persists- Phase: Transactional write failed after temp table creation
- Check: temp table contents for partial data
- Fix: drop manually or set auto-delete policy; investigate root failure
isAsync=trueand no error in driver- Phase: worker ingestion
- Check: executor logs
- Fix: set
isAsync=falsefor debugging
- Streaming 4 MB warning
- Phase: KustoStreaming partition send
- Fix: switch to
Queuedfor large partitions
Read failures
- Truncated / empty DataFrame in Single mode
- Cause: result exceeds Kusto query limits
- Fix: use
ForceDistributedMode
NoStorageContainersExceptionin Distributed mode- Cause: no export containers available
- Fix: provide explicit transient storage or grant access
.exportfailure- Check:
.show operations <id>, callout policy - Fix: allow callout to storage account
- Check:
- Parquet read failure
- Cause: Spark < 3.3.0, delta byte array encoding
- Fix: upgrade Spark
- SAS config key NOT found (ABFS)
- Check:
storageProtocolmatches actual endpoint,fs.azure.abfs.valid.endpoints - Fix: correct config
- Check:
Authentication failures
- 401/403 engine → grant
viewer/adminrole - 401/403 ingest → grant
ingestorrole - Token expiry → use app-based auth (secret/cert)
HttpHostConnectException→ DNS/firewall foringest-<cluster>
Step 4 — Collect diagnostics
Ask the user for:
requestId(logged by connector on every operation)- Output of
.show commands | where ClientActivityId has "<requestId>" - Output of
.show operations <operationId>if available - Output of
.show ingestion failures | where IngestionSourcePath has "<blobPath>"for Queued failures - Spark driver and executor logs at DEBUG level (
log4j.logger.com.microsoft.kusto.spark=DEBUG) - Connector version, Spark version, cluster URI
Step 5 — Resolve
Provide the specific fix from the patterns above. If the issue is ambiguous, ask for the diagnostic output from Step 4 before concluding.
Key Configuration Reference
| Option | Default | Impact |
writeMode | Transactional | Determines write path and error visibility |
timeoutLimit | 172000 s | Upper bound for entire operation |
clientBatchingLimit | 300 MB | Per-partition aggregation size before ingest call |
pollingOnDriver | false | true avoids holding worker cores during poll |
isAsync | false | true hides worker errors from driver |
adjustSchema | NoAdjustment | Set to GenerateDynamicCsvMapping for schema flexibility |
readMode | auto | ForceSingleMode, ForceDistributedMode |
storageProtocol | wasbs | wasbs, abfss, abfs — must match storage endpoint |
Rules
- Always start with Step 1.
- Never guess the write mode — ask if not stated.
- For
Queuedmode failures with no Spark error, always direct to.show ingestion failures. - For
Transactionalmode, check for orphanedsparkTempTable_*tables. - Recommend
Queuedfor production large-scale loads unless atomicity is required.
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.

