p-chan/dotfiles
The dotfiles for fuckin' awesome development environment
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 19/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit p-chan/dotfiles/home/.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 p-chan/dotfiles/.agents/skills/adr .claude/skills/adr $ npx degit p-chan/dotfiles/.agents/skills/agent-facing-docs .claude/skills/agent-facing-docs $ npx degit p-chan/dotfiles/.agents/skills/migrate .claude/skills/migrate $ npx degit p-chan/dotfiles/.agents/skills/pr .claude/skills/pr $ npx degit p-chan/dotfiles/home/.agents/skills/personal-git .claude/skills/personal-git $ npx degit p-chan/dotfiles/home/.agents/skills/personal-github .claude/skills/personal-github $ npx degit p-chan/dotfiles/home/.agents/skills/personal-hunk .claude/skills/personal-hunk
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 *)",
"Edit(~/.npmrc)",
"Read(.env)",
"Read(.env.*.local)",
"Read(.env.development)",
"Read(.env.local)",
"Read(.env.production)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Read|Edit|Write|MultiEdit|NotebookEdit",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/personal-block-env.sh"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/personal-block-find.sh"
},
{
"type": "command",
"command": "~/.claude/hooks/personal-block-git-add-all.sh"
},
{
"type": "command",
"command": "~/.claude/hooks/personal-block-git-c.sh"
},
{
"type": "command",
"command": "~/.claude/hooks/personal-block-grep.sh"
},
{
"type": "command",
"command": "~/.claude/hooks/personal-block-main-working-tree-branch.sh"
}
]
}
]
}
} Skills (7)
Hooks (9)
| event | matcher | runs |
|---|---|---|
| PostToolUse | Bash | bash "$HOME/.claude/hooks/personal-sync-pr-after-push.sh" |
| PreToolUse | Read|Edit|Write|MultiEdit|NotebookEdit | ~/.claude/hooks/personal-block-env.sh |
| PreToolUse | Bash | ~/.claude/hooks/personal-block-find.sh |
| PreToolUse | Bash | ~/.claude/hooks/personal-block-git-add-all.sh |
| PreToolUse | Bash | ~/.claude/hooks/personal-block-git-c.sh |
| PreToolUse | Bash | ~/.claude/hooks/personal-block-grep.sh |
| PreToolUse | Bash | ~/.claude/hooks/personal-block-main-working-tree-branch.sh |
| SessionStart | ^(startup|resume|clear|compact|fork)$ | bash "$HOME/.claude/hooks/herdr-agent-state.sh" session |
| Stop | * | ~/.claude/hooks/personal-require-japanese.ts |
Slash commands (1)
/zed
Plugins (1)
codex@openai-codex
Permissions
deny (7)
Bash(sudo *)
Edit(~/.npmrc)
Read(.env)
Read(.env.*.local)
Read(.env.development)
Read(.env.local)
Read(.env.production)
ask (0)
—
allow (0)
—
Similar rigs
grundmanise/agentx
agentx is the inventory manager for your agents. View, manage, and sync skills, MCPs and plugins across machines. Available for Mac and Linux.
Minimalist 1.0k tok · · Q18
KW-Yeh/VibeFlow
讓多個 coding agent 同時開工的本機看板:每張卡有自己的 Git 分支與 worktree,在裡面跑 Claude Code 或 Codex,附即時終端機。可從 Jira、GitHub Issues 建卡,用 master 卡派工與追蹤;Web UI、TUI、CLI 共用同一個看板,資料都留在本機。
Pragmatist 9.1k tok · · Q8
kryptamine/herdr-auto-title
Automatically name Herdr tabs and panes from your current work: Git branch, running process, and Claude Code, Codex, Pi, Grok, Hermes and Antigravity sessions. No LLM, no external service.
Pragmatist 5.1k tok · · Q0
DawnEver/claude-code-config
—
Pragmatist 4.7k tok · · Q3