New advertisers: 50% off your first month with code FIRSTMONTHSee slots
devsforge avatar

docker-compose-generator

Docker Compose generator that scaffolds multi-container stacks from service templates for common databases.

version
1.0.0
GitHub stars
79

What it does

  • Adds a docker-compose-generator command that produces docker-compose.yml files for multi-container applications
  • Provides service templates for PostgreSQL, Redis, MongoDB, and MySQL, plus environment variables, networking, and volumes
  • Generates a compose file from the listed services rather than requiring hand-written YAML for each container

Generate docker-compose.yml configurations for multi-container apps

Add marketplace

/plugin marketplace add devsforge/marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install docker-compose-generator@devsforge-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

DevsForge Docker Compose Generator

DevsForge intelligent Docker Compose configuration generator that creates production-ready docker-compose.yml files with popular service templates, environment variables, networking, volumes, health checks, and best practices for containerized applications.

Purpose

Transform Docker Compose configuration from manual YAML writing to intelligent generation with pre-configured service templates, optimized settings, and production best practices for rapid development environment setup.

Features

  • Service Templates: Pre-configured templates for PostgreSQL, Redis, MongoDB, MySQL, Elasticsearch
  • Environment Management: Proper environment variable configuration with .env support
  • Networking: Automatic network configuration with custom networks
  • Volume Management: Persistent storage with named volumes and bind mounts
  • Health Checks: Built-in health checks for service monitoring
  • Development & Production: Separate configurations for different environments
  • Multi-Container Apps: Support for complex multi-service architectures
  • Resource Limits: CPU and memory limits for services

Usage

/docker-compose-generator [action] [options]

Target: $ARGUMENTS (if specified, otherwise use interactive mode)

Code Examples

Docker Compose Generator (TypeScript)

import * as fs from 'fs';
import * as yaml from 'yaml';

interface Service {
  image: string;
  container_name?: string;
  ports?: string[];
  environment?: Record<string, string>;
  volumes?: string[];
  networks?: string[];
  depends_on?: string[];
  healthcheck?: HealthCheck;
  restart?: string;
  deploy?: DeployConfig;
}

interface HealthCheck {
  test: string[];
  interval: string;
  timeout: string;
  retries: number;
  start_period?: string;
}

interface DeployConfig {
  resources?: {
    limits?: {
      cpus?: string;
      memory?: string;
    };
    reservations?: {
      cpus?: string;
      memory?: string;
    };
  };
}

interface ComposeConfig {
  version: string;
  services: Record<string, Service>;
  networks?: Record<string, any>;
  volumes?: Record<string, any>;
}

class DockerComposeGenerator {
  private config: ComposeConfig;

  constructor() {
    this.config = {
      version: '3.8',
      services: {},
      networks: {},
      volumes: {}
    };
  }

  addPostgreSQL(options?: {
    version?: string;
    port?: number;
    database?: string;
    user?: string;
    password?: string;
    volumeName?: string;
  }): this {
    const opts = {
      version: '15-alpine',
      port: 5432,
      database: 'app_db',
      user: 'postgres',
      password: 'postgres',
      volumeName: 'postgres_data',
      ...options
    };

    this.config.services.postgres = {
      image: `postgres:${opts.version}`,
      container_name: 'postgres',
      restart: 'unless-stopped',
      environment: {
        POSTGRES_DB: opts.database,
        POSTGRES_USER: opts.user,
        POSTGRES_PASSWORD: opts.password,
        PGDATA: '/var/lib/postgresql/data/pgdata'
      },
      ports: [`${opts.port}:5432`],
      volumes: [
        `${opts.volumeName}:/var/lib/postgresql/data`
      ],
      networks: ['app-network'],
      healthcheck: {
        test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'],
        interval: '10s',
        timeout: '5s',
        retries: 5,
        start_period: '10s'
      }
    };

    this.config.volumes![opts.volumeName] = {};
    return this;
  }

  addRedis(options?: {
    version?: string;
    port?: number;
    volumeName?: string;
  }): this {
    const opts = {
      version: '7-alpine',
      port: 6379,
      volumeName: 'redis_data',
      ...options
    };

    this.config.services.redis = {
      image: `redis:${opts.version}`,
      container_name: 'redis',
      restart: 'unless-stopped',
      ports: [`${opts.port}:6379`],
      volumes: [
        `${opts.volumeName}:/data`
      ],
      networks: ['app-network'],
      healthcheck: {
        test: ['CMD', 'redis-cli', 'ping'],
        interval: '10s',
        timeout: '3s',
        retries: 5
      },
      deploy: {
        resources: {
          limits: {
            cpus: '0.5',
            memory: '512M'
          }
        }
      }
    };

    this.config.volumes![opts.volumeName] = {};
    return this;
  }

