AgentSkillsCN

railway-deploy

借助环境检查、部署验证与快速回滚指南,安全地将该项目部署至 Railway 平台。

SKILL.md
--- frontmatter
name: railway-deploy
description: Deploy this project to Railway safely with environment checks, rollout verification, and quick rollback guidance.
license: MIT
compatibility: opencode
metadata:
  audience: developers
  platform: railway

When to use

  • Use for app deploys to Railway from this repository.
  • Use after code changes that affect runtime behavior.

Workflow

  1. Verify status and linkage first (railway-status skill).
  2. Validate required variables exist before deploy.
  3. Trigger deploy through Railway MCP deploy tool.
  4. Pull recent logs immediately after deploy.
  5. Verify health endpoint/application startup signals.

Guardrails

  • Never change production-critical variables silently.
  • Surface migration risk before deploy if schema changed.
  • If deploy fails, capture logs and suggest minimal rollback steps.

Output expectations

  • Deployed service + environment.
  • Deploy result and URL/domain.
  • Post-deploy verification status and any errors.