agentleFS
MicrosoftKnown publishermicrosoft/DataFactory.MCP/claude-skills/SKILL.md

datafactory-tips

Skill43 starsChanged 7 months agoMITView on GitHub

Operational tips and best practices for working with Microsoft Fabric Data Factory MCP tools. Use when executing queries, troubleshooting timeouts, creating dataflows end-to-end, or working with large datasets via the DataFactory.MCP tools.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use executeOption = "ApplyChangesIfNeeded" on first refresh of API-created dataflows

    line 13
  2. Very specific:

    Use list_workspaces and filter by name — there is no find_workspace tool

    line 15
  3. Very specific:

    Create a new dataflow instead of reverting a multi-source one to single-source — there is no remove_connection tool

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Factory Tips

Operational knowledge for working with Microsoft Fabric Data Factory.

Must / Prefer / Avoid

MUST DO

  • Use executeOption = "ApplyChangesIfNeeded" on first refresh of API-created dataflows
  • Re-add connections via add_connection_to_dataflow after save_dataflow_definition (save may wipe them)
  • Use list_workspaces and filter by name — there is no find_workspace tool
  • Validate each connection with execute_query after adding
  • Create a new dataflow instead of reverting a multi-source one to single-source — there is no remove_connection tool

PREFER

  • Filter early in M queries to enable query folding (push filters to source)
  • Expensive operations (sorting, aggregation) last — streaming operations (filter, select) first
  • execute_query with customMashupDocument to iterate on M code before saving
  • Standard engine for complex transforms; Fast Copy only for simple ingestion

AVOID

  • get_authoring_guidance — deprecated, author M directly
  • Sorting early in query chains (requires reading all data before returning results)
  • SELECT * equivalent without row limits during development — use "Keep First Rows" then remove

Symptom Triage

SymptomLikely CauseRead
DataflowNeverPublishedErrorDefault SkipApplyChanges on first rundestinations/dest-new-table.md
DestinationColumnNotFoundManual mappings for new tabledestinations/dest-new-table.md
Credentials error on LakehouseConnection not bounddatafactory-connections.md (Binding)
FastCopy fails with transformsUnsupported transform in fast copydatafactory-advanced.md (Fast Copy)
Instant refresh fail (0-3s)Privacy firewall or unpublished draftsources/multi-source.md
Multi-source instant fail via APIDirty dataflow or separate Lakehouse.Contents callssources/multi-source.md
IsNewTarget = false failsDirect navigation on API-created dataflowdestinations/dest-new-table.md
Stale connections after revertsave_dataflow_definition doesn't remove connectionsdatafactory-connections.md (Troubleshooting)

Knowledge Files

FileWhen to Read
datafactory-core.mdMCP tools, M basics, rolling dates, what-if queries
datafactory-connections.mdConnection discovery, creation, binding, gateways, troubleshooting connection errors
datafactory-performance.mdQuery timeouts, chunking, query folding, connector selection
datafactory-advanced.mdFast Copy limits, Action.Sequence, Modern Evaluator
datafactory-pipelines.mdPipeline creation, Dataflow activities, chaining, scheduling

Destination Files (read only the one you need)

FileWhen to Read
destinations/dest-new-table.mdCreating a new output table via MCP (most common path)
destinations/dest-existing-table.mdWriting to a table that already exists
destinations/dest-troubleshooting.mdDiagnosing refresh failures, connection issues, silent errors

Source Files

FileWhen to Read
sources/multi-source.mdCombining Lakehouse + SharePoint/Web sources, AllowCombine
sources/sharepoint-excel.mdReading Excel files from SharePoint via Web.Contents

M Templates (copy-paste-ready, no prose)

FileWhen to Read
templates/m-new-table-destination.mNeed the complete M section document for a new table
templates/m-existing-table-destination.mNeed the M section document for an existing table
templates/m-multi-source-section.mNeed the M section document for multi-source with AllowCombine
templates/m-sharepoint-excel-source.mNeed the M snippet for SharePoint Excel via Web.Contents
templates/pipeline-single-dataflow.jsonNeed pipeline JSON for a single Dataflow activity
templates/pipeline-chained-dataflows.jsonNeed pipeline JSON for chained Dataflow activities

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.