← ClaudeAtlas

deploy-to-railwaylisted

Use when deploying a project to Railway from scratch — provisioning a Postgres database, one or more app services (a full-stack monolith OR separate frontend/backend), an S3-compatible bucket, sharing credentials + env vars between services, wiring GitHub auto-deploy on merge to main, and adding auth (Google SSO or Cloudflare Zero Trust in front). Triggers on "deploy this to Railway", "get it live on Railway", "set up Railway with a database + auto deploy", "split front/back end services on Railway", "add an S3 bucket on Railway", "share env vars between Railway services". Carries the hard-won gotchas (NIXPACKS Node version, npm-version lockfile skew, RLS-safe DATABASE_URL, DB-role password rotation, GitHub App authorization) that turn a 6-hour debug into a 20-minute deploy.
jackneil/claude-jacked · ★ 1 · AI & Automation · score 67
Install: claude install-skill jackneil/claude-jacked
# Deploy a project to Railway (live, auto-deploying, secure) This is a **companion to the official `railway:use-railway` skill** — load that too; it owns the CLI/MCP mechanics (auth, `railway up`, logs, the GraphQL fallback). THIS skill is the opinionated end-to-end playbook + the gotcha list that the generic skill doesn't have. When they disagree, the generic skill wins on a command's exact flags; this skill wins on the *sequence and the traps*. ## The model (read once) - **Workspace** → billing scope. **Project** → one app + its DB(s). **Service** → one deployable (app, DB, or bucket). **Environment** → `production` etc. - Railway gives every service a **private** address (`<svc>.railway.internal`) and, on request, a **public** domain. Services in the same project reach each other over the private network — keep databases private. - **Reference variables** `${{ OtherService.VAR }}` are how you share credentials/values between services. Same-service self-refs work too: `${{ MY_OWN_VAR }}`. ## Decide the service topology FIRST | Project shape | Services to create | |---|---| | **Full-stack framework** (Next.js, Remix, SvelteKit, Rails, Django+templates) | **ONE** app service. The framework serves UI *and* API from one process. Do NOT split it — two services for one codebase is wrong and leaves a dead/broken half. | | **Truly separate FE + BE** (React/Vue SPA + a separate Node/Python/Go API) | **TWO** services from the same or two repos. FE gets the public domai