Legendtomo/dotfiles
Personal dotfiles for Codex and Claude Code
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
Copy this rig
# review before running: this installs third-party code
$ npx degit Legendtomo/dotfiles/.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 Legendtomo/dotfiles/.agents/skills/code-change-loop .claude/skills/code-change-loop $ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/Legendtomo/dotfiles/main/.claude/agents/code-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": {
"deny": [
"Bash(git commit:*)",
"Bash(git push:*)",
"Bash(git reset --hard:*)",
"Bash(git rebase:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python3 \"$HOME/.claude/hooks/block_git_commit.py\" --format claude"
}
]
}
]
}
} Skills (1)
Subagents (1)
| code-reviewer model: inherit | 実装済みの差分を読み取り専用でレビューする。正しさ・エッジケース・セキュリティ・可読性・テスト網羅・要件充足・スコープ逸脱を点検し、指摘を重大/推奨/任意に分類する。code-change-loop のレビュー工程や、独立したコードレビューが欲しいときに使う。 |
Hooks (1)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | python3 "$HOME/.claude/hooks/block_git_commit.py" --format claude |
Permissions
deny (4)
Bash(git commit:*)
Bash(git push:*)
Bash(git reset --hard:*)
Bash(git rebase:*)
ask (0)
—
allow (0)
—
Similar rigs
AizenvoltPrime/claude-setup
—
Pragmatist 1.2k tok ·
IvanKuzyshyn/dotfiles
Dotfiles optimized for speed, coffee, and questionable life choices. 😜
Pragmatist 3.0k tok ·
HGInsights/claude-code-setup
Production-tested Claude Code harness configuration: hooks, skills, subagents, and automated review loops
Pragmatist 1.9k tok ·
stavrespasov/claude-code-os-lite
A free, installable starter setup for Claude Code: 10 workflow commands, 2 agents, and the hook that ends --no-verify commits. MIT.
Pragmatist 101 tok ·