Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By fenzel999
Develop .NET applications across the full stack — from C# backend APIs and UI frameworks (Blazor, MAUI) to AI/ML integration, cloud deployment, testing, debugging, security review, and DevOps automation
npx claudepluginhub fenzel999/dotnet-artisan --plugin dotnet-artisanAnalyzes .NET project context, requirements, and constraints to recommend architecture approaches, framework choices, and design patterns. Triggers on: what framework to use, how to structure a project, recommend an approach, architecture review.
Analyzes ASP.NET Core middleware, request pipelines, minimal API design, DI lifetime selection, and diagnostic scenarios. Routes UI framework questions to [skill:dotnet-ui-specialist], security to [skill:dotnet-security-reviewer], performance to [skill:dotnet-performance-specialist].
Plans cloud deployment, .NET Aspire orchestration, AKS configuration, multi-stage CI/CD pipelines, distributed tracing, and infrastructure-as-code for .NET apps. Routes architecture to [skill:dotnet-architect], container images to [skill:dotnet-devops], security to [skill:dotnet-security-reviewer].
Manages .NET code health operations: resolves build errors (MSBuild, NuGet, SDK, analyzer warnings) and runs systematic quality cleanup (7-step pipeline: formatting, usings, analyzers, dead code, TODOs, sealed classes, CancellationToken). Triggers on: build failed, clean up, refactor, de-sloppify, dead code, fix warnings, tech debt.
Reviews .NET code for correctness, performance, security, and architecture concerns. Triages findings and routes to specialist agents for deep analysis. Triggers on: review this, code review, PR review, what's wrong with this code.
Central orchestrator for ALL .NET development requests. Owns the entire flow: detects .NET version, aligns requirements via structured questioning (USAGE.md framework), loads coding standards, applies .NET-first defaults, and routes to the correct domain skills and specialist agents. Invoked after [skill:using-dotnet] confirms .NET intent. The single entry point for every .NET task — no request should bypass this skill. Do not use for domain-specific implementation guidance.
AI/ML integration patterns for .NET. Covers MCP server/client creation and debugging, LLM integration (Semantic Kernel, OpenAI, Azure AI), RAG pipelines, ML.NET model training/inference, and AI technology selection. Load when building AI features in .NET, creating MCP servers, integrating LLMs, or evaluating AI frameworks. Synthesized from dotnet/skills dotnet-ai plugin + dotnet-artisan Semantic Kernel references.
Builds ASP.NET Core APIs, EF Core data access, gRPC, SignalR, and backend services with middleware, security (OAuth, JWT, OWASP), resilience, messaging, OpenAPI, .NET Aspire, Semantic Kernel, HybridCache, YARP reverse proxy, output caching, Office documents (Excel, Word, PowerPoint), PDF, and architecture patterns. Spans 33 topic areas. Do not use for UI rendering patterns or CI/CD pipeline authoring.
Baseline C# skill loaded for every .NET code path. Guides language patterns (records, pattern matching, primary constructors, C# 8-15), coding standards, async/await, DI, LINQ, serialization, domain modeling, concurrency, Roslyn analyzers, globalization, native interop (P/Invoke, LibraryImport, ComWrappers), WASM interop (JSImport/JSExport), and type design. Spans 27 topics. Do not use for ASP.NET endpoint architecture, UI framework patterns, or CI/CD guidance.
Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS, createdump, and container diagnostics (Docker, Kubernetes). Hang/deadlock diagnosis, high CPU triage, memory leak investigation, kernel debugging, and dotnet-monitor for production. Spans 17 topic areas. Do not use for routine .NET SDK profiling, benchmark design, or CI test debugging.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Complete developer toolkit for Claude Code
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
让你的 AI 编码代理真正精通 .NET。 即装即用,零配置。
11 技能 · 14 代理 · 174 参考文件 · 30+ 行为
dotnet-artisan 是一个 Claude Code 插件,让 AI 编码代理能够正确地编写 .NET 代码。
它不是一个零散的工具集合,而是一个完整的 .NET 开发智能体系统。核心是一个决策者编排器,它会先分析需求、捕获领域词汇、设计架构,然后路由到对应技能去执行——从 API 搭建到调试崩溃,从安全审计到 CI/CD 配置,覆盖完整的开发生命周期。
装完即用,无需任何配置。 Web 版 →
本项目学习并整合了 dotnet/skills 和 novotnyllc/dotnet-artisan 的优秀实践,在此致谢。
claude plugins marketplace add fenzel999/dotnet-artisan
claude plugins install dotnet-artisan
兼容 GitHub Copilot、VS Code、Cursor。装完打开任意 .NET 项目即用,Harness 自动激活(加载技能、路由提示、检查 30 秒法则)。
你提需求,决策者统一编排全过程:
flowchart TD
A[你的需求] --> B[using-dotnet<br/>意图检测]
B --> C{dotnet-advisor<br/>决策者}
C --> D[1. 检测 .NET 版本]
D --> E[1.5 需求对齐<br/>提问澄清 · 捕获领域词汇]
E --> F[2. 加载 C# 编码规范]
F --> G[3. .NET 优先默认]
G --> H[4. 架构设计<br/>选架构 + 文件夹结构]
H --> I[5. 拆解领域<br/>并行路由]
I --> J[dotnet-api]
I --> K[dotnet-ui]
I --> L[dotnet-testing]
I --> M[dotnet-devops]
I --> N[dotnet-tooling]
I --> O[dotnet-debugging]
J --> P[专家代理<br/>按需调用]
K --> P; L --> P; M --> P; N --> P; O --> P
P --> Q[dotnet-learning-agent<br/>纠错学习]
你不需要记任何技能名。 决策者自动分析项目、对齐需求、加载规范、路由到正确的技能和代理。
你:我需要一个订单管理系统
AI:什么样的订单?采购订单、工单还是顾客订单?谁在使用?
你:顾客下单,销售团队处理。未来可能会拆分订单和支付。
AI:建议从模块化单体开始,按领域拆项目但不拆部署。
DDD 适合你的场景:订单、支付、库存作为限界上下文。
你们之前用过 DDD 吗?
你:没有。
AI:我会先做战略设计——Event Storming 发现领域事件,
划分限界上下文,输出领域分析文档。战术实现
用聚合、实体、值对象。技术栈:.NET 10 + PostgreSQL。
你:好,需要 CI/CD 和测试。
行为链:4 轮提问 → dotnet-domain-analyst → Event Storming →
限界上下文:[订单、支付、库存] → 输出领域文档 →
并行路由 → dotnet-api + dotnet-testing + dotnet-devops + dotnet-tooling
你:我的应用在生产环境一直崩溃——OutOfMemoryException
AI:有 .dmp 文件吗?
你:有,C:\dumps\crash.dmp
行为链:dotnet-debugging → 打开转储(WinDbg/dotnet-dump)→
!analyze -v → !dumpheap -stat 发现 850MB byte[] →
!gcroot 追溯到 ImageCache 单例 → 修复方案
你:审查这段代码的安全性
AI:好的,只读安全审计,不修改代码。检查 OWASP Top 10。
行为链:dotnet-security-reviewer(只读)→ 扫描 → 发现
SQL 拼接 + 硬编码密钥 + JWT 缺 Audience → 安全报告
你:给这个订单服务写测试
AI:核心逻辑适合单元测试,数据库需要集成测试。
xUnit + WebApplicationFactory + Testcontainers 可以吗?
你:可以。
行为链:dotnet-testing → 创建测试项目 → 单元测试 →
Testcontainers 启动 PostgreSQL → 集成测试
你:把这个项目从 .NET 8 升到 .NET 10
AI:先做升级评估,分两步走:8→9 再 9→10,每步 build+test。
行为链:dotnet-devops → 8→9(BinaryFormatter 废弃)→
build+test → 9→10(AddValidation)→ build+test
你:给这个项目配 CI/CD
AI:Web API + GitHub,生成 GitHub Actions 工作流,
推送到 main 时触发部署。
行为链:dotnet-devops → 生成 GHA 工作流 → build+format+test+docker
你:记住,这个项目用 TimeProvider 而不是 DateTime.Now
AI:已捕获规则:TimeProvider 构造函数注入优先。
适用于所有新代码,已存入 MEMORY.md。
行为链:dotnet-learning-agent → 检测纠错 → 泛化规则 →
去重 → 写入 MEMORY.md → 确认
| 分类 | 技能 | 定位 | 引用 |
|---|---|---|---|
| 网关 | using-dotnet | 检测 .NET 意图,触发决策者 | — |
| dotnet-advisor | 决策者:需求对齐 → 架构设计 → 路由调度 | 2 | |
| 基线 | dotnet-csharp | C# 规范、async/await、DI、LINQ(始终加载) | 27 |
| 构建 | dotnet-api | 后端 API、EF Core、gRPC、SignalR、安全 | 33 |
| dotnet-ui | Blazor、MAUI、WPF、WinUI、Uno | 20 | |
| 验证 | dotnet-testing | xUnit、集成测试、Playwright、基准测试 | 14 |
| dotnet-debugging | WinDbg / dotnet-dump 崩溃诊断 | 17 | |
| 运维 | dotnet-devops | CI/CD、容器、版本迁移、Git 工作流 | 19 |
| dotnet-tooling | 项目结构、AOT、CLI、性能、代码质量、模板引擎 | 41 | |
| 增强 | dotnet-ai | MCP 服务器、Semantic Kernel、RAG | — |
| dotnet-workflow | 并行工作流、上下文管理、验证循环 | 1 |
174 个参考文件,横跨 9 个领域。每个文件:核心原则 → 模式 → 反模式 → 决策指南。
| 领域 | 技能 | 数量 | 覆盖 |
|---|---|---|---|
| API 与后端 | dotnet-api | 33 | Minimal API、EF Core、gRPC、SignalR、安全、缓存、消息、YARP |
| C# 语言 | dotnet-csharp | 27 | async/await、DI、LINQ、序列化、并发、领域建模、源码生成 |
| 调试 | dotnet-debugging | 17 | WinDbg、dotnet-dump、lldb、崩溃分析、死锁、高 CPU |
| DevOps | dotnet-devops | 19 | CI/CD、容器、NuGet、OpenTelemetry、版本迁移、Git 工作流 |
| 测试 | dotnet-testing | 14 | xUnit、集成测试、Playwright、BDD、基准测试、快照 |
| 工具链 | dotnet-tooling | 41 | MSBuild、AOT、CLI、性能分析、模板引擎、PR 工作流 |
| UI | dotnet-ui | 20 | Blazor、MAUI、Uno、WPF、WinUI、WinForms |
| 路由 | dotnet-advisor | 2 | 需求对齐、架构发现 |
| 工作流 | dotnet-workflow | 1 | 插件验证 |
完整索引:INDEX.md
30+ 个预设行为,按目标组织,决策者自动路由: