~ / rigs / gonstoll / dotfiles

gonstoll/dotfiles

Configurations for my development environment

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

Copy this rig

$ git clone --depth 1 https://github.com/gonstoll/dotfiles

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.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "./hooks/block-dangerous-git"
          },
          {
            "type": "command",
            "command": "./hooks/block-tsc"
          },
          {
            "type": "command",
            "command": "./hooks/block-npx-jest"
          },
          {
            "type": "command",
            "command": "./hooks/block-npx-vitest"
          }
        ]
      }
    ]
  }
}

Hooks (4)

eventmatcherruns
PreToolUseBash./hooks/block-dangerous-git
PreToolUseBash./hooks/block-tsc
PreToolUseBash./hooks/block-npx-jest
PreToolUseBash./hooks/block-npx-vitest

Similar rigs

copied ✓