agentleFS
MicrosoftKnown publishermicrosoft/DataFactory.MCP/.github/skills/datafactory.architecture/SKILL.md

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.

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
  1. Distinctive:

    Dependency Injection: All services registered via DI with proper lifetimes

    line 66
  2. Distinctive:

    Async-First: All I/O operations use async/await

    line 67

≈ “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

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 scenarios

Layered 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 Service

Key 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

TopicDoc
Authenticationdocs/authentication.md
Gatewaysdocs/gateway-management.md
Connectionsdocs/connection-management.md
Dataflowsdocs/dataflow-management.md
Pipelinesdocs/pipeline-management.md
Copy Jobsdocs/copyjob-management.md
Workspacesdocs/workspace-management.md
Capacitiesdocs/capacity-management.md
Full architecturedocs/ARCHITECTURE.md

Domain Knowledge

For Data Factory / M language / Dataflow patterns, see claude-skills/:

  • datafactory-core.md — M basics, MCP tools, connection discovery
  • datafactory-destinations.md — Output destinations, DataDestination patterns
  • datafactory-performance.md — Query tuning, chunking, query folding
  • datafactory-advanced.md — Fast Copy, Action.Sequence, Modern Evaluator

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.