Standardizes project for Cloud Sovereignty (Coolify + VPS) with Eco Mode resource limits and Professional Folder Hierarchy.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: cloud-ready description: "Standardizes project for Cloud Sovereignty (Coolify + VPS) with Eco Mode resource limits and Professional Folder Hierarchy." version: 1.1.0
☁️ 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
More by LeandroLarrosa
View allIntegración con Context7 MCP Server para obtener documentación actualizada de librerías.
Conventional Commits specification for standardized, semantic versioning-compatible commit messages
Manejo de tareas asíncronas con 'arq' (Redis) para escalar la ingesta y procesos pesados.
Plantilla base para crear nuevas skills en este proyecto. Copia esta estructura.
