Skip to content

enuno/claude-command-and-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

177 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Command and Control

Comprehensive instruction manuals, templates, and best practices for creating Claude commands, configuring AI agents, and orchestrating multi-agent workflows.

License: MIT Documentation PRs Welcome Ask DeepWiki codecov

GitHub Actions Status

Maintenance Scan Integration Pipeline Security Scanning PR Validation Link Checker Research Monitor


πŸ“‘ Table of Contents

Quick Start

Core Concepts

Getting Started Workflows

Architecture & Patterns

Best Practices & Security

Advanced Topics

Contributing & Community


πŸ“š Overview

The Claude Command and Control repository is the definitive resource for building robust, production-ready AI agent systems. Whether you're creating simple slash commands or complex multi-agent orchestrations, this manual provides the patterns, templates, and best practices you need.

What You'll Find Here

  • πŸ“– Comprehensive Manuals: Seven interconnected documents covering every aspect of command and agent creation
  • 🎯 Ready-to-Use Templates: Production-tested templates for common commands and agent roles
  • πŸ—οΈ Architecture Patterns: Proven orchestration patterns for multi-agent workflows
  • πŸ”’ Security Best Practices: Guidelines for safe, controlled AI agent operations
  • βœ… Quality Standards: Testing, validation, and maintenance strategies
  • πŸš€ Production Guidance: Deployment, monitoring, and lifecycle management

πŸ“‚ Repository Structure

claude-command-and-control/
β”œβ”€β”€ .claude/
β”‚   β”œβ”€β”€ commands/              # 13 active production commands
β”‚   β”œβ”€β”€ agents/                # General agent configurations
β”‚   └── skills/
β”‚       └── registry.json      # Skill discovery and metadata
β”‚
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ best-practices/        # 15 comprehensive instruction manuals
β”‚   β”‚   β”œβ”€β”€ 01-Introduction-and-Core-Principles.md
β”‚   β”‚   β”œβ”€β”€ 02-Individual-Command-Creation.md
β”‚   β”‚   β”œβ”€β”€ 03-Individual-Agent-Configuration.md
β”‚   β”‚   β”œβ”€β”€ 04-Multi-Agent-Orchestration.md
β”‚   β”‚   β”œβ”€β”€ 05-Testing-and-Quality-Assurance.md
β”‚   β”‚   β”œβ”€β”€ 06-Production-Deployment-and-Maintenance.md
β”‚   β”‚   β”œβ”€β”€ 07-Quick-Reference-and-Templates.md
β”‚   β”‚   β”œβ”€β”€ 08-Claude-Skills-Guide.md
β”‚   β”‚   β”œβ”€β”€ 09-Agent-Skills-vs-Multi-Agent.md
β”‚   β”‚   β”œβ”€β”€ 10-Developing-High-Impact-Claude-Skills.md
β”‚   β”‚   β”œβ”€β”€ 11-hybrid-ai-agent-multi-git-worktree-development.md
β”‚   β”‚   β”œβ”€β”€ 12-Skills-First-Planning-and-Orchestration.md
β”‚   β”‚   β”œβ”€β”€ 13-Pict-BDD-Test-Design.md
β”‚   β”‚   β”œβ”€β”€ 14-LLM-Production-Optimization.md
β”‚   β”‚   └── 15-Advanced-Orchestration-Patterns.md
β”‚   β”œβ”€β”€ references/            # Anthropic specifications and guides
β”‚   β”‚   β”œβ”€β”€ agent-skills-specification.md
β”‚   β”‚   β”œβ”€β”€ agent-skills-overview.md
β”‚   β”‚   └── agent-skills-integration-guide.md
β”‚   └── TEMPLATE_CUSTOMIZATION.md
β”‚
β”œβ”€β”€ commands-templates/        # 21 base + 6 orchestration = 27 command templates
β”‚   β”œβ”€β”€ orchestration/         # Multi-agent orchestration commands (basic)
β”‚   β”‚   β”œβ”€β”€ coordinate-workflow.md
β”‚   β”‚   β”œβ”€β”€ orchestrate-feature.md
β”‚   β”‚   β”œβ”€β”€ quality-gate.md
β”‚   β”‚   β”œβ”€β”€ spawn-agents.md
β”‚   β”‚   └── worktree-setup.md
β”‚   β”œβ”€β”€ cleanup.md             # Workspace cleanup automation
β”‚   β”œβ”€β”€ close-session.md       # Session summary and push
β”‚   β”œβ”€β”€ create-skill.md        # Skill generation from docs/GitHub/PDFs
β”‚   β”œβ”€β”€ deps-update.md         # Dependency audit and updates
β”‚   β”œβ”€β”€ docs.md                # Documentation generation
β”‚   β”œβ”€β”€ env-check.md           # Environment health validation
β”‚   β”œβ”€β”€ error-report.md        # Diagnostic report generation
β”‚   β”œβ”€β”€ handoff.md             # Work state handoff documentation
β”‚   β”œβ”€β”€ lint-fixes.md          # Auto-fix code style issues
β”‚   β”œβ”€β”€ plan.md                # Project planning document generation
β”‚   β”œβ”€β”€ pr.md                  # Pull request creation workflow
β”‚   β”œβ”€β”€ search.md              # Codebase search with ranking
β”‚   β”œβ”€β”€ start-session.md       # Context loading and session init
β”‚   β”œβ”€β”€ summarize.md           # Change summarization
β”‚   └── test-all.md            # Comprehensive test suite execution
β”‚
β”œβ”€β”€ agents-templates/          # 10 base + 6 orchestration = 16 specialized agent configurations
β”‚   β”œβ”€β”€ orchestration/         # Advanced orchestration agents (NEW in v1.1)
β”‚   β”‚   β”œβ”€β”€ dag-orchestrator.md          # DAG execution with topological sorting
β”‚   β”‚   β”œβ”€β”€ orchestrator-lead.md         # Multi-agent workflow coordination
β”‚   β”‚   β”œβ”€β”€ performance-monitor.md       # Performance profiling and optimization
β”‚   β”‚   β”œβ”€β”€ pool-manager.md              # Dynamic agent pool management
β”‚   β”‚   β”œβ”€β”€ resilience-orchestrator.md   # Saga pattern and circuit breakers
β”‚   β”‚   β”œβ”€β”€ state-manager.md             # Distributed state with CRDTs
β”‚   β”‚   β”œβ”€β”€ task-coordinator.md          # Task dependency resolution
β”‚   β”‚   β”œβ”€β”€ integration-orchestrator.md  # Result synthesis and merging
β”‚   β”‚   └── monitoring-agent.md          # Real-time progress tracking
β”‚   β”œβ”€β”€ general-agent-skills-first.md    # Generic skills-first agent template (NEW)
β”‚   β”œβ”€β”€ architect.md           # System design and planning (v2.0 consolidated)
β”‚   β”œβ”€β”€ builder.md             # Implementation with TDD
β”‚   β”œβ”€β”€ devops.md              # Infrastructure and CI/CD
β”‚   β”œβ”€β”€ integration-manager.md # Content ingestion system
β”‚   β”œβ”€β”€ maintenance-manager.md # Repository health management
β”‚   β”œβ”€β”€ researcher.md          # Technical research (v2.0 consolidated)
β”‚   β”œβ”€β”€ scribe.md              # Documentation creation
β”‚   └── validator.md           # Testing and security audits
β”‚
β”œβ”€β”€ skills/                    # 20 production-ready skills
β”‚   β”œβ”€β”€ agent-skill-bridge/    # Agent-skill integration patterns
β”‚   β”œβ”€β”€ architect-role-skill/  # Architecture design workflows
β”‚   β”œβ”€β”€ builder-role-skill/    # TDD implementation workflows
β”‚   β”œβ”€β”€ content-research-writer/ # Research + citation workflows
β”‚   β”œβ”€β”€ devops-role-skill/     # Infrastructure workflows
β”‚   β”œβ”€β”€ documentation-update/  # Automated doc updates
β”‚   β”œβ”€β”€ file-categorization/   # File type classification
β”‚   β”œβ”€β”€ researcher-role-skill/ # Research workflows
β”‚   β”œβ”€β”€ root-cause-tracing/    # Systematic debugging
β”‚   β”œβ”€β”€ scribe-role-skill/     # Documentation workflows
β”‚   β”œβ”€β”€ sharing-skills/        # Skill contribution via PR
β”‚   β”œβ”€β”€ skill-creator/         # New skill generation
β”‚   β”œβ”€β”€ skill-orchestrator/    # Multi-skill coordination
β”‚   β”œβ”€β”€ software-architecture/ # Architecture documentation
β”‚   β”œβ”€β”€ subagent-driven-development/ # Isolated subagent execution
β”‚   β”œβ”€β”€ superpowers-lab/       # Meta-skill experimentation
β”‚   β”œβ”€β”€ ui-ux-pro-max/         # 50+ UI/UX design patterns
β”‚   β”œβ”€β”€ using-git-worktrees/   # Isolated workspace management
β”‚   β”œβ”€β”€ using-superpowers/     # Skill discovery and invocation
β”‚   └── validator-role-skill/  # Testing workflows
β”‚
β”œβ”€β”€ skills-templates/          # 31 base + 6 orchestration = 37 skill templates
β”‚   β”œβ”€β”€ orchestration/         # Advanced orchestration skill templates (NEW in v1.1)
β”‚   β”‚   β”œβ”€β”€ agent-pool-manager-skill.md        # Auto-scaling, health monitoring
β”‚   β”‚   β”œβ”€β”€ circuit-breaker-skill.md           # Cascading failure prevention
β”‚   β”‚   β”œβ”€β”€ distributed-state-sync-skill.md    # CRDT implementations
β”‚   β”‚   β”œβ”€β”€ performance-profiler-skill.md      # Token usage profiling
β”‚   β”‚   β”œβ”€β”€ saga-pattern-skill.md              # Compensating transactions
β”‚   β”‚   └── task-dependency-resolver-skill.md  # Kahn's algorithm, cycle detection
β”‚   β”œβ”€β”€ artifacts-builder/     # Artifact generation patterns
β”‚   β”œβ”€β”€ brand-guidelines/      # Brand consistency workflows
β”‚   β”œβ”€β”€ canvas-design/         # Visual design in Canvas
β”‚   β”œβ”€β”€ changelog-generator/   # Automated changelog creation
β”‚   β”œβ”€β”€ competitive-ads-extractor/ # Ad intelligence gathering
β”‚   β”œβ”€β”€ content-research-writer/ # Research + writing workflows
β”‚   β”œβ”€β”€ developer-growth-analysis/ # Dev metrics analysis
β”‚   β”œβ”€β”€ document-skills/       # Documentation automation
β”‚   β”œβ”€β”€ domain-name-brainstormer/ # Domain naming ideation
β”‚   β”œβ”€β”€ fastapi/               # FastAPI development patterns
β”‚   β”œβ”€β”€ file-organizer/        # File organization automation
β”‚   β”œβ”€β”€ image-enhancer/        # Image processing workflows
β”‚   β”œβ”€β”€ internal-comms/        # Internal communication templates
β”‚   β”œβ”€β”€ invoice-organizer/     # Invoice management automation
β”‚   β”œβ”€β”€ lead-research-assistant/ # Lead qualification workflows
β”‚   β”œβ”€β”€ mcp-builder/           # MCP server development
β”‚   β”œβ”€β”€ meeting-insights-analyzer/ # Meeting analysis
β”‚   β”œβ”€β”€ pict-test-designer/    # Pairwise testing design
β”‚   β”œβ”€β”€ prompt-engineering/    # Prompt optimization patterns
β”‚   β”œβ”€β”€ raffle-winner-picker/  # Random selection workflows
β”‚   β”œβ”€β”€ skill-creator/         # Skill generation template
β”‚   β”œβ”€β”€ skill-share/           # Skill sharing workflows
β”‚   β”œβ”€β”€ slack-gif-creator/     # Slack integration patterns
β”‚   β”œβ”€β”€ software-architecture/ # Architecture templates
β”‚   β”œβ”€β”€ template-skill/        # Minimal/Standard/Comprehensive templates
β”‚   β”œβ”€β”€ theme-factory/         # 10 professional themes
β”‚   β”œβ”€β”€ video-downloader/      # Video processing workflows
β”‚   └── webapp-testing/        # Web application testing
β”‚
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ commands/              # Advanced orchestration command templates (NEW in v1.1)
β”‚   β”‚   └── orchestration/
β”‚   β”‚       β”œβ”€β”€ dag-executor.md                    # DAG workflow execution
β”‚   β”‚       β”œβ”€β”€ dynamic-orchestrator.md            # Auto-scaling agent pools
β”‚   β”‚       β”œβ”€β”€ fault-tolerant-orchestrator.md     # Resilient workflows
β”‚   β”‚       β”œβ”€β”€ observability-tracker.md           # Distributed tracing
β”‚   β”‚       β”œβ”€β”€ performance-optimizer.md           # Performance analysis
β”‚   β”‚       └── state-coordinator.md               # State management
β”‚   β”œβ”€β”€ orchestration/         # Planning templates for multi-agent workflows
β”‚   β”‚   β”œβ”€β”€ MULTI_AGENT_PLAN.md
β”‚   β”‚   └── TASK_DECOMPOSITION.md
β”‚   └── skills/                # Skill complexity templates
β”‚       β”œβ”€β”€ minimal-skill-template.md
β”‚       β”œβ”€β”€ standard-skill-template.md
β”‚       └── comprehensive-skill-template.md
β”‚
β”œβ”€β”€ examples/                  # Working examples with performance metrics (NEW in v1.1)
β”‚   └── orchestration/         # Advanced orchestration pattern demonstrations
β”‚       β”œβ”€β”€ 01-large-scale-refactoring/         # 1,247 files, 6.5x faster, 30% cost savings
β”‚       β”œβ”€β”€ 02-multi-environment-deployment/    # Saga pattern, 55% downtime reduction
β”‚       β”œβ”€β”€ 03-parallel-research-synthesis/     # 15 agents, 17.8x speedup, zero conflicts
β”‚       β”œβ”€β”€ 04-distributed-testing/             # 5,247 tests, 11.2x speedup, 55% cost savings
β”‚       └── 05-complex-feature-implementation/  # All 6 patterns, 3.5x speedup, 57% cost savings
β”‚
β”œβ”€β”€ INTEGRATION/               # Content ingestion and quality validation
β”‚   β”œβ”€β”€ incoming/              # New content drop zone
β”‚   β”œβ”€β”€ processed/             # 30 successfully integrated skills
β”‚   β”œβ”€β”€ failed/                # Files that failed validation
β”‚   └── logs/                  # Integration audit trails
β”‚
β”œβ”€β”€ MAINTENANCE/               # Repository health monitoring
β”‚   β”œβ”€β”€ reports/               # Research briefs and architectural proposals
β”‚   └── todo/                  # Staleness reports and action items
β”‚
β”œβ”€β”€ CLAUDE.md                  # Project-specific AI agent instructions
β”œβ”€β”€ DEVELOPMENT_PLAN.md        # Roadmap and backlog
└── README.md                  # This file

