Use when asked to make a project self-hostable, package an app for Docker, write a docker-compose setup, document self-hosting, or let users run my app on their own server. Produces a one-command self-host for a project: docker-compose.yml, a .env.example with a table explaining every variable, SELF_HOSTING.md covering HTTPS, backups and upgrades, and a back-up-this-folder section that tells users exactly what holds all their data.
Last scored 2026-10-18 on claude-sonnet-4-6 (4.00 of 5). The skill may have been edited since, and a newer model may behave differently. With and without comparisons are in the uplift ledger.
“Make my app self-hostable with Docker Compose.”“Write a SELF_HOSTING.md with HTTPS, backups and upgrades.”“Package this Node and Postgres project for home-lab users.”“Give me a one-command self-host setup and an env var table.”“Run this skill in your browser: https://mohitagw15856.github.io/pm-claude-skills/skill/self-host-packager.html”
What to give it
▸The project — language, how it builds and starts, the port it listens on
▸State — database (and which), uploaded files, caches, anything written to disk
▸Configuration — environment variables the app reads, and which are secrets
▸External services(optional) — email, object storage, OAuth providers, and whether each is optional
▸Target user — a home-lab enthusiast, a small team, or a company's IT
✅ The bar it holds itself to
Every skill in this library self-verifies — these are this skill's own quality checks, straight from its definition.
✓`docker compose up -d` with a filled `.env` is the only start command needed
✓Every container image tag is pinned; none uses `latest`
✓All state lives under one `./data/` folder, and the docs say so
✓Every environment variable the app reads is in the table, with secrets marked
✓The HTTPS section contains a complete, working reverse-proxy config
✓The backup section includes a restore drill, not only a backup command
✓The upgrade section includes a rollback step
✓The smoke test confirms data survives a restart
⚠️ What it refuses to do
**State scattered across anonymous volumes.** Users cannot back up what they cannot find.
**`latest` tags.** An upgrade happens by accident on the next pull.
**Exposing the database port.** Only the app (behind the proxy) should be reachable.
**Backups that are never restored.** An untested backup is a hope, not a backup.
Install
npx pm-claude-skills add --agent claude # or codex · cursor · gemini · hermes
# or one-line MCP (every skill, any client):
claude mcp add pm-skills -- npx -y -p pm-claude-skills pm-claude-skills-mcp