diegosvart/main-base-claude-code
Claude Code project template with inception agent, specialized subagents, and quality-enforced workflows. From idea to codebase in one structured discovery session.
stack: Shell
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
Copy this rig
# review before running: this installs third-party code
$ npx degit diegosvart/main-base-claude-code/.claude ./rig-main-base-claude-code # 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.
$ curl -fsSL --create-dirs -o .claude/agents/architecture.md https://raw.githubusercontent.com/diegosvart/main-base-claude-code/docs/adrs-004-to-007/.claude/agents/architecture.md $ curl -fsSL --create-dirs -o .claude/agents/backend.md https://raw.githubusercontent.com/diegosvart/main-base-claude-code/docs/adrs-004-to-007/.claude/agents/backend.md $ curl -fsSL --create-dirs -o .claude/agents/dba.md https://raw.githubusercontent.com/diegosvart/main-base-claude-code/docs/adrs-004-to-007/.claude/agents/dba.md $ curl -fsSL --create-dirs -o .claude/agents/frontend.md https://raw.githubusercontent.com/diegosvart/main-base-claude-code/docs/adrs-004-to-007/.claude/agents/frontend.md $ curl -fsSL --create-dirs -o .claude/agents/tl-orchestrator.md https://raw.githubusercontent.com/diegosvart/main-base-claude-code/docs/adrs-004-to-007/.claude/agents/tl-orchestrator.md
This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(git push --force:*)",
"Read(**/*.pem)",
"Read(.env)",
"Read(~/.aws/**)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(git push --force*)",
"Bash(rm -rf *)",
"Bash(rm -rf:*)",
"Bash(sudo *)",
"Bash(sudo:*)",
"Bash(rm -rf /)",
"Bash(git push -f:*)",
"Read(.env.*)",
"Read(./secrets/**)",
"Bash(git reset --hard*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(gh pr merge *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(gh pr merge:*)",
"Bash(npm publish:*)",
"Bash(git reset --hard:*)",
"Bash(git clean *)",
"Bash(git rebase *)"
]
}
} Subagents (5)
| architecture | > |
| backend | > |
| dba | > |
| frontend | > |
| tl-orchestrator | > |
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | echo '=== SESSION START ===' && (git branch --show-current 2>/dev/null || echo '(not a git repo)') && echo '' && echo '--- Recent Commits (last 5) ---' && (git log --oneline -5 2>/dev/null || echo '(no git history)') && echo '' && echo '⚡ P |
| PostToolUse | Write | FILE=$(echo $CLAUDE_TOOL_INPUT | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('file_path',''))" 2>/dev/null); if echo "$FILE" | grep -q '\.py$'; then ruff format "$FILE" 2>/dev/null; ruff check --fix "$FILE" 2>/dev/null; |
| PostToolUse | Bash | CMD=$(echo $CLAUDE_TOOL_INPUT | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('command','')[:120])" 2>/dev/null); echo "[audit] bash: $CMD" >> .claude/session-audit.log 2>/dev/null; true |
| Stop | * | osascript -e 'display notification "Task complete" with title "Claude Code"' 2>/dev/null || notify-send 'Claude Code' 'Task complete' 2>/dev/null || echo '[claude] Task complete'; true |
Slash commands (6)
/close-phase/commit/create-pr/deploy/new-feature/review
Similar rigs
towerforge/claude-agents
Lists the Claude Code subagents on disk and shows which ones are running, what they were asked to do, how long they worked and the tokens they used.
Orchestrator 1.3k tok · · Q0
eugeek/claude-config-tdd
Claude Code config with TDD workflow, plan -> tests -> red -> implementation -> green -> review -> shipment
Orchestrator 5.8k tok · · Q29
Caezarr/Vulcan
Vulcan: Features shipping
Orchestrator 3.0k tok · · Q0
Tura-AI/tura
Build agent that uses 80% less token and delivers better results.
Pragmatist 38 tok · · Q0