.NET Conventions
Installation
SKILL.md
.NET Conventions
Style & Formatting
- Follow
.editorconfigrules strictly - Run
dotnet formatbefore committing - Minimize diffs: Change only what's necessary, preserve existing formatting and structure
- Match surrounding code style exactly
Naming Conventions
| Element | Convention | Example |
|---|---|---|
| Private fields | _camelCase |
_organizationRepository |
| Public members | PascalCase | GetByIdAsync |
| Local variables | camelCase | organizationId |
| Constants | PascalCase | MaxRetryCount |
| Type parameters | T prefix |
TModel |