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
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/pr .claude/skills/pr $ npx degit p-chan/dotfiles/home/.agents/skills/personal-comment .claude/skills/personal-comment $ 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 $ npx degit p-chan/dotfiles/home/.agents/skills/personal-installing-npm-packages .claude/skills/personal-installing-npm-packages $ npx degit p-chan/dotfiles/home/.agents/skills/personal-setup-node .claude/skills/personal-setup-node $ npx degit p-chan/dotfiles/home/.agents/skills/personal-setup-oxc .claude/skills/personal-setup-oxc $ npx degit p-chan/dotfiles/home/.agents/skills/personal-setup-pnpm .claude/skills/personal-setup-pnpm $ npx degit p-chan/dotfiles/home/.agents/skills/personal-setup-typescript .claude/skills/personal-setup-typescript
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"
}
]
}
]
}
} Skills (12)
adragent-facing-docsprpersonal-commentpersonal-gitpersonal-githubpersonal-hunkpersonal-installing-npm-packagespersonal-setup-nodepersonal-setup-oxcpersonal-setup-pnpmpersonal-setup-typescript
Hooks (7)
| 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 |
| SessionStart | ^(startup|resume|clear|compact|fork)$ | bash "$HOME/.claude/hooks/herdr-agent-state.sh" session |
Slash commands (1)
/zed
Plugins (2)
codex@openai-codexexample-skills@anthropic-agent-skills
Permissions
deny (7)
Bash(sudo *)
Edit(~/.npmrc)
Read(.env)
Read(.env.*.local)
Read(.env.development)
Read(.env.local)
Read(.env.production)
ask (0)
—
allow (51)
Bash(fd -u *)
Bash(gh issue list *)
Bash(gh issue list)
Bash(gh issue view *)
Bash(gh pr checks *)
Bash(gh pr checks)
Bash(gh pr diff *)
Bash(gh pr diff)
Bash(gh pr list *)
Bash(gh pr list)
Bash(gh pr view *)
Bash(gh pr view)
Bash(gh release list *)
Bash(gh release list)
Bash(gh release view *)
Bash(gh release view)
Bash(gh repo view *)
Bash(gh repo view)
Bash(gh review-comment list *)
Bash(gh review-comment list)
Bash(gh run list *)
Bash(gh run list)
Bash(gh run view *)
Bash(gh run view)
Bash(git diff *)
Bash(git diff)
Bash(git fetch *)
Bash(git fetch)
Bash(git log *)
Bash(git log)
Bash(git ls-remote *)
Bash(git ls-remote)
Bash(head *)
Bash(npm view *)
Bash(opensrc *)
Bash(rg *)
Bash(tail *)
Skill
WebFetch(domain:docs.github.com)
WebFetch(domain:github.com)
WebFetch(domain:qiita.com)
WebFetch(domain:raw.githubusercontent.com)
WebFetch(domain:vitest.dev)
WebFetch(domain:zenn.dev)
WebSearch
mcp__figma-desktop__get_code_connect_map
mcp__figma-desktop__get_code_connect_suggestions
mcp__figma-desktop__get_design_context
mcp__figma-desktop__get_metadata
mcp__figma-desktop__get_screenshot
mcp__figma-desktop__get_variable_defs
Similar rigs
matchai/dotfiles
💻 Public repo for my personal dotfiles
Minimalist 1.2k tok ·
ramarlina/agx
agx: Run AI coding agents as a persistent team with objectives, memory, and coordinated work. The same agents built this tool — 167+ merged PRs, 93% clean.
Minimalist 167 tok ·
rafagomes/ai-workflow
AI-assisted development workflow toolkit for Claude Code, Cursor, and Codex — skills, agents, and conventions for the full SDLC
Skill Collector 4.0k tok ·
rness-dev/rness
One source of truth for every AI coding agent. The standards, decisions, specs and plans of your organization, written into the AGENTS.md of every repository. Claude Code, Codex, Cursor and GitHub Copilot already read it.
Automator 5.6k tok ·