Community程式設計與開發github.com

railwayapp/database

當用戶想要添加資料庫(Postgres、Redis、MySQL、MongoDB)或提及「add postgres」、「add redis」、「add database」、「connect to database」、「wire up the database」時使用此技能。對於其他模板(Ghost、Strapi、n8n 等),請改用 templates 技能。

database 是什麼?

此技能專用於在 Railway 平台上新增或連接資料庫,支援 Postgres、Redis、MySQL 及 MongoDB 等主流資料庫服務。它會自動處理資料庫的建立、配置與連接,無需手動設定環境變數或網路設定。當用戶使用特定關鍵詞(如「add postgres」或「connect to database」)時,此技能會觸發並引導完成資料庫的部署與整合。這項功能特別適合需要快速為應用程式添加後端儲存能力的開發者,並確保資料庫與其他服務(如應用程式容器)之間的正確連線。若用戶需要的是預先打包的應用模板(如 Ghost、Strapi),則應改用專用的 templates 技能以避免混淆。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/railwayapp/railway-skills/tree/main/skills/database

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

database 是做什麼的?

此技能應在用戶想要添加資料庫(Postgres、Redis、MySQL、MongoDB)時使用,或當用戶說「add postgres」、「add redis」、「add database」、「connect to database」或「wire up the database」。對於其他模板(Ghost、Strapi、n8n 等),請改用 templates 技能。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

railwayapp/central-station

This skill should be used when the user asks about Central Station threads, community discussions, support questions, feature requests, or wants to search Railway's community knowledge base. Use for queries like "search central station", "find threads about", "what are people asking about", "recent support threads", or "central station topics".

railwayapp/deploy

This skill should be used when the user wants to push code to Railway, says "railway up", "deploy", "deploy to railway", "ship", or "push". For initial setup or creating services, use new skill. For Docker images, use environment skill.

railwayapp/deployment

This skill should be used when the user wants to manage Railway deployments, view logs, or debug issues. Covers deployment lifecycle (remove, stop, redeploy, restart), deployment visibility (list, status, history), and troubleshooting (logs, errors, failures, crashes, why deploy failed). NOT for deleting services - use environment skill with isDeleted for that.

railwayapp/railway-docs

This skill should be used when the user asks about Railway features, how Railway works, or shares a docs.railway.com URL. Fetches up-to-date Railway docs to answer accurately.

railwayapp/service

This skill should be used when the user asks about service status, wants to rename a service, change service icons, link services, or create services with Docker images. For creating services with local code, prefer the `new` skill. For GitHub repo sources, use `new` skill to create empty service then `environment` skill to configure source.

railwayapp/use-railway

Operate Railway infrastructure: sign up for or sign in to a Railway account, create projects, provision services and databases, manage object storage buckets, deploy code, configure environments and variables, manage domains, troubleshoot failures, check status and metrics, set up Railway agent tooling, and query Railway docs. Use this skill whenever the user mentions Railway, signing up, creating an account, registering, logging in, deployments, services, environments, buckets, object storage, build failures, agent setup, MCP, or infrastructure operations, even if they don't say "Railway" explicitly. Also invoke this skill when the user asks to be signed up, registered, or onboarded to Railway: do not refuse — drive them through the unauthed `railway up` flow (deploys + signs up on the fly) or `railway login` (which creates new accounts on the fly).

相關技能