new

Initialize Railway projects, link repositories, and add services with CLI configuration.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/habrahgithub/node-backend-starter --skill new-habrahgithub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new
Source: https://github.com/habrahgithub/node-backend-starter/tree/main/.codex/skills/railway-new
Command: npx skills add https://github.com/habrahgithub/node-backend-starter --skill new-habrahgithub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill removes the guesswork and manual steps required to initialize, link, and add services to Railway projects so developers can deploy code reliably. It guides the decision between initializing a new project or linking to an existing one, handles parent-directory linking, and explains monorepo vs isolated app configuration to avoid broken builds.

Core Features & Use Cases

  • Project initialization and linking: Determine whether to run railway init or railway link and handle workspace selection when multiple workspaces exist.
  • Add services and scaffold code: Create new services for Node, Python, static sites, and other runtimes and recommend scaffolding commands when no code exists.
  • Monorepo guidance: Decide when to set rootDirectory versus using custom build/start commands and configure watch paths for shared packages.
  • Railpack & environment configuration: Advise on buildCommand, startCommand, RAILPACK variables, and when to use the environment skill to apply staged changes.
  • Composability: Coordinate with database, deploy, environment, domain, and status skills to complete end-to-end setup.

Quick Start

Deploy the current repository to Railway and add a service named my-service.

Frequently Asked Questions about new

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize a new Railway project and link an existing repository?

To initialize a new Railway project, use railway init, or use railway link to connect an existing repository. This process handles workspace selection and parent-directory linking to prepare your codebase for deployment.

How do I add a service to a linked Railway project?

You can add a service to a linked Railway project using railway add --service. This skill also recommends scaffolding commands for Node, Python, and static sites when no application code exists in the target directory.

How do I configure Railway monorepo deployments with rootDirectory?

For Railway monorepo deployments, set the rootDirectory to isolate app builds, or use custom buildCommand and startCommand configurations. This approach prevents broken builds and manages watch paths for shared packages.

What is Railpack and how do I configure build and start commands for Railway?

Railpack uses buildCommand, startCommand, and RAILPACK variables to configure your Railway service build process. You apply these staged environment configuration changes using the environment skill to complete the setup.

Do I need a database skill to prepare a Railway project for deployment?

You need the database skill to provision databases within your Railway project. This skill coordinates with database, deploy, domain, and status skills to complete end-to-end project setup and deployment configuration.