templates

Deploy preconfigured service templates to a Railway project via GraphQL API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the friction of manually configuring and wiring common services on Railway by searching, fetching, and deploying preconfigured templates so teams can provision databases, CMS, storage, automation, and monitoring tools quickly.

Core Features & Use Cases

  • Search and filter Railway's template marketplace to find verified or recommended templates.
  • Retrieve template details and serialized configuration, then deploy templates into a specific project and environment via the GraphQL API.
  • Common use cases include adding PostgreSQL, Redis, MySQL, MongoDB, Ghost, Strapi, n8n, Minio, and Uptime Kuma, and connecting services using environment variable references.

Quick Start

Add a PostgreSQL database to my Railway project using the postgres template and deploy it to the specified environment.

Frequently Asked Questions about templates

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

FAQPage Schema
How do I deploy a preconfigured database template to my Railway project?

To deploy a database template to a Railway project, the Skill searches the marketplace, retrieves the serializedConfig, and invokes templateDeployV2 using your project, environment, and workspace IDs to provision the service instantly.

What kind of services can I add to Railway using templates?

You can add databases, CMS, storage, automation, and monitoring services to Railway using templates. Common options include PostgreSQL, Redis, MySQL, MongoDB, Ghost, Strapi, n8n, Minio, and Uptime Kuma.

Can I search the Railway marketplace for verified templates to provision infrastructure?

Yes, you can search and filter the Railway template marketplace to find verified or recommended templates. The Skill fetches the template details and serialized configuration to ensure proper deployment.

Do I need to provide specific project and environment IDs to deploy a Railway template?

Yes, deploying a Railway template requires obtaining your project and workspace context. The Skill uses these specific project, environment, and workspace IDs to execute the templateDeployV2 GraphQL mutation correctly.

Are external dependencies required to automate Railway template deployment via GraphQL?

Yes, automating Railway template deployment requires installing jq and curl. These dependencies handle the GraphQL API requests to fetch template details and execute the templateDeployV2 mutation.

How do templates handle connecting multiple services like databases and CMS on Railway?

Railway templates handle connecting multiple services by using environment variable references. When you deploy a template, the preconfigured services are automatically wired together using these references for seamless communication.