~ / rigs / jrollin / dotfiles

jrollin/dotfiles

my config files

↗ GitHub ★ 2 no license updated today personal setup Claude Code
stack: LuaShell
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~3.3k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · Sandbox or ask-first rules · details
Quality 6/100 Guardrails v2

Copy this rig

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

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

{
  "permissions": {
    "ask": [
      "Bash(git push:*)",
      "Bash(git commit:*)",
      "Bash(git rebase:*)",
      "Bash(curl:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit",
        "hooks": [
          {
            "type": "command",
            "command": "bash -c 'F=$(echo \"$CLAUDE_TOOL_INPUT\" | jq -r .file_path 2>/dev/null); case \"${F##*/}\" in .env*|*.pem|*.key|*credentials*|*secret*) echo \"BLOCKED: refusing to edit sensitive file: $F\" >&2; exit 1;; esac'"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "rtk hook claude"
          }
        ]
      }
    ]
  }
}

Hooks (3)

eventmatcherruns
PreToolUseWrite|Editbash -c 'F=$(echo "$CLAUDE_TOOL_INPUT" | jq -r .file_path 2>/dev/null); case "${F##*/}" in .env*|*.pem|*.key|*credentials*|*secret*) echo "BLOCKED: refusing to edit sensitive file: $F" >&2; exit 1;; esac'
PreToolUseBashrtk hook claude
PostToolUseWrite|Editbash -c 'F=$(jq -r ".tool_input.file_path // empty"); [ -z "$F" ] && exit 0; case "$F" in *.rs) cargo check --message-format=short 2>&1 | head -20;; *.ts|*.tsx|*.js|*.jsx) if [ -f "$(git rev-parse --show-toplevel 2>/dev/null)/biome.json" ]

Slash commands (1)

/adversarial-review

Plugins (16)

rust-analyzer-lsp@claude-plugins-officialcontext7@claude-plugins-officialfrontend-design@claude-plugins-officialtypescript-lsp@claude-plugins-officialplaywright@claude-plugins-officiallua-lsp@claude-plugins-officialskill-creator@claude-plugins-officialruby-lsp@claude-plugins-officialcode-review@claude-plugins-officialqa@skello-pluginsdev@skello-pluginscartog@cartog-pluginsclaudio-tools@claudio-powerclaudio-craft@claudio-powerclaudio-spec@claudio-powerclaudio-rust@claudio-power

Permissions

deny (0)
—
ask (4)
Bash(git push:*)
Bash(git commit:*)
Bash(git rebase:*)
Bash(curl:*)
allow (39)
WebSearch
Bash(wc:*)
Bash(grep:*)
Bash(rg:*)
Bash(test:*)
Bash(git add:*)
Bash(ls:*)
mcp__context7__resolve-library-id
mcp__context7__query-docs
mcp__plugin_context7_context7__resolve-library-id
mcp__plugin_context7_context7__query-docs
Bash(find:*)
Bash(docker-compose:*)
Bash(docker exec:*)
Bash(chmod:*)
Bash(make:*)
Bash(java:*)
Bash(jq:*)
Bash(cartog:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git status:*)
Bash(git branch:*)
Bash(git stash:*)
Bash(git checkout:*)
Bash(head:*)
Bash(tail:*)
Bash(diff:*)
Bash(sort:*)
Bash(uniq:*)
Bash(cartog rag:*)
Bash(cartog outline:*)
Bash(pnpm add:*)
Bash(pnpm depcruise:*)
Bash(pnpm:*)
Bash(curl http://localhost*)
Bash(curl https://localhost*)
Bash(curl http://127.0.0.1*)
Bash(curl https://127.0.0.1*)

Similar rigs

copied ✓