Install
git clone https://github.com/Aaronontheweb/dotnet-cursor-rulesInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README 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.
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…