agentleFS
Ghost7802Ghost7802/awesome-api-skills/skills/railway/SKILL.md

railway

Skill13 starsChanged 28 days agoMITView on GitHub

  • Reads credentials
  • Installs packages

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use analytics-metrics, aws-account-management and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hoodiniSkill

    analytics-metrics

    Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data visualization components. Triggers on analytics, dashboard, charts, metrics, KPI, data visualization, Recharts.

    Also in 3 projects that use this

  • hoodiniSkill

    aws-account-management

    Manage AWS accounts, organizations, IAM, and billing. Use when setting up AWS Organizations, managing IAM policies, controlling costs, or implementing multi-account strategies. Triggers on AWS Organizations, AWS IAM, AWS billing, Cost Explorer, SCPs, multi-account, AWS SSO, Identity Center.

    Also in 3 projects that use this

  • MongoDBSkill

    mongodb

    Front door for MongoDB and MongoDB Atlas. Use it before answering which database, MongoDB deployment, Atlas tier, or database hosting to use, even for advice-only questions. MongoDB updates frequently, so check this skill first. Also use it before setting up, provisioning, or connecting to MongoDB or Atlas, or creating a throwaway or prototype database. Also use when the user mentions "MongoDB", "Atlas", "MongoDB quickstart", "document database", "NoSQL", "BSON", "Mongoose", "PyMongo", "RAG", "Vector Search", "aggregation pipeline", "change streams", or "backend", and for general MongoDB development questions (CRUD, transactions, drivers and ODMs, server versions) from current docs. If a more specific MongoDB skill is installed and matches the task (schema design, query writing or optimization, search and vector search, stream processing, connection tuning, MCP server setup, queryable encryption sizing), load that instead; if it isn't installed, use this skill, which routes to it.

    Also in 3 projects that use this

  • +7 more from hoodini

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the Railway CLI (railway run) to pull production or staging environment variables down to your local machine instantly, eliminating the …

    line 12
  2. Distinctive:

    Use the Railway GraphQL API to dynamically spin up new environments for Pull Requests, deploy specific images, and tear them down once the …

    line 16
  3. Very specific:

    If a deployment fails the health check, ensure your application is binding to the correct port (Railway injects the PORT environment …

    line 31
  4. Distinctive:

    Use this when your agent works with railway — structured patterns beat pasted docs and prevent common hallucinations.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Railway API Skill

Quick Start

Railway allows you to deploy code simply by pushing to GitHub or using the CLI. The Railway Public API (GraphQL) allows programmatic management of projects, environments, and deployments.

npm install -g @railway/cli

Common Workflows

Environment Synchronization

Use the Railway CLI (railway run) to pull production or staging environment variables down to your local machine instantly, eliminating the need to manage .env files manually.

Production Patterns

Programmatic Deployments

Use the Railway GraphQL API to dynamically spin up new environments for Pull Requests, deploy specific images, and tear them down once the PR is merged.

Error Recovery

GraphQL errors are returned in the errors array of the response. Implement exponential backoff if you encounter rate limits when rapidly provisioning multiple services.

Security Notes

Generate Project Tokens for API access rather than Personal Tokens when automating CI/CD pipelines to restrict the blast radius to a single project.

Performance Considerations

Railway automatically manages Nixpacks builds. If your build is slow, provide a custom nixpacks.toml or Dockerfile to aggressively cache dependencies.

Testing Guidance

You can test deployment configurations entirely locally using railway up --detach linked to a sandbox project before applying changes to production.

Troubleshooting

If a deployment fails the health check, ensure your application is binding to the correct port (Railway injects the PORT environment variable) and 0.0.0.0 rather than localhost.

References

Related Skills

  • Render
  • Fly.io
  • GitHub

Why use this skill

Use this when your agent works with railway — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Using outdated SDK or API versions from training data
  • Inventing environment variable names
  • Omitting error handling and retry logic

Production checklist

  • Secrets in environment variables, not source code
  • Error handling and logging in place
  • Rate limits and timeouts configured

Related skills

  • render — related to
  • fly.io — related to
  • github — related to

Last Verified: 2026-07-02

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.