dotnet
.NET development standards and practices for zero-fabrication, test-driven development with strict quality gates. Use when working on .NET/C# projects that require rigorous testing, real integrations only, and co-located tests.
Best use case
dotnet is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
.NET development standards and practices for zero-fabrication, test-driven development with strict quality gates. Use when working on .NET/C# projects that require rigorous testing, real integrations only, and co-located tests.
Teams using dotnet should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/dotnet/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How dotnet Compares
| Feature / Agent | dotnet | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
.NET development standards and practices for zero-fabrication, test-driven development with strict quality gates. Use when working on .NET/C# projects that require rigorous testing, real integrations only, and co-located tests.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# .NET Development Skill **Zero-Fabrication | Test-Driven | Zero-Tolerance** This skill defines the mandatory standards for .NET development. These rules are **non-negotiable** and enforced to ensure consistency, maintainability, and correctness. ## ⚡ The Golden Rules 1. **Real Tests Only**: No mocks, no fakes. Tests must hit actual systems (DB, File, API). 2. **Co-located Tests**: Every file must have a `#region Tests` at the end. 3. **Immutability**: Use `record` types only. No public setters. 4. **One Class Per File**: File name must match type name exactly. 5. **Zero Warnings**: Warnings are errors. No exceptions. 6. **"HOW" vs "WHAT"**: 95% of code in `Common` (Utilities), 5% in Features (Business Logic). 7. **Document Everything**: XML comments are MANDATORY for ALL public members, **INCLUDING TEST METHODS**. ## 📚 Documentation & Standards - **[CODE_RULES.md](skills/CODE_RULES.md)**: Coding standards, naming, style, and prohibited patterns. - **[ARCH_RULES.md](skills/ARCH_RULES.md)**: Project structure, file organization, and architectural layers. - **[TEST_RULES.md](skills/TEST_RULES.md)**: Testing philosophy, patterns, and mandatory practices. - **[SETUP.md](skills/SETUP.md)**: Project initialization, configuration, and templates. - **[EXAMPLES.md](skills/EXAMPLES.md)**: Reference guide to the included example files. ## 🛠️ Quick Start 1. Run the setup commands in **[SETUP.md](skills/SETUP.md)**. 2. Copy `skills/Directory.Build.props` to your `src` directory. 3. Follow **[ARCH_RULES.md](skills/ARCH_RULES.md)** for file placement. 4. Verify compliance with **[CODE_RULES.md](skills/CODE_RULES.md)** and **[TEST_RULES.md](TEST_RULES.md)** before every commit. **IF YOU VIOLATE THESE RULES, YOU WILL FAIL.**
Related Skills
dotnet-uno-testing
Tests Uno Platform apps. Playwright for WASM, platform-specific patterns, runtime heads.
dotnet-security-owasp
Hardens .NET apps per OWASP Top 10 -- injection, auth, XSS, deprecated security APIs.
azure-security-keyvault-keys-dotnet
Azure Key Vault Keys SDK for .NET. Client library for managing cryptographic keys in Azure Key Vault and Managed HSM. Use for key creation, rotation, encryption, decryption, signing, and verification.
azure-resource-manager-playwright-dotnet
Azure Resource Manager SDK for Microsoft Playwright Testing in .NET.
dotnet-secrets-management
Manages secrets and sensitive config. User secrets, environment variables, rotation.
dotnet-containers
Containerizes .NET apps. Multi-stage Dockerfiles, SDK container publish (.NET 8+), rootless.
dotnet-container-deployment
Deploys .NET containers. Kubernetes probes, Docker Compose for local dev, CI/CD integration.
dotnet-ado-patterns
Composes Azure DevOps YAML pipelines. Templates, variable groups, multi-stage, triggers.
azure-servicebus-dotnet
Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions.
azure-search-documents-dotnet
Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search.
azure-resource-manager-durabletask-dotnet
Azure Resource Manager SDK for Durable Task Scheduler in .NET.
azure-mgmt-weightsandbiases-dotnet
Azure Weights & Biases SDK for .NET. ML experiment tracking and model management via Azure Marketplace. Use for creating W&B instances, managing SSO, marketplace integration, and ML observability.