~ / rigs / KJ-devs / setupClaudeCode

KJ-devs/setupClaudeCode

No description.

↗ GitHub ★ 1 no license updated 7mo ago personal setup Claude Code
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.2k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit KJ-devs/setupClaudeCode/.claude ./rig-setupclaudecode  # 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 KJ-devs/setupClaudeCode/.claude/skills/architect .claude/skills/architect
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/developer .claude/skills/developer
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/forge .claude/skills/forge
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/init-project .claude/skills/init-project
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/next-feature .claude/skills/next-feature
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/reviewer .claude/skills/reviewer
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/stabilizer .claude/skills/stabilizer
$ npx degit KJ-devs/setupClaudeCode/.claude/skills/tester .claude/skills/tester

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.local)",
      "Read(.env.production)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash $CLAUDE_PROJECT_DIR/.claude/hooks/git-safety.sh"
          }
        ]
      },
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "bash $CLAUDE_PROJECT_DIR/.claude/hooks/protect-files.sh"
          }
        ]
      }
    ]
  }
}

Skills (8)

Hooks (7)

eventmatcherruns
SessionStartcompactbash $CLAUDE_PROJECT_DIR/.claude/hooks/reinject-context.sh
SessionStartstartupecho 'Setup Claude Code chargé. Skills disponibles : /forge, /init-project, /next-feature, /architect, /developer, /tester, /reviewer, /stabilizer'
PreToolUseBashbash $CLAUDE_PROJECT_DIR/.claude/hooks/git-safety.sh
PreToolUseEdit|Writebash $CLAUDE_PROJECT_DIR/.claude/hooks/protect-files.sh
PostToolUseEdit|Writebash $CLAUDE_PROJECT_DIR/.claude/hooks/auto-format.sh
Stop*bash $CLAUDE_PROJECT_DIR/.claude/hooks/session-summary.sh
Stop*L'utilisateur a-t-il demandé d'implémenter une feature ou de modifier du code ? Si oui, vérifie que le stabilizer a été mentionné ou que les checks de stabilité (build, tests, lint) ont été exécutés. Si les checks n'ont pas été faits et qu'

Permissions

deny (3)
Read(.env)
Read(.env.local)
Read(.env.production)
ask (0)
—
allow (21)
Bash(npm run build)
Bash(npm run test *)
Bash(npm test *)
Bash(npm run lint *)
Bash(npx tsc --noEmit)
Bash(gh issue *)
Bash(gh label *)
Bash(gh pr *)
Bash(git checkout *)
Bash(git branch *)
Bash(git fetch *)
Bash(git pull *)
Bash(git rebase *)
Bash(git push *)
Bash(git status *)
Bash(git log *)
Bash(git diff *)
Bash(git merge-base *)
Bash(git rev-parse *)
Bash(git ls-remote *)
Bash(bash scripts/*)

Similar rigs

copied ✓