Agent skill · software engineering · davila7
railway-new
Create Railway projects, services, and databases with proper configuration. Use when user says "setup", "deploy to railway", "initialize", "create project", "create service", or wants to deploy from GitHub. Handles initial setup AND adding services to existing projects. For databases, use railway-railway-database skill instead.
Why this skill is useful
Adds specific commands and workflows for managing Railway projects and services that the AI wouldn't reliably generate on its own.
What it needs
Requires railway-cli installed locally. About 8k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.
What this skill does
New Project / Service / Database Create Railway projects, services, and databases with proper configuration. When to Use User says "deploy to railway" (add service if linked, init if not) User says "create a railway project", "init", "new project" (explicit new project) User says "link to railway", "connect to railway" User says "create a service", "add a backend", "new api service" User says "create a vite app", "create a react website", "make a python api" User says "deploy from github.com/user/repo", "create service from this repo" User says "add postgres", "add a database", "add redis", "add mysql", "add mongo" User says "connect to postgres", "wire up the database", "connect my api to redis" User says "add postgres and connect to the server" Setting up code + Railway service together Prerequisites Check CLI installed: If not installed: Install Railway CLI: or Check authenticated: If not authenticated: Run railway login to authenticate. Decision Flow Check Current State If linked: Add a service to the existing project (see below) If not linked: Check if a PARENT directory is linked (see below) When Already Linked Default behavior: "deploy to railway" = add a service to the linked project. Do NOT create a new project unless user EXPLICITLY says: "new project", "create a project", "init a project" "separate project", "different project" App names like "flappy-bird" or "my-api" are SERVICE names, not project names. Parent Directory Linking Railway CLI walks up the directory tree to find a linked project. If you're in a subdirectory: If parent is linked, you don't need to init/link the subdirectory. Instead: 1. Create service: railway add --service <name> 2. Set rootDirectory to subdirectory path via environment skill 3. Deploy from root: railway up If no parent is linked, proceed with init or link flow. Init vs Link Decision Skip this section if already linked - just add a service instead. Only use this section when NO project is linked (directly or via parent). …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills davila7/new