Skip to content

puya/claude-cli-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Code Manager

A comprehensive management package for Claude Code configurations with global settings, custom commands, MCP tools, and an upcoming modern desktop application.

🎯 Vision

Transform Claude Code configuration management from manual file editing to streamlined workflows, starting with a powerful script-based package and evolving into an intuitive desktop application.

πŸ“¦ Current Release (Alpha) - Script-Based Package

Available Now: Complete configuration management through automated scripts

βœ… What's Available Today

  • Global Settings: Secure, optimized Claude Code configuration
  • 30+ Custom Commands: Pre-built commands organized by category (testing, git, analysis, docs, deployment, maintenance)
  • MCP Tools: Essential Model Context Protocol servers (GitHub, Memory, Filesystem, Fetch, Sequential Thinking)
  • Hook Templates: Automation for formatting, testing, and notifications
  • Safety Features: Comprehensive backup system and easy rollback
  • Cross-Platform: Works on Windows, macOS, and Linux

πŸš€ Quick Start (Current Alpha)

# Clone the repository
git clone https://github.com/puya/claude-code-manager.git
cd claude-code-manager

# Run the setup script
chmod +x setup.sh
./setup.sh

# That's it! Claude Code is now supercharged! πŸš€

πŸ› οΈ Available Scripts

  • setup.sh - Main installation script with comprehensive backup system, interactive selection, and multiple modes
  • archive/setup-validation.sh - Legacy pre-installation validation (functionality now built into setup.sh)
  • archive/restore-backup.sh - Legacy rollback script (functionality now available via ./setup.sh --restore)

πŸ“ What's Included

claude-code-manager/
β”œβ”€β”€ README.md                           # This file
β”œβ”€β”€ setup.sh                           # Enhanced setup script with interactive interface
β”œβ”€β”€ claude-resources/                   # All Claude configuration resources
β”‚   β”œβ”€β”€ global-settings/
β”‚   β”‚   β”œβ”€β”€ settings.json              # Global Claude Code settings
β”‚   β”‚   └── mcp-config.json            # MCP server configurations
β”‚   β”œβ”€β”€ commands/                      # Global custom commands
β”‚   β”‚   β”œβ”€β”€ testing/
β”‚   β”‚   β”‚   β”œβ”€β”€ test.md               # Run project tests
β”‚   β”‚   β”‚   β”œβ”€β”€ test-coverage.md      # Generate coverage reports
β”‚   β”‚   β”‚   └── lint-fix.md           # Auto-fix linting issues
β”‚   β”‚   β”œβ”€β”€ git/
β”‚   β”‚   β”‚   β”œβ”€β”€ commit-msg.md         # Generate commit messages
β”‚   β”‚   β”‚   β”œβ”€β”€ code-review.md        # Perform code reviews
β”‚   β”‚   β”‚   └── fix-github-issue.md   # Fix GitHub issues
β”‚   β”‚   β”œβ”€β”€ analysis/
β”‚   β”‚   β”‚   β”œβ”€β”€ explain.md            # Explain code files
β”‚   β”‚   β”‚   β”œβ”€β”€ refactor.md           # Refactor code
β”‚   β”‚   β”‚   └── security-audit.md     # Security analysis
β”‚   β”‚   β”œβ”€β”€ docs/
β”‚   β”‚   β”‚   β”œβ”€β”€ docs.md               # Generate documentation
β”‚   β”‚   β”‚   └── changelog.md          # Update changelogs
β”‚   β”‚   β”œβ”€β”€ deployment/
β”‚   β”‚   β”‚   β”œβ”€β”€ deploy.md             # Deploy applications
β”‚   β”‚   β”‚   └── dependency-audit.md   # Check dependencies
β”‚   β”‚   └── maintenance/
β”‚   β”‚       β”œβ”€β”€ cleanup.md            # Project cleanup
β”‚   β”‚       β”œβ”€β”€ performance-audit.md  # Performance analysis
β”‚   β”‚       └── session-start.md      # Start dev sessions
β”‚   β”œβ”€β”€ hooks/
β”‚   β”‚   └── templates/
β”‚   β”‚       β”œβ”€β”€ auto-format.toml      # Auto-format on file edit
β”‚   β”‚       β”œβ”€β”€ pre-commit.toml       # Pre-commit validation
β”‚   β”‚       β”œβ”€β”€ test-runner.toml      # Auto-run tests
β”‚   β”‚       └── notification.toml     # Desktop notifications
β”‚   └── mcp-tools/
β”‚       β”œβ”€β”€ essential-mcp-setup.sh    # Install essential MCP servers
β”‚       β”œβ”€β”€ advanced-mcp-setup.sh     # Install advanced MCP servers
β”‚       └── mcp-servers-list.md       # Complete MCP servers reference
β”œβ”€β”€ setup-scripts/                     # Modular setup system
β”‚   └── modules/                       # Core setup modules
└── docs/                              # Documentation
    β”œβ”€β”€ QUICK-START.md                # Getting started guide
    β”œβ”€β”€ ADVANCED-USAGE.md             # Advanced configurations
    β”œβ”€β”€ TROUBLESHOOTING.md            # Common issues & solutions
    β”œβ”€β”€ COMMUNITY-RESOURCES.md        # Links to all external resources
    └── development/                   # Development planning docs

