~ / rigs / BorjaElizalde / template-agentic

BorjaElizalde/template-agentic

Copier template: language-neutral agentic coding harness (Claude Code guards, skills, agents, issue and worktree workflow)

↗ GitHub ★ 0 no license updated 2d ago project Claude Code Claude plugin
stack: Shell
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~428 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 46/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit BorjaElizalde/template-agentic/.claude ./rig-template-agentic  # 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 BorjaElizalde/template-agentic/.claude/skills/commit .claude/skills/commit
$ npx degit BorjaElizalde/template-agentic/.claude/skills/gate .claude/skills/gate
$ npx degit BorjaElizalde/template-agentic/.claude/skills/pull-request .claude/skills/pull-request
$ npx degit BorjaElizalde/template-agentic/.claude/skills/release .claude/skills/release
$ npx degit BorjaElizalde/template-agentic/.claude/skills/task/skills/finish .claude/skills/finish
$ npx degit BorjaElizalde/template-agentic/.claude/skills/task/skills/start .claude/skills/start
$ npx degit BorjaElizalde/template-agentic/.claude/skills/task/skills/status .claude/skills/status
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/BorjaElizalde/template-agentic/develop/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/code-trimmer.md https://raw.githubusercontent.com/BorjaElizalde/template-agentic/develop/.claude/agents/code-trimmer.md
$ curl -fsSL --create-dirs -o .claude/agents/simplicity-reviewer.md https://raw.githubusercontent.com/BorjaElizalde/template-agentic/develop/.claude/agents/simplicity-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/BorjaElizalde/template-agentic/develop/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/code-trimmer.md https://raw.githubusercontent.com/BorjaElizalde/template-agentic/develop/template/.claude/agents/code-trimmer.md
$ curl -fsSL --create-dirs -o .claude/agents/simplicity-reviewer.md https://raw.githubusercontent.com/BorjaElizalde/template-agentic/develop/template/.claude/agents/simplicity-reviewer.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Edit(**/.env)",
      "Edit(**/.env.*)",
      "Read(**/.env)",
      "Read(**/.env.*)",
      "Read(**/id_rsa)",
      "Read(**/id_ed25519)",
      "Bash(pip:*)",
      "Bash(pip3:*)",
      "Bash(python:*)",
      "Bash(python3:*)",
      "Bash(claude -p:*)",
      "Bash(claude --print:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/bash-guard.sh\""
          },
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/memory/guard.sh\""
          }
        ]
      },
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/worktree-guard.sh\""
          },
          {
            "type": "command",
            "command": "bash \"$CLAUDE_PROJECT_DIR/.claude/hooks/practices/guard.sh\""
          }
        ]
      }
    ]
  }
}

Skills (7)

Subagents (6)

code-reviewer>-
code-trimmer>-
simplicity-reviewer>-
code-reviewer>-
code-trimmer>-
simplicity-reviewer>-

Hooks (7)

eventmatcherruns
SessionStartstartup|resumebash "$CLAUDE_PROJECT_DIR/.claude/skills/task/scripts/task.sh" on-session-start
PreToolUseBashbash "$CLAUDE_PROJECT_DIR/.claude/hooks/bash-guard.sh"
PreToolUseBashbash "$CLAUDE_PROJECT_DIR/.claude/hooks/memory/guard.sh"
PreToolUseEdit|Write|MultiEditbash "$CLAUDE_PROJECT_DIR/.claude/hooks/worktree-guard.sh"
PreToolUseEdit|Write|MultiEditbash "$CLAUDE_PROJECT_DIR/.claude/hooks/practices/guard.sh"
PostToolUseEdit|Write|MultiEditf="$CLAUDE_PROJECT_DIR/.claude/hooks/stack/format.sh"; [ ! -f "$f" ] || bash "$f"
PostToolUseEdit|Write|MultiEditbash "$CLAUDE_PROJECT_DIR/.claude/hooks/memory/guard.sh"

Permissions

deny (12)
Edit(**/.env)
Edit(**/.env.*)
Read(**/.env)
Read(**/.env.*)
Read(**/id_rsa)
Read(**/id_ed25519)
Bash(pip:*)
Bash(pip3:*)
Bash(python:*)
Bash(python3:*)
Bash(claude -p:*)
Bash(claude --print:*)
ask (0)
—
allow (22)
WebSearch
WebFetch
Bash(make:*)
Bash(git:*)
Bash(uv:*)
Bash(npm run:*)
Bash(npm install:*)
Bash(npx:*)
Bash(gh pr create:*)
Bash(gh pr view:*)
Bash(gh pr list:*)
Bash(gh pr checks:*)
Bash(gh pr diff:*)
Bash(gh pr comment:*)
Bash(gh pr edit:*)
Bash(gh pr status:*)
Bash(gh pr ready:*)
Bash(gh issue create:*)
Bash(gh issue list:*)
Bash(gh issue view:*)
Bash(gh issue comment:*)
Bash(gh issue edit:*)

Similar rigs

copied ✓