MCP HubMCP Hub
Zurück zu Fähigkeiten

railway-status

davila7
Aktualisiert Today
580 Ansichten
18,478
1,685
18,478
Auf GitHub ansehen
MetaRailwayStatusProjectEnvironmentDeploymentInfrastructure

Über

Diese Fähigkeit überprüft den aktuellen Bereitstellungsstatus und die Betriebszeit von Railway-Projekten im aktuellen Verzeichnis. Sie wird durch Abfragen wie "railway status", "was ist bereitgestellt" oder Fragen zum Bereitstellungsstatus und zur Betriebszeit ausgelöst. Verwenden Sie stattdessen für Konfigurations- oder Variablenabfragen die separate railway-environment-Fähigkeit.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add davila7/claude-code-templates
Plugin-BefehlAlternativ
/plugin add https://github.com/davila7/claude-code-templates
Git CloneAlternativ
git clone https://github.com/davila7/claude-code-templates.git ~/.claude/skills/railway-status

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

Railway Status

Check the current Railway project status for this directory.

When to Use

  • User asks about Railway status, project, services, or deployments
  • User mentions deploying or pushing to Railway
  • Before any Railway operation (deploy, update service, add variables)
  • User asks about environments or domains

When NOT to Use

Use the railway-environment skill instead when user wants:

  • Detailed service configuration (builder type, dockerfile path, build command, root directory)
  • Deploy config (start command, restart policy, healthchecks, predeploy command)
  • Service source (repo, branch, image)
  • Compare service configs
  • Query or change environment variables

Check Status

Run:

railway status --json

First verify CLI is installed:

command -v railway

Handling Errors

CLI Not Installed

If command -v railway fails:

Railway CLI is not installed. Install with:

npm install -g @railway/cli

or

brew install railway

Then authenticate: railway login

Not Authenticated

If railway whoami fails:

Not logged in to Railway. Run:

railway login

No Project Linked

If status returns "No linked project":

No Railway project linked to this directory.

To link an existing project: railway link To create a new project: railway init

Presenting Status

Parse the JSON and present:

  • Project: name and workspace
  • Environment: current environment (production, staging, etc.)
  • Services: list with deployment status
  • Active Deployments: any in-progress deployments (from activeDeployments field)
  • Domains: any configured domains

Example output format:

Project: my-app (workspace: my-team)
Environment: production

Services:
- web: deployed (https://my-app.up.railway.app)
- api: deploying (build in progress)
- postgres: running

The activeDeployments array on each service shows currently running deployments with their status (building, deploying, etc.).

GitHub Repository

davila7/claude-code-templates
Pfad: cli-tool/components/skills/railway/status
anthropicanthropic-claudeclaudeclaude-code

Verwandte Skills

railway-new

Meta

This skill creates and configures Railway projects and services, handling both initial setup and adding services to existing projects. It triggers when users mention deployment, initialization, or GitHub linking to Railway. Use it for infrastructure scaffolding, but employ a separate skill specifically for database creation.

Skill ansehen

railway-deployment

Meta

This Claude Skill manages Railway deployments for lifecycle operations and troubleshooting. It enables developers to view logs, redeploy, restart, or remove deployments through Railway CLI commands. Use it for deployment visibility and debugging, but note that deleting services requires the railway-environment skill instead.

Skill ansehen

railway-database

Meta

This skill adds official Railway database services (Postgres, Redis, MySQL, MongoDB) with pre-configured volumes and connection variables. Use it when developers request to add, connect, or wire up databases in their Railway projects. It specifically handles database services while directing other templates to the separate railway-templates skill.

Skill ansehen

railway-domain

Meta

This Claude Skill manages domains for Railway services, allowing developers to add, view, or remove both Railway-provided and custom domains. It handles tasks like generating service URLs, checking current domains, and configuring DNS settings. The skill uses the railway-cli via Bash commands and is triggered when users ask about domain-related operations for their services.

Skill ansehen