LasseJacobsen/claude-dotfiles
Reusable Claude Code configuration: hooks, commands, skills, and MCP server setup. One install.sh for a new machine.
stack: Python
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 31/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code $ npx degit LasseJacobsen/claude-dotfiles/skills ./rig-claude-dotfiles/skills $ npx degit LasseJacobsen/claude-dotfiles/hooks ./rig-claude-dotfiles/hooks
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 LasseJacobsen/claude-dotfiles/skills/book-to-skill .claude/skills/book-to-skill $ npx degit LasseJacobsen/claude-dotfiles/skills/codebase-design .claude/skills/codebase-design $ npx degit LasseJacobsen/claude-dotfiles/skills/diagnosing-bugs .claude/skills/diagnosing-bugs $ npx degit LasseJacobsen/claude-dotfiles/skills/domain-modeling .claude/skills/domain-modeling $ npx degit LasseJacobsen/claude-dotfiles/skills/grill-with-docs .claude/skills/grill-with-docs $ npx degit LasseJacobsen/claude-dotfiles/skills/grilling .claude/skills/grilling $ npx degit LasseJacobsen/claude-dotfiles/skills/implement .claude/skills/implement $ npx degit LasseJacobsen/claude-dotfiles/skills/iso-24495-code .claude/skills/iso-24495-code $ npx degit LasseJacobsen/claude-dotfiles/skills/pyspark-audit .claude/skills/pyspark-audit $ npx degit LasseJacobsen/claude-dotfiles/skills/pyspark-style .claude/skills/pyspark-style $ npx degit LasseJacobsen/claude-dotfiles/skills/retro .claude/skills/retro $ npx degit LasseJacobsen/claude-dotfiles/skills/setup-matt-pocock-skills .claude/skills/setup-matt-pocock-skills $ npx degit LasseJacobsen/claude-dotfiles/skills/standards-review .claude/skills/standards-review $ npx degit LasseJacobsen/claude-dotfiles/skills/tdd .claude/skills/tdd $ npx degit LasseJacobsen/claude-dotfiles/skills/to-spec .claude/skills/to-spec $ npx degit LasseJacobsen/claude-dotfiles/skills/to-tickets .claude/skills/to-tickets $ npx degit LasseJacobsen/claude-dotfiles/skills/writing-for-agents .claude/skills/writing-for-agents
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(sudo *)",
"Bash(rm -rf ~*)",
"Bash(rm -rf /*)",
"Read(.env)",
"Read(.env.*)",
"Read(secrets/**)",
"Read(**/*.pem)",
"Read(**/*.key)",
"Read(**/*.p12)",
"Read(**/*.pfx)",
"Read(**/credentials.json)",
"Read(**/.mcp.local.json)",
"Read(~/.ssh/**)",
"Edit(.env*)",
"Edit(secrets/**)"
],
"ask": [
"Bash(git push *)",
"Edit(pyproject.toml)",
"Edit(uv.lock)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/block-destructive.sh\""
},
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/enforce-uv.sh\""
},
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/block-git-main.sh\""
},
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/block-big-binaries.sh\""
},
{
"type": "command",
"command": "bash \"$HOME/.claude/hooks/protect-secrets.sh\""
}
]
}
]
}
} Skills (17)
book-to-skillcodebase-designdiagnosing-bugsdomain-modelinggrill-with-docsgrillingimplementiso-24495-codepyspark-auditpyspark-styleretrosetup-matt-pocock-skillsstandards-reviewtddto-specto-ticketswriting-for-agents
Hooks (8)
| event | matcher | runs |
|---|---|---|
| PreToolUse | Bash | bash "$HOME/.claude/hooks/block-destructive.sh" |
| PreToolUse | Bash | bash "$HOME/.claude/hooks/enforce-uv.sh" |
| PreToolUse | Bash | bash "$HOME/.claude/hooks/block-git-main.sh" |
| PreToolUse | Bash | bash "$HOME/.claude/hooks/block-big-binaries.sh" |
| PreToolUse | Bash | bash "$HOME/.claude/hooks/protect-secrets.sh" |
| PostToolUse | Write|Edit|MultiEdit | bash "$HOME/.claude/hooks/ruff-after-edit.sh" |
| PostToolUse | Write|NotebookEdit | bash "$HOME/.claude/hooks/nbstripout.sh" |
| Notification | * | bash "$HOME/.claude/hooks/notify.sh" |
Permissions
deny (15)
Bash(sudo *)
Bash(rm -rf ~*)
Bash(rm -rf /*)
Read(.env)
Read(.env.*)
Read(secrets/**)
Read(**/*.pem)
Read(**/*.key)
Read(**/*.p12)
Read(**/*.pfx)
Read(**/credentials.json)
Read(**/.mcp.local.json)
Read(~/.ssh/**)
Edit(.env*)
Edit(secrets/**)
ask (3)
Bash(git push *)
Edit(pyproject.toml)
Edit(uv.lock)
allow (0)
—
Similar rigs
suntianc/paseo-matt-workloop
Paseo 多 Agent workloop:整合 Matt Pocock skills,支持 npx 安装与更新。
Skill Collector 1.1k tok · · Q0
veqzo/claude-code-setup
🔄 One Claude Code setup for my desktop and MacBook, synced through git, with guardrails that keep secrets out.
Skill Collector 1.5k tok · · Q3
cjumeow/watch-less
Hover a YouTube thumbnail to get a neutral, evidence-backed summary in Heptabase
Skill Collector 3.6k tok · · Q18
Essential-kit/skills
Installable agent skills for planning, implementation, review, and code quality.
Skill Collector 1.6k tok · · Q0