deploy · davila7 — Railway skill for Claude Code: deploy code
This Claude Code skill deploys local code to Railway with railway up. It activates for requests to ship changes or watch a build.
MIT 126 installs updated 2026-10-24
npx claude-code-templates@latest --skill railway/deployWhat deploy does
The skill sends code from the current directory to Railway by running railway up. Its default --detach mode returns without waiting for the build. Use --ci to stream build output until the build finishes, which also exposes errors in the command output.
A target service can be selected with --service. For an unlinked project, the command needs both --project and --environment; otherwise, the project and service must already be linked. The Railway CLI, railway-cli, is required.
After a build failure in --ci mode, the build output is already available. The skill avoids running railway logs --build afterward because that command keeps streaming logs.
What it helps with
- deploy local changes to Railway
- target a specific service with
--service - stream build output until the deployment finishes
- deploy to a project without linking it first
Example prompts for the agent
- Deploy the code in the current directory to Railway.
- Ship these changes to the
backendservice and show the build output. - Deploy to project
<project-id>in theproductionenvironment.
How to install deploy
1claude-code-templates
npx claude-code-templates@latest --skill railway/deploy2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill railway-deploy -a claude-code3Manually: put the files in place
~/.claude/skills/deploy/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/deploy/
1Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill railway-deploy -a codex2Manually: put the files in place
.agents/skills/deploy/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill railway-deploy -a cursor2Manually: put the files in place
.cursor/skills/deploy/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates cli-tool/components/skills/railway/deploy2Manually: put the files in place
.github/skills/deploy/SKILL.md1Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill railway-deploy -a gemini-cli2Platform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/railway/deployManually: put the files in place
.devin/skills/deploy/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about deploy
How do I install deploy in Claude Code?
Run npx claude-code-templates@latest --skill railway/deploy.
What does the deploy skill do?
It runs railway up to send code from the current directory to Railway. It can target a service or environment, and --ci streams build output until completion.
What does deploy need to run?
The railway-cli must be installed. The usual flow needs a linked Railway project and service; an unlinked project requires both --project and --environment.
Similar skills
All skills for DevOps and infrastructure →deploy by other authors comes first.