smnatale/dotfiles
My macOS dotfiles. Managed with stow. Feel free to steal anything useful.
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 smnatale/dotfiles/claude/.claude ./rig-dotfiles # 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 smnatale/dotfiles/claude/.claude/skills/rex-dev .claude/skills/rex-dev $ npx degit smnatale/dotfiles/claude/.claude/skills/split-pr .claude/skills/split-pr
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(rm *)",
"Bash(rmdir *)"
],
"ask": [
"Bash(git commit *)",
"Bash(git -C * commit *)",
"Bash(git push *)",
"Bash(git -C * push *)",
"Bash(wt merge *)",
"Bash(wt remove *)",
"Bash(gh pr create *)",
"Bash(gh pr merge *)",
"Bash(gh pr close *)",
"Bash(gh pr edit *)",
"Bash(gh pr comment *)",
"Bash(gh pr review *)",
"Bash(gh pr ready *)",
"Bash(gh issue create *)",
"Bash(gh issue close *)",
"Bash(gh issue edit *)",
"Bash(gh issue comment *)",
"Bash(gh repo *)",
"Bash(gh release *)",
"Bash(gh workflow run *)",
"Bash(gh run rerun *)",
"Bash(gh run cancel *)",
"Bash(gh stack submit *)",
"Bash(gh stack link *)",
"Bash(gh stack push *)",
"Bash(gh stack merge *)",
"Bash(gh stack sync *)",
"Bash(gh stack rebase *)",
"Bash(gh stack unstack *)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash ~/.claude/hooks/guard-bash.sh"
}
]
}
]
}
} Skills (2)
Hooks (2)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | /bin/sh -c 'rex __internal session-start --agent claude --feature-session-naming=false 2>/dev/null || true' |
| PreToolUse | Bash | bash ~/.claude/hooks/guard-bash.sh |
Plugins (3)
lua-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-officialworktrunk@worktrunk
Permissions
deny (2)
Bash(rm *)
Bash(rmdir *)
ask (29)
Bash(git commit *)
Bash(git -C * commit *)
Bash(git push *)
Bash(git -C * push *)
Bash(wt merge *)
Bash(wt remove *)
Bash(gh pr create *)
Bash(gh pr merge *)
Bash(gh pr close *)
Bash(gh pr edit *)
Bash(gh pr comment *)
Bash(gh pr review *)
Bash(gh pr ready *)
Bash(gh issue create *)
Bash(gh issue close *)
Bash(gh issue edit *)
Bash(gh issue comment *)
Bash(gh repo *)
Bash(gh release *)
Bash(gh workflow run *)
Bash(gh run rerun *)
Bash(gh run cancel *)
Bash(gh stack submit *)
Bash(gh stack link *)
Bash(gh stack push *)
Bash(gh stack merge *)
Bash(gh stack sync *)
Bash(gh stack rebase *)
Bash(gh stack unstack *)
allow (20)
Bash(rg *)
Bash(jq *)
Bash(lsof -nP *)
Bash(gh pr view *)
Bash(gh pr list *)
Bash(gh pr diff *)
Bash(gh pr checks *)
Bash(gh pr status *)
Bash(gh run view *)
Bash(gh run list *)
Bash(gh issue view *)
Bash(gh issue list *)
Bash(gh stack view *)
Bash(wt list *)
Bash(wt port *)
Bash(rex capture *)
Bash(rex window ls *)
Bash(rex session ls *)
Bash(rex session inspect *)
Bash(rex whoami *)
Similar rigs
jungrok5/ai-code-collaboration-best-practices
여러 AI 코딩 도구를 쓰는 팀을 위한 GitHub 협업 템플릿. 공통 규칙, 에이전트 스킬·훅, 사람 승인, CI·리뷰·이슈 자동화 제공
Fort Knox 20.0k tok · · Q38
DeJayDev/dotfiles
dot file : )
YOLO Cowboy 2.7k tok · · Q5
genben/agent-dotfiles
AI coding agent configs (commands, skills, etc.)
Skill Collector 2.2k tok · · Q3
stacklok/toolhive
ToolHive is an enterprise-grade platform for running and managing Model Context Protocol (MCP) servers.
Orchestrator 2.6k tok · · Q15