# Sedarged Tiktok AI Agent Deploy Check

> Deploy Check

- Skill: `tomevault-io/sedarged-tiktok-ai-agent-deploy-check` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/sedarged-tiktok-ai-agent-deploy-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/sedarged-tiktok-ai-agent-deploy-check/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/sedarged-tiktok-ai-agent-deploy-check

---


# 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 succeeds.
2. **Migrations** – `npm run db:generate` and `npm run db:migrate` (or `db:migrate:dev` in dev). Confirm no pending migrations that would break deploy.
3. **Healthcheck** – After deploy, `GET /api/health` should return `{ status: "ok", database: { ok: true } }`.
4. **Rollback plan** – Short list: revert to previous deployment, re-run migrations if rolled back schema, restore `DATABASE_URL` / env if changed. Do not run rollback automatically; only describe steps.

## Output

- List of checks (build, migrations, health) and pass/fail.
- Brief "Rollback plan" section: what to revert and in what order.

## References

- [railway.toml](railway.toml), [Procfile](Procfile) – build and start commands
- [README.md](README.md) – Production notes, env vars

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/sedarged) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

