- Home
- Skills
- DevOps & Cloud
- docker-compose-linter
Docker Compose Linter
Enforce security, reliability, and deployment best practices for Docker Compose files.
Free
Works with the AI tools you already use
docker-compose-linter
Example session with this skill installed
Analyze my docker-compose.yml file for security issues and best practices. Look for hardcoded secrets, image tags, and missing healthchecks.
- Read your context and instructions
- Compiled the docker-compose-linter
🔴 CRITICAL - Hardcoded secret: DB_PASSWORD on line 12. Move to env_file or Docker secrets.
🟡 WARNING - Image 'redis:latest' is unpinned. Recommend: redis:7.2-alpine.
🟡 WARNING - Missing healthcheck for service 'api'. Add a healthcheck to ensure service readiness.
✅ PASS - Resource limits defined.
Connects securely to your tools. The creator never sees your data.
About this skill
What it does
This skill provides a comprehensive security and reliability audit for Docker Compose configurations. It scans docker-compose.yml and compose.yaml files to detect misconfigurations that lead to security vulnerabilities, performance bottlenecks, and deployment failures.
Why use this skill
Manual review of infrastructure-as-code is error-prone. This skill automates a 14-point quality gate that is more rigorous than standard YAML validation. While basic AI prompts might catch syntax errors, this skill enforces industry best practices like non-root execution, resource capping, image pinning, and network isolation that are often overlooked by developers focused on "just making it work."
What it covers
- Security Audit: Detects hardcoded secrets, privileged mode, dangerous capabilities, and exposed database ports.
- Reliability: Validates healthchecks, restart policies, and ensures resource limits are defined to prevent host exhaustion.
- Architecture: Recommends internal networking for backend services and image pinning to specific tags (no
:latest). - Modern Standards: Flags deprecated
versionfields and recommendsservice_healthyconditions for dependencies.
Output Format
The skill generates a categorized report with 🔴 CRITICAL, 🟡 WARNING, and ✅ PASS indicators, providing line-specific locations and clear remediation steps for every finding.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
5 installs
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 3 months ago
- Free to download with an account