dotnet-cursor-rules
.mdc files for defining Cursor rules specific to .NET projects
Install / Use
npx skills add Aaronontheweb/dotnet-cursor-rulesInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHub🎯 .NET Cursor Rules
A collection of Cursor AI rules for .NET development best practices.
How to Use This Repository
Copy the relevant rules you want to use into your project's .cursor/rules directory OR add them as global rules in the Cursor IDE.
📚 Available Rule Sets
📦 NuGet Package Publishing
Rules for publishing high-quality NuGet packages:
- 📄 License configuration best practices
- 📚 Package documentation requirements
- 🏷️ Metadata organization guidelines
- 🔍 Source debugging and symbol package setup
- 🔗 Dependency management recommendations
- 🔢 Versioning conventions
- 🚀 Build and pack commands
🛠️ .NET Tool Management
Rules for working with .NET CLI tools:
- 📦 Publishing tools as NuGet packages
- 🔧 Consuming tools in projects
- 🔄 Managing tool versions and updates
- ✨ Best practices for tool development
🔄 CI/CD
Rules for build and deployment processes:
- 🏗️ Build system configuration and best practices
- 📝 Release management and versioning
- 🔐 Code signing and security
- 🚀 Pipeline configuration (GitHub Actions & Azure DevOps)
- 📦 Package publishing
🎛️ .NET SDK Management
Rules for managing .NET solutions and dependencies:
- 🎯 SDK version control and configuration
- 🏗️ Solution-wide build properties
- 📦 NuGet package management
- 🔒 Security and license compliance
- 🚀 Build and dependency automation
💻 C# Development
Rules for writing clean, maintainable C# code:
- ✨ Modern C# coding patterns
- 🧪 Testing best practices
- 📁 Code organization
- 🛡️ Error handling
- 🔌 Dependency management
⚡ Benchmarking
Rules for performance testing and benchmarking:
- 📊 BenchmarkDotNet usage
- 🧮 Memory and allocation analysis
- 📈 Performance regression testing
- 💪 Hardware optimizations
- 🔄 CI/CD integration
🚀 Usage
These rules are designed to be used with Cursor, providing AI-powered guidance for .NET development. Each rule set contains:
- 📖 Detailed best practices
- 🛠️ Example configurations
- 🔒 Security considerations
- 🔧 Maintenance guidelines
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📄 License
Copyright 2010-2025 Aaron Stannard Licensed under the Apache 2.0 license.
Related Skills
career-ops
72.3kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
guizang-ppt-skill
26.7kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
Security Score
Audited on Mar 29, 2025
