Agent skill
dotnet-format-analyzers
Define canonical dotnet format and analyzer verification commands, and provide scripts that generate a format/analyzer report. Use when checking formatting or Roslyn analyzers without reformatting everything.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/dotnet-format-analyzers-bravellian-workbench
SKILL.md
dotnet-format-analyzers
Provide canonical format/analyzer commands and a report-generating script that stays in verify mode.
Canonical commands
Format verification:
dotnet format Workbench.slnx --verify-no-changes
Analyzer verification:
dotnet format analyzers Workbench.slnx --verify-no-changes
Report script
Bash:
bash .codex/skills/dotnet-format-analyzers/scripts/run-format-analyzers.sh
PowerShell:
pwsh -File .codex/skills/dotnet-format-analyzers/scripts/run-format-analyzers.ps1
Outputs:
artifacts/codex/format-report.txt
Targeted usage (preferred)
Never reformat the world unless explicitly asked. Prefer targeted scopes:
- Solution or project: pass a specific
.slnxor.csprojpath - Files: pass one or more
--includepaths
Examples:
bash .codex/skills/dotnet-format-analyzers/scripts/run-format-analyzers.sh src/app/Incursa.Web/Incursa.Web.csproj
bash .codex/skills/dotnet-format-analyzers/scripts/run-format-analyzers.sh Workbench.slnx --include src/app/Incursa.Web/Pages/Error.cshtml.cs
Notes
- Scripts run in verify mode only.
- The report captures both formatter and analyzer output for CI uploads or local triage.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?