skills/vendix-ec2-maintenance/SKILL.md
Vendix EC2 production maintenance and troubleshooting: GitHub Actions to ECR + EC2 deploy, targeted Docker cleanup, CloudWatch/monitoring-first diagnosis, and safe SSH/AWS access expectations. Trigger: When dealing with EC2 deployment failures, disk pressure, Docker pull/layer errors, or server cleanup.
npx skillsauth add rzyfront/vendix vendix-ec2-maintenanceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
.github/workflows/deploy-backend-ec2.yml.github/workflows/deploy-s3.ymlapps/backend/src/domains/superadmin/monitoring/docker-compose.yml.pem path in the skill text.VENDIX_SSH_PRIVATE_KEY and resolves host/instance data through AWS.Prefer evidence in this order:
Avoid blanket docker system prune -a -f as the default advice.
Prefer the repo’s targeted cleanup sequence when disk pressure or layer registration failures appear:
Be careful with persistent infra components such as shared Docker network/Redis state.
no space left on devicenpm install failure is not a primary EC2 deploy symptom for this repo because production backend images are built before reaching the instance.
AWS CLI checks such as aws sts get-caller-identity are safe for validating access context. Use live infra reads only when repository evidence is insufficient.
vendix-cloud-operations - General AWS CLI, SSH, and private production runbook orientation.vendix-monorepo-workspacesbuildcheck-devgit-workflowdevelopment
Mobile app development rules for Vendix Expo/React Native project. Trigger: When editing, creating, or modifying any file under apps/mobile, or when developing mobile-specific features.
development
Feature gating by store subscription state: global store write guard, AI feature gate, Redis feature resolution, quota consumption, frontend paywall interceptor, banner, and subscription UI states. Trigger: When adding feature gates, paywalls, subscription-based access control, protecting store write operations, AI feature gates, or rollout flags.
testing
SaaS subscription billing for Vendix stores: plan pricing, invoices, Wompi platform payments, manual payments, partner commissions, payouts, proration, and dunning. Trigger: When creating SaaS invoices, working with partner rev-share, margin/surcharge pricing, invoice sequence allocation, partner payout batches, subscription payments, manual payments, or dunning flows.
development
Periodic quota counters with Redis, UTC period keys, Lua-based idempotent AI quota consumption, request-id deduplication, and post-success consumption. Trigger: When building quota counters, enforcing monthly/daily feature caps, or reusing AI quota patterns for uploads, emails, exports, or rate-limited features.