Agent skill
dotnet-symbol-grep-recipes
Quick ripgrep recipes for common C# navigation tasks in this repo.
Install this agent skill to your Project
npx add-skill https://github.com/incursa/workbench/tree/main/.codex/skills/dotnet-symbol-grep-recipes
SKILL.md
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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
workbench-github
GitHub workflows for Workbench CLI. Use when creating pull requests from work items or wiring GitHub-specific actions.
workbench-architecture
Architecture and ADR workflows for Workbench CLI. Use when documenting system design, decisions, tradeoffs, or rationale that must be tracked over time.
dotnet-build-diagnostics
Capture dotnet environment and CI-style build diagnostics with binlog and summary output.
dotnet-test-triage
Run dotnet test, capture failed test cases, and generate a rerun filter plus a markdown failure summary. Use when test runs fail and you need a focused rerun command or a compact failure report.
workbench-docs
Documentation workflows for Workbench CLI. Use when creating or updating specs, ADRs, runbooks, guides, or general docs, and when syncing backlinks or change notes.
workbench-work-items
Work item management for Workbench CLI. Use when creating, updating, linking, or closing work items and tracking execution status.
Didn't find tool you were looking for?