<h1 align="center">
<a href="https://prompts.chat">
A comprehensive, production-ready modular framework template for Claude Code that achieves 2-10x productivity gains through proven patterns, token optimization, and systematic development workflows.
Sign in to like and favorite skills
A comprehensive, production-ready modular framework template for Claude Code that achieves 2-10x productivity gains through proven patterns, token optimization, and systematic development workflows.
ā If this framework saves you time, you can help me out:
git clone https://gitlab.com/thirteenth_mang/claude-modular.git cd claude-modular cp templates/CLAUDE.md.template CLAUDE.md # Edit CLAUDE.md with your project-specific details
# Copy the .claude directory to your project root cp -r .claude /path/to/your/project/ # Customize configuration for your environment cd /path/to/your/project/.claude/config # Edit settings.json, development.json, etc.
# In your project with Claude Code /project:setup-environment /project:create-feature user-authentication /test:generate-tests /dev:code-review
This framework is based on comprehensive research into modular Claude Code architectures and optimization techniques:
Comprehensive guide to implementing modular setups that achieve 2-10x productivity gains
Teams implementing modular Claude Code setups achieve dramatic productivity improvements by following structured patterns that separate public templates from private configurations, enable gradual migration from monolithic structures, and integrate seamlessly with existing development workflows. This paper documents proven patterns from successful implementations.
Performance optimization research and architectural patterns for maximum effectiveness
Based on extensive research into production implementations, this paper identifies practical strategies for maximizing Claude Code's effectiveness in agentic development workflows. Covers context window optimization, modular architecture benefits, and token management strategies that deliver 50-80% token savings.
your-project/ āāā .claude/ # Framework configuration ā āāā config/ # Environment-specific settings ā ā āāā settings.json # Base configuration ā ā āāā development.json # Dev environment ā ā āāā staging.json # Staging environment ā ā āāā production.json # Production environment ā āāā commands/ # Modular command library ā āāā project/ # Project management ā āāā development/ # Development workflow ā āāā testing/ # Testing automation ā āāā deployment/ # Deployment operations ā āāā documentation/ # Documentation generation āāā CLAUDE.md # Your project-specific configuration āāā [your project files]
Each command follows a proven XML structure:
<instructions> <context>When and why to use this command</context> <requirements>Prerequisites and dependencies</requirements> <execution>Step-by-step implementation</execution> <validation>Quality checks and acceptance criteria</validation> <examples>Concrete usage examples</examples> </instructions>
/project:create-feature - Full feature scaffolding with tests and docs/project:scaffold-component - Component creation with boilerplate/project:setup-environment - Development environment initialization/dev:code-review - Structured code review with automated analysis/dev:refactor-analysis - Code improvement recommendations/dev:debug-session - Systematic debugging and problem solving/test:generate-tests - Comprehensive test suite generation/test:coverage-analysis - Test coverage assessment and improvement/test:integration-tests - Integration test creation and execution/deploy:prepare-release - Release preparation with quality gates/deploy:deploy-staging - Staging deployment with validation/deploy:rollback-procedure - Emergency rollback execution/docs:api-docs - API documentation generation/docs:update-readme - README maintenance and updates/docs:architecture-review - Architecture documentation and reviewThe framework supports layered configuration inheritance:
// Base settings.json { "defaults": { "max_tokens_per_session": 50000, "progressive_disclosure": true } } // development.json overrides { "extends": "./settings.json", "overrides": { "defaults": { "max_tokens_per_session": 100000 } } }
{ "security": { "require_env_vars": true, "audit_logging": true, "permission_validation": true, "secret_scanning": true } }
templates/CLAUDE.md.template with your technologies# Setup new project /project:setup-environment # Create a feature /project:create-feature user-authentication --type=service # Review code /dev:code-review --focus=security,performance # Deploy to staging /deploy:deploy-staging
# Complex feature development /project:create-feature payment-processing --framework=express --database=postgresql # Comprehensive testing /test:generate-tests --types=unit,integration,e2e /test:coverage-analysis --target=90% # Production deployment /deploy:prepare-release --type=major /deploy:deploy-staging --validate /deploy:rollback-procedure --preserve-data
git checkout -b feature/new-commandMIT License - see LICENSE file for details.
Special thanks to the Claude Code community for their contributions, feedback, and the open-source projects that make this framework possible.
Community Contributors: This framework has been shaped by valuable feedback from the Reddit community. See our Community-Driven Improvements tracking issue for transparency on how community suggestions become features.
If this framework has saved you time or improved your workflow, consider supporting its continued development:
Your support helps:
Start building better, faster, and more consistently with Claude Code's modular framework.