~ / rigs / Benkapner / claude-code-basecamp

Benkapner/claude-code-basecamp

A meta-repository for Claude Code users that includes workspace setup (skills, commands, hooks)

↗ GitHub ★ 16 mit updated 1mo ago project Claude Code
share on X
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
CONTEXT TAX · EVERY TURN
~3.2k tokens
Moderate · 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
$ npx degit Benkapner/claude-code-basecamp/.claude ./rig-claude-code-basecamp  # 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 Benkapner/claude-code-basecamp/skills/brainstorming .claude/skills/brainstorming
$ npx degit Benkapner/claude-code-basecamp/skills/ci-guard .claude/skills/ci-guard
$ npx degit Benkapner/claude-code-basecamp/skills/cost-speed-meter .claude/skills/cost-speed-meter
$ npx degit Benkapner/claude-code-basecamp/skills/python-patterns .claude/skills/python-patterns
$ npx degit Benkapner/claude-code-basecamp/skills/refactoring-patterns .claude/skills/refactoring-patterns
$ npx degit Benkapner/claude-code-basecamp/skills/security-check .claude/skills/security-check
$ npx degit Benkapner/claude-code-basecamp/skills/semantic-versioning .claude/skills/semantic-versioning
$ npx degit Benkapner/claude-code-basecamp/skills/update-docs .claude/skills/update-docs
$ npx degit Benkapner/claude-code-basecamp/skills/verification-loop .claude/skills/verification-loop

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": "bash -c 'ARGS=\"$CLAUDE_TOOL_INPUT\"; CMD=$(echo \"$ARGS\" | grep -oP '\"command\"\\s*:\\s*\"\\K[^\"]+' 2>/dev/null); if echo \"$CMD\" | grep -qiE \"git (commit|push)\"; then echo \"Scanning for secrets...\"; FOUND=$(grep -rn --include=\"*.py\" --include=\"*.y"
          },
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/commit-size-guard.sh\""
          }
        ]
      },
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/branch-guard.sh\""
          }
        ]
      },
      {
        "matcher": "Edit|Write|Read|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/skill-suggest.sh\""
          }
        ]
      }
    ]
  }
}

Skills (9)

Hooks (5)

eventmatcherruns
SessionStartstartup|resume|clear|compactuv run "$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/session-start.py"
PreToolUseBashbash -c 'ARGS="$CLAUDE_TOOL_INPUT"; CMD=$(echo "$ARGS" | grep -oP '"command"\s*:\s*"\K[^"]+' 2>/dev/null); if echo "$CMD" | grep -qiE "git (commit|push)"; then echo "Scanning for secrets..."; FOUND=$(grep -rn --include="*.py" --include="*.y
PreToolUseBashbash "$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/commit-size-guard.sh"
PreToolUseEdit|Writebash "$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/branch-guard.sh"
PreToolUseEdit|Write|Read|Bashbash "$CLAUDE_PROJECT_DIR/.ai-workspace/scripts/skill-suggest.sh"

Slash commands (47)

/ai-engineer-review/architecture-docs/check-code/dep-check/diff-explain/env-check/explain-code/explain-simple/focus/harness-lint/harness-review/harness-security/prompt-test/quality-gate/recap/refactor-safe/repo-sync/skill-review/skill-verify/test-coverage/toolkit/update-docs/verify/ai-engineer-review/command/architecture-docs/command/changelog/command/check-code/command/dep-check/command/diff-explain/command/env-check/command/explain-code/command/explain-simple/command/focus/command/harness-lint/command/harness-review/command/harness-security/command/prompt-test/command/quality-gate/command/recap/command/refactor-safe/command/repo-sync/command/skill-review/command/skill-verify/command/test-coverage/command/toolkit/command/update-docs/command/verify/command

Similar rigs

copied ✓