~ / rigs / peinan / dotfiles

peinan/dotfiles

A collection of configuration files for setting up a development environment.

↗ GitHub ★ 0 MIT updated 29d ago personal setup Claude Code
stack: Shell
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~1.2k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · Sandbox or ask-first rules · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit peinan/dotfiles/src/.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 peinan/dotfiles/src/.claude/skills/appstore-release-notes .claude/skills/appstore-release-notes
$ npx degit peinan/dotfiles/src/.claude/skills/fix-issue .claude/skills/fix-issue
$ npx degit peinan/dotfiles/src/.claude/skills/pm-codex .claude/skills/pm-codex
$ npx degit peinan/dotfiles/src/.claude/skills/typer .claude/skills/typer

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(.env)",
      "Read(.env.local)",
      "Read(.env.development)",
      "Read(.env.production)",
      "Read(**/.env)",
      "Read(**/.env.local)",
      "Read(**/.env.development)",
      "Read(**/.env.production)",
      "Read(id_rsa)",
      "Read(id_ed25519)",
      "Read(**/*token*)",
      "Edit(.env)",
      "Edit(.env.local)",
      "Edit(.env.development)",
      "Edit(.env.production)",
      "Edit(**/.env)",
      "Edit(**/.env.local)",
      "Edit(**/.env.development)",
      "Edit(**/.env.production)",
      "Edit(**/*secret*)",
      "Bash(sudo *)",
      "Bash(git reset *)",
      "Bash(git rebase *)",
      "Bash(rm -rf *)"
    ],
    "ask": [
      "Read(**/*key.*)",
      "Read(**/*_key*)",
      "Bash(rm *)",
      "Bash(chmod *)",
      "Bash(sed -i *)"
    ]
  }
}

Skills (4)

Hooks (8)

eventmatcherruns
Notificationpermission_promptzsh ~/.claude/scripts/notify.sh
Notificationelicitation_dialogzsh ~/.claude/scripts/notify.sh
PermissionRequest*'/opt/homebrew/bin/moshi-hook' claude-hook
SessionStart*'/opt/homebrew/bin/moshi-hook' claude-hook
SessionStart*bash ~/.claude/scripts/init-plans-dir.sh
Stop*zsh ~/.claude/scripts/notify.sh
Stop*'/opt/homebrew/bin/moshi-hook' claude-hook
UserPromptSubmit*'/opt/homebrew/bin/moshi-hook' claude-hook

Slash commands (1)

/implement-plan-with-sub-agents-as-pm

Plugins (8)

codex@openai-codexdocument-skills@anthropic-agent-skillsexample-skills@anthropic-agent-skillslast30days@last30days-skilllua-lsp@claude-plugins-officialskill-codex@skill-codexswift-lsp@claude-plugins-officialtypescript-lsp@claude-plugins-official

Permissions

deny (24)
Read(.env)
Read(.env.local)
Read(.env.development)
Read(.env.production)
Read(**/.env)
Read(**/.env.local)
Read(**/.env.development)
Read(**/.env.production)
Read(id_rsa)
Read(id_ed25519)
Read(**/*token*)
Edit(.env)
Edit(.env.local)
Edit(.env.development)
Edit(.env.production)
Edit(**/.env)
Edit(**/.env.local)
Edit(**/.env.development)
Edit(**/.env.production)
Edit(**/*secret*)
Bash(sudo *)
Bash(git reset *)
Bash(git rebase *)
Bash(rm -rf *)
ask (5)
Read(**/*key.*)
Read(**/*_key*)
Bash(rm *)
Bash(chmod *)
Bash(sed -i *)
allow (59)
mcp__serena
Read(**/bin/**)
Read(~/ghq/**)
Read(~/.config/**)
Edit(**)
Bash(mkdir *)
Bash(touch *)
Bash(ls*)
Bash(tree*)
Bash(mv *)
Bash(cp *)
Bash(cat *)
Bash(grep *)
Bash(find *)
Bash(echo *)
Bash(npm *)
Bash(eza*)
Bash(rg *)
Bash(fd *)
Bash(head *)
Bash(tail *)
Bash(sort *)
Bash(zsh -n *)
Bash(gh *)
Bash(gh issues *)
Bash(sed *)
Bash(xargs *)
Bash(git *)
Bash(git add *)
Bash(git commit *)
Bash(wc *)
Bash(which *)
Bash(file *)
Bash(stat *)
Bash(du *)
Bash(realpath *)
Bash(pwd*)
Bash(date*)
Bash(uname*)
Bash(whoami)
Bash(hostname*)
Bash(id*)
Bash(sw_vers*)
Bash(type *)
Bash(open *)
Bash(bat *)
Bash(jq *)
Bash(diff *)
Bash(basename *)
Bash(dirname *)
Bash(df *)
Bash(codex exec *)
Bash(fzf *)
WebFetch(domain:github.com)
WebFetch(domain:docs.github.com)
WebFetch(domain:npmjs.org)
WebFetch(domain:note.com)
WebFetch(domain:qiita.com)
WebFetch(domain:zenn.dev)

Similar rigs

copied ✓