mcaf-dotnet-format — ai-extensions mcaf-dotnet-format, MCPGateway, community, ai-extensions, ide skills, ai-tools, csharp, dotnet, embeddings, mcp-gateway, Claude Code

v1.0.0

关于此技能

非常适合需要自动代码格式化和样式强制的 .NET 开发代理。 Use the free first-party `dotnet format` CLI for .NET formatting and analyzer fixes. Use when a .NET repo needs formatting commands, `--verify-no-changes` CI checks, or `.editorconfig`-driven code style enforcement.

# 核心主题

managedcode managedcode
[1]
[0]
更新于: 3/8/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
8/11
Quality Score
50
Canonical Locale
en
Detected Body Locale
en

非常适合需要自动代码格式化和样式强制的 .NET 开发代理。 Use the free first-party `dotnet format` CLI for .NET formatting and analyzer fixes. Use when a .NET repo needs formatting commands, `--verify-no-changes` CI checks, or `.editorconfig`-driven code style enforcement.

核心价值

赋予代理使用 .editorconfig 强制一致的编码风格,执行 CI 安全格式检查,并提供基于嵌入的工具发现与 Microsoft.Extensions.AI,通过显式规划和验证减少歧义。

适用 Agent 类型

非常适合需要自动代码格式化和样式强制的 .NET 开发代理。

赋予的主要能力 · mcaf-dotnet-format

.NET 项目的自动代码格式化
使用 .editorconfig 在存储库中强制样式一致性
为代码、文档、配置、测试、CI 或审查工件生成具体项目增量

! 使用限制与门槛

  • 需要 .NET 环境
  • 仅适用于使用 dotnet format 的存储库
  • 不适用于故意使用 CSharp Analyze 的存储库

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

mcaf-dotnet-format 是什么?

非常适合需要自动代码格式化和样式强制的 .NET 开发代理。 Use the free first-party `dotnet format` CLI for .NET formatting and analyzer fixes. Use when a .NET repo needs formatting commands, `--verify-no-changes` CI checks, or `.editorconfig`-driven code style enforcement.

如何安装 mcaf-dotnet-format?

运行命令:npx killer-skills add managedcode/MCPGateway。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

mcaf-dotnet-format 适用于哪些场景?

典型场景包括:.NET 项目的自动代码格式化、使用 .editorconfig 在存储库中强制样式一致性、为代码、文档、配置、测试、CI 或审查工件生成具体项目增量。

mcaf-dotnet-format 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

mcaf-dotnet-format 有哪些限制?

需要 .NET 环境;仅适用于使用 dotnet format 的存储库;不适用于故意使用 CSharp Analyze 的存储库。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add managedcode/MCPGateway。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    mcaf-dotnet-format 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

mcaf-dotnet-format

安装 mcaf-dotnet-format,这是一款面向AI agent workflows and automation的 AI Agent Skill。支持 Claude Code、Cursor、Windsurf,一键安装。

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

MCAF: .NET dotnet format

Trigger On

  • the repo uses dotnet format
  • you need a CI-safe formatting check for .NET
  • the repo wants .editorconfig-driven style enforcement

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

  • repositories that intentionally use CSharpier as the only formatter
  • analyzer strategy with no formatting command change

Inputs

  • the nearest AGENTS.md
  • the solution or project path
  • the current .editorconfig

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. Prefer the SDK-provided dotnet format command instead of inventing custom format scripts.
  2. Start with verify mode in CI: dotnet format TARGET --verify-no-changes.
  3. Use narrower subcommands only when the repo needs them:
    • whitespace
    • style
    • analyzers
  4. Keep .editorconfig as the source of truth for style preferences.
  5. If the repo also uses CSharpier, document which tool owns which file types or rules.

Bootstrap When Missing

If dotnet format is requested but not available yet:

  1. Detect current state:
    • dotnet --info
    • dotnet format --version
  2. Treat dotnet format as SDK-provided, not as a separate repo-local tool by default.
  3. If the command is missing, install or upgrade to a supported .NET SDK, then recheck dotnet format --version.
  4. Add explicit local and CI commands to AGENTS.md, usually:
    • dotnet format TARGET --verify-no-changes
  5. Run the chosen command once and return status: configured or status: improved.
  6. If the repo intentionally uses only CSharpier for formatting ownership, return status: not_applicable.

Deliver

  • explicit dotnet format commands for local and CI runs
  • formatting that follows .editorconfig

Validate

  • formatting is reproducible on CI
  • no overlapping formatter ownership is left ambiguous

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/dotnet-format.md first

Example Requests

  • "Add dotnet format to this repo."
  • "Make formatting fail CI if files drift."
  • "Explain when to use dotnet format versus CSharpier."

相关技能

寻找 mcaf-dotnet-format 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具