/frappe-apps-manager:frappe-add-service-composefrom frappe-apps-manager
Adds a new microservice to dev-podman-compose.yml following established patterns for Frappe microservices architecture.
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.
Add a new microservice to dev-podman-compose.yml following the established patterns.
Add to dev-podman-compose.yml in the services: section:
# <Service Name> Microservice
<service-name>-service:
image: localhost/frappe-microservices-base:latest
ports:
- "<port>:8000" # Use next available port (8002, 8003, 8004, etc.)
environment:
- FRAPPE_SITE=dev.localhost
- FRAPPE_SITES_PATH=/app/sites
- PYTHONUNBUFFERED=1
- CENTRAL_SITE_URL=http://dev-frappe-ms-poc-dev-central-site-1:8000
# Database configuration (central site)
- DB_HOST=dev-frappe-ms-poc-dev-central-site-1
- DB_PORT=3306
- DB_NAME=_9079b9524fe5ca86
- DB_PASSWORD=687FNguLvKKbFH3T
- DB_TYPE=mariadb
# Redis configuration
- REDIS_HOST=dev-frappe-ms-poc-dev-central-site-1
- REDIS_PORT=6379
depends_on:
dev-central-site:
condition: service_started
networks:
- dev-frappe-network
volumes:
- ./<service-name>-service:/app/service
- ./<service-name>-service/entrypoint.py:/app/entrypoint.py
- dev_site_data:/app/sites:ro # Optional: if service needs site data
- ./frappe-microservice-lib/frappe_microservice:/opt/venv/lib/python3.11/site-packages/frappe_microservice:ro
Check existing ports and use next available:
Next available: 8007, 8008, etc.
<service-name>-service (kebab-case)./<service-name>-service/ (matches service name)dev-frappe-ms-poc-<service-name>-service-1All services depend on dev-central-site:
depends_on:
dev-central-site:
condition: service_started
If service depends on another microservice, add it:
depends_on:
dev-central-site:
condition: service_started
orders-service:
condition: service_started
Required volumes:
volumes:
- ./<service-name>-service:/app/service
- ./<service-name>-service/entrypoint.py:/app/entrypoint.py
- ./frappe-microservice-lib/frappe_microservice:/opt/venv/lib/python3.11/site-packages/frappe_microservice:ro
Optional volumes:
- dev_site_data:/app/sites:ro # If service needs site data (read-only)
Required:
FRAPPE_SITE=dev.localhostFRAPPE_SITES_PATH=/app/sitesPYTHONUNBUFFERED=1CENTRAL_SITE_URL=http://dev-frappe-ms-poc-dev-central-site-1:8000Service-specific (add as needed):
- SERVICE_SPECIFIC_VAR=value
Update kong.yml to add route for new service:
services:
- name: <service-name>-service
url: http://<service-name>-service:8000
routes:
- name: <service-name>-route
paths:
- /<service-name>
Then update dev-podman-compose.yml Kong service dependencies:
kong:
depends_on:
- auth-service
- signup-service
- subscription-service
- company-service
- orders-service
- <service-name>-service # Add here
For a new inventory-service on port 8007:
# Inventory Microservice
inventory-service:
image: localhost/frappe-microservices-base:latest
ports:
- "8007:8000"
environment:
- FRAPPE_SITE=dev.localhost
- FRAPPE_SITES_PATH=/app/sites
- PYTHONUNBUFFERED=1
- CENTRAL_SITE_URL=http://dev-frappe-ms-poc-dev-central-site-1:8000
- DB_HOST=dev-frappe-ms-poc-dev-central-site-1
- DB_PORT=3306
- DB_NAME=_9079b9524fe5ca86
- DB_PASSWORD=687FNguLvKKbFH3T
- DB_TYPE=mariadb
- REDIS_HOST=dev-frappe-ms-poc-dev-central-site-1
- REDIS_PORT=6379
depends_on:
dev-central-site:
condition: service_started
networks:
- dev-frappe-network
volumes:
- ./inventory-service:/app/service
- ./inventory-service/entrypoint.py:/app/entrypoint.py
- ./frappe-microservice-lib/frappe_microservice:/opt/venv/lib/python3.11/site-packages/frappe_microservice:ro
After adding service:
Check syntax:
podman compose -f dev-podman-compose.yml config
Start service:
podman compose -f dev-podman-compose.yml up -d <service-name>-service
Check logs:
podman compose -f dev-podman-compose.yml logs <service-name>-service
Test endpoint:
curl http://localhost:<port>/health
dev-frappe-network for all servicesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub vyogotech/frappe-apps-manager --plugin frappe-apps-manager90 skills in this plugin
/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./frappe-app-scaffoldCanonical folder structure produced by `bench new-app` for modern Frappe (v14/v15+). Use this as the ground truth for any Frappe app file tree — includes pyproject.toml and module management.Other plugins' skills for the same job