ClaudeGlobalCommands
No description available
Install / Use
/learn @GGPrompts/ClaudeGlobalCommandsQuality Score
Category
Development & EngineeringSupported Platforms
README
CCGlobalCommands
A comprehensive collection of optimized AI agents and workflows for Claude Code, designed to enhance productivity across software development, business analysis, and infrastructure management.
🚀 Features
- 30+ Specialized AI Agents - Expert assistance across all domains
- 15+ Multi-Agent Workflows - Coordinated automation for complex tasks
- Token Optimized - 45% reduction in API costs through smart design
- Hierarchical Architecture - Efficient orchestration patterns
- Visual Testing - Automated CSS regression detection with Playwright
- Production Ready - Battle-tested prompts with extensive optimization
📖 Quick Start
Installation
git clone https://github.com/YourUsername/CCGlobalCommands.git
cd CCGlobalCommands
Usage in Claude Code
- Get Help:
/guide- Comprehensive command overview - List Agents:
/agents- Browse all AI specialists - Start Tasks:
/execute <task>- Quick task execution - Run Workflows:
/workflows <name>- Multi-agent automation
Core Commands
| Command | Purpose | Token Cost |
|---------|---------|------------|
| /guide | Help system and command overview | ~500 |
| /agents | Directory of all AI specialists | ~1,000 |
| /prompt-engineer | Optimize prompts for better results | ~2,000 |
| /senior-engineer | Code reviews and architecture guidance | ~2,500 |
| /documentation | Technical documentation generation | ~1,500 |
| /workflows | Multi-step automated processes | ~1,000 |
| /execute | Quick task execution with smart routing | ~2,000 |
Featured Workflows
| Workflow | Description | Token Cost |
|----------|-------------|------------|
| css-safety-check | Prevent visual regressions before deployment | ~3,000 |
| visual-testing | Comprehensive UI testing with screenshots | ~3,500 |
| code-review | Multi-perspective code analysis | ~3,500 |
| documentation-update | Hierarchical doc generation | ~2,500 |
| start-workflow | Automated project planning | ~4,000 |
🏗️ Project Structure
CCGlobalCommands/
├── commands/ # Core optimized commands
│ ├── guide.md # Master help system
│ ├── agents.md # Agent directory
│ ├── prompt-engineer.md # Prompt optimization
│ ├── senior-engineer.md # Technical guidance
│ ├── documentation.md # Documentation expert
│ ├── workflows.md # Workflow catalog
│ ├── cicd-orchestrator.md # CI/CD management
│ ├── incident-commander.md # Crisis response
│ └── execute.md # Quick task execution
├── _archive/ # Specialized agents
│ ├── business/ # Business specialists
│ ├── engineering/ # Development specialists
│ └── infrastructure/ # Cloud/DevOps specialists
├── workflows/ # Multi-agent workflows
│ ├── css-safety-check.md
│ ├── visual-testing.md
│ ├── documentation-update.md
│ └── start-workflow.md
├── setup/ # Optimization utilities
└── docs/ # Documentation
🎯 Usage Examples
Basic Commands
# Get help with available commands
/guide
# List all AI specialists
/agents
# Quick task execution
/execute "optimize this React component for performance"
# Get code reviewed
/senior-engineer "review my authentication system"
Workflows
# Prevent CSS regressions
/workflows css-safety-check
# Comprehensive UI testing
/workflows visual-testing
# Update documentation
/workflows documentation-update
# Plan new features
/workflows start-workflow
Specialized Agents
# Visual design help
/load _archive/engineering/visual-designer
# Cloud architecture
/load _archive/infrastructure/cloud-architect
# Business strategy
/load _archive/business/marketing-expert
🔧 Available Agents
Core Agents (Always Available)
- Guide - Command help and navigation
- Agents - Specialist directory and search
- Prompt Engineer - Optimize prompts for better results
- Senior Engineer - Code reviews and architecture
- Documentation - Technical writing and docs
- Workflows - Multi-agent process coordination
- CI/CD Orchestrator - Pipeline management
- Incident Commander - Crisis response coordination
- Execute - Quick task execution and routing
Engineering Specialists (In Archive)
- Visual Designer - CSS, animations, responsive design
- Frontend Engineer - React, Vue, Angular development
- Backend Engineer - APIs, microservices, databases
- QA Automation - Testing strategies and automation
- Security Engineer - Security audits and compliance
- Performance Optimizer - Application optimization
- Data Engineer - ETL pipelines and data architecture
Business Specialists (In Archive)
- Marketing Expert - Marketing strategies and campaigns
- Legal Expert - Legal compliance and contracts
- Project Manager - Project planning and coordination
- Product Manager - Product strategy and roadmaps
Infrastructure Specialists (In Archive)
- Cloud Architect - Multi-cloud architecture design
- Kubernetes Specialist - Container orchestration
- Terraform Expert - Infrastructure as Code
🔄 Workflows Overview
Development Workflows
- Code Review - Multi-perspective code analysis
- CSS Safety Check - Visual regression prevention
- Visual Testing - Comprehensive UI validation
- Documentation Update - Hierarchical doc generation
Planning Workflows
- Start Workflow - Automated project planning
- Feature Planning - Complete feature design process
- Migration Planning - System migration roadmaps
Operations Workflows
- Incident Response - Coordinated crisis management
- Performance Optimization - System-wide improvements
- Security Audit - Comprehensive security review
🚀 Optimization Achievements
This project implements advanced token optimization techniques:
- 47.8% Token Reduction across all commands
- Hierarchical Architecture replaces parallel processing for 40% savings
- YAML Format reduces XML overhead by 60%
- Template Extraction eliminates duplication
- Smart Orchestration minimizes context switching
Before/After Comparison
| Component | Original Tokens | Optimized Tokens | Savings | |-----------|-----------------|------------------|---------| | Core Commands | ~17,575 | ~8,902 | 49.3% | | Workflows | ~27,500 | ~16,500 | 40.0% | | Total | 45,075 | 25,402 | 43.7% |
🔧 Installation Options
Option 1: Direct Use
# Clone and use directly
git clone https://github.com/YourUsername/CCGlobalCommands.git
cd CCGlobalCommands
# Use commands directly
cat commands/guide.md | claude
Option 2: Claude Code Integration
# Copy to Claude Code commands directory
cp -r commands/* ~/.claude/commands/
cp -r workflows/* ~/.claude/workflows/
Option 3: Selective Installation
# Install only core commands
cp commands/{guide,agents,senior-engineer,workflows}.md ~/.claude/commands/
# Add specific workflows
cp workflows/{css-safety-check,visual-testing}.md ~/.claude/workflows/
📊 Token Usage Guidelines
Command Categories
- 🟢 Light (500-1,500 tokens): Help, directory commands
- 🟡 Medium (1,500-3,000 tokens): Single agent tasks
- 🟠 Heavy (3,000-5,000 tokens): Complex analysis
- 🔴 Intensive (5,000+ tokens): Multi-agent workflows
Cost Management Tips
- Start with light commands for exploration
- Use workflows for complex tasks to minimize token waste
- Leverage the
/executecommand for intelligent routing - Monitor usage with token estimates provided
🛠️ Development
Adding New Commands
# Follow the optimized YAML structure
role: "Your agent's role and expertise"
motivation: "Why this agent exists"
core_function: "🎯 Primary purpose in one line"
token_estimate: "X,XXX-X,XXX tokens per request"
responsibilities:
- List of key capabilities
- Specific and actionable items
Testing Commands
# Validate YAML syntax
python setup/utilities/prompt-validator.py commands/new-command.md
# Count tokens
python setup/utilities/token-counter.py commands/new-command.md
Contributing
- Fork the repository
- Create a feature branch
- Follow the optimization guidelines
- Test thoroughly
- Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
📈 Performance Benefits
Speed Improvements
- 30-45% faster workflow execution
- Reduced context switching through hierarchical design
- Smart caching of common patterns
Cost Savings
- 43.7% token reduction = proportional API cost savings
- Efficient orchestration minimizes redundant processing
- Progressive enhancement loads only what's needed
Maintainability
- Standardized YAML format across all commands
- Shared component library reduces duplication
- Template system ensures consistency
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Acknowledgments
- Optimized for Claude Code and Claude 3.5 Sonnet
- Inspired by AI agent orchestration patterns
- Built with token efficiency and cost optimization in mind
📞 Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Wiki
CCGlobalCommands - Optimized AI assistance for the modern developer
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