  addMongoDB(options?: {
    version?: string;
    port?: number;
    database?: string;
    user?: string;
    password?: string;
    volumeName?: string;
  }): this {
    const opts = {
      version: '6.0',
      port: 27017,
      database: 'app_db',
      user: 'admin',
      password: 'admin',
      volumeName: 'mongo_data',
      ...options
    };

    this.config.services.mongodb = {
      image: `mongo:${opts.version}`,
      container_name: 'mongodb',
      restart: 'unless-stopped',
      environment: {
        MONGO_INITDB_ROOT_USERNAME: opts.user,
        MONGO_INITDB_ROOT_PASSWORD: opts.password,
        MONGO_INITDB_DATABASE: opts.database
      },
      ports: [`${opts.port}:27017`],
      volumes: [
        `${opts.volumeName}:/data/db`,
        `mongo_config:/data/configdb`
      ],
      networks: ['app-network'],
      healthcheck: {
        test: ['CMD', 'mongosh', '--eval', 'db.adminCommand("ping")'],
        interval: '10s',
        timeout: '5s',
        retries: 5,
        start_period: '20s'
      }
    };

    this.config.volumes![opts.volumeName] = {};
    this.config.volumes!.mongo_config = {};
    return this;
  }

  addMySQL(options?: {
    version?: string;
    port?: number;
    database?: string;
    user?: string;
    password?: string;
    rootPassword?: string;
    volumeName?: string;
  }): this {
    const opts = {
      version: '8.0',
      port: 3306,
      database: 'app_db',
      user: 'user',
      password: 'password',
      rootPassword: 'rootpassword',
      volumeName: 'mysql_data',
      ...options
    };

    this.config.services.mysql = {
      image: `mysql:${opts.version}`,
      container_name: 'mysql',
      restart: 'unless-stopped',
      environment: {
        MYSQL_ROOT_PASSWORD: opts.rootPassword,
        MYSQL_DATABASE: opts.database,
        MYSQL_USER: opts.user,
        MYSQL_PASSWORD: opts.password
      },
      ports: [`${opts.port}:3306`],
      volumes: [
        `${opts.volumeName}:/var/lib/mysql`
      ],
      networks: ['app-network'],
      healthcheck: {
        test: ['CMD', 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'root', '-p${MYSQL_ROOT_PASSWORD}'],
        interval: '10s',
        timeout: '5s',
        retries: 5
      }
    };

    this.config.volumes![opts.volumeName] = {};
    return this;
  }

  addNginx(options?: {
    port?: number;
    configPath?: string;
    staticPath?: string;
  }): this {
    const opts = {
      port: 80,
      configPath: './nginx/nginx.conf',
      staticPath: './public',
      ...options
    };

    this.config.services.nginx = {
      image: 'nginx:alpine',
      container_name: 'nginx',
      restart: 'unless-stopped',
      ports: [`${opts.port}:80`],
      volumes: [
        `${opts.configPath}:/etc/nginx/nginx.conf:ro`,
        `${opts.staticPath}:/usr/share/nginx/html:ro`
      ],
      networks: ['app-network'],
      depends_on: ['app'],
      healthcheck: {
        test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost/health'],
        interval: '30s',
        timeout: '10s',
        retries: 3
      }
    };

    return this;
  }

  addApplication(options: {
    name: string;
    image?: string;
    build?: string;
    port?: number;
    environment?: Record<string, string>;
    dependsOn?: string[];
  }): this {
    const service: Service = {
      container_name: options.name,
      restart: 'unless-stopped',
      networks: ['app-network']
    };

    if (options.image) {
      service.image = options.image;
    } else if (options.build) {
      service['build'] = {
        context: options.build,
        dockerfile: 'Dockerfile'
      };
    }

    if (options.port) {
      service.ports = [`${options.port}:${options.port}`];
    }

    if (options.environment) {
      service.environment = options.environment;
    }

    if (options.dependsOn && options.dependsOn.length > 0) {
      service.depends_on = options.dependsOn;
    }

    this.config.services[options.name] = service;
    return this;
  }

