~ / rigs / pjg / dotfiles

pjg/dotfiles

My dot files

↗ GitHub ★ 37 no license updated 19d ago personal setup Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~110 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit pjg/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 pjg/dotfiles/.claude/skills/lokalise .claude/skills/lokalise

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

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "~/.config/iterm2/cc-status"
          }
        ]
      }
    ]
  }
}

Skills (1)

Hooks (11)

eventmatcherruns
Notificationidle_promptexit 0
Notification*~/.config/iterm2/cc-status
PermissionRequest*~/.config/iterm2/cc-status
PostToolUse*~/.config/iterm2/cc-status
PreToolUse*~/.config/iterm2/cc-status
SessionEnd*~/.config/iterm2/cc-status
SessionStart*~/.config/iterm2/cc-status
Stop*~/.config/iterm2/cc-status
StopFailure*~/.config/iterm2/cc-status
SubagentStop*~/.config/iterm2/cc-status
UserPromptSubmit*~/.config/iterm2/cc-status

Plugins (3)

frontend-design@claude-plugins-officialruby-lsp@claude-plugins-officiali-have-adhd@i-have-adhd

Permissions

deny (0)
—
ask (0)
—
allow (23)
WebFetch
Edit
WebSearch
WebFetch(domain:recurly.github.io)
Bash(bundle exec rspec:*)
Bash(bundle exec rails runner:*)
Bash(find:*)
Bash(cat:*)
Bash(grep:*)
Bash(wc:*)
Bash(bundle exec rubocop:*)
Bash(lokalise2 key create:*)
Bash(bundle exec rake:*)
Bash(bin/rails generate:*)
Bash(bin/rails db:migrate:*)
Bash(RAILS_ENV=test bin/rails:*)
Bash(RAILS_ENV=test bundle exec rake:*)
Bash(spring stop:*)
Bash(iconv:*)
Bash(xxd:*)
Bash(awk:*)
Bash(ls:*)
Bash(RAILS_ENV=test bundle exec rails db:migrate 2>&1)

Similar rigs

copied ✓