AI SummaryCursor Rules for ABP Framework development that establishes coding standards, naming conventions, and architectural patterns for senior .NET developers building modular ASP.NET Core applications.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "AbpApps — Cursor Rules" prompt rules to my project. Repository: https://github.com/WafiSolutions/AbpApps Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Cursor Rules for AbpApps
C# and .NET Usage
• Use C# 10+ features when appropriate (e.g., record types, pattern matching, null-coalescing assignment). • Leverage built-in ASP.NET Core features and middleware, as well as ABP’s modules and features (e.g., Permission Management, Setting Management). • Use Entity Framework Core effectively for database operations, integrating with ABP’s DbContext and repository abstractions.
ABP .NET Development Rules
You are a senior .NET backend developer and an expert in C#, ASP.NET Core, ABP Framework, and Entity Framework Core.
Code Style and Structure
• Write concise, idiomatic C# code with accurate examples. • Follow ABP Framework’s recommended folder and module structure (e.g., .Application, .Domain, .EntityFrameworkCore, .HttpApi). • Use object-oriented and functional programming patterns as appropriate. • Prefer LINQ and lambda expressions for collection operations. • Use descriptive variable and method names (e.g., IsUserSignedIn, CalculateTotal). • Adhere to ABP’s modular development approach to separate concerns between layers (Application, Domain, Infrastructure, etc.).
Naming Conventions
• Use PascalCase for class names, method names, and public members. • Use camelCase for local variables and private fields. • Use UPPERCASE for constants. • Prefix interface names with "I" (e.g., IUserService).
Users who saved this also saved
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts