~ / rigs / Matt-Dionis / claude-code-configs

Matt-Dionis/claude-code-configs

No description.

↗ GitHub ★ 621 mit updated 1.1y ago personal setup Claude Code
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~7.7k tokens
Heavy · median rig: 2.2k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit Matt-Dionis/claude-code-configs/configurations/databases/drizzle/.claude ./rig-claude-code-configs  # 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/nextjs-app-router.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-app-router.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-data-fetching.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-data-fetching.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-debugging.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-debugging.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-deployment.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-deployment.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-migration.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-migration.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-performance.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-performance.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-security.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-security.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-server-actions.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-server-actions.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-server-components.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-server-components.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-testing.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-testing.md
$ curl -fsSL --create-dirs -o .claude/agents/nextjs-typescript.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/frameworks/nextjs-15/.claude/agents/nextjs-typescript.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/companion-architecture.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/companion-architecture.md
$ curl -fsSL --create-dirs -o .claude/agents/debugger.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/debugger.md
$ curl -fsSL --create-dirs -o .claude/agents/mcp-protocol-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/mcp-protocol-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/mcp-sdk-builder.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/mcp-sdk-builder.md
$ curl -fsSL --create-dirs -o .claude/agents/mcp-transport-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/mcp-transport-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/mcp-types-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/mcp-types-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/memory-architecture.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/memory-architecture.md
$ curl -fsSL --create-dirs -o .claude/agents/memory-lifecycle.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/memory-lifecycle.md
$ curl -fsSL --create-dirs -o .claude/agents/memory-validator.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/memory-validator.md
$ curl -fsSL --create-dirs -o .claude/agents/neon-drizzle-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/neon-drizzle-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/pgvector-advanced.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/pgvector-advanced.md
$ curl -fsSL --create-dirs -o .claude/agents/production-deployment.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/production-deployment.md
$ curl -fsSL --create-dirs -o .claude/agents/test-runner.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/test-runner.md
$ curl -fsSL --create-dirs -o .claude/agents/vector-search-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/memory-mcp-server/.claude/agents/vector-search-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/deployment-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/simple-mcp-server/.claude/agents/deployment-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/error-handler.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/simple-mcp-server/.claude/agents/error-handler.md
$ curl -fsSL --create-dirs -o .claude/agents/mcp-architect.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/simple-mcp-server/.claude/agents/mcp-architect.md
$ curl -fsSL --create-dirs -o .claude/agents/resource-manager.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/simple-mcp-server/.claude/agents/resource-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/test-writer.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/simple-mcp-server/.claude/agents/test-writer.md
$ curl -fsSL --create-dirs -o .claude/agents/tool-builder.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/simple-mcp-server/.claude/agents/tool-builder.md
$ curl -fsSL --create-dirs -o .claude/agents/auth-flow-debugger.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/token-gated-mcp-server/.claude/agents/auth-flow-debugger.md
$ curl -fsSL --create-dirs -o .claude/agents/fastmcp-builder.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/token-gated-mcp-server/.claude/agents/fastmcp-builder.md
$ curl -fsSL --create-dirs -o .claude/agents/radius-sdk-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/token-gated-mcp-server/.claude/agents/radius-sdk-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/token-economics-designer.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/token-gated-mcp-server/.claude/agents/token-economics-designer.md
$ curl -fsSL --create-dirs -o .claude/agents/web3-security-auditor.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/mcp-servers/token-gated-mcp-server/.claude/agents/web3-security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/computer-use-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/tooling/vercel-ai-sdk/.claude/agents/computer-use-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/edge-runtime-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/tooling/vercel-ai-sdk/.claude/agents/edge-runtime-expert.md
$ curl -fsSL --create-dirs -o .claude/agents/generative-ui-expert.md https://raw.githubusercontent.com/Matt-Dionis/claude-code-configs/main/configurations/tooling/vercel-ai-sdk/.claude/agents/generative-ui-expert.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": [
      "Read(.env.production)",
      "Read(.env.local)",
      "Write(.env)",
      "Bash(npm publish:*)",
      "Bash(rm -rf:*)",
      "Read(.env.production)",
      "Read(.env.local)",
      "Write(.env)",
      "Bash(rm -rf:*)",
      "Bash(npm publish:*)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Write",
        "hooks": [
          {
            "type": "command",
            "command": "echo 'Creating/updating file: $FILE_PATH'"
          }
        ]
      }
    ]
  }
}

