SKILL.md
.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
- Real Tests Only: No mocks, no fakes. Tests must hit actual systems (DB, File, API).
- Co-located Tests: Every file must have a
#region Testsat the end. - Immutability: Use
recordtypes only. No public setters. - One Class Per File: File name must match type name exactly.
- Zero Warnings: Warnings are errors. No exceptions.
- "HOW" vs "WHAT": 95% of code in
Common(Utilities), 5% in Features (Business Logic). - Document Everything: XML comments are MANDATORY for ALL public members, INCLUDING TEST METHODS.
📚 Documentation & Standards
- [CODERULES.md](skills/CODERULES.md): Coding standards, naming, style, and prohibited patterns.
- [ARCHRULES.md](skills/ARCHRULES.md): Project structure, file organization, and architectural layers.
- [TESTRULES.md](skills/TESTRULES.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
- Run the setup commands in [SETUP.md](skills/SETUP.md).
- Copy
skills/Directory.Build.propsto yoursrcdirectory. - Follow [ARCHRULES.md](skills/ARCHRULES.md) for file placement.
- Verify compliance with [CODERULES.md](skills/CODERULES.md) and [TESTRULES.md](TESTRULES.md) before every commit.
IF YOU VIOLATE THESE RULES, YOU WILL FAIL.