railway
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Railway CLI Skill
Manage Railway deployments and infrastructure using the Railway CLI.
Pre-flight Check
Current status: !railway status 2>&1 || echo "NOT_LINKED"
Auto-Recovery
Before running any command, check the pre-flight status above:
- If "command not found": Run
npm install -g @railway/cli - If "Not logged in": Tell user to run
railway loginmanually (requires browser) - If "NOT_LINKED" or "No project linked":
- Run
railway listto show available projects - Ask user which project to link, or auto-detect from package.json name
- Link with
railway link -p <project-id>
- Run