Subagents (61)

nextjs-app-routerNext.js 15 App Router specialist for routing, layouts, and navigation. Use PROACTIVELY when creating pages, layouts, or configuring routes. Expert in file-based routing, dynamic routes, route groups,
nextjs-data-fetchingData fetching and caching expert for Next.js 15. Use PROACTIVELY when implementing data fetching, configuring caches, or optimizing performance. Expert in fetch API, caching strategies, revalidation,
nextjs-debuggingDebugging specialist for Next.js 15. Use PROACTIVELY when encountering errors, debugging issues, or troubleshooting problems. Expert in React DevTools, Next.js debugging, and error resolution.
nextjs-deploymentDeployment and production optimization expert for Next.js 15. Use PROACTIVELY when configuring deployments, Docker containers, CI/CD pipelines, or production optimizations for Vercel, AWS, or self-hos
nextjs-migrationMigration specialist for Next.js upgrades and architecture transitions. Use PROACTIVELY when migrating from Pages Router to App Router, upgrading Next.js versions, or migrating from other frameworks.
nextjs-performancePerformance optimization specialist for Next.js 15. Use PROACTIVELY when optimizing bundle size, improving Core Web Vitals, implementing code splitting, or analyzing performance issues.
nextjs-securitySecurity specialist for Next.js 15 applications. Use PROACTIVELY when implementing authentication, authorization, data validation, CSP, or addressing security vulnerabilities. Expert in security best
nextjs-server-actionsServer Actions expert for Next.js 15. Use PROACTIVELY when implementing forms, mutations, or server-side data operations. Specializes in type-safe server actions, form handling, validation, and progre
nextjs-server-componentsReact Server Components and Client Components expert for Next.js 15. Use PROACTIVELY when optimizing component boundaries, implementing data fetching, or fixing hydration issues. Specializes in server
nextjs-testingTesting specialist for Next.js 15 applications. Use PROACTIVELY when setting up tests, fixing test failures, or implementing testing strategies. Expert in Jest, Vitest, Playwright, and Cypress configu
nextjs-typescriptTypeScript expert for Next.js 15. Use PROACTIVELY when setting up types, fixing type errors, or implementing type-safe patterns. Expert in Next.js-specific types and generics.
code-reviewerPerforms comprehensive code reviews. Use PROACTIVELY after implementing features or making changes.
companion-architectureExpert in multi-tenant AI companion architecture, isolation strategies, companion lifecycle management, and scaling patterns for production companion services.
debuggerDebug specialist. Use PROACTIVELY when errors occur.
mcp-protocol-expertMCP protocol specialist for debugging server connections, validating protocol compliance, and troubleshooting MCP implementations. Deep knowledge of @modelcontextprotocol/sdk internals. Use PROACTIVEL
mcp-sdk-builderExpert in MCP SDK implementation patterns, TypeScript interfaces, and server initialization. Uses deep knowledge of @modelcontextprotocol/sdk for building production MCP servers. Use PROACTIVELY when
mcp-transport-expertExpert in MCP transport layers (stdio, StreamableHTTP, SSE, WebSocket). Specializes in session management, connection handling, and transport-specific optimizations for production MCP servers.
mcp-types-expertTypeScript and MCP type system specialist. Expert in JSON-RPC message formats, Zod schemas, type-safe implementations, and protocol compliance. Ensures type safety across the entire MCP implementation
memory-architectureSpecialist in designing memory persistence systems with user/agent segregation, indexing strategies, and scalable storage patterns. Expert in database schema design and memory retrieval optimization.
memory-lifecycleExpert in memory consolidation, expiration, archival strategies, and lifecycle management for AI companion memories. Specializes in memory decay models, importance scoring, deduplication, and efficien
memory-validatorSpecialist for memory persistence operations, CRUD validation, and memory MCP server testing using @modelcontextprotocol/sdk patterns. Use when implementing or debugging memory-related features.
neon-drizzle-expertExpert in Neon PostgreSQL (v17), Drizzle ORM (v0.44.4), and Zod (v4.0.17) schema validation for production memory systems. Specializes in serverless PostgreSQL patterns with @neondatabase/serverless (
pgvector-advancedExpert in advanced pgvector v0.8.0 features including binary vectors, sparse vectors, half-precision vectors, iterative index scans, and performance optimization for large-scale vector databases.
production-deploymentExpert in production deployment of MCP servers over HTTPS with PostgreSQL 17, Neon, Drizzle ORM v0.44.4, and pgvector v0.8.0. Specializes in containerization, orchestration, monitoring, security, and
test-runnerAutomatically runs tests and fixes failures. Use PROACTIVELY when implementing new features, fixing bugs, or testing MCP servers.
vector-search-expertExpert in semantic search, vector embeddings, and pgvector v0.8.0 optimization for memory retrieval. Specializes in OpenAI embeddings, HNSW/IVFFlat indexes with iterative scans, hybrid search strategi
deployment-expert—
error-handler—
mcp-architect—
resource-manager—
test-writer—
tool-builder—
auth-flow-debuggerAuthentication flow debugging specialist. Use PROACTIVELY when encountering EVMAUTH errors, proof issues, or <redacted> failures.
fastmcp-builderFastMCP server development expert. Use PROACTIVELY when creating MCP servers, adding tools/resources/prompts, or configuring transport layers.
radius-sdk-expertExpert in Radius MCP SDK implementation, token protection, and proof verification. Use PROACTIVELY when implementing token-gated tools or debugging authentication issues.
token-economics-designerToken economics and tier design specialist. Use when designing pricing models, access tiers, or <redacted> strategies.
web3-security-auditorWeb3 security specialist for smart contract interactions and cryptographic operations. Use PROACTIVELY when handling sensitive Web3 operations.
computer-use-expertSpecialist in building computer use automation with Claude 3.5 Sonnet for screen interaction, browser automation, and system control. Use PROACTIVELY when building automation, testing, or computer int
edge-runtime-expertSpecialist in Edge Runtime optimization, Vercel deployment, and performance optimization for AI SDK applications. Use PROACTIVELY when deploying, optimizing, or building for edge environments.
generative-ui-expertSpecialist in building dynamic generative UI with streamUI and real-time component generation. Use PROACTIVELY when building dynamic interfaces, adaptive UIs, or streaming component generation.

Hooks (3)

eventmatcherruns
PostToolUseWritenpx prettier --write $FILE_PATH
PreToolUseWriteecho 'Creating/updating file: $FILE_PATH'
PostToolUseWrite|Editnpx prettier --write $FILE_PATH

Slash commands (53)

/migrate/schema/analyze-performance/create-page/create-server-action/migrate-to-app-router/optimize-components/setup-testing/explain/mcp-debug/memory-ops/perf-monitor/review/setup/test/add-prompt/add-resource/add-tool/build/debug/deploy/init/test/create-tool/debug-proof/deploy-local/setup-token-gate/test-auth/validate-config/ai-advanced-features-setup/ai-chat-setup/ai-experimental-setup/ai-monitoring-setup/ai-provider-setup/ai-rag-setup/ai-streaming-setup/ai-tools-setup/add-component/add/analyze-accessibility/create-data-table/create-variant/migrate-component/optimize-bundle/setup-dark-mode/setup-form/add-plugin/analyze-usage/component/create-component/init-tailwind/optimize-config/setup-dark-mode

Permissions

deny (10)
Read(.env.production)
Read(.env.local)
Write(.env)
Bash(npm publish:*)
Bash(rm -rf:*)
Read(.env.production)
Read(.env.local)
Write(.env)
Bash(rm -rf:*)
Bash(npm publish:*)
ask (0)
—
allow (24)
Bash(npm run db:*)
Bash(npx drizzle-kit:*)
Bash(npm run migrate:*)
Bash(npm run seed:*)
Write(drizzle/**/*)
Write(src/schema/**/*)
Write(src/lib/db.ts)
Read(drizzle.config.ts)
Read(package.json)
Bash(npm run dev:*)
Bash(npm run build:*)
Bash(npm run lint:*)
Bash(npm run test:*)
Bash(npm run type-check:*)
Bash(npx next:*)
Write(app/**/*)
Write(src/**/*)
Write(components/**/*)
Write(lib/**/*)
Write(public/**/*)
Read(next.config.js)
Read(package.json)
Read(tsconfig.json)
Edit(tailwind.config.js)

Similar rigs

copied ✓