/mcaf
Apply minimal MCAF repository governance when the user explicitly asks to adopt MCAF or change MCAF-specific rules. USE FOR: creating or tightening root and local AGENTS.md policy; placing durable engineering context; defining the repository's own verification contract. DO NOT
$ npx -y skills add managedcode/dotnet-skills --skill mcaf --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/mcaf
Context preview
The summary Claude sees to decide when to auto-load this skill.
Apply minimal MCAF repository governance when the user explicitly asks to adopt MCAF or change MCAF-specific rules. USE FOR: creating or tightening root and local AGENTS.md policy; placing durable engineering context; defining the repository's own verification contract. DO NOT
SKILL.md
mcaf.SKILL.mdname: mcaf
description: "Apply minimal MCAF repository governance when the user explicitly asks to adopt MCAF or change MCAF-specific rules. USE FOR: creating or tightening root and local AGENTS.md policy; placing durable engineering context; defining the repository's own verification contract. DO NOT USE FOR: ordinary .NET implementation, documentation edits, UI/UX, testing, CI, Git, NFR, developer-experience, or ML work unless the request is specifically about MCAF governance. INVOKES: inspect repository policy and documentation, make the smallest durable governance change, then validate the affected repository surfaces."
MCAF Governance
Keep MCAF as one opt-in governance layer. Do not create parallel `mcaf-*` implementation or process skills.
Workflow
1. Confirm that the request is explicitly about adopting MCAF or changing MCAF governance. 2. Read the root `AGENTS.md` and the nearest local `AGENTS.md`, if one exists. 3. Keep only durable repository rules that future contributors and agents must know. 4. Put each rule next to the area that owns it. Add a local `AGENTS.md` only when a subtree genuinely differs. 5. Record exact build, test, format, analysis, and operational commands when the repository depends on them. 6. Route implementation work to the normal catalog skill closest to the actual technology or behavior. 7. Validate the changed policy, documentation links, and repository commands.
Minimal Rules
- Keep one root `AGENTS.md`.
- Add local policy only for real local differences; local rules may tighten but not silently weaken root rules.
- Keep one source of truth for each durable fact.
- Describe the current repository, not an intended future state.
- Make acceptance and verification expectations concrete and runnable.
- Add feature specifications, ADRs, review plans, or quality constraints only when the task actually needs those artifacts.
- Turn repeated team pain into a small durable rule; do not encode one-off preferences.
Boundaries
- Do not use MCAF as a router for normal .NET work; use `dotnet` or the narrow framework skill.
- Do not impose generic agile ceremonies, branch naming, UI/UX choices, onboarding templates, NFR catalogs, or ML process.
- Do not duplicate testing, CI, documentation, security, observability, or architecture skills under an MCAF namespace.
- Do not require brainstorm or plan files for every non-trivial task unless the repository explicitly adopts that workflow.
- Do not add process artifacts that are larger than the decision or behavior they clarify.
Deliver
- the smallest repository-native governance change that resolves the explicit MCAF request
- direct routing to implementation-focused skills for everything outside governance
Validate
- every new rule is durable, scoped, and owned by a repository surface
- no rule duplicates a normal implementation skill
- referenced commands and paths exist
- removed or renamed MCAF surfaces leave no dangling catalog, bundle, watch, or documentation references
Reference
Read [references/adoption.md](references/adoption.md) only when bootstrapping MCAF in a repository.
Read more
name: mcaf description: "Apply minimal MCAF repository governance when the user explicitly asks to adopt MCAF or change MCAF-specific rules. USE FOR: creating or tightening root and local AGENTS.md policy; placing durable engineering context; defining the repository's own verification contract. DO NOT USE FOR: ordinary .NET implementation, documentation edits, UI/UX, testing, CI, Git, NFR, developer-experience, or ML work unless the request is specifically about MCAF governance. INVOKES: inspect repository policy and documentation, make the smallest durable governance change, then validate the affected repository surfaces."
MCAF Governance
Keep MCAF as one opt-in governance layer. Do not create parallel `mcaf-*` implementation or process skills.
Workflow
1. Confirm that the request is explicitly about adopting MCAF or changing MCAF governance. 2. Read the root `AGENTS.md` and the nearest local `AGENTS.md`, if one exists. 3. Keep only durable repository rules that future contributors and agents must know. 4. Put each rule next to the area that owns it. Add a local `AGENTS.md` only when a subtree genuinely differs. 5. Record exact build, test, format, analysis, and operational commands when the repository depends on them. 6. Route implementation work to the normal catalog skill closest to the actual technology or behavior. 7. Validate the changed policy, documentation links, and repository commands.
Minimal Rules
- Keep one root `AGENTS.md`.
- Add local policy only for real local differences; local rules may tighten but not silently weaken root rules.
- Keep one source of truth for each durable fact.
- Describe the current repository, not an intended future state.
- Make acceptance and verification expectations concrete and runnable.
- Add feature specifications, ADRs, review plans, or quality constraints only when the task actually needs those artifacts.
- Turn repeated team pain into a small durable rule; do not encode one-off preferences.
Boundaries
- Do not use MCAF as a router for normal .NET work; use `dotnet` or the narrow framework skill.
- Do not impose generic agile ceremonies, branch naming, UI/UX choices, onboarding templates, NFR catalogs, or ML process.
- Do not duplicate testing, CI, documentation, security, observability, or architecture skills under an MCAF namespace.
- Do not require brainstorm or plan files for every non-trivial task unless the repository explicitly adopts that workflow.
- Do not add process artifacts that are larger than the decision or behavior they clarify.
Deliver
- the smallest repository-native governance change that resolves the explicit MCAF request
- direct routing to implementation-focused skills for everything outside governance
Validate
- every new rule is durable, scoped, and owned by a repository surface
- no rule duplicates a normal implementation skill
- referenced commands and paths exist
- removed or renamed MCAF surfaces leave no dangling catalog, bundle, watch, or documentation references
Reference
Read [references/adoption.md](references/adoption.md) only when bootstrapping MCAF in a repository.
Stop explaining .NET to your AI. Start building. We've all been there: asking Claude to use Entity Framework, only to get EF6 patterns in a .NET 8 project. Explaining to Copilot that Blazor Server and Blazor WebAssembly aren't the same thing.
Repo: managedcode/dotnet-skills
Other skills on dotnet-skills.
- /aspnet-core
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET. USE FOR: working on ASP.NET Core apps, services, or middleware; changing auth, routing, configuration,
Open skill - /aspire
Build, upgrade, and operate Aspire 13.4.x C# or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for distributed apps. USE FOR: Aspire.AppHost.Sdk, Aspire.Hosting.*,
Open skill - /azure-functions
Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns. USE FOR: working on Azure Functions in .NET; migrating from the in-process model to the isolated worker model; adding Durable
Open skill - /blazor
Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and hosting choices. USE FOR: building interactive web UIs with C# instead of JavaScript; choosing between Server, WebAssembly, or
Open skill - /entity-framework6
Maintain or migrate EF6-based applications with realistic guidance on what to keep, what to modernize, and when EF Core is or is not the right next step. USE FOR: EF6 codebases; runtime versus ORM migration decisions; EDMX, code-first, ObjectContext, and legacy data-access
Open skill - /entity-framework-core
Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET applications. USE FOR: DbContext, migrations, model configuration, EF queries, tracking, loading, performance, transactions, and
Open skill

