~ / rigs / NedcloarBR / dotfiles

NedcloarBR/dotfiles

⚙️My environment configs

↗ GitHub ★ 2 no license updated today personal setup Claude Code
stack: Shell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~652 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 30/100 Guardrails v2

Copy this rig

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

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.*)",
      "Read(**/*.pem)",
      "Read(**/id_rsa*)",
      "Read(**/id_ed25519*)",
      "Read(~/.ssh/**)",
      "Read(~/.aws/**)",
      "Read(~/.gnupg/**)",
      "Read(~/.claude/.credentials.json)"
    ],
    "ask": [
      "Bash(git push *)",
      "Bash(git reset --hard*)",
      "Bash(git clean *)",
      "Bash(git branch -D *)",
      "Bash(git checkout -- *)",
      "Bash(git restore *)",
      "Bash(find * -delete*)",
      "Bash(find * -exec *)",
      "Bash(rtk git push *)",
      "Bash(rtk git reset --hard*)",
      "Bash(rtk git clean *)",
      "Bash(rtk git branch -D *)",
      "Bash(rtk git checkout -- *)",
      "Bash(rtk git restore *)",
      "Bash(rtk find * -delete*)",
      "Bash(rtk find * -exec *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$HOME/.claude/hooks/pre-bash-guard.sh\""
          },
          {
            "type": "command",
            "command": "bash \"$HOME/.claude/hooks/rtk-hook.sh\""
          }
        ]
      }
    ]
  }
}

Skills (2)

Hooks (11)

eventmatcherruns
SessionStartstartup|resume|clear|compactbash "$HOME/.claude/hooks/session-start-handoff.sh"
PreToolUseBashbash "$HOME/.claude/hooks/pre-bash-guard.sh"
PreToolUseBashbash "$HOME/.claude/hooks/rtk-hook.sh"
PostToolUseEdit|Write|MultiEdit|NotebookEditbash "$HOME/.claude/hooks/post-edit-format.sh"
PostToolUseBashbash "$HOME/.claude/hooks/notify.sh" 'pnpm install done'
PostToolUseBashbash "$HOME/.claude/hooks/notify.sh" 'yarn install done'
PostToolUseBashbash "$HOME/.claude/hooks/notify.sh" 'npm install done'
PostToolUseBashbash "$HOME/.claude/hooks/notify.sh" 'npm install done'
PostToolUseBashbash "$HOME/.claude/hooks/notify.sh" 'bun install done'
Notificationpermission_prompt|idle_promptbash "$HOME/.claude/hooks/notify.sh" 'Claude is waiting for you'
Stop*bash "$HOME/.claude/hooks/notify.sh" 'Response finished'

Plugins (2)

typescript-lsp@claude-plugins-officialfrontend-design@claude-plugins-official

Permissions

deny (9)
Read(**/.env)
Read(**/.env.*)
Read(**/*.pem)
Read(**/id_rsa*)
Read(**/id_ed25519*)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(~/.gnupg/**)
Read(~/.claude/.credentials.json)
ask (16)
Bash(git push *)
Bash(git reset --hard*)
Bash(git clean *)
Bash(git branch -D *)
Bash(git checkout -- *)
Bash(git restore *)
Bash(find * -delete*)
Bash(find * -exec *)
Bash(rtk git push *)
Bash(rtk git reset --hard*)
Bash(rtk git clean *)
Bash(rtk git branch -D *)
Bash(rtk git checkout -- *)
Bash(rtk git restore *)
Bash(rtk find * -delete*)
Bash(rtk find * -exec *)
allow (62)
Bash(git *)
Bash(ls *)
Bash(find *)
Bash(grep *)
Bash(rg *)
Bash(cat *)
Bash(head *)
Bash(tail *)
Bash(wc *)
Bash(diff *)
Bash(tree *)
Bash(which *)
Bash(jq *)
Bash(pnpm *)
Bash(yarn *)
Bash(npm *)
Bash(bun *)
Bash(go *)
Bash(cargo *)
Bash(docker ps *)
Bash(docker logs *)
Bash(docker compose ps *)
Bash(docker compose logs *)
Bash(gh pr view *)
Bash(gh pr list *)
Bash(gh pr diff *)
Bash(gh pr checks *)
Bash(gh issue view *)
Bash(gh issue list *)
Bash(gh run view *)
Bash(gh run list *)
Bash(rtk git *)
Bash(rtk ls *)
Bash(rtk find *)
Bash(rtk grep *)
Bash(rtk rg *)
Bash(rtk cat *)
Bash(rtk head *)
Bash(rtk tail *)
Bash(rtk wc *)
Bash(rtk diff *)
Bash(rtk tree *)
Bash(rtk which *)
Bash(rtk jq *)
Bash(rtk pnpm *)
Bash(rtk yarn *)
Bash(rtk npm *)
Bash(rtk bun *)
Bash(rtk go *)
Bash(rtk cargo *)
Bash(rtk docker ps *)
Bash(rtk docker logs *)
Bash(rtk docker compose ps *)
Bash(rtk docker compose logs *)
Bash(rtk gh pr view *)
Bash(rtk gh pr list *)
Bash(rtk gh pr diff *)
Bash(rtk gh pr checks *)
Bash(rtk gh issue view *)
Bash(rtk gh issue list *)

Similar rigs

copied ✓