Skip to content
cccskills
FreePublished on GitHub

compose-gen

Scan an existing project’s configuration files to detect its application stack and related services, then generate a `docker-compose.yml` with networking, volumes, and health checks. Useful when setting up containers for local development or an existing application.

OriginalShow the original description

Generate docker-compose.yml by scanning your project. Use when containerizing an existing app.

sundial-org/awesome-openclaw-skills671 stars(GitHub 671 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Creating a Compose file for an existing app
  • Adding detected database or cache services
  • Generating a local development setup
  • Providing services manually for Compose generation

Files included (11)

  • SKILL.md2.3 KB
  • dist/cli.d.ts31 B
  • dist/cli.js3.0 KB
  • dist/index.d.ts151 B
  • dist/index.js3.1 KB
  • package-lock.json30.2 KB
  • package.json617 B
  • README.md678 B
  • src/cli.ts1.3 KB
  • src/index.ts1.4 KB
  • tsconfig.json251 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Compose Gen

Writing docker-compose from scratch is tedious. This tool scans your project, detects services, and generates a working docker-compose.yml. Database, cache, your app, all wired up correctly.

One command. Zero config. Just works.

Quick Start

npx ai-docker-compose

What It Does

  • Scans your project to detect services needed
  • Generates docker-compose.yml with proper networking
  • Includes database, cache, and queue services as needed
  • Sets up volumes for persistence
  • Adds health checks and depends_on

Usage Examples

# Generate for current project
npx ai-docker-compose

# Specify services manually
npx ai-docker-compose --services postgres,redis,app

# Include development overrides
npx ai-docker-compose --with-dev

# Output to specific file
npx ai-docker-compose > docker-compose.yml

Best Practices

  • Use named volumes - Don't lose your data on container restart
  • Add health checks - Make depends_on actually wait for services
  • Separate dev and prod - Use docker-compose.override.yml for dev settings
  • Pin image versions - postgres:latest will break eventually

When to Use This

  • Containerizing an existing application
  • Don't remember the docker-compose syntax
  • Need a quick local development environment
  • Setting up a new service and need the boilerplate

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Requires OPENAI_API_KEY environment variable.

export OPENAI_API_KEY=sk-...
npx ai-docker-compose --help

How It Works

Scans package.json, requirements.txt, or other config files to detect your stack. Identifies database connections, cache usage, and external service dependencies. Generates docker-compose.yml with appropriate services, networks, and volumes.

License

MIT. Free forever. Use it however you want.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

1password

FreeSummary

Set up and use the 1Password command-line tool `op` to sign in, verify account access, and work with vault data. The skill covers single or multiple accounts and shows how to run commands or fill templates with secrets while limiting exposure in logs and files.

  • Set up the `op` command-line tool
  • Sign in and verify access to an account
  • Run a command with vault secrets
sundial-org/awesome-openclaw-skills671Updated Mar 7, 2026

a-stock-analysis

FreeSummary

Check live prices, price changes, and trading volume for Shanghai, Shenzhen, and Beijing stocks. Review intraday volume patterns and possible large-investor activity, and manage holdings with cost, quantity, and profit or loss summaries.

  • Checking current prices for A-share stocks
  • Reviewing intraday volume and large-investor signals
  • Managing a stock portfolio and checking profit or loss
sundial-org/awesome-openclaw-skills671Updated Mar 7, 2026

a11y-checker

FreeSummary

Scan HTML or JSX files and directories for accessibility issues such as missing image descriptions, form labels, and keyboard access problems. The skill identifies WCAG guideline failures and provides suggested code fixes alongside its findings.

  • Checking a new component before release
  • Auditing an inherited codebase
  • Preparing for an accessibility compliance review
sundial-org/awesome-openclaw-skills671Updated Mar 7, 2026

ab-test-setup

FreeSummary

Plan A/B tests that compare page or product changes, with clear hypotheses, sample sizes, success metrics, and traffic allocation. Get a structured test plan and guidance for interpreting results and deciding what to try next.

  • Comparing signup button copy
  • Planning a pricing page experiment
  • Estimating sample size and test duration
sundial-org/awesome-openclaw-skills671Updated Mar 7, 2026

abm-outbound

FreeSummary

Turn LinkedIn profile URLs into coordinated account-based outreach. The workflow gathers profile details, enriches contacts with email and phone data, looks up mailing addresses, and prepares email, LinkedIn, and handwritten-letter touches with the specified services.

  • Building a multichannel campaign from LinkedIn prospect URLs
  • Enriching prospect records with work contact details
  • Coordinating email, LinkedIn, and handwritten mail outreach
sundial-org/awesome-openclaw-skills671Updated Mar 7, 2026

accli

FreeSummary

Work with Apple Calendar on macOS to list calendars, find and view events, and check busy time slots across calendars. Create, update, or delete events with details such as dates, locations, and descriptions.

  • Reviewing events on a work or personal calendar
  • Checking availability before scheduling a meeting
  • Creating or updating a calendar event
sundial-org/awesome-openclaw-skills671Updated Mar 7, 2026

See all skills by sundial-org

Report a problem with this skill