跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

sundial-org/awesome-openclaw-skills星标 671(GitHub 671 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 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

包含的文件(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(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

1password

免费

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-skills6712026年3月7日 更新

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-skills6712026年3月7日 更新

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-skills6712026年3月7日 更新

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-skills6712026年3月7日 更新

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-skills6712026年3月7日 更新

accli

免费

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-skills6712026年3月7日 更新

查看 sundial-org 的全部技能

报告此技能的问题