  addNetwork(name: string = 'app-network'): this {
    if (!this.config.networks) {
      this.config.networks = {};
    }

    this.config.networks[name] = {
      driver: 'bridge'
    };

    return this;
  }

  generate(): string {
    // Add default network if not exists
    if (Object.keys(this.config.services).length > 0 && Object.keys(this.config.networks || {}).length === 0) {
      this.addNetwork();
    }

    return yaml.stringify(this.config);
  }

  save(filename: string = 'docker-compose.yml'): void {
    const content = this.generate();
    fs.writeFileSync(filename, content);
    console.log(`✅ Docker Compose file saved to ${filename}`);
  }

  generateEnvFile(filename: string = '.env.example'): void {
    const envVars: string[] = [
      '# Database Configuration',
      'POSTGRES_DB=app_db',
      'POSTGRES_USER=postgres',
      'POSTGRES_PASSWORD=your-secure-password',
      '',
      '# Redis Configuration',
      'REDIS_URL=redis://redis:6379',
      '',
      '# MongoDB Configuration',
      'MONGO_INITDB_ROOT_USERNAME=admin',
      'MONGO_INITDB_ROOT_PASSWORD=your-secure-password',
      '',
      '# Application Configuration',
      'NODE_ENV=development',
      'APP_PORT=3000',
      'APP_URL=http://localhost:3000',
      ''
    ];

    fs.writeFileSync(filename, envVars.join('\n'));
    console.log(`✅ Environment template saved to ${filename}`);
  }
}

// Usage examples

// Example 1: Full-stack application with PostgreSQL and Redis
const generator1 = new DockerComposeGenerator();

generator1
  .addApplication({
    name: 'app',
    build: '.',
    port: 3000,
    environment: {
      NODE_ENV: 'development',
      DATABASE_URL: 'postgresql://postgres:postgres@postgres:5432/app_db',
      REDIS_URL: 'redis://redis:6379'
    },
    dependsOn: ['postgres', 'redis']
  })
  .addPostgreSQL()
  .addRedis()
  .save('docker-compose.yml');

// Example 2: Microservices with MongoDB and Nginx
const generator2 = new DockerComposeGenerator();

generator2
  .addApplication({
    name: 'api',
    build: './api',
    port: 4000,
    environment: {
      MONGO_URL: 'mongodb://admin:admin@mongodb:27017/api_db?authSource=admin'
    },
    dependsOn: ['mongodb']
  })
  .addApplication({
    name: 'web',
    build: './web',
    port: 3000,
    environment: {
      API_URL: 'http://api:4000'
    },
    dependsOn: ['api']
  })
  .addMongoDB()
  .addNginx({ port: 80 })
  .save('docker-compose.microservices.yml');

// Example 3: Development environment with all databases
const generator3 = new DockerComposeGenerator();

generator3
  .addPostgreSQL({ port: 5432 })
  .addMySQL({ port: 3306 })
  .addMongoDB({ port: 27017 })
  .addRedis({ port: 6379 })
  .save('docker-compose.dev.yml');

generator3.generateEnvFile('.env.example');

console.log('Generated docker-compose.yml:');
console.log(generator3.generate());

Production Docker Compose Template

version: '3.8'

services:
  app:
    image: myapp:latest
    container_name: myapp
    restart: always
    ports:
      - "3000:3000"
    environment:
      NODE_ENV: production
      DATABASE_URL: ${DATABASE_URL}
      REDIS_URL: ${REDIS_URL}
    depends_on:
      postgres:
        condition: service_healthy
      redis:
        condition: service_healthy
    networks:
      - app-network
    deploy:
      resources:
        limits:
          cpus: '1'
          memory: 1G
        reservations:
          cpus: '0.5'
          memory: 512M
    healthcheck:
      test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s

  postgres:
    image: postgres:15-alpine
    container_name: postgres
    restart: always
    environment:
      POSTGRES_DB: ${POSTGRES_DB}
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      PGDATA: /var/lib/postgresql/data/pgdata
    volumes:
      - postgres_data:/var/lib/postgresql/data
    networks:
      - app-network
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
      interval: 10s
      timeout: 5s
      retries: 5

  redis:
    image: redis:7-alpine
    container_name: redis
    restart: always
    command: redis-server --appendonly yes
    volumes:
      - redis_data:/data
    networks:
      - app-network
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 10s
      timeout: 3s
      retries: 5

  nginx:
    image: nginx:alpine
    container_name: nginx
    restart: always
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
      - ./nginx/ssl:/etc/nginx/ssl:ro
      - ./public:/usr/share/nginx/html:ro
    depends_on:
      - app
    networks:
      - app-network

