AgentSkillsCN

railway-status

在进行任何更改之前,先检查铁路 CLI 的认证状态、已关联的项目/服务,以及当前部署的健康状况。

SKILL.md
--- frontmatter
name: railway-status
description: Check Railway CLI auth, linked project/service, and current deployment health before making changes.
license: MIT
compatibility: opencode
metadata:
  audience: developers
  platform: railway

When to use

  • Use this first for any Railway task in this repo.
  • Confirm CLI auth, project linkage, environment linkage, and basic service status.

Workflow

  1. Run Railway MCP status tools first (check-railway-status, list-projects, list-services).
  2. Confirm current linked project/service/environment before deploy actions.
  3. If project is not linked, link it before proceeding.
  4. For failed checks, stop and report exact failure and next command.

Output expectations

  • Return linked project/service/environment names.
  • Return whether auth is valid.
  • Return a short action plan for deploy/debug.