Agent skill
cloud-ready
Standardizes project for Cloud Sovereignty (Coolify + VPS) with Eco Mode resource limits and Professional Folder Hierarchy.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/cloud-ready
SKILL.md
โ๏ธ Cloud Ready (Sovereign Deploy)
This skill forces the project into a professional, deployable state compatible with Hetzner VPS and Coolify.
๐ฏ Objective
Transform a "Local" project into a "Production" engine.
- Strict Topology: Enforces
src/,ops/,assets/,docs/. - Eco Mode: Generates
docker-compose.ymlwith strict RAM/CPU limits to prevent OOM kills on cheap VPS. - Deployment Guide: Adds
docs/COOLIFY_DEPLOY.md.
๐ ๏ธ Usage
Trigger this skill when the user wants to "deploy", "go to cloud", or "standardize" the project.
# Verify structure
python -c "import os; print('โ
Ready' if os.path.exists('src') else 'โ Missing src/')"
๐ The "Golden Standard" (The Truths)
- Code lives in
src/: No exceptions.apps/goes insidesrc/. - Resources live in
assets/: Notrsc/. - Infrastructure lives in
ops/: Firewall, Audits, Backups. - Data Persistence: Only
/app/datainside Docker. - Limits are Mandatory: Every service MUST have
deploy.resources.limits.
๐ The Application of "Proof" (Verification Protocol)
Before considering a module "Cloud Ready", it must be Inhaled (Verified).
- Create Temporary Provers: Generate
prove_module.pyscripts at root. - Check Importability:
from src.module import App. - Check Integrity:
hasattr(App, 'app')orhasattr(Bot, 'run'). - Run Tests: Fix
sys.pathin runners (run_tests.py) to includesrc/.
๐งน The "Sanitization" (Exhale Protocol)
We never ship the crowbar with the crate.
- Delete Provers:
del prove_*.py run_tests.py. - Ignore Tests: Add
tests/and*/tests/to.dockerignore. - Sanitize Git: Add
prove_*.pyand*.tmpto.gitignore.
Rule: Production Containers contain ONLY what is needed to run. No tests, no audit tools.
๐ฆ Output Artifacts
docker-compose.yml(Optimized)Dockerfile(Python Slim with source mapping)docs/COOLIFY_DEPLOY.mddocs/SWAP_GUIDE.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?