networks:
  app-network:
    driver: bridge

volumes:
  postgres_data:
  redis_data:

Best Practices

Configuration

  • Environment Variables: Use .env files for sensitive data
  • Health Checks: Always include health checks for services
  • Resource Limits: Set CPU and memory limits for production
  • Restart Policies: Use appropriate restart policies
  • Named Volumes: Use named volumes for persistent data

Security

  • Strong Passwords: Use strong passwords for databases
  • Network Isolation: Use custom networks to isolate services
  • Read-Only Volumes: Mount config files as read-only
  • Non-Root Users: Run containers as non-root users when possible
  • Secret Management: Use Docker secrets for sensitive data

Performance

  • Resource Allocation: Properly allocate resources to services
  • Volume Performance: Use volumes for better I/O performance
  • Network Optimization: Use custom networks for inter-service communication
  • Caching: Leverage build cache for faster builds
  • Health Checks: Implement efficient health check commands

DevsForge Docker Compose Generator - Enterprise-grade Docker Compose configuration generation with service templates, best practices, and production-ready settings.

From the devsforge/marketplace README

Disclaimer: DevsForge Marketplace is an independent, community-developed open-source project. It is not affiliated with, endorsed by, or officially associated with Anthropic, PBC or any of its products (including Claude, Claude Code, or the Claude API). "Claude" and "Anthropic" are trademarks of Anthropic, PBC. This project is a third-party plugin built by the community to extend Claude Code functionality.


🚀 DevsForge Marketplace

Version Plugins License Claude Code Stars

The Ultimate Plugin Ecosystem for Claude Code

161 Enterprise-Grade Plugins | 93 AI Agents | 65 Commands | 3 Super Plugins

Get Started • Browse Plugins • Documentation • Contributing


⚡ What's New in v1.2

✅ Plugin Compliance & Quality

All 161 plugins validated for Claude Code CLI

Fixes Applied:

  • 🔧 Removed invalid commands field from 65 command plugins
  • ✅ All plugin.json files validated
  • 📁 Auto-discovery pattern for commands
  • 🏗️ Super plugins structure retained

🏗️ Super Plugins (Advanced)

Multi-component platforms with hooks & MCP servers

Features:

  • 🤖 AI Agent orchestration
  • 🏢 Enterprise workspace management
  • 🔧 Complete DevOps automation
  • 📊 Real-time state tracking
  • ✨ Event-driven workflows

✨ Why DevsForge Marketplace?


🎨

Curated Quality

Every plugin manually reviewed & enterprise-tested


⚡

Production Ready

Battle-tested in real-world scenarios


🔒

Security First

Zero dependencies, fully audited code


🚀

Advanced Features

Hooks, MCP servers, automation


💯

100% Original

No copycat plugins, pure innovation


🎯 Quick Start

Installation

# 🔥 One command to rule them all
/plugin marketplace add https://github.com/devsforge/marketplace.git

# ✅ Verify installation
/plugin marketplace list

# 🎉 Expected: devsforge-marketplace (1.2.0) - 161 plugins available

Using Plugins

# 🔍 Browse available plugins
/plugin

# 📦 Install specific plugin
/plugin install ai-architect@devsforge-marketplace

# 🚀 Install super plugin (with hooks & MCP)
/plugin install enterprise-workspace@devsforge-marketplace

# 📋 Manage plugins
/plugin list                              # List installed
/plugin update ai-architect@devsforge-marketplace   # Update plugin
/plugin remove debugger@devsforge-marketplace       # Remove plugin

🎨 Featured Categories

🤖 AI & Machine Learning (12 plugins)
  • ai-architect - ML optimization & AI system design
  • ai-ethics-officer - Ethical AI governance
  • vision-specialist - Computer vision & image processing
  • data-scientist - Data analysis & BigQuery operations
  • data-analyst - Analytics & business intelligence
