A comprehensive collection of production-grade Claude Code configurations, specialized agents, and automation workflows for optimizing AI-assisted development
This repository serves as an educational reference for developers looking to maximize their productivity with Claude Code. It demonstrates advanced configuration patterns, custom agents, and automation workflows that have been refined through extensive real-world usage in building production AI systems, MCP servers, and vector databases.
- π€ Create specialized AI agents for domain-specific expertise
- βοΈ Configure advanced permissions and security controls
- π§ Build custom commands for complex workflows
- π Automate repetitive tasks with intelligent hooks
- πΎ Implement memory systems with vector search
- ποΈ Deploy production MCP servers with monitoring
- π Debug and optimize AI-assisted development
.claude/
βββ agents/ # 15 specialized AI agents (~15,000 lines)
βββ commands/ # 7 custom workflow commands
βββ hooks/ # 2 automation scripts
βββ settings.json # Central configuration hub
This configuration includes 15 expert agents, each with deep domain knowledge and specific capabilities:
code-reviewer- Comprehensive code review with security focusdebugger- Systematic debugging and root cause analysistest-runner- Automated testing with MCP protocol validation
mcp-protocol-expert- Protocol debugging and compliance validationmcp-sdk-builder- SDK implementation patternsmcp-transport-expert- Transport layers (stdio, HTTP, SSE, WebSocket)mcp-types-expert- TypeScript type system and Zod schemas
neon-drizzle-expert- Neon PostgreSQL with Drizzle ORMpgvector-advanced- Advanced pgvector v0.8.0 featuresvector-search-expert- Semantic search and embeddings
memory-architecture- Database design and indexing strategiesmemory-lifecycle- Consolidation and expiration managementmemory-validator- Data integrity and validationcompanion-architecture- Multi-tenant AI companion systemsproduction-deployment- HTTPS deployment with Kubernetes
Streamline complex workflows with these custom commands:
/setup quick # Quick project setup
/setup full # Complete environment with all dependencies
/setup database # Database-focused initialization/test # Generate comprehensive test suites
/review # Security-focused code review
/explain # Context-aware code explanation/mcp-debug # Debug MCP protocol issues
/memory-ops # Test memory CRUD operations
/perf-monitor # Performance profilingAutomatically triggered on file modifications:
- β
Type checking with
tsc --noEmit - β¨ Prettier formatting
- π§ ESLint fixing
- π§ͺ Test execution for test files
- π Smart filtering (skips node_modules, build dirs)
- π Logs all executed commands for audit trails
- β±οΈ Timestamps for debugging
{
"permissions": {
"allow": [
"Read", "Grep", "Glob", "LS",
"Bash(npm test:*)",
"Write(**/*.ts)"
],
"deny": [
"Read(./.env)",
"Bash(rm -rf:*)",
"Bash(git push:*)"
]
}
}- π Whitelist approach for commands
- π« Prevents access to sensitive files
- β Scoped write permissions
- π‘οΈ Git operation safety
Use the memory-focused agents to:
- Design vector-indexed database schemas
- Implement semantic search with pgvector
- Handle memory lifecycle and consolidation
- Deploy with production monitoring
Leverage deployment agents for:
- Docker containerization with security hardening
- Kubernetes orchestration with auto-scaling
- Prometheus/Grafana monitoring setup
- Structured logging and distributed tracing
Build multi-tenant companion systems with:
- Isolated memory spaces per user
- Token-based authentication
- Rate limiting and quota management
- Conversation history with vector search
# Explore the agents
ls -la .claude/agents/
# Review custom commands
cat .claude/commands/setup.md
# Examine hooks
cat .claude/hooks/typescript-dev.sh- Choose relevant agents for your domain
- Customize commands for your tech stack
- Configure permissions based on your security needs
- Set up hooks for your development workflow
"env": {
"DATABASE_URL": "postgresql://user:pass@host/dbname?sslmode=require",
"OPENAI_API_KEY": "sk-your-openai-api-key-here",
"MCP_SERVER_PORT": "3000"
}"hooks": {
"PostToolUse": [{
"matcher": "Edit|MultiEdit|Write",
"hooks": [{
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/hooks/typescript-dev.sh"
}]
}]
}- 15 Specialized Agents - ~15,000 lines of domain expertise
- 7 Custom Commands - Covering full development lifecycle
- 2 Automation Hooks - TypeScript and logging automation
- 109 Lines of Settings - Fine-tuned configuration
- Version-Locked Stack - Production-tested dependencies
This configuration is optimized for:
- TypeScript & Node.js development
- PostgreSQL 17 with Neon serverless
- Drizzle ORM v0.44.4 for type-safe database access
- pgvector v0.8.0 for vector similarity search
- MCP SDK for protocol implementation
- Docker & Kubernetes for deployment
- π 10x Faster Development - Specialized agents handle complex tasks
- π‘οΈ Enhanced Security - Multi-layered permission controls
- π€ Automated Workflows - Hooks handle routine tasks
- π Built-in Expertise - Deep domain knowledge in agents
- π§ Production-Ready - Deployment and monitoring included
- π§ͺ Quality Assurance - Automated testing and review
While this is primarily a reference repository, suggestions for improvements are welcome. Consider:
- Additional agent specializations
- New workflow commands
- Enhanced automation hooks
- Security improvements
This configuration reference is provided as-is for educational purposes. Adapt and modify for your specific needs.
- Reference Only - This repository is for learning, not direct cloning
- Placeholder Values - All credentials are examples only
- Customize for Your Needs - Adapt patterns to your specific workflow
- Security First - Always review and adjust permissions for your environment
- Start Simple - Begin with
settings.jsonpermissions - Add Commands - Implement one custom command
- Integrate Agents - Add relevant specialized agents
- Automate - Set up hooks for your workflow
- Iterate - Refine based on your experience
Built with β€οΈ for the Claude Code community
Transform your AI-assisted development with production-grade configurations