/frappe-apps-manager:frappe-compose-dev-generatorfrom frappe-apps-manager
Generates compose.yml for local containerized Frappe/ERPNext development using vyogo's SNE images (all-in-one containers with MariaDB, Redis, Frappe/ERPNext). Supports version selection, port config, and volume mounts.
Ships in frappe-apps-manager. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate compose.yml for local containerized development using vyogo's SNE images. These are all-in-one containers -- MariaDB, Redis, and Frappe/ERPNext are bundled inside, so no external database or cache services are needed.
Claude should invoke this skill when:
SNE images are self-contained. At startup, the container:
/home/frappe/frappe-bench/apps/pip install -e for each discovered app and updates sites/apps.txtbench start in the foregroundNo bench get-app or manual installation is needed -- just mount your app directory.
Generate compose.yml for a single app:
services:
frappe-sne:
image: docker.io/vyogo/erpnext:sne-version-16
ports:
- "8000:8000"
volumes:
- .:/home/frappe/frappe-bench/apps/<app-name>
Replace <app-name> with the actual app name (snake_case):
projectnext -> /home/frappe/frappe-bench/apps/projectnextmy_custom_app -> /home/frappe/frappe-bench/apps/my_custom_appVersion 16 (default for new projects):
image: docker.io/vyogo/erpnext:sne-version-16
Version 15 (stable, most production deployments):
image: docker.io/vyogo/erpnext:sne-version-15
Version 14:
image: docker.io/vyogo/erpnext:sne-version-14
Version 13:
image: docker.io/vyogo/erpnext:sne-version-13
Frappe only (no ERPNext):
image: docker.io/vyogo/frappe:s2i-version-16
Default Port (8000):
ports:
- "8000:8000"
Custom Host Port:
ports:
- "8080:8000" # Host:Container
Development (single app, hot-reload):
volumes:
- .:/home/frappe/frappe-bench/apps/<app-name>
Multiple apps:
volumes:
- ./app_one:/home/frappe/frappe-bench/apps/app_one
- ./app_two:/home/frappe/frappe-bench/apps/app_two
Persisting site data across restarts:
volumes:
- .:/home/frappe/frappe-bench/apps/<app-name>
- ./sites:/home/frappe/frappe-bench/sites
environment:
- ENABLE_ASSETS_CACHE=true
When mounting sites/ as a volume, set ENABLE_ASSETS_CACHE=true so built assets are restored from the image cache into the mounted volume.
| Variable | Default | Description |
|---|---|---|
MYSQL_ROOT_PASSWORD | ChangeMe | MariaDB root password (built-in) |
ENABLE_ASSETS_CACHE | false | Restore built assets when sites/ is mounted as volume |
environment:
- MYSQL_ROOT_PASSWORD=ChangeMe
- ENABLE_ASSETS_CACHE=true
For app named projectnext on version 16:
services:
frappe-sne:
image: docker.io/vyogo/erpnext:sne-version-16
ports:
- "8000:8000"
volumes:
- .:/home/frappe/frappe-bench/apps/projectnext
environment:
- MYSQL_ROOT_PASSWORD=ChangeMe
When developing multiple apps together:
services:
frappe-sne:
image: docker.io/vyogo/erpnext:sne-version-16
ports:
- "8000:8000"
volumes:
- ../app_one:/home/frappe/frappe-bench/apps/app_one
- ../app_two:/home/frappe/frappe-bench/apps/app_two
environment:
- MYSQL_ROOT_PASSWORD=ChangeMe
All mounted apps are auto-discovered and installed at startup.
When running an SNE container alongside microservices, use a shared network. Do NOT add separate MariaDB/Redis containers -- they are built into the SNE image.
services:
frappe-sne:
image: docker.io/vyogo/erpnext:sne-version-16
ports:
- "8000:8000"
volumes:
- .:/home/frappe/frappe-bench/apps/<app-name>
environment:
- MYSQL_ROOT_PASSWORD=ChangeMe
networks:
- frappe-network
my-microservice:
image: my-microservice:latest
ports:
- "8002:8000"
environment:
- CENTRAL_SITE_URL=http://frappe-sne:8000
- DB_HOST=frappe-sne
- DB_PORT=3306
- REDIS_HOST=frappe-sne
- REDIS_PORT=6379
depends_on:
- frappe-sne
networks:
- frappe-network
networks:
frappe-network:
driver: bridge
docker.io/vyogo/erpnext:sne-version-16 (or version-15 for stable)bench get-app neededdev.localhost, login Administrator / adminsne-version-16 for new projects, sne-version-15 for stable/production-like devmariadb or redis services when using SNE imagesENABLE_ASSETS_CACHE=true when mounting sites/ as a volumesne-version-16), never use sne-latest in CI.env files for passwords instead of hardcoding in compose.ymlWhen generating a new app, automatically include compose.yml:
sne-version-16 unless user specifies a versionStart Development:
docker compose up
# or
podman-compose up
View Logs:
docker compose logs -f frappe-sne
Stop Services:
docker compose down
Shell into Container:
docker compose exec frappe-sne bash
# Then use bench commands:
bench --site dev.localhost console
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
90 skills in this plugin
/frappe-add-service-composeAdd a new microservice to dev-podman-compose.yml with proper configuration, dependencies, and networking./frappe-agent-debuggerUse when debugging Frappe errors, using bench console for live inspection, analyzing tracebacks, or reading Frappe log files. Prevents wasted debugging time from ignoring log context, misreading tracebacks, and not using bench console effectively. Covers bench console, frappe.logger, error log DocType, traceback analysis, common error patterns, log file locations, pdb/debugger integration, VS Code DAP, profiling, Frappe Recorder, mariadb diagnostics. Keywords: debug, bench console, traceback, error log, frappe.logger, pdb, debugging, log analysis, inspect, VS Code, DAP, profiling, recorder, mariadb, monitor, ERPNext error, how to debug, find the bug, what went wrong, stack trace, error message..
/frappe-agent-interpreterUse when receiving vague or unclear ERPNext/Frappe development requests that need interpretation. Transforms requirements like 'make invoice auto-calculate' or 'add approval workflow' into concrete technical specifications. Determines which Frappe mechanisms to use and maps to the full 61-skill catalog. Keywords: vague requirement, clarify scope, translate business need, technical spec, implementation plan, what does this mean, unclear requirement, translate to code, how to build this.
/frappe-agent-migratorUse when migrating a Frappe app between major versions, detecting breaking API changes, or resolving post-migration errors. Prevents failed migrations from undetected deprecated APIs, removed methods, and changed function signatures. Covers breaking change detection v14-v15-v16, deprecated API mapping, migration checklist, common migration errors, automatic fix suggestions. Keywords: migration, version upgrade, breaking changes, deprecated API, v14, v15, v16, migrate, compatibility, upgrade ERPNext, version change breaks, after update errors, deprecated method..
/frappe-api-handlerGenerate whitelisted API methods and REST endpoints for standard Frappe and microservices./frappe-app-installation-validatorValidate Frappe app installability and migration using SNE images in a containerized environment.npx claudepluginhub vyogotech/frappe-apps-manager --plugin frappe-apps-managerOther plugins' skills for the same job