🎯 What You Get

βš™οΈ Global Settings

  • Comprehensive permissions - Bash, Edit, Read, Write, Create, WebFetch allowed
  • Security safeguards - rm, sudo, and dangerous commands blocked
  • Smart ignore patterns - node_modules, .git, build artifacts automatically ignored
  • Privacy settings - Telemetry disabled by default

πŸ€– 30+ Custom Commands

  • /test - Run all project tests with coverage
  • /git:commit-msg - Generate conventional commit messages
  • /explain [file] - Get detailed code explanations
  • /security-audit - Comprehensive security analysis
  • /deploy [env] - Deploy to any environment
  • /docs - Auto-generate documentation
  • And many more organized by category!

πŸ”— Essential MCP Tools

  • GitHub - Repository management and issue handling
  • Memory - Persistent context across sessions
  • Filesystem - Safe file system access
  • Sequential Thinking - Complex problem solving
  • Fetch - Web content retrieval
  • Puppeteer - Browser automation (optional)

πŸͺ Smart Hooks

  • Auto-formatting - Python (Black), JavaScript (Prettier) on file save
  • Pre-commit validation - Run checks before commits
  • Test automation - Auto-run tests on test file changes
  • Desktop notifications - Get notified when long tasks complete

🎨 Key Features

🌍 Global Configuration

  • Works across all your projects automatically
  • No repetitive setup - configure once, use everywhere
  • Team-shareable project-specific overrides

πŸ“š Command Categories

  • Testing & QA - Comprehensive testing workflows
  • Git & GitHub - Version control automation
  • Code Analysis - Refactoring, security, performance
  • Documentation - Auto-generated docs and guides
  • Deployment - Environment management
  • Maintenance - Cleanup and optimization

πŸ”§ MCP Ecosystem

  • Essential tools for basic workflows
  • Advanced tools for specialized needs
  • Easy installation with automated setup scripts

πŸ“– Quick Commands Reference

# Testing & Quality
/test                    # Run all tests
/test-coverage          # Generate coverage report
/lint-fix               # Fix linting issues

# Git & GitHub
/git:commit-msg         # Generate commit message
/git:code-review        # Review recent changes
/fix-github-issue 123   # Fix specific GitHub issue

# Code Analysis
/explain src/app.js     # Explain code file
/refactor src/old.js    # Refactor code
/security-audit         # Security analysis

# Documentation & Deployment
/docs                   # Generate documentation
/deploy production      # Deploy to production
/cleanup                # Clean up project

πŸš€ Enhanced Setup Options

The new setup script offers multiple modes for different use cases:

# Interactive mode (default) - Beautiful interface with component selection
./setup.sh

# Preview mode - See what would be installed without making changes
./setup.sh --preview

# Dry run - Full simulation of installation process
./setup.sh --dry-run

# Accept all - Install everything with defaults (great for automation)
./setup.sh --accept-all

# Restore from backup - Interactive backup selection and restoration
./setup.sh --restore

# Get help - Show all available options
./setup.sh --help

πŸ”— Community Resources

πŸ† Essential Resources

πŸ› οΈ Advanced Tools

πŸ“Š Monitoring & Analytics

🎯 Specialized Workflows

🧩 Integrations

πŸš€ Advanced Usage

πŸ”§ Customize Settings

Edit ~/.claude/settings.json to modify global preferences:

code ~/.claude/settings.json

πŸ“ Add Custom Commands

Create new commands in ~/.claude/commands/:

echo "# My Custom Command\nYour command instructions here" > ~/.claude/commands/my-command.md

πŸ”— Install Additional MCP Tools

# Essential tools (included in setup)
./claude-resources/mcp-tools/essential-mcp-setup.sh

