~ / rigs / sshaw / dotfiles

sshaw/dotfiles

My dotfiles. Everything but Emacs, which has its own repository: https://github.com/sshaw/emacs.d

↗ GitHub ★ 3 no license updated 20d ago personal setup Claude Code
stack: RubyShell
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~4.2k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add shopify-dev-mcp -- npx -y @shopify/dev-mcp@latest
$ claude mcp add context7 -- npx -y @upstash/context7-mcp@latest
$ npx degit sshaw/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.

$ claude mcp add shopify-dev-mcp -- npx -y @shopify/dev-mcp@latest
$ claude mcp add context7 -- npx -y @upstash/context7-mcp@latest

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(sdt *)",
      "Read(.bundle/**)",
      "Read(.cache/**)",
      "Read(.shopify/**)",
      "Read(.yarn/**)",
      "Read(*.log)",
      "Read(*.min.js)",
      "Read(*.min.map)",
      "Read(**/.#*)",
      "Read(**/*.elc)",
      "Read(**/*~)",
      "Read(**/\\#*\\#)",
      "Read(coverage/**)",
      "Read(log/**)",
      "Read(logs/**)",
      "Read(node_modules/**)",
      "Read(tmp/**)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "dcg"
          }
        ]
      }
    ]
  }
}

MCP servers (2)

serversourceest. tokens
Shopify Dev · "shopify-dev-mcp" npm 3.0k
Context7 npm 1.2k

Hooks (1)

eventmatcherruns
PreToolUseBashdcg

Plugins (2)

claude-mem@thedotmackcaveman@caveman

Permissions

deny (17)
Bash(sdt *)
Read(.bundle/**)
Read(.cache/**)
Read(.shopify/**)
Read(.yarn/**)
Read(*.log)
Read(*.min.js)
Read(*.min.map)
Read(**/.#*)
Read(**/*.elc)
Read(**/*~)
Read(**/\#*\#)
Read(coverage/**)
Read(log/**)
Read(logs/**)
Read(node_modules/**)
Read(tmp/**)
ask (0)
—
allow (0)
—

Similar rigs

copied ✓