Key Directories Explained

  • .claude/commands/: Active production commands for your local Claude Code installation
  • docs/best-practices/: 13 comprehensive manuals covering all aspects of command/agent/skill development
  • commands-templates/: 21 production-tested command templates ready to copy and customize
  • agents-templates/: 10 specialized agent configurations (v2.0 with consolidated patterns)
  • skills/: 20 production-ready skills for immediate use with agents
  • skills-templates/: 31 skill templates for creating new capabilities
  • templates/: Orchestration planning templates and skill complexity templates
  • INTEGRATION/: Automated content ingestion system with quality validation
  • MAINTENANCE/: Repository health monitoring with staleness detection

🎯 Quick Start

For Developers

Create your first command in 3 steps:

  1. Read the basics

    cat 02-Individual-Command-Creation.md
  2. Use a template

    cp templates/commands/start-session.md .claude/commands/
  3. Run your command

    /start-session
    

For AI Coding Assistants

When generating commands or agents:

  1. Load core context:

    @01-Introduction-and-Core-Principles.md
    @CLAUDE.md
    
  2. Review specific guidance:

    • Commands β†’ @02-Individual-Command-Creation.md
    • Agents β†’ @03-Individual-Agent-Configuration.md
    • Orchestration β†’ @04-Multi-Agent-Orchestration.md
  3. Follow the documented patterns and use provided templates

For Multi-Agent Orchestration (NEW)

Launch parallel development in 4 steps:

  1. Describe your feature

    I need to implement user authentication with multiple approaches
    (OAuth, JWT, and session-based) to compare and select the best
    
  2. Orchestrate the feature

    /orchestrate-feature
    

    Creates MULTI_AGENT_PLAN.md with tasks, dependencies, and agent assignments

  3. Spawn agents in parallel

    /spawn-agents
    

    Instantiates specialized agents in isolated git worktrees

  4. Monitor and integrate

    /coordinate-workflow  # Real-time progress tracking
    /quality-gate         # Multi-stage validation
    

Result: 3 parallel implementations completed in 2-3 hours vs. 8 hours sequential

Example workflow:

# Agent 1 (Architect): Designs API specification β†’ 30 min
# Agent 2 (Builder):   Implements OAuth 2.0     β†’ 90 min
# Agent 3 (Builder):   Implements JWT           β†’ 75 min
# Agent 4 (Validator): Security testing         β†’ 45 min (waits for 2&3)

# Total wall-clock time: ~2.5 hours (vs 4+ hours sequential)
# Productivity gain: 3.2x faster + quality through comparison

πŸ“– Documentation Structure

Core Instruction Manuals

Document Purpose Key Topics
01-Introduction-and-Core-Principles Foundational philosophy and architecture Agent-first design, core tenets, ecosystem architecture, success factors
02-Individual-Command-Creation Technical specifications for slash commands Command structure, naming, security, versioning, examples
03-Individual-Agent-Configuration Agent setup and configuration Role specialization, permissions, context management, memory
04-Multi-Agent-Orchestration Coordinating multiple agents Orchestrator-worker pattern, communication protocols, task decomposition
05-Testing-and-Quality-Assurance Validation strategies Testing approaches, static analysis, audit routines
06-Production-Deployment-and-Maintenance Operations and monitoring Deployment strategies, observability, rollback, lifecycle management
07-Quick-Reference-and-Templates Boilerplate and cheat sheets Command templates, agent configs, QA checklists, memory snippets
08-Claude-Skills-Guide Skills creation and integration Skill architecture, triggers, examples, orchestration patterns, best practices
09-Agent-Skills-vs-Multi-Agent Strategic guidance on architecture Skills-first approach, hybrid patterns, migration strategies, decision matrices
12-Skills-First-Planning-and-Orchestration Planning for skills-first and multi-agent workflows Decision framework, agent registries, multi-agent plans, orchestration patterns, metrics
15-Advanced-Orchestration-Patterns Enterprise-grade orchestration patterns DAG execution, state management, resilience, performance optimization, CRDT, saga pattern, circuit breakers

Reference Documentation

Document Purpose Source
Agent Skills Specification Official format spec for SKILL.md files Anthropic (agentskills.io)
Agent Skills Overview What are skills? Concept introduction Anthropic (agentskills.io)
Agent Skills Integration Guide How to build skills-compatible agents Anthropic (agentskills.io)

πŸ“š Learning Paths

Choose your path based on your role and goals:

🎯 Path 1: Quick Start (30 minutes)

Goal: Get productive immediately with commands and skills

  1. ⚑ Command Quick Reference (5 min)

    • Bookmark this page for daily reference
    • Try: /start-session, /test-all, /pr
  2. 🎨 End-to-End Skill Creation (15 min)

    • Generate your first skill from existing docs
    • Understand the 4-step pipeline
  3. 🧠 Skills-First Paradigm (10 min)

    • Learn why skills > multi-agent for most tasks
    • See token efficiency gains (35% savings)

Next steps: Start using skills in your daily workflow, explore skill templates


πŸ‘¨β€πŸ’» Path 2: Developer Onboarding (2 hours)

Goal: Master commands, agents, and skills for production use

  1. Foundation (30 min)

  2. Skills Mastery (45 min)

  3. Commands & Agents (30 min)

  4. Production Ready (15 min)

Next steps: Contribute a skill, set up your team's workflow


πŸ—οΈ Path 3: Architecture & Planning (3 hours)

Goal: Design complex multi-agent systems and understand tradeoffs

  1. Strategic Foundation (1 hour)

  2. Multi-Agent Patterns (1 hour)

  3. Implementation (45 min)

  4. Production & Metrics (15 min)

Next steps: Design your first multi-agent workflow, measure productivity gains


πŸ”§ Path 4: Skills Builder (1.5 hours)

Goal: Become a skill creation expert and build reusable capabilities

  1. Skills Fundamentals (30 min)

  2. Hands-On Creation (45 min)

    • 🎨 End-to-End Skill Creation - Full pipeline
    • πŸ› οΈ Practice: Extract skill from your project docs
    • πŸ› οΈ Practice: Convert an existing agent to a skill
    • πŸ› οΈ Practice: Create skill from GitHub repo
  3. Advanced Patterns (15 min)

Next steps: Build 3+ skills, contribute via /sharing-skills, measure adoption


🎯 Path 5: Problem-Specific Guides

Choose based on what you need to accomplish:

Need to: Create a command

Need to: Build a skill

Need to: Setup multi-agent workflow

Need to: Improve quality & testing

Need to: Deploy to production

Need to: Quick answers


πŸ“Š Path 6: Team Lead / Manager (1 hour)

Goal: Understand ROI, adoption strategy, and team efficiency gains

  1. Business Case (15 min)

  2. Strategic Guidance (20 min)

  3. Adoption Plan (15 min)

    • πŸ‘¨β€πŸ’» Review "Path 2: Developer Onboarding" (assign to team)
    • πŸ”§ Review "Path 4: Skills Builder" (assign to senior devs)
    • ⚑ Command Quick Reference (bookmark for team)
  4. Quality & Operations (10 min)

Next steps: Pilot with 2-3 developers, measure metrics, scale adoption


πŸŽ“ Recommended Reading Order by Experience Level

Beginner (Never used AI agents):

  1. Quick Start Path (30 min)
  2. Read 01-Introduction (20 min)
  3. Try /start-session, /test-all, /pr commands
  4. Create first skill from your docs
  5. Total: 1 hour to productivity

Intermediate (Used Claude/ChatGPT for coding):

  1. Skills-First Paradigm (15 min) - understand efficiency gains
  2. Developer Onboarding Path (2 hours) - comprehensive mastery
  3. Try multi-agent with git worktrees (hands-on)
  4. Build 2-3 custom skills
  5. Total: 4 hours to expert-level productivity

Advanced (Built AI agents before):

  1. Architecture & Planning Path (3 hours) - strategic depth
  2. Compare your patterns to skills-first approach
  3. Review decision frameworks and migration strategies
  4. Design complex orchestration workflows
  5. Contribute patterns back to community
  6. Total: 6 hours to architectural mastery

🎨 Template Library

Agent Templates

Professional agent configurations for specialized roles.

Note: With Anthropic's skills-first approach, these templates now serve two purposes:

  1. As Skill Packages (Recommended): Convert to skills for use with a general agent

    • More efficient and maintainable
    • Can be composed with other skills
    • See Phase 4 conversions in progress
  2. As Multi-Agent Configs (For Parallel Work): Use when spawning workers for concurrent tasks

Migration Path: Most users should start by using these as skills with a general agent, and only introduce multi-agent orchestration when parallel execution is necessary.

Agent Purpose Key Capabilities
Architect System design and planning Architecture assessment, planning document creation, design decisions
Builder Code implementation Feature development, TDD implementation, git workflow management
Validator Testing and code review Test creation, code review, coverage validation, security audits
Scribe Documentation API docs, deployment guides, architecture documentation
DevOps Infrastructure and deployment CI/CD pipelines, infrastructure as code, monitoring setup
Researcher Technical research Technology evaluation, competitive analysis, feasibility studies
Integration Manager Content ingestion and integration File categorization, quality validation, documentation updates, audit trails

