e128/dotnet-reference
Source repo for the E128.Analyzers NuGet package: Roslyn analyzers with code fixes, dogfooded in a .NET 10 reference app (strict analysis, xUnit v3 + MTP, Docker, Claude Code harness)
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 27/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit e128/dotnet-reference/.claude ./rig-dotnet-reference # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit e128/dotnet-reference/.claude/skills/arch-scan .claude/skills/arch-scan $ npx degit e128/dotnet-reference/.claude/skills/bash-patterns .claude/skills/bash-patterns $ npx degit e128/dotnet-reference/.claude/skills/batch-dead-code-deletion .claude/skills/batch-dead-code-deletion $ npx degit e128/dotnet-reference/.claude/skills/coverage .claude/skills/coverage $ npx degit e128/dotnet-reference/.claude/skills/dep-map .claude/skills/dep-map $ npx degit e128/dotnet-reference/.claude/skills/design-audit .claude/skills/design-audit $ npx degit e128/dotnet-reference/.claude/skills/dotnet-overhaul .claude/skills/dotnet-overhaul $ npx degit e128/dotnet-reference/.claude/skills/error-audit .claude/skills/error-audit $ npx degit e128/dotnet-reference/.claude/skills/fix-investigate .claude/skills/fix-investigate $ npx degit e128/dotnet-reference/.claude/skills/fix .claude/skills/fix $ npx degit e128/dotnet-reference/.claude/skills/learn .claude/skills/learn $ npx degit e128/dotnet-reference/.claude/skills/lode-audit .claude/skills/lode-audit $ npx degit e128/dotnet-reference/.claude/skills/lode-capture .claude/skills/lode-capture $ npx degit e128/dotnet-reference/.claude/skills/lode .claude/skills/lode $ npx degit e128/dotnet-reference/.claude/skills/mr-sparkle-dotnet .claude/skills/mr-sparkle-dotnet $ npx degit e128/dotnet-reference/.claude/skills/mr-sparkle .claude/skills/mr-sparkle $ npx degit e128/dotnet-reference/.claude/skills/namespace-migration .claude/skills/namespace-migration $ npx degit e128/dotnet-reference/.claude/skills/naming .claude/skills/naming $ npx degit e128/dotnet-reference/.claude/skills/prune-deps .claude/skills/prune-deps $ npx degit e128/dotnet-reference/.claude/skills/repo-map-wiki .claude/skills/repo-map-wiki $ npx degit e128/dotnet-reference/.claude/skills/review-apply .claude/skills/review-apply $ npx degit e128/dotnet-reference/.claude/skills/script-discovery .claude/skills/script-discovery $ npx degit e128/dotnet-reference/.claude/skills/solution-audit .claude/skills/solution-audit $ npx degit e128/dotnet-reference/.claude/skills/strategy-audit .claude/skills/strategy-audit $ npx degit e128/dotnet-reference/.claude/skills/tech-debt-audit .claude/skills/tech-debt-audit $ npx degit e128/dotnet-reference/.claude/skills/tech-writing .claude/skills/tech-writing $ npx degit e128/dotnet-reference/.claude/skills/threat-model .claude/skills/threat-model $ npx degit e128/dotnet-reference/.claude/skills/violation-sweep .claude/skills/violation-sweep $ npx degit e128/dotnet-reference/.claude/skills/yeet .claude/skills/yeet
$ curl -fsSL --create-dirs -o .claude/agents/analyzer-review-miner.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/analyzer-review-miner.md $ curl -fsSL --create-dirs -o .claude/agents/build-validator.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/build-validator.md $ curl -fsSL --create-dirs -o .claude/agents/catalog-pruner.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/catalog-pruner.md $ curl -fsSL --create-dirs -o .claude/agents/dependency-manager.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/dependency-manager.md $ curl -fsSL --create-dirs -o .claude/agents/fill-test-gaps.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/fill-test-gaps.md $ curl -fsSL --create-dirs -o .claude/agents/leverage-advisor.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/leverage-advisor.md $ curl -fsSL --create-dirs -o .claude/agents/lode-sync.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/lode-sync.md $ curl -fsSL --create-dirs -o .claude/agents/naming-migrate.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/naming-migrate.md $ curl -fsSL --create-dirs -o .claude/agents/readme-auditor.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/readme-auditor.md $ curl -fsSL --create-dirs -o .claude/agents/refactoring-specialist.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/refactoring-specialist.md $ curl -fsSL --create-dirs -o .claude/agents/refactoring-catalogs.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/refactoring-specialist/references/refactoring-catalogs.md $ curl -fsSL --create-dirs -o .claude/agents/simplification-agent.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/simplification-agent.md $ curl -fsSL --create-dirs -o .claude/agents/skill-self-updater.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/skill-self-updater.md $ curl -fsSL --create-dirs -o .claude/agents/smart-commit.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/smart-commit.md $ curl -fsSL --create-dirs -o .claude/agents/sme-researcher.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/sme-researcher.md $ curl -fsSL --create-dirs -o .claude/agents/tdd-loop-optimizer.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/tdd-loop-optimizer.md $ curl -fsSL --create-dirs -o .claude/agents/weekly-learner.md https://raw.githubusercontent.com/e128/dotnet-reference/main/.claude/agents/weekly-learner.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(git push --force*)",
"Bash(git push -f*)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push *)",
"Bash(gh pr create *)",
"Bash(gh release create *)",
"Bash(git clean -fd *)",
"Bash(git rebase *)",
"Edit(.claude/settings.json)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash .claude/hooks/pre-tool-use-guard"
},
{
"type": "command",
"command": "bash .claude/hooks/validate-agent-frontmatter"
},
{
"type": "command",
"command": "bash .claude/hooks/block-raw-git"
},
{
"type": "command",
"command": "bash .claude/hooks/block-raw-commands"
}
]
}
]
}
} Skills (29)
arch-scanbash-patternsbatch-dead-code-deletioncoveragedep-mapdesign-auditdotnet-overhaulerror-auditfix-investigatefixlearnlode-auditlode-capturelodemr-sparkle-dotnetmr-sparklenamespace-migrationnamingprune-depsrepo-map-wikireview-applyscript-discoverysolution-auditstrategy-audittech-debt-audittech-writingthreat-modelviolation-sweepyeet
Subagents (17)
Hooks (10)
| event | matcher | runs |
|---|---|---|
| StopFailure | * | bash .claude/hooks/stop-failure |
| SessionStart | startup | bash .claude/hooks/init-session |
| UserPromptSubmit | * | bash .claude/hooks/user-prompt-submit |
| Stop | * | result=$(scripts/violation-scan.sh --json 2>/dev/null); violations=$(echo "$result" | jq ".violations // 0"); if [ "$violations" -gt 0 ]; then msg="$violations anti-pattern violation(s) this session. Run: scripts/violation-scan.sh"; echo "{ |
| PostToolUse | Write | bash .claude/hooks/post-tool-use-memory-sync |
| PostToolUse | Bash | bash .claude/hooks/post-format-reread-reminder |
| PreToolUse | Bash | bash .claude/hooks/pre-tool-use-guard |
| PreToolUse | Bash | bash .claude/hooks/validate-agent-frontmatter |
| PreToolUse | Bash | bash .claude/hooks/block-raw-git |
| PreToolUse | Bash | bash .claude/hooks/block-raw-commands |
Plugins (1)
commit-commands@claude-code-plugins
Permissions
deny (3)
Bash(git push --force*)
Bash(git push -f*)
Bash(git reset --hard*)
ask (6)
Bash(git push *)
Bash(gh pr create *)
Bash(gh release create *)
Bash(git clean -fd *)
Bash(git rebase *)
Edit(.claude/settings.json)
allow (60)
Bash(git *)
Bash(git -C *)
Bash(rg *)
Bash(fd *)
Bash(jq *)
Bash(ls *)
Bash(wc *)
Bash(cat *)
Bash(head *)
Bash(tail *)
Bash(sort *)
Bash(uniq *)
Bash(grep *)
Bash(find *)
Bash(awk *)
Bash(sed *)
Bash(tr *)
Bash(echo *)
Bash(date *)
Bash(seq *)
Bash(xargs *)
Bash(cp *)
Bash(chmod *)
Bash(mkdir *)
Bash(rm -rf .claude/tmp*)
Bash(curl *)
Bash(gh *)
Bash(dotnet build *)
Bash(dotnet format *)
Bash(dotnet restore *)
Bash(dotnet exec *)
Bash(dotnet outdated *)
Bash(bash scripts/*.sh*)
Bash(bash scripts/internal/*.sh*)
Bash(scripts/*.sh*)
Bash(scripts/internal/*.sh*)
Bash(./scripts/*.sh*)
Bash(./scripts/internal/*.sh*)
Bash(bash -n *)
Bash(shellcheck *)
Bash(podman *)
Bash(podman compose *)
Read(src/**)
Read(tests/**)
Read(scripts/**)
Read(.claude/**)
Read(lode/**)
Read(plans/**)
Edit(src/**)
Edit(tests/**)
Edit(scripts/**)
Edit(.claude/tmp/**)
Edit(.claude/hooks/**)
Edit(.claude/rules/**)
Edit(.claude/skills/**)
Edit(.claude/agents/**)
Edit(.claude/agent-memory/**)
Edit(lode/**)
Edit(plans/**)
mcp__ide__getDiagnostics
Similar rigs
rafagomes/ai-workflow
Spec-driven, trunk-based delivery workflow for Claude Code: agents build from the spec, a separate agent reviews the PR, you merge.
Skill Collector 6.2k tok · · Q5
automagik-dev/genie
Wishes in, PRs out. CLI agent that interviews you, plans the work, dispatches parallel agents in isolated worktrees, and reviews code before you see it.
Skill Collector 12.0k tok · · Q23
applejxd/dotfiles
my dotfiles managed by chezmoi
Skill Collector 2.2k tok · · Q0
maxitect/claude-config
My Claude Code config folder
YOLO Cowboy 3.6k tok · · Q0