dotnet-symbol-grep-recipes | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / dotnet-symbol-grep-recipes

dotnet-symbol-grep-recipes

maintained by bravellian

star 0 account_tree 0 verified_user MIT License
bolt View GitHub

name: dotnet-symbol-grep-recipes description: Quick ripgrep recipes for common C# navigation tasks in this repo.

dotnet-symbol-grep-recipes

Short, practical ripgrep commands for navigating the codebase.

Find Type/Interface/Record Definition

rg -n "\b(class|interface|record|struct)\s+<Name>\b" -g "*.cs"

Find Implementations of Interface

rg -n "\bclass\s+\w+\s*:\s*[^\n]*\b<Interface>\b" -g "*.cs"

Find DI Registrations

rg -n "\b(AddSingleton|AddScoped|AddTransient)\b.*\b<Interface>\b" -g "*.cs"

Find Handlers/Controllers/Endpoints

rg -n "\bclass\s+\w+(Handler|Controller)\b" -g "*.cs"
rg -n "\bMap(Get|Post|Put|Delete|Patch)\b" -g "*.cs"

Find Tests Related to a Class

rg -n "\b<ClassName>(Tests|Test)\b" -g "*Tests*.cs"
rg -n "\b<ClassName>\b" -g "*Tests*.cs"

MSTest Test Discovery

rg -n "\[TestClass\]|\[TestMethod\]|\[DataTestMethod\]|\[DataRow\]" -g "*.cs"

Find Razor Pages

rg -n "\bclass\s+\w+Model\s*:\s*PageModel\b" -g "*.cs"
rg --files -g "*.cshtml"

Find Module Marker Interfaces

rg -n "\bclass\s+\w+\s*:\s*[^\n]*\b(I|IFullStack|IBackground|IEngine|IApi)Module\b" -g "*.cs"
rg -n "\bIModuleDefinition\b|\bIIncursaNavModuleMetadata\b" -g "*.cs"

Find Custom Generated File Definitions

rg --files -g "*.dto.json" -g "*.enum.json" -g "*.fastid.json"

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 0
Created Jan 2026
Last Updated 5 months ago
tools tools automation tools

Related Skills

specs-gen
chevron_right
glm-coding-agent
chevron_right
feature-dev
chevron_right
creating-pr
chevron_right
writing-skills
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.