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.
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 7,204 rigs:
{
"permissions": {
"deny": [
"Read(./.env)",
"Read(**/.env)",
"Read(~/.ssh/**)",
"Bash(rm -rf *)",
"Read(**/*.pem)",
"Bash(rm -rf /)",
"Bash(git push --force:*)",
"Bash(sudo *)",
"Read(.env)",
"Bash(rm -rf /*)",
"Read(./.env.*)",
"Read(~/.aws/**)",
"Bash(git push --force*)",
"Bash(rm -rf:*)",
"Read(**/*.key)",
"Read(**/.env.*)",
"Bash(sudo:*)",
"Bash(git reset --hard*)",
"Bash(git reset --hard:*)",
"Read(.env.*)"
],
"ask": [
"Bash(git push:*)",
"Bash(git push *)",
"Bash(git commit:*)",
"Bash(rm *)",
"Bash(rm:*)",
"Bash(git rebase *)",
"Bash(wget *)",
"Bash(npm publish:*)",
"Bash(git commit *)",
"Bash(gh pr merge *)"
]
}
} 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
eugeek/claude-config-tdd
Claude Code config with TDD workflow, plan -> tests -> red -> implementation -> green -> review -> shipment
Orchestrator 5.8k tok ·
Tura-AI/tura
Build agent that uses 80% less token and delivers better results.
Pragmatist 38 tok ·
YounusHussain9/claude-agent-workspace
Multi-repo workspace for Claude Code: plain-language requests, specialist AI agents, approval gates and safety hooks.
Fort Knox 2.0k tok ·
simscal/sapiens-dtj
GitHub-native, human-gated AI workflow for Claude Code: agents execute, sapiens gate every step
Pragmatist 759 tok ·