# Advanced tools (optional)
./claude-resources/mcp-tools/advanced-mcp-setup.sh

πŸͺ Enable Hooks

Copy hook templates to your projects:

cp claude-resources/hooks/templates/*.toml .claude/settings.toml

πŸ”„ Backup and Restore

# List available backups
./setup.sh --list-backups

# Restore from specific backup
./setup.sh --restore backup-name

# Interactive restore (choose from list)
./setup.sh --restore

πŸ†˜ Need Help?

  1. Read the guides in the docs/ folder
  2. Check the troubleshooting guide for common issues
  3. Explore community resources for advanced patterns
  4. Use the built-in help: ./setup.sh --help

🚦 Development Roadmap (Desktop App)

Phase 1: Foundation (Weeks 1-4)

  • Set up Tauri + React project structure
  • Implement basic UI framework
  • Create file system operations
  • Build settings validation

Phase 2: Core Features (Weeks 5-8)

  • Complete configuration management UI
  • Add MCP server management
  • Implement import/export functionality
  • Add backup/restore features

Phase 3: Project Management (Weeks 9-12)

  • Add project detection and management
  • Implement settings inheritance
  • Create multi-project dashboard
  • Add project templates

Phase 4: Community Integration (Weeks 13-16)

  • Build community resource discovery
  • Implement one-click installation
  • Add resource management features
  • Create contribution workflow

Phase 5: Advanced Tools (Weeks 17-20)

  • Integrate ecosystem tools
  • Add tool deployment and monitoring
  • Implement enterprise features
  • Add performance analytics

🎨 Design Principles

Minimal and Clean

  • No feature bloat or unnecessary complexity
  • Focus on essential functionality
  • Clean, intuitive interface design

Local-First

  • All data stored locally
  • No cloud dependencies for core features
  • Privacy-focused approach

Performance-Oriented

  • Fast startup times (<2 seconds)
  • Minimal memory usage (<100MB)
  • Responsive UI interactions

Cross-Platform

  • Native look and feel on all platforms
  • Consistent functionality across OS
  • Platform-specific optimizations

πŸ”§ Getting Started (Current Alpha)

Prerequisites

  • Claude Code installed and working
  • Bash shell (Git Bash on Windows, Terminal on macOS/Linux)
  • Node.js 18+ (optional, for MCP tools)

Installation

# Clone the repository
git clone https://github.com/puya/claude-code-manager.git
cd claude-code-manager

# Method 1: Validate first (recommended)
./setup-validation.sh
./setup.sh

# Method 2: Direct install
./setup.sh

What You Get

  • Global settings with secure permissions and optimized performance
  • 30+ custom commands for testing, git, analysis, docs, and deployment
  • MCP tools for GitHub, memory, filesystem, and more
  • Hook templates for automation
  • Comprehensive backup system for safe configuration

Rollback if Needed

# Restore your previous configuration
./restore-backup.sh

πŸ”§ Future Development Setup (Desktop App)

Prerequisites (When Development Starts)

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install Node.js (for frontend development)
# Download from https://nodejs.org/

# Install Tauri CLI
cargo install tauri-cli

Development Commands (Future)

# Install dependencies
npm install

# Start development server
npm run tauri dev

# Build for production
npm run tauri build

πŸ“Š Success Metrics

Current Alpha Goals

  • Streamlined Claude Code setup in <5 minutes
  • Safe installation with zero configuration loss
  • 30+ useful commands immediately available
  • Community adoption and feedback collection

Future Desktop App Goals

  • 1,000+ active users within 6 months of release
  • <2s startup time, <100MB memory usage
  • 4.5+ average user rating
  • 90% task completion rate

🀝 Contributing

We welcome contributions from the community! Please read our Contributing Guidelines before getting started.

Development Process

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

Code Standards

  • Follow Rust and JavaScript best practices
  • Write comprehensive tests
  • Document all public APIs
  • Follow semantic versioning

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

  • Documentation: Check the docs/ directory
  • Issues: Report bugs on GitHub Issues
  • Discussions: Join community discussions
  • Email: support@claude-code-manager.com

πŸ™ Acknowledgments

  • Anthropic: For creating Claude Code
  • Tauri Team: For the excellent framework
  • Community: For feedback and contributions
  • Contributors: All the amazing people who help build this tool

πŸ“ˆ Roadmap

See ROADMAP.md for detailed development plans and future features.


Built with ❀️ by the Claude Code community

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages