# IDE rules for Code review and refactoring

Rules for Code review and refactoring: what each one does, an install command and example prompts.

20 cards

- HTML: https://affpapa.org/en/nevibecode/rules/topic/code-review
- Instructions for agents: https://affpapa.org/en/nevibecode/agents.md

- [scala2](https://affpapa.org/en/nevibecode/rules/scala2.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — This rule steers Copilot toward the Databricks Scala style: immutability, pure functions, naming.
- [power-bi-dax-best-practices](https://affpapa.org/en/nevibecode/rules/power-bi-dax-best-practices.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Instructs GitHub Copilot to write performant DAX code for .pbix, .dax, .md, and .txt files.
- [oop-design-patterns](https://affpapa.org/en/nevibecode/rules/oop-design-patterns.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — A GitHub Copilot rule that steers code generation and refactoring toward GoF design patterns and SOLID principles in object-oriented code.
- [object-calisthenics](https://affpapa.org/en/nevibecode/rules/object-calisthenics.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Enforces nine Object Calisthenics design constraints for domain logic in C#, TypeScript, and Java projects using GitHub Copilot.
- [markdown-accessibility](https://affpapa.org/en/nevibecode/rules/markdown-accessibility.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — This rule reviews Markdown files for accessibility issues and suggests specific fixes.
- [go](https://affpapa.org/en/nevibecode/rules/go.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Enforces idiomatic Go practices based on Effective Go and the Google style guide.
- [gilfoyle-code-review](https://affpapa.org/en/nevibecode/rules/gilfoyle-code-review.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Turns GitHub Copilot into the sardonic systems architect from Silicon Valley.
- [dotnet-maui-9-to-dotnet-maui-10-upgrade](https://affpapa.org/en/nevibecode/rules/dotnet-maui-9-to-dotnet-maui-10-upgrade.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Guides .NET MAUI migrations from version 9 to 10 by updating TargetFrameworks, replacing internal MessagingCenter calls, and migrating obsolete UI controls.
- [devcontainers](https://affpapa.org/en/nevibecode/rules/devcontainers.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Twelve rules that make Copilot review devcontainer.json, Dev Container Features and Codespaces lifecycle settings, each with the exact fix and a source.
- [csharp](https://affpapa.org/en/nevibecode/rules/csharp.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — A rule that pins Copilot to one C# style: naming, nullable types, formatting and ASP.NET Core patterns.
- [csharp-razorpages](https://affpapa.org/en/nevibecode/rules/csharp-razorpages.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — Configures GitHub Copilot to write idiomatic Razor Pages across .cshtml and .cshtml.cs files.
- [cpp-language-service-tools](https://affpapa.org/en/nevibecode/rules/cpp-language-service-tools.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — This rule guides GitHub Copilot to use C++ IntelliSense tools for definitions, references, and call relationships.
- [code-review-generic](https://affpapa.org/en/nevibecode/rules/code-review-generic.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — A rule that gives Copilot a review order: security and correctness first, then code quality, tests and performance.
- [apex](https://affpapa.org/en/nevibecode/rules/apex.md) — rule (official GitHub) · github · GitHub Copilot · ★ 40418 — This rule steers Copilot toward bulkified Apex, consistent class naming and CRUD/FLS checks.
- [typescript](https://affpapa.org/en/nevibecode/rules/typescript.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule that pins down how the agent writes TypeScript: types, naming, error handling.
- [salesforce-apex-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/salesforce-apex-cursorrules-prompt-file.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule that points the agent at Salesforce Apex work: queueables instead of @future, GoF patterns, and almost no comments.
- [code-style-consistency-cursorrules-prompt-file](https://affpapa.org/en/nevibecode/rules/code-style-consistency-cursorrules-prompt-file.md) — rule · PatrickJS · Cursor · ★ 41011 — A Cursor rule that makes the agent study your codebase conventions first and write new code to match them.
- [ruby](https://affpapa.org/en/nevibecode/rules/ruby.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins down Ruby style for the whole project: RuboCop, Rails conventions, N+1 queries and SQL injection.
- [java](https://affpapa.org/en/nevibecode/rules/java.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that pins your agent to Google Java Style: naming, immutability, Stream API and resource handling.
- [flake8](https://affpapa.org/en/nevibecode/rules/flake8.md) — rule · sanjeed5 · Cursor · ★ 3579 — A Cursor rule that tells the agent how to configure flake8 and which checks to turn on.

## Refine
[refactoring](https://affpapa.org/en/nevibecode/tag/refactoring.md) · [csharp](https://affpapa.org/en/nevibecode/tag/csharp.md) · [dotnet](https://affpapa.org/en/nevibecode/tag/dotnet.md) · [java](https://affpapa.org/en/nevibecode/tag/java.md) · [typescript](https://affpapa.org/en/nevibecode/tag/typescript.md) · [accessibility](https://affpapa.org/en/nevibecode/tag/accessibility.md) · [cpp](https://affpapa.org/en/nevibecode/tag/cpp.md) · [go](https://affpapa.org/en/nevibecode/tag/go.md) · [linting](https://affpapa.org/en/nevibecode/tag/linting.md) · [markdown](https://affpapa.org/en/nevibecode/tag/markdown.md) · [migration](https://affpapa.org/en/nevibecode/tag/migration.md) · [python](https://affpapa.org/en/nevibecode/tag/python.md)

## Narrow this list
Parameters: `?platform=<claude-code|codex|cursor|copilot|gemini-cli|windsurf|…>`, `&topic=<…>`, `&sort=installs|stars|new|updated` — values in https://affpapa.org/en/nevibecode/agents.md

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
