Increase AI .NET intelligence with skills and hooks
Rider provides skills and hooks that let you customize how AI agents interact with your .NET projects. By guiding the AI in the project-specific context, you can reduce token usage, improve the quality of generated code, and decrease response latency.
AI Skills
Bundled skills
Some skills come bundled with Rider, so you don't have to install or configure them. In version 2026.2, there are two bundled skills:
dottrace-analyze
Analyzes an existing dotTrace snapshot and identifies the most significant performance hotspots in your .NET application. The agent examines profiling data, produces a text report explaining the detected bottlenecks, and recommends actionable next steps. It can also suggest generating an HTML report for easier interpretation of the results.
Requires a dotUltimate license.
finding-tests
Locates existing tests for a given class or method using test coverage data supplied by the IDE. The skill triggers when generating new tests, adding test coverage, finding existing tests, or when you mention uncovered lines, test files, or test suites. It runs before writing or editing any test code when finding already existing tests is necessary.
Requires a dotUltimate license.
Post-edit hooks
Post-edit hooks run automatically after an AI agent modifies your code, helping keep changes review-ready. Rider can catch and fix formatting inconsistencies and code issues immediately, reducing the cleanup you need to do by hand.
Rider 2026.2 includes two hooks:
Reformat file
Reformats the modified file according to your settings after the agent finishes editing. This ensures that AI-generated code matches the formatting conventions of your project.
Run file inspections
Runs code inspections and applies quick-fixes in the modified file after the agent finishes editing. This catches potential issues before you review the changes.
Configure hooks on the Tools | AI Agent Hooks settings page Ctrl+Alt+S.