MG-Cafe/claude-code-best-engineers-setup
Nine practices from the team that builds Claude Code: a fresh reviewer agent, ask before any push, hooks that fail closed, reviews that finish, effort per subagent and more. The setup from my YouTube video.
stack: JavaScript
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 35/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit MG-Cafe/claude-code-best-engineers-setup/.claude ./rig-claude-code-best-engineers-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/reviewer.md https://raw.githubusercontent.com/MG-Cafe/claude-code-best-engineers-setup/main/.claude/agents/reviewer.md Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"ask": [
"Bash(git push *)",
"Bash(gh pr create *)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard.cjs\""
}
]
}
]
}
} Subagents (1)
| reviewer | A code reviewer with a fresh context. Use it to review a diff against the task or spec. It has not seen the conversation, so it does not share its blind spots. |
Hooks (1)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | node "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.cjs" |
Slash commands (2)
/converge-review/explain-change
Permissions
deny (0)
—
ask (2)
Bash(git push *)
Bash(gh pr create *)
allow (0)
—
Similar rigs
OMOCHInoHOSHI/dotfiles-claude
.claude
Minimalist 177 tok · · Q19
Clarittyai/agentic-app-seed
Self-hostable template for building AI workflow automations and agentic apps: FastAPI, React and Postgres, wired for Claude Code. Docker-ready.
Pragmatist 11.3k tok · · Q25
Townk/dotfiles
My personal configuration files using ChezMoi
Pragmatist 1.2k tok · · Q3
ch8er/kelpie
SRE for AI agent farms: unsticks work, stops waste, reports what chaos cost. Hermes, Claude Code, OpenClaw.
Minimalist 1.4k tok · · Q3