🔒 Security & Compliance (15 plugins)
  • enterprise-security-reviewer - B2B security assessments
  • security-scanner - Vulnerability detection & remediation
  • authentication-specialist - JWT, OAuth2, security patterns
  • cors-security-expert - CORS configuration & best practices
  • data-privacy-engineer - GDPR compliance & data protection
  • compliance-automation-specialist - Regulatory automation
  • legal-compliance-checker - Legal compliance validation
💻 Development & Code Quality (25 plugins)
  • code-quality-expert - Code governance & security
  • code-migrator - Legacy code modernization
  • debugger - Advanced debugging methodologies
  • web-dev - React, Next.js, NestJS, TypeScript
  • python-expert - Advanced Python development
  • database-expert ⚡ NEW - SQL optimization & query tuning
  • docker-specialist ⚡ NEW - Container optimization
  • git-workflow-expert ⚡ NEW - Advanced Git strategies
  • rest-api-designer ⚡ NEW - REST API best practices
  • graphql-specialist ⚡ NEW - GraphQL schema design
🔧 DevOps & Infrastructure (18 plugins)
  • devops-automator - CI/CD & infrastructure automation
  • deployment-engineer - Production deployment strategies
  • cloud-architect - Multi-cloud architecture
  • monitoring-observability-specialist - System monitoring
  • sre-reliability-engineer - Site reliability engineering
  • cost-optimizer - Cloud cost optimization
🧪 Testing & QA (10 plugins)
  • testing-orchestrator - Test automation frameworks
  • unit-test-generator - Automated test generation
  • api-quality-assurance - API testing & validation
  • performance-benchmarker - Performance testing
  • test-writer-fixer - Test creation & maintenance
📝 Documentation & Knowledge (8 plugins)
  • codebase-documenter - Comprehensive code documentation
  • technical-writer-pro - Technical documentation
  • api-docs-generator - OpenAPI/Swagger docs
  • doc-generator - Auto-documentation generation
🎨 Design & UX (8 plugins)
  • ui-designer - Beautiful, functional interfaces
  • ui-ux-engineer - React/Vue/Angular components
  • accessibility-architect - WCAG 2.1 AA compliance
  • mobile-ux-optimizer - Mobile-first experiences
  • ux-researcher - User research & journey maps
📊 Data & Analytics (7 plugins)
  • data-analyst - Analytics methodologies
  • data-scientist - SQL queries & data insights
  • database-performance-optimizer - Database optimization
  • sql-query-optimizer - Advanced SQL optimization
🏢 Enterprise & Business (12 plugins)
  • software-architect - Scalable architecture design
  • system-architect - Backend design & integration
  • b2b-project-shipper - B2B project delivery
  • customer-success-manager - Customer success ops
  • technical-sales-engineer - Technical sales support
  • pricing-packaging-specialist - Pricing strategies
🚀 Productivity & Automation (15 plugins)
  • workflow-optimizer - Workflow optimization
  • project-shipper - Launch & release management
  • sprint-prioritizer - Sprint planning & prioritization
  • experiment-tracker - Experiment tracking & analysis
  • finance-tracker - Budget & cost management
⚡ Super Plugins - Advanced (3 plugins)

🏢 enterprise-workspace

Complete workspace management platform with hooks & MCP

Components:

  • 3 Commands: workspace-init, workspace-sync, workspace-audit
  • 2 Agents: workspace-architect, compliance-auditor
  • 1 Hook: PostToolUse validation
  • 1 MCP Server: workspace-state
  • 1 Script: validate-workspace.sh

Features:

  • ✅ Architecture governance
  • ✅ Compliance tracking
  • ✅ Automated validation
  • ✅ State management

🤖 ai-studio-orchestrator

Advanced multi-agent coordination platform

Components:

  • 3 Commands: orchestrate-task, monitor-performance, optimize-workflow
  • 2 Agents: task-coordinator, performance-analyzer
  • 1 Hook: PreToolUse logging
  • 1 MCP Server: orchestrator
  • 1 Script: task-logger.sh

Features:

  • ✅ Task distribution
  • ✅ Load balancing
  • ✅ Performance analytics
  • ✅ Real-time monitoring

🔧 devops-platform

Complete DevOps automation platform

Components:

  • 3 Commands: setup-pipeline, deploy-application, manage-infrastructure
  • 2 Agents: cicd-architect, infrastructure-engineer
  • 1 Hook: PostToolUse config validation
  • 1 MCP Server: devops-state
  • 1 Script: validate-devops-config.sh

