~ / rigs / halfkeyjp / claude-project-template

halfkeyjp/claude-project-template

Agent workflow template for Claude Code projects

↗ GitHub ★ 0 no license updated 8mo ago project Claude Code
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~2.3k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit halfkeyjp/claude-project-template/.claude ./rig-claude-project-template  # 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.

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": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": ".claude/hooks/enforce-worktree.sh"
          }
        ]
      }
    ]
  }
}

Hooks (1)

eventmatcherruns
PreToolUseEdit|Write.claude/hooks/enforce-worktree.sh

Permissions

deny (0)
—
ask (0)
—
allow (48)
WebSearch
Bash(git add:*)
Bash(git branch:*)
Bash(git check-ignore:*)
Bash(git checkout:*)
Bash(git cherry-pick:*)
Bash(git clean:*)
Bash(git commit:*)
Bash(git diff:*)
Bash(git fetch:*)
Bash(git log:*)
Bash(git ls-tree:*)
Bash(git merge:*)
Bash(git pull:*)
Bash(git push:*)
Bash(git push)
Bash(git rebase:*)
Bash(git remote prune:*)
Bash(git reset:*)
Bash(git rm:*)
Bash(git show-branch:*)
Bash(git show-ref:*)
Bash(git stash:*)
Bash(git status:*)
Bash(git worktree:*)
Bash(gh pr create:*)
Bash(gh pr merge:*)
Bash(gh pr view:*)
Bash(gh pr list:*)
Bash(gh pr edit:*)
Bash(gh pr close:*)
Bash(gh pr diff:*)
Bash(gh api:*)
Bash(make:*)
Bash(python:*)
Bash(python3:*)
Bash(.venv/bin/python:*)
Bash(.venv/bin/python3:*)
Bash(../.venv/bin/python:*)
Bash(.venv/bin/pytest:*)
Bash(.venv/bin/pip install:*)
Bash(pip install:*)
Bash(pip3 install:*)
Bash(ln:*)
Bash(ls:*)
Bash(echo:*)
Bash(ssh:*)
Bash(chmod:*)

Similar rigs

copied ✓