HGInsights/claude-code-setup
Production-tested Claude Code harness configuration: hooks, skills, subagents, and automated review loops
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit HGInsights/claude-code-setup/.claude ./rig-claude-code-setup # 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.
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/HGInsights/claude-code-setup/master/templates/.claude/agents/code-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/decision-consult.md https://raw.githubusercontent.com/HGInsights/claude-code-setup/master/templates/.claude/agents/decision-consult.md $ curl -fsSL --create-dirs -o .claude/agents/plan-reviewer.md https://raw.githubusercontent.com/HGInsights/claude-code-setup/master/templates/.claude/agents/plan-reviewer.md
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Subagents (3)
| code-reviewer model: opus | Reviews code changes (git diff or PR) against this repo's conventions. Tries an external reviewer CLI first; on failure or credit exhaustion, falls back to an in-model review. Spawned by the fix-issue |
| decision-consult model: opus | Gives a second opinion on one technical or architecture decision before it is settled or put to the user. Tries the external reviewer CLI first; on failure, falls back to an in-model opinion. Spawned |
| plan-reviewer model: opus | Reviews an implementation plan against this repo's architecture patterns and conventions. Tries an external reviewer CLI first; on failure or credit exhaustion, falls back to an in-model review. Spawn |
Slash commands (7)
/create-pr/task-to-github-issue/create-pr/fix-issue/grill-me/release/task-to-github-issue
Permissions
deny (0)
—
ask (0)
—
allow (20)
Bash(git status)
Bash(git diff:*)
Bash(git log:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git push:*)
Bash(git checkout:*)
Bash(git branch:*)
Bash(git stash:*)
Bash(gh pr create:*)
Bash(gh pr view:*)
Bash(gh pr edit:*)
Bash(gh pr diff:*)
Bash(gh issue view:*)
Bash(gh issue list:*)
Bash(gh issue create:*)
Bash(gh issue comment:*)
Bash(gh label list:*)
Bash(npx --yes markdownlint-cli2:*)
Bash(.claude/hooks/codex-safe.sh:*)
Similar rigs
AlejoPH03/roundtrip-travel-app
Social travel app prototype: friends' trips on a 3D globe, trusted recommendations and group trip planning. Vanilla JS, no build step.
Minimalist 1.6k tok · · Q3
berni23/laight
Run teams of coding agents in tmux from YAML workflows, with one queue for every human decision.
Pragmatist 8.3k tok · · Q35
lgamorim/claude-rules
Opinionated Claude Code rules for .NET and C# with conventions, architecture guidance, and guardrails for idiomatic, production-ready code.
Pragmatist 4.2k tok · · Q3
AizenvoltPrime/claude-setup
—
Pragmatist 1.2k tok · · Q31