Agent skill

Mcaf Dotnet

by managedcode in managedcode/Storage

Primary entry skill for C and .NET tasks. An agent skill from managedcode/Storage.

MITAuto-check passedAgent Workflows

Install Mcaf Dotnet

skills CLI
$ npx skills add managedcode/Storage --skill mcaf-dotnet -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/Storage mcaf-dotnet --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/Storage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/mcaf-dotnet .claude/skills/mcaf-dotnet && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcaf-dotnet
GitHub stars
138
Token cost
~1.6k tokens
SKILL.md length
789 words
Files
3 (incl. references)
Skills in repo
41
Repo updated
First seen
Licence
MIT

At a glance

Primary entry skill for C and .NET tasks. An agent skill from managedcode/Storage.

  • Works in 3 steps: Read the nearest AGENTS.md and confirm… → Run this skill's Workflow through the… → Return the Required Result Format with…
  • The user asks to implement
  • SKILL.md covers Trigger On, Value, Do Not Use For and Inputs, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Mcaf Dotnet is an agent skill from managedcode/Storage. Primary entry skill for C and .NET tasks. Detect the repo's language version, test runner, quality stack, and architecture rules; route to the right .NET subskills; and run the repo-defined post-change quality pass after any code change. Use when the user asks to implement, debug, review, or refactor .NET code, or asks which .NET skill or toolchain should apply.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/skill-routing.md` and `references/task-flow.md`). Compatibility notes: Requires a .NET solution or project; respects root and local AGENTS.md first.

It sits in Agent Workflows, covering Refactoring. It works with .NET and C#. The repository describes itself as: Storage library provides a universal interface for accessing and manipulating data in different cloud blob storage providers. The licence is MIT.

When your agent uses it

  • The user asks to implement
  • Refactor .NET code
  • Asks which .NET skill
  • Toolchain should apply

Example prompts

  • “/mcaf-dotnet”

Requirements

  • Compatibility (from SKILL.md): Requires a .NET solution or project; respects root and local `AGENTS.md` first.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

What it can do on your machine

Read from SKILL.md and the folder at commit 5d32121. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires a .NET solution or project; respects root and local `AGENTS.md` first.

    From compatibility in the SKILL.md frontmatter.

Context cost

Mcaf Dotnet loads about 1.6k tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 94 tokens; SKILL.md has 789 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from managedcode/Storage at commit 5d32121, republished under its MIT licence (© managedcode). 789 words, ~1,642 tokens.

Download SKILL.mdSave it as .claude/skills/mcaf-dotnet/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
mcaf-dotnet
description
Primary entry skill for C# and .NET tasks. Detect the repo's language version, test runner, quality stack, and architecture rules; route to the right .NET subskills; and run the repo-defined post-change quality pass after any code change. Use when the user asks to implement, debug, review, or refactor .NET code, or asks which .NET skill or toolchain should apply.
compatibility
Requires a .NET solution or project; respects root and local `AGENTS.md` first.

MCAF: .NET

Trigger On

  • writing, reviewing, debugging, or refactoring C# or .NET code
  • deciding which .NET skill should be used for a task
  • modernizing a .NET codebase while keeping language and runtime compatibility
  • verifying .NET changes with analyzers, formatting, tests, and coverage

Value

  • produce a concrete project delta: code, docs, config, tests, CI, or review artifact
  • reduce ambiguity through explicit planning, verification, and final validation skills
  • leave reusable project context so future tasks are faster and safer

Do Not Use For

  • non-.NET repositories
  • a single-tool task where one exact .NET tool skill already covers the whole request

Inputs

  • the nearest AGENTS.md
  • solution and project files
  • Directory.Build.* files
  • the repo-root .editorconfig and any nested .editorconfig files that apply
  • target TFM, LangVersion, SDK version, test packages, and analyzer packages

Quick Start

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

