datafactory.architecture
Skill43 starsChanged 7 months agoMITView on GitHub
DataFactory.MCP project architecture, component layers, design patterns, and extension points. Use when working on any code in this repo.
In this repository9 other files it gives its agents.
- agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- datafactory-tipsSkill
- architecture.mcp-toolsSkill
- builder.datafactorySkill
- coder.datafactory-styleSkill
- devops.fabric-mcp-integrationSkill
- tester.testing-patternsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 66
Dependency Injection: All services registered via DI with proper lifetimes
- Distinctive: line 67
Async-First: All I/O operations use async/await
≈ “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.
Files
DataFactory.MCP Architecture
For the full architecture reference, see docs/ARCHITECTURE.md.
Project Structure
DataFactory.MCP/ — Main MCP server (stdio transport, entry point)
DataFactory.MCP.Core/ — Core library (all business logic)
├── Abstractions/ — Interfaces and contracts
├── Configuration/ — App configuration classes
├── Extensions/ — Extension methods and DI registration
├── Infrastructure/ — Cross-cutting concerns (HTTP, logging)
├── Models/ — Data models and DTOs
├── Parsing/ — Input parsing utilities
├── Resources/ — Embedded resources
├── Services/ — Fabric API service clients
├── Tools/ — MCP tool implementations
└── Validation/ — Input validation
DataFactory.MCP.Http/ — HTTP transport layer (AspNetCore)
DataFactory.MCP.Tests/ — Test suite (xUnit)
DataFactory.WindowsMCP/ — Windows-specific MCP implementation
claude-skills/ — Claude skill definitions (RAG pattern)
docs/ — Feature documentation
evals/ — Evaluation test scenariosLayered Architecture
AI Chat Interface (VS Code, Visual Studio)
│ MCP Protocol (JSON-RPC over stdio)
▼
┌─ MCP Tools Layer ──────────────────────────────┐
│ AuthenticationTool, GatewayTool, │
│ ConnectionsTool, WorkspacesTool, │
│ Dataflow/*, Pipeline/*, CopyJob/*, │
│ CapacityTool, CreateConnectionUITool │
├─ Core Services Layer ──────────────────────────┤
│ AuthenticationService, FabricGatewayService, │
│ FabricConnectionService, FabricWorkspaceService│
│ FabricDataflowService, FabricPipelineService, │
│ FabricCopyJobService, FabricCapacityService, │
│ ValidationService, DataTransformationService │
├─ Infrastructure Layer ─────────────────────────┤
│ AuthenticatedHttpHandler, ApiVersionConfig, │
│ McpSessionAccessor, BackgroundTasks │
├─ Abstractions Layer ───────────────────────────┤
│ Interfaces for all services │
├─ Models Layer ─────────────────────────────────┤
│ DTOs, request/response types, enums │
└─────────────────────────────────────────────────┘
│ Fabric REST APIs (with Azure AD tokens)
▼
Microsoft Fabric / Power BI ServiceKey Design Principles
- Separation of Concerns: Tools handle MCP protocol; Services handle Fabric API calls
- Dependency Injection: All services registered via DI with proper lifetimes
- Async-First: All I/O operations use async/await
- Configuration-Driven: Feature flags control tool availability
- Extensibility: New tools/services can be added without modifying existing code
Feature Documentation
| Topic | Doc |
| Authentication | docs/authentication.md |
| Gateways | docs/gateway-management.md |
| Connections | docs/connection-management.md |
| Dataflows | docs/dataflow-management.md |
| Pipelines | docs/pipeline-management.md |
| Copy Jobs | docs/copyjob-management.md |
| Workspaces | docs/workspace-management.md |
| Capacities | docs/capacity-management.md |
| Full architecture | docs/ARCHITECTURE.md |
Domain Knowledge
For Data Factory / M language / Dataflow patterns, see claude-skills/:
datafactory-core.md— M basics, MCP tools, connection discoverydatafactory-destinations.md— Output destinations, DataDestination patternsdatafactory-performance.md— Query tuning, chunking, query foldingdatafactory-advanced.md— Fast Copy, Action.Sequence, Modern Evaluator
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.