Orchestration Agent Templates

Multi-agent coordination and parallel execution specialists:

Agent Model Purpose Key Capabilities
Orchestrator Lead Claude Opus 4 Multi-agent workflow coordination Request decomposition, agent spawning, result synthesis, quality control
Task Coordinator Claude Sonnet 4 Dependency and resource management Dependency graphs, parallel optimization, bottleneck detection, resource balancing
Integration Orchestrator Claude Sonnet 4 Result merging and validation Cross-agent merging, conflict resolution, git worktree integration, final validation
Monitoring Agent Claude Haiku 3.5 Real-time tracking and metrics Execution tracking, performance metrics, error detection, cost monitoring

Command Templates

Core Workflow Commands

Quality Assurance Commands

Utility Commands

Integration & Maintenance Commands

  • create-skill.md - Generate Claude AI skills from documentation, GitHub repos, or PDFs using Skill Seekers
  • integration-scan.md - Scan and categorize files in /INTEGRATION/incoming directory
  • maintenance-scan.md - Identify stale files (>30 days) and generate maintenance reports

Multi-Agent Orchestration Commands

Advanced parallel development and coordination:

  • orchestrate-feature.md - Multi-agent feature development with parallel task execution and git worktree isolation
  • spawn-agents.md - Dynamic agent instantiation with role assignment, context isolation, and resource allocation
  • coordinate-workflow.md - Real-time inter-agent communication, result aggregation, and conflict resolution
  • worktree-setup.md - Automated git worktree lifecycle management with branch strategy enforcement
  • quality-gate.md - Multi-stage validation pipeline with parallel test execution and security audits

Orchestration Planning Templates

Essential planning documents for skills-first and multi-agent workflows:

Template Purpose Use When
AGENT_REGISTRY.md Track agent capabilities and skill compatibility Setting up orchestration projects, documenting available agents
MULTIAGENT_PLAN.md Structured multi-agent planning with skills composition Planning parallel development, coordinating multiple agents

See Also: 12-Skills-First-Planning-and-Orchestration for comprehensive planning guidance


🎯 Claude Skills

NEW: Extend command and agent capabilities with reusable workflow automation.

What Are Skills?

Skills are portable workflow automation units that complement commands and agents:

  • Commands: Quick session shortcuts (/test, /pr)
  • Agents: Role-specialized project execution (Builder, Validator)
  • Skills: Cross-project reusable workflows (PR review, code formatting, doc generation)

Getting Started with Skills

Step 1: Identify a workflow that repeats β‰₯3x per week

Step 2: Use the skill creator:

"Use skill-creator skill to help me build a skill for [your workflow]"

Step 3: Choose your template:

  • Simple workflows β†’ templates/skills/minimal-skill-template.md
  • Moderate workflows β†’ templates/skills/standard-skill-template.md
  • Complex workflows β†’ templates/skills/comprehensive-skill-template.md

Step 4: Test and deploy


🎨 End-to-End Skill Creation Workflow

Create production-ready Claude skills from any source in 4 automated steps.

This comprehensive guide walks through the complete skill creation pipeline, from identifying a source to deploying a validated, production-ready skill. Whether you're extracting patterns from documentation, GitHub repositories, or PDF manuals, this workflow ensures quality and consistency.

Why Create Skills?

βœ… Benefits:

  • Portability: Share expertise across teams and projects
  • Consistency: Standardize workflows and best practices
  • Efficiency: Automate repetitive multi-step processes
  • Knowledge Capture: Preserve institutional knowledge as executable code
  • Rapid Onboarding: New team members inherit expert workflows immediately

βœ… Create a skill when:

  • You've solved a complex problem that others will face
  • You have a multi-step workflow you repeat frequently
  • You want to standardize a process across your organization
  • You're integrating specialized domain knowledge into AI workflows
  • You need to ensure quality gates and validation steps

❌ Don't create a skill when:

  • The task is a one-time operation
  • The process is already well-handled by existing tools
  • The workflow is too simple (< 3 steps)
  • Requirements are still evolving rapidly

Overview: The 4-Step Pipeline

Source Material β†’ Generate β†’ Validate β†’ Integrate β†’ Production
   (Docs/GitHub/PDF)     ↓          ↓          ↓         ↓
                    SKILL.md   Quality    README    Ready to Use
                               Checks     Update

Timeline: 5-30 minutes depending on source complexity

The automated pipeline handles:

  1. Content extraction from your source
  2. Skill structure generation following best practices
  3. Quality validation with 7-stage checks
  4. Documentation integration into repository indices
  5. Production deployment ready for immediate use

Step 1: Generate Skill from Source

Choose your source type and run the appropriate command:

Option A: From Documentation Files

Use when: You have markdown docs, text files, or local documentation

skill-seekers docs path/to/documentation/

Example:

# Generate skills from FastAPI documentation
skill-seekers docs ~/projects/fastapi-docs/