Workflow

  1. Detect the real stack before changing code or commands:
    • TFM or TFMs
    • explicit LangVersion or the default implied by the SDK and target framework
    • test framework: xUnit, TUnit, or MSTest
    • runner model: VSTest or Microsoft.Testing.Platform
    • installed analyzers, formatters, coverage tools, and architecture-test libraries
  2. Route framework mechanics through exactly one matching test skill:
    • mcaf-dotnet-xunit
    • mcaf-dotnet-tunit
    • mcaf-dotnet-mstest
  3. Route quality and policy through the matching skill:
    • mcaf-dotnet-quality-ci
    • mcaf-dotnet-analyzer-config
    • mcaf-dotnet-complexity
    • tool-specific skills such as mcaf-dotnet-format, mcaf-dotnet-roslynator, mcaf-dotnet-stylecop-analyzers, mcaf-dotnet-meziantou-analyzer, mcaf-dotnet-coverlet, mcaf-dotnet-reportgenerator, mcaf-dotnet-resharper-clt, mcaf-dotnet-netarchtest, mcaf-dotnet-archunitnet, mcaf-dotnet-codeql, mcaf-dotnet-csharpier, and mcaf-dotnet-stryker
  4. Route design and structure through:
    • mcaf-solid-maintainability for SOLID, SRP, cohesion, and maintainability limits
    • mcaf-architecture-overview when system or module boundaries, contracts, or architecture docs need work
    • mcaf-dotnet-features when modern C# feature selection or language-version compatibility matters
  5. Write or review code using the newest stable C# features the repo actually supports.
  6. After any .NET code change, run the repo-defined post-change quality pass from narrow to broad:
    • format
    • build
    • analyze
    • focused test
    • broader test
    • coverage and report generation when configured
    • extra configured gates such as Roslynator, StyleCop, Meziantou, ReSharper CLT, NetArchTest, ArchUnitNET, CodeQL, CSharpier, or Stryker
  7. If the repo does not define these commands clearly, tighten AGENTS.md before continuing so later agents stop guessing.
  8. Do not introduce preview language features unless the repo explicitly opts into preview in project or MSBuild settings.

Bootstrap When Missing

When a requested .NET gate or tool is missing in this repo, do not stop at "not configured":

  1. Detect whether the tool is already present in project files, tool manifests, or CI.
  2. If the tool is optional and repo policy is unclear, ask whether to enable it as a default gate.
  3. If approved or already required by policy, install and wire it through the matching tool skill.
  4. Update AGENTS.md so future agents have exact commands and stop guessing.
  5. Run one verify pass and return status: configured or status: improved.
  6. If the tool is intentionally out of scope for this repo, return status: not_applicable with reason and route.
Show full SKILL.md (288 more words)Show less

Deliver

  • .NET changes that use the right framework and tool skills
  • version-compatible modern C# code
  • a completed post-change verification pass, not only green tests

Validate

  • only the skills relevant to the current .NET task were opened
  • VSTest and Microsoft.Testing.Platform assumptions were not mixed
  • the language features used are supported by the repo's real TFM and LangVersion
  • format, analyzers, tests, and any configured extra gates were all considered before completion

Ralph Loop

Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.

  1. Plan first (mandatory):
    • analyze current state
    • define target outcome, constraints, and risks
    • write a detailed execution plan
    • list final validation skills to run at the end, with order and reason
  2. Execute one planned step and produce a concrete delta.
  3. Review the result and capture findings with actionable next fixes.
  4. Apply fixes in small batches and rerun the relevant checks or review steps.
  5. Update the plan after each iteration.
  6. Repeat until outcomes are acceptable or only explicit exceptions remain.
  7. If a dependency is missing, bootstrap it or return status: not_applicable with explicit reason and fallback path.
Required Result Format
  • status: complete | clean | improved | configured | not_applicable | blocked
  • plan: concise plan and current iteration step
  • actions_taken: concrete changes made
  • validation_skills: final skills run, or skipped with reasons
  • verification: commands, checks, or review evidence summary
  • remaining: top unresolved items or none

For setup-only requests with no execution, return status: configured and exact next commands.

Load References

  • read references/skill-routing.md first
  • read references/task-flow.md when the task includes implementation, refactoring, or review

Example Requests

  • "Work on this .NET feature and use the right skills."
  • "Which .NET skills should open for this repo?"
  • "Refactor this C# code and run the full quality pass after."

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .codex/skills/mcaf-dotnet of managedcode/Storage.

  • SKILL.md
  • references/skill-routing.md
  • references/task-flow.md

Open the folder on GitHubat commit 5d32121

Compare with similar skills

Mcaf Dotnet next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mcaf Dotnet compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mcaf Dotnet this skillmanagedcode/Storage138—~1.6kAutomated safety check: PassMIT
Add Refactoringdotnet/roslynator3.5k—~946Automated safety check: PassCustom licence
Dynamo Dotnet ExpertDynamoDS/Dynamo2k—~909Automated safety check: PassApache-2.0
Deprecate Analyzer Or Refactoringdotnet/roslynator3.5k—~511Automated safety check: PassCustom licence
Okojo Test262akeit0/okojo160—~742Automated safety check: PassMIT
Dotnet10 Featuresrunceel/ReactiveProperty944—~2.7kAutomated safety check: PassMIT

Similar skills

  • Add Refactoring

    dotnet/roslynator

    Official

    A skill your agent uses when adding a new RR refactoring in roslynator, editing Refactorings.xml, registering in RefactoringContext, or when refactorings-testing.md shows XunitRefactoringVerifier —…

    3.5k GitHub stars~946 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Dynamo Dotnet Expert

    DynamoDS/Dynamo

    Write and review C/.NET code in Dynamo following Dynamo coding standards, modern C patterns, and repo conventions.

    2k GitHub stars~909 tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when obsoleting or retiring RCS, RR, or RCF in roslynator, replacing an analyzer with another id, or when tempted to use IsObsolete on an Analyzer entry — analyzers use…

    3.5k GitHub stars~511 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Okojo Test262

    akeit0/okojo

    Run and continue Okojo Test262 compliance work. An agent skill from akeit0/okojo.

    160 GitHub stars~742 tokensUpdated 16 days ago
    DevelopmentAuto-check passed
  • Dotnet10 Features

    runceel/ReactiveProperty

    Reference for the .NET 10 / C 14 features that are relevant to the ReactiveProperty repository.

    944 GitHub stars~2.7k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Refactor Analysis

    Samsung/TizenFX

    Automatically scans the TizenFX codebase on a rotating schedule to discover .NET 8 / C 12+ refactoring targets and register them as GitHub Issues.

    214 GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from managedcode/Storage

All 41 skills in this repo
  • Mcaf Adr Writing

    managedcode/Storage

    Create or update an ADR under docs/ADR/ for architectural decisions, dependency changes, data-model changes, or cross-cutting policy shifts.

    138 GitHub stars~951 tokensUpdated today
    Auto-check passed
  • Mcaf Agile Delivery

    managedcode/Storage

    Shape delivery workflow around backlog quality, roles, ceremonies, and engineering feedback.

    138 GitHub stars~883 tokensUpdated today
    Auto-check passed
  • Mcaf Architecture Overview

    managedcode/Storage

    Create or update docs/Architecture.md as the global architecture map for a solution.

    138 GitHub stars~950 tokensUpdated today
    Auto-check passed
  • Mcaf CI CD

    managedcode/Storage

    Design or refine CI/CD workflows, quality gates, release flow, and safe AI-assisted pipeline authoring.

    138 GitHub stars~981 tokensUpdated today
    Auto-check passed
  • Mcaf Code Review

    managedcode/Storage

    Prepare for, perform, or tighten code review workflow: PR scope, review checklist, reviewer expectations, and merge hygiene.

    138 GitHub stars~957 tokensUpdated today
    Auto-check passed
  • Mcaf Devex

    managedcode/Storage

    Improve developer experience for multi-component solutions: onboarding, F5 contract, cross-platform tasks, local inner loop, and reproducible setup.

    138 GitHub stars~911 tokensUpdated today
    Auto-check passed

Works with

Questions about Mcaf Dotnet

What does Mcaf Dotnet do?

Primary entry skill for C and .NET tasks. An agent skill from managedcode/Storage. Mcaf Dotnet is an agent skill from managedcode/Storage.NET tasks.

When should I use Mcaf Dotnet?

Mcaf Dotnet fits situations like: the user asks to implement; refactor .NET code; asks which .NET skill; toolchain should apply.

How do I install Mcaf Dotnet in Claude Code?

Run `npx skills add managedcode/Storage --skill mcaf-dotnet -a claude-code`. Or copy the skill folder (.codex/skills/mcaf-dotnet in managedcode/Storage) into .claude/skills/mcaf-dotnet in your project. Claude Code loads it when a task matches its description.

How do I install Mcaf Dotnet in Codex?

Run `npx skills add managedcode/Storage --skill mcaf-dotnet -a codex`. Or copy the skill folder (.codex/skills/mcaf-dotnet in managedcode/Storage) into .agents/skills/mcaf-dotnet in your project. Codex loads it when a task matches its description.

Can I use Mcaf Dotnet in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/Storage --skill mcaf-dotnet -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcaf-dotnet, .gemini/skills/mcaf-dotnet, .github/skills/mcaf-dotnet and .opencode/skills/mcaf-dotnet in your project.

What does Mcaf Dotnet need to run?

SKILL.md names no scripts, command-line tools or credentials: Mcaf Dotnet is instructions for the agent only. Compatibility (from SKILL.md): Requires a .NET solution or project; respects root and local `AGENTS.md` first..

Does Mcaf Dotnet access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mcaf Dotnet safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mcaf Dotnet use?

Mcaf Dotnet is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mcaf Dotnet use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 867 tokens, read only when the agent opens those files.

What are the alternatives to Mcaf Dotnet?

Skills that share tags, products or a category with Mcaf Dotnet: Add Refactoring (dotnet/roslynator, 3.5k stars), Dynamo Dotnet Expert (DynamoDS/Dynamo, 2k stars), Deprecate Analyzer Or Refactoring (dotnet/roslynator, 3.5k stars) and Okojo Test262 (akeit0/okojo, 160 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mcaf Dotnet?

managedcode (a GitHub organization) maintains it in managedcode/Storage, which has 138 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/Storage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.