Features:

  • ✅ CI/CD pipelines (GitHub Actions, Jenkins, GitLab CI)
  • ✅ Zero-downtime deployments
  • ✅ Infrastructure as Code (Terraform, CloudFormation)
  • ✅ Security scanning

📊 Marketplace Statistics

CategoryCountDescription
🤖 Agents93AI-powered development assistants
⚡ Commands65Instant productivity tools
🚀 Super Plugins3Advanced multi-component platforms
Total161Production-ready plugins

Quality Metrics

  • ✅ Average Documentation: 250+ lines per plugin
  • ✅ Code Examples: Real-world templates included
  • ✅ Testing: Enterprise-grade validation
  • ✅ Security: Zero external dependencies
  • ✅ Maintenance: Regular updates & improvements

🏗️ Architecture

devsforge-marketplace/
├── .claude-plugin/
│   └── marketplace.json          # 📋 Marketplace registry (161 plugins)
│
├── plugins/
│   ├── agents/                    # 🤖 93 AI Agent Plugins
│   │   ├── ai-architect/
│   │   │   ├── .claude-plugin/
│   │   │   │   └── plugin.json
│   │   │   └── agents/
│   │   │       └── ai-engineer.md
│   │   ├── database-expert/       ⚡ NEW in v1.1
│   │   ├── docker-specialist/     ⚡ NEW in v1.1
│   │   ├── git-workflow-expert/   ⚡ NEW in v1.1
│   │   └── ... (90 more agents)
│   │
│   ├── commands/                  # ⚡ 65 Command Plugins
│   │   ├── api-designer/
│   │   │   ├── .claude-plugin/
│   │   │   │   └── plugin.json
│   │   │   └── commands/
│   │   │       └── api-designer.md
│   │   ├── env-validator/         ⚡ NEW in v1.1
│   │   ├── import-organizer/      ⚡ NEW in v1.1
│   │   └── ... (62 more commands)
│   │
│   └── super/                     # 🚀 3 Super Plugins
│       ├── enterprise-workspace/
│       │   ├── .claude-plugin/
│       │   │   └── plugin.json    # With hooks & MCP
│       │   ├── commands/          # Multiple commands
│       │   ├── agents/            # Multiple agents
│       │   ├── scripts/           # Automation scripts
│       │   └── servers/           # MCP servers
│       ├── ai-studio-orchestrator/
│       └── devops-platform/
│
└── README.md                      # 📖 This file

🎓 Documentation

Plugin Installation Examples

# 🤖 AI & Machine Learning
/plugin install ai-architect@devsforge-marketplace
/plugin install data-scientist@devsforge-marketplace
/plugin install vision-specialist@devsforge-marketplace

# 💻 Development Tools
/plugin install web-dev@devsforge-marketplace
/plugin install python-expert@devsforge-marketplace
/plugin install debugger@devsforge-marketplace

# 🔒 Security & Compliance
/plugin install security-scanner@devsforge-marketplace
/plugin install authentication-specialist@devsforge-marketplace
/plugin install cors-security-expert@devsforge-marketplace

# 🔧 DevOps & Infrastructure
/plugin install devops-automator@devsforge-marketplace
/plugin install docker-specialist@devsforge-marketplace
/plugin install cloud-architect@devsforge-marketplace

# ⚡ Productivity Commands
/plugin install code-review@devsforge-marketplace
/plugin install fix-github-issue@devsforge-marketplace
/plugin install pr-creator@devsforge-marketplace

# 🚀 Super Plugins (Advanced)
/plugin install enterprise-workspace@devsforge-marketplace
/plugin install ai-studio-orchestrator@devsforge-marketplace
/plugin install devops-platform@devsforge-marketplace

Marketplace Management

# 📋 List installed marketplaces
/plugin marketplace list

# 🔄 Update marketplace
/plugin marketplace update devsforge-marketplace

# 🗑️ Remove marketplace
/plugin marketplace remove devsforge-marketplace

# 🔍 Search plugins
/plugin search "security"
/plugin search "api design"

# 📊 Show plugin details
/plugin info ai-architect@devsforge-marketplace

🛠️ Troubleshooting

❌ Marketplace Not Loading

Symptoms: Marketplace doesn't appear in /plugin marketplace list