# Generate from multiple markdown files
skill-seekers docs ./guides/*.md

What happens:

  1. Scans all .md, .txt, and documentation files
  2. Extracts patterns, workflows, and best practices
  3. Generates structured SKILL.md files
  4. Places output in output/[source-name]/
  5. Creates scan report with quality metrics

Option B: From GitHub Repository

Use when: You want to extract patterns from open-source projects

skill-seekers github owner/repo [--enhance]

Example:

# Basic: Extract from repository structure
skill-seekers github fastapi/fastapi

# Enhanced: Include README, docs, and code analysis
skill-seekers github fastapi/fastapi --enhance

Flags:

  • --enhance: Deep analysis including README, documentation files, and code patterns (recommended for comprehensive extraction)

What happens:

  1. Clones repository (or uses cached version)
  2. Analyzes project structure and patterns
  3. With --enhance: Processes README.md and docs/ directory
  4. Generates skill capturing project's best practices
  5. Creates detailed extraction report

Option C: From PDF Manual

Use when: You have PDF documentation, whitepapers, or technical manuals

skill-seekers pdf path/to/manual.pdf

Example:

# Generate skill from technical manual
skill-seekers pdf ~/Downloads/kubernetes-best-practices.pdf

# Process multiple PDFs
skill-seekers pdf ./manuals/*.pdf

What happens:

  1. Extracts text content from PDF
  2. Preserves structure (headings, lists, code blocks)
  3. Identifies workflows and procedures
  4. Generates skill with preserved formatting
  5. Creates extraction quality report

Step 2: Review Scan Report

After generation completes, you'll find:

  • Generated skills: output/[source-name]/SKILL.md
  • Scan report: output/[source-name]/scan_report.md
  • Metadata: Quality scores, extraction statistics

Why this matters: The scan report helps you understand what was extracted and identify potential quality issues before validation.

What to verify:

  • βœ… Completeness: All key workflows captured
  • βœ… Structure: Proper frontmatter, sections, examples
  • βœ… Accuracy: Technical details preserved correctly
  • βœ… Clarity: Instructions are clear and actionable
  • βœ… Dependencies: External tools/libraries documented
  • βœ… Edge cases: Error handling and troubleshooting included

Common issues and fixes:

Issue Symptom Fix
Incomplete extraction Missing workflows or sections Re-run with --enhance flag (GitHub) or include more source files
Formatting errors Broken markdown, invalid YAML Manually edit SKILL.md before validation
Too generic Lacks specific examples or details Add concrete examples in ## Examples section
Missing context Unclear when/why to use skill Enhance ## Purpose and ## Use When sections
No error handling Doesn't address failure scenarios Add ## Troubleshooting section
Outdated patterns Source material is old Update skill with current best practices

Step 3: Validate & Process

Move generated skills into the integration pipeline for automated validation:

# Copy generated skill to incoming directory
cp output/fastapi/SKILL.md INTEGRATION/incoming/fastapi-skill.md

# Run integration scan
/integration-scan

# Review validation results
cat INTEGRATION/logs/scan-report-[timestamp].md

The 7-stage validation pipeline checks:

  1. File Structure βœ“

    • Valid frontmatter YAML
    • Required fields present (name, description, version)
    • Proper markdown formatting
  2. Content Quality βœ“

    • Purpose section clearly explains intent
    • Usage examples provided
    • Error handling documented
    • Minimum content length met
  3. Category Assignment βœ“

    • Automatically categorized as Skill
    • Subcategory identified from content analysis
    • Proper directory structure determined
  4. Naming Conventions βœ“

    • Follows kebab-case naming
    • No special characters or spaces
    • Descriptive and action-oriented
  5. Cross-References βœ“

    • Links to existing files are valid
    • No broken references
    • Dependencies properly documented
  6. Security Scan βœ“

    • No hardcoded credentials
    • No suspicious command execution patterns
    • Path traversal vulnerabilities checked
  7. Best Practices βœ“

    • Follows skill template structure
    • Includes versioning
    • Has clear success criteria

After successful validation:

  • βœ… Skill moved to INTEGRATION/processed/[skill-name]/
  • βœ… Quality score assigned (0-100)
  • βœ… Ready for documentation integration

If validation fails:

  • ⚠️ Skill moved to INTEGRATION/failed/
  • ⚠️ Detailed error report generated
  • ⚠️ Fix issues and re-run /integration-scan

Step 4: Update Documentation

Once validated, integrate the skill into repository documentation:

# Run integration update command
/integration-update-docs

# Or manually update using documentation-update skill
# This skill knows how to update all indices and catalogs

What gets updated:

  1. README.md Skills Catalog

    • New row added to Pre-Built Skills table
    • Skill name, purpose, and use-when description
    • Alphabetically sorted for easy discovery
  2. Skills Registry (skills/registry.json)

    {
      "fastapi": {
        "name": "FastAPI Development Patterns",
        "version": "1.0.0",
        "category": "backend",
        "path": "skills-templates/fastapi/",
        "quality_score": 95
      }
    }
  3. Template Indices

    • skills-templates/README.md updated
    • Cross-references added to related templates
    • Integration examples provided
  4. Integration Logs

    • Timestamped audit trail in INTEGRATION/logs/
    • Tracks who added what, when, and validation scores
    • Enables quality trend analysis over time

Result: Production-Ready Skill

Your skill is now ready for use in 5 different ways:

1. Via Skill Tool (Recommended)

Uses the Skill tool with skill="fastapi"

2. Via Slash Command

# If you created a wrapper command
/fastapi

3. Via Agent Configuration

# In .claude/agents/backend-builder.md
context:
  skills:
    - fastapi
    - testing
    - deployment

4. Via Direct File Reference

Follow the workflow in skills-templates/fastapi/SKILL.md

5. Via Skill Orchestrator

Uses the skill-orchestrator to coordinate fastapi, database-design, and api-testing skills

Timeline Reference

Source Type Generation Review Validation Documentation Total
Small docs (< 10 files) 2 min 3 min 1 min 1 min ~7 min
Medium docs (10-50 files) 5 min 5 min 2 min 1 min ~13 min
Large docs (> 50 files) 10 min 10 min 3 min 2 min ~25 min
GitHub basic 3 min 5 min 1 min 1 min ~10 min
GitHub enhanced 8 min 10 min 2 min 1 min ~21 min
PDF simple (< 50 pages) 4 min 5 min 1 min 1 min ~11 min
PDF complex (> 50 pages) 10 min 15 min 2 min 2 min ~29 min

Actual times vary based on source complexity, network speed, and system performance.

Troubleshooting Common Issues

Issue: skill-seekers command not found

# Solution: Install or update skill-seekers
pip install -e skills-templates/skill-creator/scripts/
# Or use the full path
python3 skills-templates/skill-creator/scripts/skill_seekers.py docs ./

Issue: Generation produces empty or minimal skill

# Solution: Check source content quality
# - Ensure source has clear workflows and patterns
# - Try --enhance flag for GitHub repositories
# - Provide more comprehensive source material

Issue: Validation fails with "Missing required fields"

# Solution: Manually add frontmatter
# Edit SKILL.md and ensure it starts with:
---
name: your-skill-name
description: Clear one-line description
version: 1.0.0
---

Issue: Skill works but quality score is low

# Solution: Enhance the skill content
# - Add more detailed examples in ## Examples section
# - Include troubleshooting guidance
# - Document dependencies and prerequisites
# - Add success criteria and validation steps

Issue: Documentation update doesn't reflect new skill

# Solution: Manually trigger documentation update
/integration-update-docs
# Or use the documentation-update skill directly

Issue: Generated skill is too generic

# Solution: Use more specific source material
# - Include code examples in source docs
# - Add real-world use cases
# - Document edge cases and gotchas
# - Provide context about when/why to use patterns

Pre-Built Skills

Skill Purpose Use When
agent-skill-bridge Integrates agents and skills Coordinating agents with skills
agent-communication-protocol Open protocol for AI agent interoperability Multi-agent communication, framework-agnostic agents, REST API
ar-io-build Comprehensive AR.IO build documentation Building with AR.IO, implementing AR.IO solutions, debugging AR.IO code
arweave-ao-cookbook Build decentralized applications on AO Building decentralized apps on Arweave with permanent storage
arweave-standards Arweave standards, specifications and best practices Working with Arweave standards, implementing protocol specifications, checking compliance
artifacts-builder React/Tailwind/shadcn UI artifact builder Complex artifacts requiring state management or shadcn/ui components
astro Astro web framework with Islands architecture Content-focused websites, partial hydration, content collections, multi-framework support
braiins-ecosystem Unified Braiins Bitcoin mining ecosystem Complete mining stack (firmware, pool, tools, proxy, dashboard, calculator)
braiins-insights Bitcoin mining profitability calculator Evaluating mining profitability, ROI analysis, cash flow projections
braiins-manager Web-based mining operations dashboard Fleet monitoring, multi-user access, real-time metrics
braiins-os ASIC firmware with autotuning Firmware management, API integration, OS feeds
braiins-pool Bitcoin mining pool (FPPS, Lightning) Mining pool setup, FPPS rewards, Lightning payouts, Stratum V2
braiins-proxy Stratum V2 mining proxy Large-scale operations, hashrate aggregation, farm proxy
braiins-toolbox Batch mining operations management Network scanning, firmware/system/miner management, performance tuning
brand-guidelines Anthropic brand colors and typography Applying brand standards to artifacts
canvas-design Visual art creation using design philosophy Creating posters, art, or static visual pieces
changelog-generator Git commits to user-friendly changelogs Preparing release notes or product updates
chezmoi Dotfiles manager with 56 commands, templates, password managers, encryption Cross-machine dotfiles, machine-specific configs, encrypted secrets
claude-mem Persistent memory compression system for Claude Code Cross-session context, MCP search, privacy controls, observations
cloudflare-ai-gateway Unified interface to AI providers (OpenAI, Anthropic, Azure, HuggingFace) Multi-provider AI proxy, caching, rate limiting, analytics
cloudflare-ai-search Semantic search and vector embeddings in Workers Vector-based search, embedding models
cloudflare-kv Low-latency key-value storage at the edge Edge storage, get/put/delete/list operations
cloudflare-pages JAMstack platform for static sites + serverless functions 13 framework guides, Pages Functions, static hosting
cloudflare-pulumi Infrastructure as Code for Cloudflare resources Multi-language IaC (TypeScript, Python, Go)
cloudflare-r2 S3-compatible object storage with zero egress fees S3 API, bucket management, data access
cloudflare-workers Serverless edge computing with V8 runtime Runtime APIs, fetch handlers, Durable Objects, KV bindings
cloudflare-zaraz Server-side tag management with edge execution Web API, consent management, GTM migration, 34+ tools
cloudflare-web-analytics Privacy-first web analytics with Core Web Vitals Free analytics, SPA tracking, RUM beacon, no cookies
coinmarketcap-api Enterprise-grade cryptocurrency market data API Crypto prices, market caps, exchanges, historical data, 40+ endpoints
competitive-ads-extractor Analyze competitors' ads from ad libraries Understanding competitor messaging and creative approaches
conductor Build and deployment orchestration Working with conductor, implementing conductor solutions, debugging conductor code
content-research-writer Writing assistance with research and citations Writing articles, documentation, blog posts
create-llmstxt-py Python script generating llms.txt files using Firecrawl and OpenAI Making websites LLM-accessible, automated content indexing, documentation extraction
developer-growth-analysis Coding pattern analysis from Claude Code history Identifying development gaps and curating learning resources
docling IBM Research document processing library for AI Parsing PDFs/DOCX, extracting tables/layouts, building RAG pipelines, MCP server for documents
document-skills/docx Word document creation and editing Working with .docx files, tracked changes, or comments
dokploy Comprehensive assistance with dokploy Deploying Docker applications with Dokploy platform
dokploy-mcp AI-driven deployment management using Dokploy MCP server Deploying apps, provisioning databases, managing Dokploy infrastructure
dnsdist DNS load balancer with DoS protection and multi-protocol support Load balancing DNS, DoH/DoT/DoQ, rate limiting, dynamic blocking
document-skills/pdf PDF manipulation toolkit Extracting text, creating PDFs, or filling PDF forms
document-skills/pptx PowerPoint presentation toolkit Creating or editing presentations
document-skills/xlsx Excel spreadsheet toolkit Working with spreadsheets, formulas, or data analysis
documentation-update Update repository documentation tables and indices Adding entries to README, maintaining indices
domain-name-brainstormer Domain name generation and availability checking Finding available domain names for projects
farm-monitor Bitcoin mining fleet monitoring Monitoring mining operations, fleet management
fastapi FastAPI modern Python web framework Building APIs, async endpoints, dependency injection, Python backend development
fastmcp Model Context Protocol (MCP) server development with FastMCP framework Creating MCP servers, Claude Desktop integration, building AI tools/resources, production MCP deployment (Python + TypeScript)
file-categorization Categorize files as Command/Agent/Skill/Doc Processing files in integration pipelines
file-organizer Intelligent file organization Organizing files, finding duplicates, or cleaning up directories
flyio Deploy and scale full-stack applications globally on Fly.io platform When deploying web applications, APIs, databases, or microservices that need global distribution and automatic scaling
github-copilot AI coding assistant with suggestions, chat, code review Using GitHub Copilot features, IDE integration, custom instructions
github-pages GitHub Pages static site hosting Creating sites, custom domains, Jekyll themes, GitHub Actions deployment
gitbook GitBook documentation platform Spaces, Git sync, custom domains, OpenAPI, change requests
google-seo Google SEO best practices and web optimization Creating web content, reviewing pages for SEO, implementing metadata, structuring URLs and site architecture
google-structured-data Schema.org markup for Google Search rich results JSON-LD templates, Article/Product/Event/FAQ markup, JavaScript generation
google-seo-starter-guide Google SEO fundamentals and best practices Implementing SEO for new sites, optimizing URLs and content, improving search visibility, auditing SEO implementation
google-url-inspection Search Console URL Inspection Tool guide Verifying indexing status, diagnosing crawl issues, requesting re-indexing, troubleshooting rendering problems
image-enhancer Image quality improvement Enhancing screenshots or images for presentations
internal-comms Internal communications templates Writing status reports, newsletters, or company updates
invoice-organizer Invoice and receipt organization Tax preparation or bookkeeping
just Just command runner for project task automation Creating justfile recipes, replacing Make/shell scripts, cross-platform command execution
langflow Visual AI workflow platform with MCP integration Building AI agent workflows visually, integrating MCP servers, deploying production AI agents
latex-manual Comprehensive LaTeX reference with templates and troubleshooting Writing LaTeX documents, creating equations, formatting papers, making presentations, debugging compilation
latex-wikibook Comprehensive LaTeX tutorials from WikiBooks Learning LaTeX best practices, LaTeX formatting, document preparation
lead-research-assistant Lead identification and qualification Sales, business development, or marketing research
mailgun Email sending, receiving, and tracking API Working with Mailgun, implementing email solutions, debugging email code
mcp-builder MCP server development guide Building Model Context Protocol servers
mcp-registry MCP server discovery and publishing registry Publishing MCP servers, server discovery, authentication
meeting-insights-analyzer Meeting transcript analysis Improving communication or leadership skills
neon Neon serverless Postgres with branching Serverless database, autoscaling, scale-to-zero, pgvector, edge-compatible drivers
openserv-agents OpenServ platform for AI agents (SDK, API, no-code) Building autonomous agents, "Second Brain" architecture, BRAID framework, multi-agent orchestration, deployment guides
openrouter Unified API gateway for 100+ AI models Working with OpenRouter, multi-provider routing, cost optimization, model comparison
passwordless-docs Bitwarden Passwordless.dev documentation, SDKs, and React examples Implementing passwordless authentication, integrating FIDO2/WebAuthn, building React passwordless auth
pict-test-designer PICT pairwise test case design Designing comprehensive test cases with minimal coverage
powerdns-authoritative PowerDNS authoritative nameserver with DNSSEC, REST API, multiple backends Authoritative DNS setup, zone management, dynamic DNS, Lua records
powerdns-recursor High-performance recursive DNS resolver with DNSSEC validation and Lua scripting Recursive DNS, RPZ, Lua hooks, DNSSEC validation
prompt-engineering Advanced prompt engineering patterns Writing commands, hooks, skills, or optimizing LLM interactions
quiche Cloudflare QUIC/HTTP3 Rust library QUIC connections, HTTP/3 clients/servers, connection management
raffle-winner-picker Random winner selection Running giveaways, raffles, or contests
raycast Raycast extension development framework Building Raycast extensions with TypeScript/React, API integration (Environment, Clipboard, Storage, OAuth), UI components (List, ActionPanel, Form)
root-cause-tracing Systematic debugging through call stack Tracing bugs deep in execution
sdk-sm Bitwarden Secrets Manager SDK Using Bitwarden Secrets Manager, working with multi-language SDK (Rust, Python, C#, Go, Java), secrets management API
seo Google SEO research and web traffic monetization SEO best practices, tool comparisons (Semrush, Moz, Ahrefs), search engine optimization, marketing
sharing-skills Contribute skills upstream via PR Sharing broadly useful patterns
skill-creator Guide for creating effective skills Building new skills with specialized knowledge
skill-orchestrator Coordinates multiple skills Complex multi-skill workflows
skill-share Skill creation and Slack sharing Automating skill sharing with teams
slack-gif-creator Animated GIF creation for Slack Creating GIFs optimized for Slack constraints
software-architecture Clean Architecture & DDD guidance Software design, code quality, anti-patterns
subagent-driven-development Execute plans with fresh subagents per task Plan execution with quality gates
theme-factory 10 pre-set themes for artifact styling Applying professional themes to slides, docs, or HTML
terraform HashiCorp Terraform Infrastructure as Code (IaC) Managing cloud infrastructure, writing .tf files, state management, multi-cloud provisioning
turbo-python-sdk Python SDK for Ardrive Turbo Upload and Payment Service Arweave uploads with Python, companion to turbo-sdk
turbo-sdk Complete Arweave Turbo ecosystem including client SDKs, core upload infrastructure, payment service backend, and CLI tools Arweave uploads, permanent storage, ANS-104 bundling, multi-signature support, AWS-scale infrastructure
twilio-voice Comprehensive Twilio Voice API assistance with AI integration patterns Voice assistants, OpenAI Realtime API, function-calling agents, Conversational Intelligence
ui-ux-pro-max UI/UX design intelligence with 50+ styles, color palettes, font pairings, and 8 framework stacks Frontend design, component styling, accessibility
using-git-worktrees Isolated workspace management Feature work needing isolation
using-superpowers Meta-skill for skill discovery Starting any conversation, ensuring skill usage
venice-ai Privacy-focused AI platform assistance Working with Venice.ai, privacy-focused AI implementations, platform features
video-downloader Video downloads from YouTube and platforms Downloading videos for offline viewing or archival
wao Wizard AO SDK & Testing framework Working with WAO SDK, testing AO applications, understanding AO development
weavedb Decentralized database protocol with zero-knowledge proofs Building with WeaveDB, implementing decentralized databases, permanent storage solutions
x402 HTTP 402 payment protocol for crypto-native API monetization Implementing paid APIs, AI agent payments, micropayments, USDC integration, MCP server payments
webapp-testing Playwright-based web app testing Testing local web applications or debugging UI

Orchestration Skills (NEW)

Advanced Orchestration Skills - Enterprise-grade patterns (Document 15):

Skill Purpose Use When
task-dependency-resolver-skill Kahn's algorithm for topological sorting and cycle detection Executing workflows with complex task dependencies (DAG execution)
agent-pool-manager-skill Auto-scaling, health monitoring, and agent recycling Managing variable workloads with dynamic agent pools
distributed-state-sync-skill CRDT implementations for conflict-free distributed state Sharing state across concurrent agents with automatic conflict resolution
saga-pattern-skill Compensating transactions for distributed workflows Multi-step workflows requiring automatic rollback on failure
circuit-breaker-skill 3-state FSM to prevent cascading failures Protecting against failing external services or dependencies
performance-profiler-skill Token usage analysis and bottleneck detection Optimizing costs and meeting performance SLAs

Basic Orchestration Skills - Multi-agent coordination:

Skill Purpose Use When
multi-agent-planner-skill Automated MULTI_AGENT_PLAN.md generation Creating multi-agent plans for complex features
parallel-executor-skill Concurrent task execution orchestration Executing tasks in parallel across agents
worktree-manager-skill Git worktree lifecycle management Setting up isolated workspaces for agents
agent-communication-skill Inter-agent messaging and handoffs Facilitating communication between agents

Resources

  • Documentation: docs/best-practices/08-Claude-Skills-Guide.md
  • Templates: templates/skills/
  • Examples: skills/*/SKILL.md
  • Best Practices: See comprehensive skills guide
  • Official Spec: docs/references/agent-skills-specification.md (Anthropic's open standard)

🧠 The Skills-First Paradigm

Anthropic's latest research reveals a fundamental shift: For most AI workflows, a single general agent dynamically loading skills dramatically outperforms multiple specialized agents in cost, efficiency, and maintainability.

Why Skills Win: The Research

Token Efficiency: Skills-first achieves 35% reduction in token usage vs. multi-agent

  • Root cause: Context sharing and progressive disclosure
  • Multi-agent: Each agent loads full context independently (15x baseline)
  • Skills-first: Single agent loads base context once, then adds skills progressively (5-7x baseline)

Maintenance Burden: One agent configuration vs. N agent definitions

  • Multi-agent: Update N agents when patterns evolve
  • Skills-first: Update 1 agent + M skills (where M is typically smaller than N)
  • Real savings: 60-80% reduction in configuration maintenance

Context Continuity: No context loss between steps

  • Multi-agent: Handoffs require serializing context, losing nuance
  • Skills-first: Same agent maintains full context from start to finish
  • Quality impact: Fewer misunderstandings, better coherence

The Paradigm Shift

OLD Approach (Multi-Agent Specialization):

# Separate agent for each capability
agents:
  - oauth-agent.md         # Handles OAuth only
  - jwt-agent.md           # Handles JWT only
  - session-agent.md       # Handles sessions only
  - validation-agent.md    # Handles validation only

workflow:
  1. OAuth agent authenticates β†’ hands off to JWT agent
  2. JWT agent issues token β†’ hands off to Session agent
  3. Session agent creates session β†’ hands off to Validation agent
  4. Validation agent verifies β†’ returns to orchestrator

problems:
  - 4 agent configs to maintain
  - 3 handoff points (context loss risk)
  - Each agent loads independent context
  - 15x token usage vs. baseline

NEW Approach (Skills-First with Single Agent):

# General agent loads capabilities on demand
agent: general-backend-agent.md

skills:
  - oauth-skill.md
  - jwt-skill.md
  - session-skill.md
  - validation-skill.md

workflow:
  1. Agent loads oauth-skill β†’ authenticates
  2. Agent loads jwt-skill β†’ issues token
  3. Agent loads session-skill β†’ creates session
  4. Agent loads validation-skill β†’ verifies
  5. All in same context, zero handoffs

benefits:
  - 1 agent config + 4 skills
  - 0 handoff points
  - Progressive context loading
  - 5-7x token usage vs. baseline (65% savings)
  - Skills reusable across projects

Real-World Examples

Example 1: Bug Fix Workflow

❌ Multi-Agent Approach (Inefficient):

User: "Fix the login timeout bug"

1. Orchestrator analyzes β†’ spawns Debug-Agent
   (Context: Load project, analyze codebase - 10K tokens)

2. Debug-Agent investigates β†’ hands off to Fix-Agent
   (Context: Re-load project, previous findings - 12K tokens)

3. Fix-Agent implements β†’ hands off to Test-Agent
   (Context: Re-load project, understand fix - 11K tokens)

4. Test-Agent validates β†’ reports back
   (Context: Re-load test suite, understand changes - 9K tokens)

Total: 42K tokens, 3 handoffs, context duplicated 4 times

βœ… Skills-First Approach (Efficient):

User: "Fix the login timeout bug"

Single Agent workflow:
1. Loads root-cause-tracing-skill β†’ identifies bug location
   (Context: Project loaded once - 10K tokens)

2. Loads builder-skill β†’ implements fix
   (Additional context: Just the skill - +2K tokens)

3. Loads validator-skill β†’ writes and runs tests
   (Additional context: Just the skill - +2K tokens)

Total: 14K tokens, 0 handoffs, context maintained throughout
Savings: 67% reduction in tokens, zero context loss

Example 2: Feature Implementation

Scenario: Add user profile picture upload

❌ Multi-Agent (6 agents, 8 handoffs):

workflow:
  - Architect-Agent: Design upload system β†’ 15K tokens
  - Frontend-Agent: Build UI component β†’ 18K tokens (reload context)
  - Backend-Agent: Create API endpoint β†’ 17K tokens (reload context)
  - Storage-Agent: Configure S3 integration β†’ 14K tokens (reload context)
  - Security-Agent: Add validation β†’ 16K tokens (reload context)
  - Test-Agent: Write tests β†’ 19K tokens (reload context)

total: 99K tokens across 6 agents
handoffs: 8 (context serialization overhead)
maintenance: 6 agent configs to keep in sync

βœ… Skills-First (1 agent, 6 skills):

workflow:
  - Agent loads architect-skill: Design system β†’ 15K tokens (initial)
  - Agent loads frontend-skill: Build UI β†’ +3K tokens
  - Agent loads backend-skill: Create API β†’ +3K tokens
  - Agent loads storage-skill: S3 setup β†’ +2K tokens
  - Agent loads security-skill: Validation β†’ +2K tokens
  - Agent loads testing-skill: Test suite β†’ +3K tokens

total: 28K tokens with single agent
handoffs: 0 (same agent, continuous context)
maintenance: 1 agent + 6 reusable skills
savings: 72% token reduction, 100% context preservation

Example 3: Code Review

❌ Multi-Agent (Sequential specialists):

PR submitted β†’ 4 specialized review agents

1. Style-Agent reviews formatting β†’ 8K tokens
2. Security-Agent scans vulnerabilities β†’ 9K tokens (reload code)
3. Performance-Agent checks efficiency β†’ 10K tokens (reload code)
4. Logic-Agent validates correctness β†’ 11K tokens (reload code)

Total: 38K tokens, each agent reprocesses same code
Result: 4 separate reports requiring manual synthesis

βœ… Skills-First (Comprehensive single pass):

PR submitted β†’ General agent with review skills

1. Agent loads code-review-skill
   - Checks style
   - Scans security
   - Analyzes performance
   - Validates logic
   - Generates unified report

Total: 12K tokens, code loaded once
Result: Single coherent report with cross-cutting insights
Savings: 68% tokens + better analysis (sees interactions)

Decision Framework: When to Use What

Task Type Dependencies Recommended Approach Why
Bug fix Sequential βœ… Single agent + skills Context continuity critical for understanding cause β†’ fix β†’ test flow
Small feature (< 500 LOC) Sequential βœ… Single agent + skills Overhead of multi-agent exceeds benefits
Large feature (> 500 LOC) Mixed βœ… Single agent + skills OR Hybrid Skills-first unless parallel workstreams needed
Research task Independent βœ… Multi-agent Breadth-first exploration benefits from parallel investigation
Code review Sequential βœ… Single agent + skills Cross-cutting analysis requires unified context
Refactoring Sequential βœ… Single agent + skills Must maintain coherent mental model across changes
Documentation Sequential βœ… Single agent + skills Narrative flow requires continuous context
Testing Can parallelize βš–οΈ Skills OR Multi-agent Skills for sequential, multi-agent if test suites are truly independent
Deployment Parallel environments βœ… Multi-agent Deploy to dev/staging/prod simultaneously
POC exploration Independent βœ… Multi-agent Compare multiple approaches in parallel
Migration Sequential βœ… Single agent + skills State transitions must be coordinated
Performance optimization Sequential βœ… Single agent + skills Requires holistic view of system interactions

Detailed Decision Criteria

βœ… Use Single Agent + Skills When:

  1. Context Matters - The task requires understanding accumulated context from previous steps

    • Example: Refactoring where later changes depend on earlier architectural decisions
    • Why skills win: Zero context loss, agent maintains full understanding
  2. Sequential Dependencies - Step B cannot start until Step A completes

    • Example: Design API β†’ Implement endpoints β†’ Write tests β†’ Document
    • Why skills win: Natural workflow, no handoff overhead
  3. Cross-Cutting Analysis - Need to see interactions and relationships

    • Example: Security review examining how auth, data validation, and logging interact
    • Why skills win: Unified view enables spotting subtle vulnerabilities
  4. Iterative Refinement - Task involves back-and-forth adjustments

    • Example: UI development with continuous styling tweaks
    • Why skills win: Agent learns preferences and applies consistently
  5. Standard Development - Common programming tasks

    • Example: CRUD operations, API endpoints, database migrations
    • Why skills win: 35% token savings, faster execution, simpler debugging

βœ… Use Multi-Agent When:

  1. True Parallelization - Tasks are genuinely independent and can run simultaneously

    • Example: Research 5 different database solutions
    • Why multi-agent wins: Wall-clock time reduction, breadth-first coverage
  2. Diversity of Approaches - Want to compare multiple solution strategies

    • Example: Implement feature 3 different ways to evaluate trade-offs
    • Why multi-agent wins: Stochastic variation provides genuine alternatives
  3. Scale Demands Concurrency - Dataset too large for sequential processing

    • Example: Analyze security of 100 microservices
    • Why multi-agent wins: Parallel execution reduces total time
  4. Environment Isolation - Operations in truly separate contexts

    • Example: Deploy to 10 regional clusters simultaneously
    • Why multi-agent wins: Prevents cross-contamination, enables rollback per region

βœ… Use Hybrid (Orchestrator + Workers with Skills) When:

  1. Complex Feature with Parallel Sub-Tasks

    • Example: E-commerce checkout (payment processing || inventory check || email confirmation)
    • Architecture: Orchestrator coordinates, each worker loads relevant skills
    • Result: Parallel efficiency + skills token optimization
  2. Multi-Layered System Changes

    • Example: Update frontend + backend + database + infrastructure
    • Architecture: Worker per layer, each with specialized skills
    • Result: Parallel execution with deep expertise per layer

Getting Started with Skills-First

Step 1: Identify Your Common Workflows

# Audit what you do repeatedly
- What coding patterns do you repeat?
- What multi-step processes do you always follow?
- What expertise do you wish your team shared?

Step 2: Convert Workflows to Skills

# Use the skill creation pipeline
skill-seekers docs ./your-documentation/
# Or extract from successful project
skill-seekers github your-org/successful-project --enhance

Step 3: Build a Skills Library

my-skills/
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ fastapi-skill.md
β”‚   β”œβ”€β”€ database-skill.md
β”‚   └── api-testing-skill.md
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ react-patterns-skill.md
β”‚   └── accessibility-skill.md
└── devops/
    β”œβ”€β”€ docker-skill.md
    └── k8s-deploy-skill.md

Step 4: Use Skills in Your Workflow

# In your conversations with Claude:
"Use the fastapi-skill to build this API endpoint"
"Load the database-skill and api-testing-skill for this feature"

# Or invoke via Skill tool:
Uses the Skill tool with skill="fastapi"

Step 5: Measure and Optimize

Track metrics:
- Token usage before vs. after skills adoption
- Time to complete similar tasks
- Consistency across team members
- Knowledge retention (can new members ship faster?)

Typical results:
- 30-40% token reduction
- 25-35% faster task completion
- 50%+ reduction in "how do we do X?" questions

Migration Strategy: From Multi-Agent to Skills

If you already have multiple specialized agents:

# STEP 1: Identify overlap
current_agents:
  - frontend-agent.md (600 lines)
  - backend-agent.md (800 lines)
  - testing-agent.md (500 lines)

common_sections:
  - All three have similar "allowed-tools"
  - All three load project context
  - All three have coding standards
  - Overlap: ~60% of content duplicated

# STEP 2: Extract unique capabilities as skills
create_skills:
  - frontend-skill.md (200 lines of unique patterns)
  - backend-skill.md (300 lines of unique patterns)
  - testing-skill.md (150 lines of unique patterns)

# STEP 3: Create general developer agent
general-agent.md:
  - Common tooling: Read, Edit, Write, Bash, Search
  - Project context: README, CLAUDE.md, architecture docs
  - Skill loading: Can dynamically load any skill as needed
  - Size: 300 lines (vs. 1900 lines across 3 agents)

# STEP 4: Gradual migration
week_1: Use skills-first for new bugs
week_2: Use skills-first for new features
week_3: Deprecate old multi-agent configs
week_4: Full skills-first adoption

results:
  - Maintenance burden: 1 agent + 3 skills vs. 3 agents
  - Token efficiency: 35% improvement
  - Team velocity: 20% faster (less context switching)

Benefits of Skills Approach

  • 35% reduction in token usage through context reuse
  • Single agent to maintain and configure
  • Composable capabilities - combine skills for complex workflows
  • Progressive context loading - load only what's needed per phase
  • Easier knowledge sharing across teams and projects
  • Faster onboarding - understand one agent pattern + modular skills

When Multi-Agent Still Makes Sense

  • Breadth-first parallel tasks - Research across independent sources
  • Multiple independent workstreams - Concurrent feature development
  • Exploring alternative approaches simultaneously
  • Time-sensitive deliverables requiring parallel execution
  • Large-scale operations needing true concurrency

Hybrid Approach (Best of Both Worlds)

For complex features, combine both patterns:

Orchestrator (Opus 4)
  ↓
Spawns workers (Sonnet 4)
  ↓
Each worker loads appropriate skills dynamically

Result: Parallel execution efficiency + skills-first token optimization

Read More: See Agent Skills vs. Multi-Agent Guide for detailed decision matrices, migration strategies, and performance analysis.


πŸ”„ Integration & Maintenance System

NEW: Automated content ingestion and repository health monitoring.

What is the Integration System?

The Integration System provides automated workflows for:

  • Ingesting new content - Commands, agents, skills, and documentation
  • Validating quality - Structure, security, and standards compliance
  • Integrating seamlessly - Moving files to correct locations and updating docs
  • Maintaining audit trails - Complete logs of all integration activities

How It Works

Step 0: Generate Skills (NEW) Create skills automatically from documentation, GitHub repos, or PDFs:

# From documentation
/create-skill --url https://fastapi.tiangolo.com --name fastapi

# From GitHub repository
/create-skill --github facebook/react --enhance

# From PDF
/create-skill --pdf /path/to/manual.pdf --name api-guide

Skills are auto-generated and placed in /INTEGRATION/incoming/, ready for integration.

Step 1: Add Content Or manually place files in /INTEGRATION/incoming/:

cp my-new-command.md /INTEGRATION/incoming/

Step 2: Scan

/integration-scan

Categorizes files and generates detailed report (auto-run by /create-skill).

Step 3: Review Check the scan report at /INTEGRATION/logs/scan-report-[timestamp].md

Step 4: Integrate (Coming Soon)

/integration-process    # Move validated files to proper locations
/integration-validate   # Run comprehensive quality checks
/integration-update-docs  # Update all documentation

What is the Maintenance System?

The Maintenance System keeps the repository healthy by:

  • Identifying stale content - Files not updated in 30+ days
  • Researching improvements - Latest best practices and patterns
  • Proposing updates - Concrete action items for evolution
  • Tracking repository health - Freshness scores and metrics

How It Works

Step 1: Scan for Stale Files

/maintenance-scan

Generates report at /MAINTENANCE/todo/stale-files-[timestamp].md

Step 2: Review Priority Files (Coming Soon)

/maintenance-review path/to/stale-file.md

Research Specialist agent investigates and proposes updates.

Step 3: Update Development Plan (Coming Soon)

/maintenance-plan-update

Adds approved improvements to DEVELOPMENT_PLAN.md

Directory Structure

/INTEGRATION/
β”œβ”€β”€ incoming/     # Drop new files here
β”œβ”€β”€ processed/    # Archive of successfully integrated files
β”œβ”€β”€ failed/       # Files that didn't pass validation
└── logs/         # Scan and integration reports

/MAINTENANCE/
β”œβ”€β”€ reports/      # Research findings and proposals
└── todo/         # Stale file lists and action items

Integration Manager Agent

The Integration Manager orchestrates the entire ingestion pipeline:

  • Scans incoming directories
  • Categorizes by type (Command/Agent/Skill/Doc)
  • Validates against repository standards
  • Coordinates file movement and documentation updates
  • Maintains comprehensive audit trails

See: agents-templates/integration-manager.md

Benefits

βœ… Consistency - All content follows repository standards

βœ… Security - Automated validation catches security issues

βœ… Quality - Comprehensive checks before integration

βœ… Automation - Reduces manual file management

βœ… Audit Trail - Complete history of all changes

βœ… Repository Health - Proactive staleness detection


πŸ€– Automation & CI/CD

NEW: Comprehensive GitHub Actions workflows for automated maintenance, security, and integration.

Automated Workflows

The repository includes 6 production-ready GitHub Actions workflows:

Core Automation

πŸ”§ Maintenance Scan

  • Schedule: Monthly (1st @ 2 AM UTC)
  • Purpose: Identifies stale files and generates health reports
  • Output: GitHub Issue with actionable maintenance tasks
  • Cost: ~$0.03/month

πŸ”„ Integration Pipeline

  • Schedule: Hourly during work hours (Mon-Fri 9 AM-5 PM)
  • Trigger: New files in INTEGRATION/incoming/
  • Pipeline: Scan β†’ Validate β†’ Process β†’ Create PR
  • Output: Automated PR for validated files
  • Cost: ~$1.80/month

πŸ“š Research Monitor

  • Schedule: Weekly (Monday @ 9 AM UTC)
  • Sources: Anthropic blog, SDK releases, MCP servers
  • Output: GitHub Issue with research summary
  • Downloads: New content to INTEGRATION/incoming/
  • Cost: ~$0.06/month

Security & Quality

πŸ”’ Security Scanning

  • Schedule: Daily @ 3 AM UTC + on push/PR
  • Tools: CodeQL, TruffleHog, ShellCheck, Dependency Review
  • Output: Security alerts + issues for findings
  • Cost: Free (GitHub native)

βœ… PR Validation

  • Trigger: All pull requests
  • Validates: Commands, agents, skills, structure
  • Includes: Claude code review
  • Mode: Non-blocking advisory
  • Cost: ~$1.20/month

πŸ”— Link Checker

  • Schedule: Weekly (Wednesday @ 10 AM UTC)
  • Validates: All markdown links
  • Output: GitHub Issue if broken links found
  • Cost: Free

Setup & Configuration

Required Secrets

Configure in repository settings:

Settings β†’ Secrets and variables β†’ Actions

Name: ANTHROPIC_API_KEY
Value: <your-anthropic-api-key>

Testing Workflows

All workflows support manual dispatch:

  1. Go to Actions tab
  2. Select workflow from sidebar
  3. Click Run workflow
  4. Configure inputs (if any)
  5. Click Run workflow

Cost & Monitoring

Total Monthly Cost: ~$3.09 in Anthropic API usage + Free GitHub Actions

Monitoring:

  • Weekly: Review failed workflows, triage issues, merge PRs
  • Monthly: Review maintenance report, audit security alerts
  • Quarterly: Update configurations, rotate API key

Benefits:

  • βœ… Automated Health Checks - Catches stale content early
  • βœ… Security First - Daily scans with multiple tools
  • βœ… Quality Gates - Automated PR validation
  • βœ… Research Tracking - Stay current with Claude ecosystem
  • βœ… Cost Effective - ~$3/month for comprehensive automation
  • βœ… Zero Maintenance - Runs autonomously with human approval gates

Workflow Files

All automation is in .github/:

  • workflows/maintenance-scan.yml - Monthly health checks
  • workflows/integration-pipeline.yml - Content processing
  • workflows/security-scanning.yml - Security audits
  • workflows/pr-validation.yml - PR quality checks
  • workflows/research-monitor.yml - Research tracking
  • workflows/link-checker.yml - Link validation
  • actions/setup-claude/ - Composite action for Claude CLI
  • dependabot.yml - Dependency updates
  • markdown-link-check.json - Link checker config

See CLAUDE.md#github-actions-automation for detailed documentation.


πŸ—οΈ Architecture Patterns

Single Agent + Skills Pattern (Recommended Default)

For most workflows, use a general agent that dynamically loads skills:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                   General Agent (Claude)                    β”‚
β”‚                                                             β”‚
β”‚  Dynamically Loads Skills Based on Task:                   β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚
β”‚  β”‚ Builder  β”‚ β”‚Validatorβ”‚ β”‚  Scribe  β”‚ β”‚  DevOps  β”‚    β”‚
β”‚  β”‚  Skill   β”‚ β”‚  Skill   β”‚ β”‚  Skill   β”‚ β”‚  Skill   β”‚    β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Benefits:

  • Maintains context across workflow phases
  • 35% more token-efficient than multi-agent
  • Single agent to configure and maintain
  • Skills are composable and reusable
  • Progressive context loading
  • Easier knowledge sharing

Use For:

  • Feature implementation (sequential workflows)
  • Bug fixes and refactoring
  • Documentation generation
  • Code reviews and testing
  • Standard development tasks

The Orchestrator-Worker Pattern (For Parallel Tasks)

Best for breadth-first parallelizable work:

  • Research across multiple independent sources
  • Exploring multiple solution approaches simultaneously
  • Multi-environment deployments
  • Large-scale concurrent operations

NOT recommended for:

  • Sequential coding workflows
  • Single-threaded task execution
  • When context needs to flow between steps
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚         Lead Agent (Orchestrator)               β”‚
β”‚         - Claude Opus 4                         β”‚
β”‚         - Request analysis                      β”‚
β”‚         - Task decomposition                    β”‚
β”‚         - Result synthesis                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β”‚
             β”‚ Spawns & coordinates
             β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚                 β”‚          β”‚          β”‚
β”Œβ”€β”€β”€β–Όβ”€β”€β”€β”       β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”  β”Œβ”€β”€β–Όβ”€β”€β”€β”€β”   β”Œβ”€β–Όβ”€β”€β”€β”€β”€β”
β”‚Builderβ”‚       β”‚Validator β”‚  β”‚Scribe β”‚   β”‚DevOps β”‚
β”‚Sonnet β”‚       β”‚Sonnet    β”‚  β”‚Sonnet β”‚   β”‚Sonnet β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”˜       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”˜

Key Benefits:

  • Parallel execution of independent tasks
  • Cost optimization (efficient models for routine work)
  • Specialized expertise per domain
  • Clear responsibility boundaries
  • Maintainable complexity

When to Use:

  • Feature development spanning multiple concerns
  • Complex refactoring requiring testing and documentation
  • Release preparation with quality gates
  • Multi-environment deployment orchestration

Modern Hybrid Approach: Orchestrator spawns workers that each load appropriate skills:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Orchestrator Agent      β”‚
β”‚   (Opus 4)                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
            β”‚
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚        β”‚        β”‚
β”Œβ”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ–Όβ”€β”€β”€β”€β”€β”€β” β”Œβ–Όβ”€β”€β”€β”€β”€β”€β”
β”‚Agent 1 β”‚ β”‚Agent 2β”‚ β”‚Agent 3β”‚
β”‚+Skills β”‚ β”‚+Skillsβ”‚ β”‚+Skillsβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”˜

Result: Parallel execution + skills-first token efficiency


Multi-Agent Orchestration Patterns

NEW: Advanced patterns for parallel, concurrent multi-agent development with git worktree isolation.

The Hybrid AI Agent Development Pattern

The ultimate productivity pattern: Combine git worktrees with multi-agent orchestration for 3-10x faster development while maintaining code quality.

Why This Pattern Wins

Problem with Sequential Development:

Day 1: Design authentication β†’ 2 hours
Day 1: Implement OAuth β†’ 4 hours
Day 2: Test OAuth β†’ 2 hours
Day 2: Decide JWT might be better β†’ stuck with OAuth
Day 2: Document OAuth β†’ 1 hour
Total: 9 hours, single approach, can't compare alternatives

Solution with Git Worktrees + Multi-Agent:

Hour 1: Design authentication (Architect agent, main branch)
Hour 1-3: Parallel implementation in 3 worktrees:
  β”œβ”€ Agent 1 (OAuth) in ../auth-worktree-oauth
  β”œβ”€ Agent 2 (JWT) in ../auth-worktree-jwt
  └─ Agent 3 (Session) in ../auth-worktree-session
Hour 3: Compare all 3 implementations
Hour 3: Select best approach (JWT wins)
Hour 3: Merge JWT implementation to main
Total: 3 hours, explored 3 alternatives, picked best
Speedup: 3x faster + higher quality through comparison
Architecture Diagram
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚            Lead Orchestrator (Claude Opus 4)             β”‚
β”‚  β€’ Decomposes feature into parallel tasks                β”‚
β”‚  β€’ Spawns specialized agents in isolated worktrees       β”‚
β”‚  β€’ Monitors progress and coordinates handoffs            β”‚
β”‚  β€’ Synthesizes results and resolves conflicts            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                        β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚               β”‚                β”‚                β”‚
        β–Ό               β–Ό                β–Ό                β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Agent 1    β”‚  β”‚  Agent 2    β”‚  β”‚  Agent 3   β”‚  β”‚  Agent 4    β”‚
β”‚  Architect  β”‚  β”‚  Builder    β”‚  β”‚  Builder   β”‚  β”‚  Validator  β”‚
β”‚             β”‚  β”‚  (OAuth)    β”‚  β”‚  (JWT)     β”‚  β”‚             β”‚
β”‚ Worktree:   β”‚  β”‚ Worktree:   β”‚  β”‚ Worktree:  β”‚  β”‚ Worktree:   β”‚
β”‚ ../arch     β”‚  β”‚ ../impl-v1  β”‚  β”‚ ../impl-v2 β”‚  β”‚ ../tests    β”‚
β”‚ Branch:     β”‚  β”‚ Branch:     β”‚  β”‚ Branch:    β”‚  β”‚ Branch:     β”‚
β”‚ feat/design β”‚  β”‚ feat/oauth  β”‚  β”‚ feat/jwt   β”‚  β”‚ feat/tests  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

All worktrees share the same .git (history, branches, commits)
Each worktree has its own working directory (zero conflicts!)
Key Benefits Explained

1. Massive Speed Gains (3-10x)

  • Why: Agents work truly in parallel, not sequentially
  • Example: 4 independent tasks Γ— 2 hours = 2 hours total (vs. 8 hours sequential)
  • When it matters most: Complex features, exploration tasks, multi-layer systems

2. Zero Merge Conflicts During Development

  • Why: Each agent has its own working directory
  • Traditional problem: Agent A modifies file.js while Agent B reads it β†’ corruption
  • Worktree solution: Agent A modifies ../worktree-a/file.js, Agent B reads ../worktree-b/file.js β†’ perfect isolation
  • Merge conflicts only happen at integration time (when you choose to merge)

3. Explore Multiple Approaches

  • Why: Spawn N agents to explore N different solutions
  • Example: OAuth vs JWT vs Session-based auth
  • Result: Compare working implementations, not theoretical designs
  • Bonus: Stochastic LLM variation means genuinely different approaches

4. Clean Git Integration

  • Why: Worktrees share .git history
  • Benefit: All commits visible from any worktree
  • Benefit: Branches created in one worktree visible in all others
  • Benefit: Easy to compare, cherry-pick, or merge between approaches

5. Resource Efficiency

  • Disk: Worktrees share .git objects (minimal overhead ~10MB per worktree)
  • Memory: Each agent runs independently (no blocking)
  • Cost: Parallel execution reduces wall-clock time = lower developer cost
Step-by-Step Tutorial: Real-World Example

Scenario: Implement a payment processing system with 3 payment providers (Stripe, PayPal, Square)

Step 1: Initial Planning (5 minutes)

# In your main project directory
/orchestrate-feature

# Orchestrator asks: "What feature are you implementing?"
You: "Payment processing with Stripe, PayPal, and Square"

# Creates MULTI_AGENT_PLAN.md:
feature: payment-processing
approach: parallel-exploration
agents:
  - architect-agent: Design payment abstraction layer (main branch)
  - builder-stripe: Implement Stripe integration (worktree)
  - builder-paypal: Implement PayPal integration (worktree)
  - builder-square: Implement Square integration (worktree)
  - validator-agent: Test all integrations (worktree)

dependencies:
  - Architect completes β†’ Builders start
  - All Builders complete β†’ Validator starts

estimated_time: 3-4 hours (vs. 12 hours sequential)

Step 2: Create Worktrees (30 seconds)

# Orchestrator automatically creates worktrees
/spawn-agents

# Creates:
# ../payment-worktree-stripe     (branch: feat/stripe-integration)
# ../payment-worktree-paypal     (branch: feat/paypal-integration)
# ../payment-worktree-square     (branch: feat/square-integration)
# ../payment-worktree-tests      (branch: feat/payment-tests)

# Your filesystem:
myproject/              ← Your current location
../payment-worktree-stripe/    ← Agent 1 workspace
../payment-worktree-paypal/    ← Agent 2 workspace
../payment-worktree-square/    ← Agent 3 workspace
../payment-worktree-tests/     ← Agent 4 workspace

Step 3: Architect Designs Interface (30 minutes)

// Architect agent in main branch creates:
// src/payments/PaymentProvider.ts

interface PaymentProvider {
  processPayment(amount: number, currency: string): Promise<PaymentResult>;
  refund(transactionId: string): Promise<RefundResult>;
  getStatus(transactionId: string): Promise<PaymentStatus>;
}

// Commits to main branch, all worktrees see this immediately

Step 4: Parallel Implementation (2 hours)

# All 3 builder agents work simultaneously in parallel

# Agent 1 in ../payment-worktree-stripe:
cd ../payment-worktree-stripe
# Implements StripePaymentProvider
# Tests with Stripe API
# Commits to feat/stripe-integration

# Agent 2 in ../payment-worktree-paypal:
cd ../payment-worktree-paypal
# Implements PayPalPaymentProvider
# Tests with PayPal SDK
# Commits to feat/paypal-integration

# Agent 3 in ../payment-worktree-square:
cd ../payment-worktree-square
# Implements SquarePaymentProvider
# Tests with Square API
# Commits to feat/square-integration

# NO CONFLICTS - each agent has isolated workspace!

Step 5: Monitor Progress (Continuous)

/coordinate-workflow

# Live status dashboard:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Payment Processing - Live Status     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ βœ… Architect: Design complete           β”‚
β”‚ πŸ”„ Stripe Builder: 80% (testing...)    β”‚
β”‚ πŸ”„ PayPal Builder: 65% (implementing)  β”‚
β”‚ βœ… Square Builder: 100% (DONE)         β”‚
β”‚ ⏸️  Validator: Waiting for builders     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Step 6: Compare Implementations (30 minutes)

# All 3 implementations complete
# Orchestrator compares:

Stripe Implementation:
  βœ… Clean code structure
  βœ… Comprehensive error handling
  ⚠️  Requires webhook setup (complexity)
  ⚠️  Higher transaction fees

PayPal Implementation:
  βœ… Familiar UX for users
  βœ… Lower fees than Stripe
  ⚠️  API more complex
  ⚠️  Slower settlement times

Square Implementation:
  βœ… Simplest API integration
  βœ… Best documentation
  βœ… Fastest settlement
  βœ… Lowest fees
  ❌ Limited international support

# Decision: Use Square as primary, keep Stripe as fallback

Step 7: Merge Winner (15 minutes)

# In main project directory
git merge feat/square-integration
git merge feat/stripe-integration  # Keep as backup provider

# Clean up unneeded worktrees
/worktree-setup cleanup

# Removes:
# ../payment-worktree-paypal (implementation discarded)
# ../payment-worktree-tests (tests merged to main)

Step 8: Final Validation (30 minutes)

/quality-gate

# Runs:
βœ… Unit tests for Square integration
βœ… Unit tests for Stripe integration
βœ… Integration tests with test accounts
βœ… Security scan (no hardcoded keys)
βœ… Documentation completeness
βœ… Code review checklist

# Result: PASS - Ready for production

Total Time: 3.5 hours

  • Sequential approach (one at a time): ~12 hours
  • Speedup: 3.4x faster
  • Bonus: Evaluated 3 providers, made informed choice
  • Bonus: Kept Stripe as backup (diversification)
When to Use This Pattern

βœ… Perfect for:

  • Complex features with multiple valid approaches
  • Exploring 2-5 alternative implementations
  • Full-stack features (FE + BE + DB all in parallel)
  • Large refactorings affecting multiple modules
  • POCs where you need to compare solutions

❌ Overkill for:

  • Simple bug fixes
  • Features with one obvious implementation
  • Tasks requiring deep context sharing between steps
  • Quick documentation updates

Orchestration Command Templates

Command Purpose Execution Time
orchestrate-feature Multi-agent feature orchestration with parallel task execution 90-120 min for complex features
spawn-agents Dynamic agent instantiation with role assignment and resource allocation < 1 min per agent
coordinate-workflow Real-time inter-agent communication and progress tracking Continuous monitoring
worktree-setup Git worktree lifecycle management and cleanup automation < 10 sec per worktree
quality-gate Multi-stage validation pipeline with parallel test execution 20-30 min validation

Orchestration Agent Templates

Agent Model Purpose Cost Optimization
Orchestrator Lead Claude Opus 4 Request decomposition, agent spawning, result synthesis High capability for planning
Task Coordinator Claude Sonnet 4 Dependency management, parallel optimization, bottleneck detection Efficient for coordination
Integration Orchestrator Claude Sonnet 4 Result merging, conflict resolution, final validation Efficient for integration
Monitoring Agent Claude Haiku 3.5 Real-time tracking, metrics collection, cost monitoring Minimal cost for monitoring

Orchestration Skills

Skill Purpose Integration
multi-agent-planner-skill Automated MULTI_AGENT_PLAN.md generation with dependency analysis Orchestrate-feature command
parallel-executor-skill Concurrent task execution with work distribution and result aggregation Spawn-agents, coordinate-workflow
worktree-manager-skill Git worktree lifecycle management and merge strategies Worktree-setup command
agent-communication-skill Inter-agent messaging and handoff documentation Coordinate-workflow command

Decision Matrix: When to Use Multi-Agent Orchestration

Scenario Use Orchestration? Recommended Pattern
Simple bug fix (< 100 lines) ❌ No Single Builder agent
Feature with clear implementation (< 500 lines) ❌ No Single Builder + Validator
Complex feature with multiple approaches βœ… Yes Parallel builders + comparison
Large refactoring (multi-module) βœ… Yes Architect + parallel builders
Full-stack feature (FE + BE + DB + Tests + Docs) βœ… Yes Specialized agents per layer
Exploring technical solutions (POC) βœ… Yes Parallel researchers

Git Worktree Integration Strategy

Lightweight Isolation (default for trusted code):

  • Setup time: < 1 second per worktree
  • Disk overhead: Minimal (shared .git)
  • Isolation level: Filesystem only
  • Use case: Parallel feature variants, rapid prototyping

Container-Based Isolation (security-critical):

  • Setup time: 1-3 minutes per container
  • Disk overhead: High (per-container layers)
  • Isolation level: Full process isolation
  • Use case: Untrusted code, compliance requirements

Hybrid Approach (production systems):

  • Containers for primary isolation
  • Worktrees within containers for lightweight filesystem separation
  • Defense-in-depth security
  • Resource quotas enforced at container level

πŸ”’ Security & Safety

Core Security Principles

  1. Least Privilege: Grant minimum necessary permissions per agent/command
  2. Explicit Allowlists: Use allowed-tools to restrict operations
  3. Input Validation: Sanitize all dynamic values and user inputs
  4. Approval Gates: Require human confirmation for critical operations
  5. Audit Logging: Maintain detailed logs of all agent actions
  6. Rollback Capability: Design for safe recovery from failures

Permission Model

# Restrictive (default for most commands)
allowed-tools: ["Read", "Search"]

# Development (standard builder agent)
allowed-tools: ["Read", "Search", "Edit", "Test", "Bash(git:*)"]

# Operations (devops with infrastructure access)
allowed-tools: ["Read", "Edit", "Bash(git:*)", "Bash(docker:*)", "Bash(kubectl:*)"]

# NEVER grant unrestricted access
# ❌ allowed-tools: ["Bash(*)"]  # Dangerous!

πŸŽ“ Best Practices

Command Creation

βœ… Do:

  • Use descriptive verb-noun naming (/prepare-pr, /deploy-check)
  • Specify explicit allowed-tools restrictions
  • Include comprehensive inline documentation
  • Implement error handling and validation
  • Version semantic changes (1.0 β†’ 1.1)

❌ Don't:

  • Hardcode project-specific values
  • Grant excessive permissions
  • Create monolithic multi-purpose commands
  • Skip input validation
  • Forget to document expected behavior

Agent Configuration

βœ… Do:

  • Define clear, focused roles
  • Document responsibilities explicitly
  • Implement context isolation
  • Create handoff protocols
  • Test agent interactions

❌ Don't:

  • Create generalist "do everything" agents
  • Allow unscoped context pollution
  • Skip security boundary definitions
  • Forget collaboration patterns
  • Neglect memory management

Multi-Agent Orchestration

βœ… Do:

  • Use orchestrator-worker pattern
  • Create MULTI_AGENT_PLAN.md for coordination
  • Define clear communication protocols
  • Implement parallel execution where possible
  • Handle errors gracefully with recovery

❌ Don't:

  • Create circular dependencies
  • Skip dependency mapping
  • Neglect error propagation
  • Forget result validation
  • Ignore cost optimization

πŸš€ Getting Started

Installation

For Personal Use:

# Clone repository
git clone https://github.com/enuno/claude-command-and-control.git

# Copy templates to your Claude commands directory
cp -r templates/commands/* ~/.claude/commands/

# Copy agent templates to your project
cp -r templates/agents/* ./.claude/agents/

For Team/Organization:

# Add as submodule to your project
git submodule add https://github.com/enuno/claude-command-and-control.git docs/claude

# Reference in your CLAUDE.md
echo "Import command and agent standards from docs/claude/" >> CLAUDE.md

Usage Examples

Create a Development Session:

# Initialize session with context
/start-session

# Plan work for the session
/plan

# Make changes...

# Close session with summary
/close-session

Multi-Agent Feature Development:

# Architect agent: Create development plan
/plan feature/user-authentication

# Builder agent: Implement feature
# (automated via MULTI_AGENT_PLAN.md)

# Validator agent: Run tests and review
/test-all

# Scribe agent: Generate documentation
/docs

# DevOps agent: Prepare deployment
/pr

Quality Assurance Workflow:

# Check environment
/env-check

# Run full test suite
/test-all

# Fix linting issues
/lint-fixes

# Update dependencies
/deps-update

# Clean workspace
/cleanup

πŸ“Š Success Metrics

Organizations using these patterns report:

  • 28.4% reduction in operational costs through efficient model selection
  • 96.7% maintained performance quality with optimized architectures
  • 40% faster feature delivery with multi-agent parallelization
  • 60% reduction in human code review time through automated validation
  • Zero security incidents when following security best practices

⚑ Command Quick Reference

Your go-to cheat sheet for all Claude Code commands and workflows.

Essential Session Management

Command Purpose When to Use Example
/start-session Initialize coding session with project context Start of every work session Beginning of day, after context switch
/close-session End session with summary and documentation End of work session End of day, before switching projects
/plan Generate or update development plan Planning new features or refactors Before starting complex work
/summarize Summarize recent work and changes Need quick recap of progress Standups, handoffs to teammates

Quality Assurance & Testing

Command Purpose When to Use Example
/test-all Run complete test suite (unit + integration + e2e) Before commits, before PRs After feature completion
/lint-fixes Auto-fix code style and linting issues Clean up code before review Before creating PR
/deps-update Check and update outdated dependencies Weekly maintenance, security patches Monday morning routine
/error-report Generate diagnostic report for failures Tests or builds failing Debugging CI failures
/env-check Validate development environment setup Environment issues suspected Onboarding, after system updates

Development Workflow

Command Purpose When to Use Example
/pr Create pull request with auto-generated description Feature complete and tested After /test-all passes
/docs Generate or update documentation API changes, new features After public API modifications
/search Search codebase for patterns or keywords Finding specific code or usage Locating implementation examples
/cleanup Clean temporary files, old branches, unused configs Workspace maintenance Weekly cleanup routine

Multi-Agent Orchestration

Command Purpose When to Use Execution Time
/orchestrate-feature Decompose feature into parallel tasks, create plan Complex features (> 500 LOC) 5-10 min planning
/spawn-agents Instantiate specialized agents in isolated worktrees After orchestrate-feature < 1 min per agent
/coordinate-workflow Monitor multi-agent progress in real-time During parallel execution Continuous
/quality-gate Run comprehensive validation before merge Before integrating parallel work 20-30 min
/worktree-setup Manage git worktree lifecycle and cleanup Setup or cleanup worktrees < 10 sec per worktree

Integration & Maintenance

Command Purpose When to Use Execution Time
/integration-scan Scan and categorize files in INTEGRATION/incoming/ New content to integrate 1-3 min
/integration-update-docs Update documentation after successful integration After integration-scan passes 30 sec
/maintenance-scan Identify stale content (> 30 days old) Monthly repository health check 2-5 min
/create-skill Generate skill from docs/GitHub/PDF Creating new reusable workflows 5-30 min

Common Workflows

Daily Development Flow

# Morning
/start-session              # Load project context
/plan                       # Review today's goals
# ... code ...
/test-all                   # Validate changes
/lint-fixes                 # Clean up style
/pr                         # Create pull request
/close-session             # End day with summary

Weekly Maintenance Flow

/maintenance-scan          # Identify stale content
/deps-update               # Check for updates
/cleanup                   # Remove unused files
/docs                      # Update documentation

Feature Development with Multi-Agent

/orchestrate-feature       # Plan parallel tasks
/spawn-agents              # Create isolated workspaces
/coordinate-workflow       # Monitor progress
/quality-gate              # Validate before merge
/worktree-setup cleanup    # Clean up worktrees

Skill Creation Flow

# Generate from source
skill-seekers docs ./documentation/
# OR
skill-seekers github owner/repo --enhance
# OR
skill-seekers pdf manual.pdf

# Integrate
cp output/*/SKILL.md INTEGRATION/incoming/
/integration-scan           # Validate
/integration-update-docs    # Update indices

Command Flags & Options

/test-all

/test-all                   # Run all tests
/test-all --unit            # Unit tests only
/test-all --integration     # Integration tests only
/test-all --coverage        # With coverage report

/create-skill

/create-skill --url https://docs.example.com --name example
/create-skill --github owner/repo --enhance
/create-skill --pdf manual.pdf --name manual-skill

/worktree-setup

/worktree-setup create <name> <branch>    # Create new worktree
/worktree-setup list                      # List all worktrees
/worktree-setup cleanup                   # Remove all worktrees
/worktree-setup cleanup <name>            # Remove specific worktree

Keyboard Shortcuts & Aliases

Recommended shell aliases (add to .bashrc or .zshrc):

alias c='/start-session'
alias qa='/test-all && /lint-fixes'
alias ship='/test-all && /lint-fixes && /pr'
alias maintain='/maintenance-scan && /deps-update && /cleanup'

Troubleshooting Common Issues

Issue Command to Fix Prevention
Tests failing /test-all --verbose Run /test-all before committing
Linting errors /lint-fixes Enable pre-commit hooks
Outdated dependencies /deps-update Weekly /deps-update routine
Environment broken /env-check Document environment requirements
Stale documentation /docs Update docs with code changes
Messy workspace /cleanup Weekly /cleanup routine
Worktree conflicts /worktree-setup cleanup Clean after each feature

Pro Tips

πŸ’‘ Combine commands in sequences:

# Pre-PR checklist
/test-all && /lint-fixes && /docs && /pr

πŸ’‘ Use command output in scripts:

# Automated quality gate
if /test-all; then
  /pr
else
  /error-report
fi

πŸ’‘ Create custom workflows:

# Create new command that combines others
# See: docs/best-practices/02-Individual-Command-Creation.md

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for:

  • Code of conduct
  • Development workflow
  • Contribution guidelines
  • Review process
  • Style standards

Ways to Contribute

  • πŸ“ Improve documentation clarity
  • 🎨 Add new command/agent templates
  • πŸ› Report issues or bugs
  • πŸ’‘ Suggest enhancements
  • πŸ” Review pull requests
  • πŸ“š Share usage examples

πŸ“œ License

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


πŸ™ Acknowledgments

This manual synthesizes best practices from:

  • Anthropic: Official Claude documentation and agent SDK patterns
  • Production Teams: Real-world implementations across enterprise organizations
  • Community: Open-source contributions and empirical research
  • Academia: Studies on agent efficiency, safety, and effectiveness
  • Security Experts: Frameworks for secure AI agent deployments

πŸ“ž Support

Documentation

Community

Resources


πŸ—ΊοΈ Roadmap

Current Version: 1.1

Completed in 1.1 (January 2026):

  • Advanced orchestration patterns - Document 15 with 6 enterprise-grade patterns (DAG execution, agent pools, distributed state, saga pattern, circuit breakers, performance profiling)
  • CI/CD integration templates - Complete GitHub Actions automation system (6 workflows, security scanning, automated maintenance)
  • Extended agent role library - Added 6 specialized orchestration agents (DAG orchestrator, pool manager, state manager, resilience orchestrator, performance monitor, general skills-first agent)
  • Production orchestration skills - 6 advanced skill templates with algorithm implementations (Kahn's, CRDT, saga pattern, circuit breaker)
  • Working examples - 5 comprehensive real-world examples with performance metrics

Remaining for 1.2 (Q1 2026):

  • Performance benchmarking tools
  • Multi-language command support

Planned for 2.0 (Q2 2026):

  • Interactive command builder
  • Visual orchestration designer
  • Real-time collaboration tools
  • Cloud-hosted template library
  • Integration with popular IDEs

πŸ“ˆ Project Stats

  • Documentation: 15 comprehensive best practice manuals (including Document 15: Advanced Orchestration Patterns)
  • Active Commands: 13 production-ready commands
  • Agent Templates: 15 specialized agent configurations (10 base + 5 orchestration)
  • Command Templates: 27 command templates (21 base + 6 orchestration)
  • Production Skills: 20 working skills in skills/
  • Skill Templates: 35 skill templates (29 base + 6 orchestration)
  • Orchestration Examples: 5 comprehensive real-world examples with metrics
  • Processed Skills: 30 integrated skills in INTEGRATION/processed/
  • Code Examples: 100+ working examples across all categories
  • Best Practices: 100+ documented patterns
  • Security Guidelines: Comprehensive threat model and audit protocols
  • Test Coverage: All templates validated
  • GitHub Actions: 6 automated workflows (maintenance, integration, security, PR validation, link checking, research monitoring)

🌟 Star History

If you find this project useful, please consider starring it on GitHub to help others discover it!

Star History Chart


Built with ❀️ by the AI Engineering Community

Version: 1.1.0 Last Updated: January 22, 2026 Maintained By: @enuno Status: βœ… Production Ready

About

Claude command & AI agent creation best practices and templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •