~ / rigs / arizawan / claude-code-starter-kit

arizawan/claude-code-starter-kit

Production-tested hooks, settings, and Notion second brain for Claude Code. For developers, designers, founders, students -- anyone who uses Claude Code.

↗ GitHub ★ 0 MIT updated 6mo ago project Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~7.8k tokens
Heavy · 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
$ claude mcp add playwright -- npx -y @playwright/mcp@latest --caps core --snapshot-mode incremental --image-responses omit
$ npx degit arizawan/claude-code-starter-kit/hooks ./rig-claude-code-starter-kit/hooks

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 playwright -- npx -y @playwright/mcp@latest --caps core --snapshot-mode incremental --image-responses omit

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(rm -rf:*)",
      "Bash(git push --force:*)",
      "Bash(terraform apply:*)",
      "Bash(terraform destroy:*)",
      "Bash(docker system prune:*)",
      "Bash(npm publish:*)",
      "Bash(sudo:*)",
      "Bash(dd:*)",
      "Bash(mkfs:*)",
      "Bash(mkfs.*:*)",
      "Bash(shutdown:*)",
      "Bash(reboot:*)",
      "Bash(halt:*)",
      "Bash(poweroff:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/backup-before-edit.sh"
          }
        ]
      },
      {
        "matcher": "Read|Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 ~/.claude/hooks/block-secrets.py"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/filter-test-output.sh"
          },
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/rtk-rewrite.sh"
          }
        ]
      }
    ]
  }
}

MCP servers (1)

serversourceest. tokens
Playwright MCP · "playwright" npm 7.5k

Hooks (9)

eventmatcherruns
UserPromptSubmit*bash ~/.claude/hooks/fetch-context.sh
PreToolUseWrite|Edit|MultiEditbash ~/.claude/hooks/backup-before-edit.sh
PreToolUseRead|Write|Edit|MultiEditpython3 ~/.claude/hooks/block-secrets.py
PreToolUseBashbash ~/.claude/hooks/filter-test-output.sh
PreToolUseBashbash ~/.claude/hooks/rtk-rewrite.sh
PostToolUseWrite|Edit|MultiEditbash ~/.claude/hooks/lint-on-save.sh
SessionStart*bash ~/.claude/hooks/stale-node-modules.sh
Stop*bash ~/.claude/hooks/verify-no-secrets.sh
Stop*bash ~/.claude/hooks/save-session.sh

Permissions

deny (14)
Bash(rm -rf:*)
Bash(git push --force:*)
Bash(terraform apply:*)
Bash(terraform destroy:*)
Bash(docker system prune:*)
Bash(npm publish:*)
Bash(sudo:*)
Bash(dd:*)
Bash(mkfs:*)
Bash(mkfs.*:*)
Bash(shutdown:*)
Bash(reboot:*)
Bash(halt:*)
Bash(poweroff:*)
ask (0)
—
allow (68)
Bash(git status:*)
Bash(git log:*)
Bash(git diff:*)
Bash(git branch:*)
Bash(git add:*)
Bash(git commit:*)
Bash(git remote:*)
Bash(git stash:*)
Bash(git fetch:*)
Bash(git pull:*)
Bash(git checkout:*)
Bash(git switch:*)
Bash(git push:*)
Bash(git merge:*)
Bash(git rebase:*)
Bash(git tag:*)
Bash(npm run:*)
Bash(npm test:*)
Bash(npm install:*)
Bash(npx tsc:*)
Bash(npx eslint:*)
Bash(node:*)
Bash(python3:*)
Bash(pip:*)
Bash(docker ps:*)
Bash(docker logs:*)
Bash(docker build:*)
Bash(docker run:*)
Bash(docker exec:*)
Bash(docker compose:*)
Bash(docker-compose:*)
Bash(bun run:*)
Bash(bun install:*)
Bash(bun test:*)
Bash(bun add:*)
Bash(bun build:*)
Bash(bun x:*)
Bash(gh:*)
Bash(vercel:*)
Bash(wrangler:*)
Bash(supabase:*)
Bash(curl:*)
Bash(deno:*)
Bash(ruff:*)
Bash(terraform plan:*)
Bash(terraform output:*)
Bash(terraform init:*)
Bash(terraform validate:*)
Bash(wc:*)
Bash(mkdir:*)
Bash(cp:*)
Bash(mv:*)
Bash(chmod:*)
Bash(ls:*)
Bash(cat:*)
Bash(head:*)
Bash(tail:*)
Bash(diff:*)
Bash(jq:*)
Bash(open:*)

Similar rigs

copied ✓