Solutions:

  1. ✅ Verify .claude-plugin/marketplace.json exists in repository root
  2. ✅ Check JSON syntax: claude plugin validate .
  3. ✅ Ensure Git repository is accessible and cloned correctly
  4. ✅ Restart Claude Code CLI after adding marketplace
❌ Plugin Installation Failures

Symptoms: Error message "Plugin not found" or installation timeout

Solutions:

  1. ✅ Verify plugin source paths are correct: ./plugins/[type]/[name]
  2. ✅ Ensure all required files exist: .claude-plugin/plugin.json, commands/*.md or agents/*.md
  3. ✅ Check network connectivity for Git-based plugin sources
  4. ✅ Try explicit version: /plugin install [name]@devsforge-marketplace@1.0.0
❌ Super Plugin Issues

Symptoms: Hooks not triggering or MCP server connection errors

Solutions:

  1. ✅ Verify ${CLAUDE_PLUGIN_ROOT} environment variable resolves correctly
  2. ✅ Check script permissions: chmod +x on Linux/Mac
  3. ✅ Ensure Node.js is installed for MCP server JavaScript files
  4. ✅ Review Claude Code logs for hook execution errors
❌ Performance Issues

Symptoms: Slow marketplace loading or plugin installation

Solutions:

  1. ✅ Check internet connection speed (GitHub clone performance)
  2. ✅ Verify available disk space (minimum 50MB required)
  3. ✅ Close unnecessary applications to free system resources
  4. ✅ Use local path installation for faster access after initial clone

🤝 Contributing

We welcome contributions! Here's how you can help:

🎯 Contributing New Plugins

  1. 🍴 Fork the repository
  2. 📁 Create plugin structure in appropriate directory (agents/, commands/, or super/)
  3. 📝 Follow plugin.json schema requirements
  4. 📖 Add comprehensive documentation (200-700+ lines recommended)
  5. 🧪 Test thoroughly with Claude Code CLI
  6. 🚀 Submit pull request with detailed description

📋 Plugin Quality Standards

  • ✅ Minimum 200 lines of documentation
  • ✅ Real-world code examples and templates
  • ✅ Phase-based methodologies
  • ✅ Best practices and anti-patterns
  • ✅ Quality metrics and KPIs
  • ✅ Business impact analysis

💡 Contributing Ideas

  • 💬 Open a GitHub Discussion with plugin proposal
  • 📝 Describe use case and business value
  • 💻 Provide examples of desired functionality
  • 🗳️ Community votes on most valuable additions

🔒 Security & Trust

⚠️ Important Disclaimer

DevsForge Marketplace is an independent, community-driven project

  • ❌ NOT affiliated with Anthropic or Claude
  • ❌ NOT officially endorsed or connected to Anthropic
  • ✅ Community maintained by open-source contributors
  • ⚠️ Use at your own risk - review plugin code before production use

Security Measures

Our Practices:

  • ✅ Security vulnerability scanning
  • ✅ Static code analysis
  • ✅ Zero third-party dependencies
  • ✅ Open source transparency
  • ✅ Community moderation
  • ✅ Regular security audits

Your Responsibilities:

  • 🔍 Review plugin source code
  • 🧪 Test in development first
  • 🐛 Report security issues on GitHub
  • 🔄 Keep plugins updated
  • 🔒 Follow least privilege principle
  • 📖 Read documentation carefully

📜 License

MIT License - See LICENSE for details

Copyright (c) 2025 DevsForge Community


🙏 Acknowledgments

Built with ❤️ by the DevsForge Community

Special thanks to:

  • 🎨 Anthropic for Claude Code CLI platform
  • 💻 All plugin contributors and testers
  • 🏢 Enterprise users providing valuable feedback
  • 🌟 Open source community for inspiration

🚀 Ready to supercharge your Claude Code experience?

Get Started Now • Browse Plugins • Contribute


DevsForge Marketplace v1.2 - The Ultimate Plugin Ecosystem for Claude Code

Made with Love Community Driven Production Ready

Details

Marketplace
devsforge/marketplace
Source
plugins/commands/docker-compose-generator
Author
DevsForge Community
Category
Commands
Keywords
devsforge, command, docker, compose
Listed since
Apr 7, 2026

More from devsforge/marketplace

All 161

Similar to docker-compose-generator

More DevOps & Cloud