Skip to content
Skills Library
DevOps & cloud · Building & coding

dockly

/dockly

Analyzes project dependencies to generate Dockerfile and docker-compose.yml. Use when the user asks to deploy, dockerize, or put the app on a server.

Repository
vibe.md ↗
Licence
MIT
Last repository change
13.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Analyzes project dependencies to generate Dockerfile and docker-compose.yml. Use when the user asks to deploy, dockerize, or put the app on a server.

Original author description

Analyzes project dependencies to generate Dockerfile and docker-compose.yml. Use when the user asks to deploy, dockerize, or put the app on a server.

How it works

  1. Prerequisites
  2. Purpose
  3. When to Use
  4. Instructions
  5. Examples
Original SKILL.md headings · 27 lines, 430 words
SKILL.md preview
---
name: dockly
description: Analyzes project dependencies to generate Dockerfile and docker-compose.yml. Use when the user asks to deploy, dockerize, or put the app on a server.
metadata:
  categories: Deployment, DevOps
  maintainers: IZ1KG
---

# Dockly

## Prerequisites
- Docker and Docker Compose installed on the user's machine (if testing locally).
- Standard project configuration files exist in the directory (e.g., `package.json`, `requirements.txt`, `.csproj`).

## Purpose
This skill provides a structured workflow for generating Docker configurations (`Dockerfile` and `docker-compose.yml`) across different tech stacks. It safely abstracts away containerization complexities, ensuring deployments are secure and properly configured without requiring deep DevOps expertise.

## When to Use
Use this skill when the user asks to "deploy the app", "dockerize the project", "put this on a server", or when they struggle with local environment differences (e.g., "it works on my machine but not elsewhere"). It is designed to abstract away containerization complexities for users without DevOps experience.

## Instructions
When invoked, you must follow these steps in strict order:
1. **Analyze Stack:** Scan the project's root directory to identify the primary language and framework. If this is a monorepo or has multiple subfolders, ask the user which specific service to dockerize first.
2. **Scaffold Dockerfile:** Create an optimized, multi-stage `Dockerfile` (e.g., use `node:alpine` with `npm run build` for Node.js, or standard python base for Python). You MUST generate a `.dockerignore` file to prevent copying dependencies (`node_modules`, `venv`, `bin/`, `obj/`, `.git`). Critically, also exclude `.env*` and credential files. Explicitly tell the user to keep secrets out of the image.
3. **Scaffold Compose:** Create a `docker-compose.yml` for the main application and backing services (e.g., PostgreSQL, MongoDB). Always use environment variables for credentials (e.g., `${POSTGRES_PASSWORD}`), NEVER hard-code passwords in the compose file. Leave backing services unpublished (the app reaches them over the compose network), or strictly bind them to `127.0.0.1` (e.g., `127.0.0.1:5432:5432`) if local access is needed.
4. **Validate & Report:** Attempt to run `docker compose config --quiet` (and `docker build` if Docker is available) to validate the configuration without printing secrets to the output. Report the results to the user. If it cannot run, explain why. Finally, tell them the command to run: `docker compose up -d`.

**Risk & Permissions Note:** 
- NEVER overwrite existing `Dockerfile`, `.dockerignore`, or `docker-compose.yml` files without explicit user confirmation.
- Alert the user that database ports are intentionally restricted to the compose network or localhost to prevent exposing them to the internet via Docker's firewall-bypassing rules.

## Examples
**User:** "Can you help me get this Next.js app ready for my VPS?"
**Agent:** Invokes Dockly, creates a multi-stage Dockerfile and a docker-compose.yml for the Next.js app, adds `.dockerignore` (including `.env*`), uses env vars for secrets, leaves DB ports unpublished for security, runs `docker compose config --quiet`, and provides the exact `docker compose up -d` command.

Versions

The database has no other skills named dockly.

Database snapshot: 13.11.2026 · package version 6df9f9d42d1a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100dockerize
    Containerize an existing project with a production-ready Dockerfile, .dockerignore and docker-compose.yml, then build and run it to verify. Use when the user says "dockerize this", "add a Dockerfile", "run this in Docker", "containerize the app", or "docker-compose for local dev".
  • 100docker-packaging
    This skill should be used when the user says \"create Dockerfile\", \"dockerize project\", \"Docker packaging\", \"container setup\", \"multi-stage build\", \"Docker Compose\", \"containerize application\", \"create docker-compose.yml\", \"create .dockerignore\", \"optimize…
  • 100docker-expert
    Use when working with Dockerfile, docker-compose.yml, .dockerignore, or multi-stage builds. Build, debug, secure, and optimize Docker 27+ images and Docker Compose services.
  • 100docker-init
    Generates production-ready docker-compose.yml and Dockerfile(s) for a project by scanning its manifest files (package.json, pyproject.toml, Gemfile, go.mod, Cargo.toml) and source code for service dependencies (Postgres, MySQL, Redis, MongoDB, RabbitMQ, Kafka, Elasticsearch,…
  • 90create
    Creates the Docker environment of a project that has none. Writes base, dev and prod compose files, a Dockerfile per service in docker/<domain>, dev hot reload, lean prod and docker/README.md. Use when asked to dockerize a project, or for compose, a Dockerfile or a dev or prod setup from scratch.
  • 100trove-docker
    Dockerfile and Docker Compose best practices. Auto-activates on Docker files. Use when: dockerfile; docker compose; containerize.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.