AgentSkillsCN

railway-logs

通过有针对性的日志检索与错误分类,快速诊断铁路运行时问题。

SKILL.md
--- frontmatter
name: railway-logs
description: Diagnose Railway runtime issues quickly using targeted log retrieval and error triage.
license: MIT
compatibility: opencode
metadata:
  audience: developers
  platform: railway

When to use

  • Use for failed deploys, startup crashes, and intermittent production issues.
  • Use after deploys to validate stability.

Workflow

  1. Pull recent logs for the active service/environment.
  2. Identify first fatal error and repeated patterns.
  3. Classify issue: config, dependency, runtime, network, DB, migration.
  4. Propose the smallest safe fix and verification command.

Output expectations

  • Error signature (one line).
  • Suspected root cause.
  • Concrete next step to fix.
  • Verification step after fix.