~ / rigs / mariano-aguero / claude-code-config

mariano-aguero/claude-code-config

My Claude Code configuration · hooks, skills, settings

↗ GitHub ★ 0 no license updated 7mo ago personal setup Claude Code
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~1.7k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit mariano-aguero/claude-code-config/.claude ./rig-claude-code-config  # 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 mariano-aguero/claude-code-config/.claude/skills/solidity .claude/skills/solidity
$ npx degit mariano-aguero/claude-code-config/.claude/skills/web3 .claude/skills/web3
$ curl -fsSL --create-dirs -o .claude/agents/backend-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/backend-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/database-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/database-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/frontend-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/frontend-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/infrastructure-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/infrastructure-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/security-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/security-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/testing-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/testing-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/typescript-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/typescript-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/ui-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/web3-expert.md https://raw.githubusercontent.com/mariano-aguero/claude-code-config/main/.claude/agents/web3-expert.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": "Read",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/block-env-read.js"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/block-dangerous-git.js"
          },
          {
            "type": "command",
            "command": "node .claude/hooks/block-env-read.js"
          }
        ]
      }
    ]
  }
}

Skills (2)

Subagents (10)

backend-expert
model: sonnet
Expert backend developer for TypeScript, Node.js, APIs, and databases. Handles scalable services, REST/GraphQL APIs, database design, authentication, and server architecture.
code-reviewer
model: claude-opus-4-6
Systematic code review agent with evidence-based findings and severity classification. Use for PR reviews, feature reviews, or auditing specific files/modules.
database-expert
model: sonnet
Expert in database design and Drizzle ORM for TypeScript applications. Handles PostgreSQL schema design, migrations, query optimization, indexing strategies, and data modeling patterns.
frontend-expert
model: sonnet # intentionally lighter model — f
Expert frontend developer for TypeScript, React 19, Next.js 16+, and TanStack ecosystem. Handles modern web applications, complex UI, performance optimization, and frontend architecture.
infrastructure-expert
model: sonnet
Expert in DevOps, infrastructure, and cloud deployment. Handles Docker, CI/CD pipelines, GitHub Actions, cloud platforms, Kubernetes, and infrastructure as code.
security-expert
model: claude-opus-4-6
Expert in application security, OWASP best practices, authentication, authorization, and secure coding patterns. Handles security audits, vulnerability prevention, auth implementation, secrets managem
testing-expert
model: sonnet
Expert in testing strategies for TypeScript applications. Handles unit testing with Vitest, integration testing, E2E testing with Playwright, mocking strategies, test architecture, and coverage optimi
typescript-expert
model: sonnet
Expert TypeScript developer specializing in advanced type systems, generics, type inference, and type-safe architecture. Handles complex type challenges, API design, runtime validation with Zod, and c
ui-expert
model: sonnet
Expert UI/UX developer for Tailwind CSS v4, shadcn/ui, Framer Motion, and design systems. Handles beautiful, accessible, and performant user interfaces with attention to detail.
web3-expert
model: claude-opus-4-6
Expert Web3 developer for Solidity smart contracts and blockchain frontend. Handles smart contract development with Foundry, security audits, DeFi/NFT protocols, ERC standards, Layer 2 deployment, acc

Hooks (19)

eventmatcherruns
PreToolUseReadnode .claude/hooks/block-env-read.js
PreToolUseBashnode .claude/hooks/block-dangerous-git.js
PreToolUseBashnode .claude/hooks/block-env-read.js
PostToolUseWrite|Edit|NotebookEditnode .claude/hooks/analysis.js
PostToolUseWrite|Edit|NotebookEditsh -c '[ "${CLAUDE_FORMAT:-1}" = "0" ] || pnpm prettier --write "$CLAUDE_FILE_PATH" 2>/dev/null || true'
PostToolUseWrite|Edit|NotebookEditnode .claude/hooks/lint-with-feedback.js
PostToolUseWrite|Edit|NotebookEditnode .claude/hooks/typecheck.js
PostToolUseWrite|Edit|NotebookEditnode .claude/hooks/track-tech-debt.js
PostToolUseWrite|Edit|NotebookEditnode .claude/hooks/auto-stage.js
UserPromptSubmit*node .claude/hooks/user-prompt-context.js
PreCompact*node .claude/hooks/pre-compact-snapshot.js
SessionStart*node .claude/hooks/session-context.js
Notification*node .claude/hooks/notify.js
Stop*node .claude/hooks/save-session-notes.js
Stop*node .claude/hooks/detect-dead-code.js
Stop*node .claude/hooks/detect-duplicates.js
Stop*node .claude/hooks/pre-pr-checklist.js
Stop*sh -c '[ "${CLAUDE_RUN_TESTS:-0}" = "1" ] && pnpm test 2>/dev/null || true'
Stop*printf '\n💡 Reminder: Run /log-auto before closing the session\n'

Slash commands (22)

/api/route/db/migration/db/schema/feature-spec/git/commit/git/pr/git/review/infra/dockerfile/infra/github-action/next/route/react/component/react/feature/react/hook/react/page/react/test/testing/e2e/testing/test/tooling/audit-package/web3/audit/web3/contract/web3/gas/web3/wagmi-hook

Similar rigs

copied ✓