~ / rigs / thebuildreceipt / agent-starter-kit

thebuildreceipt/agent-starter-kit

The setup I copy into every project before an AI coding agent touches it: CLAUDE.md template, safety hooks, skills and a review subagent. From The Build Receipt.

↗ GitHub ★ 0 MIT updated 4d ago project Claude Code
field: unknown workflow: Git & commits
stack: Shell
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~473 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 47/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit thebuildreceipt/agent-starter-kit/.claude ./rig-agent-starter-kit  # 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 thebuildreceipt/agent-starter-kit/.claude/skills/release-notes .claude/skills/release-notes
$ npx degit thebuildreceipt/agent-starter-kit/.claude/skills/spec-first .claude/skills/spec-first
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/thebuildreceipt/agent-starter-kit/main/.claude/agents/code-reviewer.md

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": "if jq -r '.tool_input.command' | grep -qE 'rm -rf /|git push --force'; then echo 'Blocked: dangerous command' >&2; exit 2; fi"
          }
        ]
      }
    ]
  }
}

Skills (2)

Subagents (1)

code-reviewerReviews the current diff for real bugs before commit. Use proactively after any code change.

Hooks (2)

eventmatcherruns
PostToolUseEdit|Writejq -r '.tool_input.file_path // empty' | xargs -I{} npx --yes prettier --write {} >/dev/null 2>&1 || true
PreToolUseBashif jq -r '.tool_input.command' | grep -qE 'rm -rf /|git push --force'; then echo 'Blocked: dangerous command' >&2; exit 2; fi

Similar rigs

copied ✓