Rules gallery
Example rules files for common stacks and agents (CLAUDE.md, AGENTS.md, Cursor, Copilot, Gemini, Windsurf), scored by the same linter as the lint page. All of them are public domain (CC0): copy one into your repo and edit it. To combine stacks, use the rules packs.
Written for this site, CC0, scored by this linter, not tested against any agent.
-
ASP.NET Core Razor Pages + EF Core
Server-rendered .NET 10 web app with Razor Pages, EF Core on SQL Server, and xUnit page tests.
-
ASP.NET Core Web API
Minimal-API service on .NET 10 with PostgreSQL, typed results, problem details, and policy-based authorization.
-
ASP.NET Core Web API, Copilot instructions
The ASP.NET Core Web API rules as GitHub Copilot repository instructions: same content.
-
WinForms + DevExpress desktop app
Windows desktop app on .NET 10 with DevExpress controls, a UI-free core library, and fixture-based CSV export tests.