The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
paths: - "/*.cs" - "/.csx" - "**/.csproj" - "/*.sln" - "/Directory.Build.props" - "**/Directory.Build.targets"
C# Hooks
This file extends common/hooks.md with C#-specific content.
PostToolUse Hooks
Configure in ~/.claude/settings.json:
- dotnet format: Auto-format edited C# files and apply analyzer fixes
- dotnet build: Verify the solution or project still compiles after edits
- dotnet test --no-build: Re-run the nearest relevant test project after behavior changes
Stop Hooks
- Run a final
dotnet buildbefore ending a session with broad C# changes - Warn on modified
appsettings*.jsonfiles so secrets do not get committed