.cursor/skills/deploy-check/SKILL.md
--- name: deploy-check description: Pre-deploy checklist: build, migrations, healthcheck; brief rollback plan. Use before deploying or when asked "what to check before deploy" or "rollback plan". compatibility: TikTok-AI-Agent. Node, Prisma. Railway, Procfile, railway.toml. --- # Deploy Check Run a pre-deploy checklist and outline a simple rollback plan. ## Input - Target (e.g. "Railway", "staging") or branch. Descriptive only; no secrets. ## Steps 1. **Build** – `npm run build`. Ensure it
npx skillsauth add sedarged/TikTok-AI-Agent .cursor/skills/deploy-checkInstall 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.
Run a pre-deploy checklist and outline a simple rollback plan.
npm run build. Ensure it succeeds.npm run db:generate and npm run db:migrate (or db:migrate:dev in dev). Confirm no pending migrations that would break deploy.GET /api/health should return { status: "ok", database: { ok: true } }.DATABASE_URL / env if changed. Do not run rollback automatically; only describe steps.development
Run lint, typecheck, test, and test:render; summarize pass/fail. Complements the validate command. Use when user asks to "validate", "run checks", or "run full validation".
development
Run lint, typecheck, test, and test:render; collect results and produce a short audit report. Use when asked to "audit the repo", "check project health", or "run full validation".
testing
Turn product plan or requirements into a checklist or task list (e.g. for STATUS.md). Use when given a plan fragment, roadmap, or requirements to break down into concrete tasks.
tools
Say hello and list project commands. Use for a quick project intro or when the user asks "what can this project do" or "list commands".