[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EYA890A9QTA5SHE7G7SDM6":3,"skill-same:01M6EYA890A9QTA5SHE7G7SDM6":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":14,"repositoryHtmlUrl":66,"repositoryHomepageUrl":67,"ownerHtmlUrl":68,"ownerBlogUrl":6,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6EYA890A9QTA5SHE7G7SDM6","railway-environment",null,"Query, stage, and apply configuration changes for Railway environments. Use for ANY variable or env var operations, service configuration (source, build settings, deploy settings), lifecycle (delete service), and applying changes. Prefer over railway-status skill for any configuration or variable queries.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-code-templates\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Frailway\u002Fenvironment\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"Railway","railway environment","environment","use","Variables","env","service","stage","query","configuration","build","queries","cli","operations","settings","Bash","lifecycle","delete","deploy","status","2026-11-10 10:12:30",false,"---\nname: railway-environment\ndescription: Query, stage, and apply configuration changes for Railway environments. Use for ANY variable or env var operations, service configuration (source, build settings, deploy settings), lifecycle (delete service), and applying changes. Prefer over railway-status skill for any configuration or variable queries.\nversion: 1.0.0\nauthor: Railway\nlicense: MIT\ntags: [Railway, Environment, Configuration, Variables, Build, Deploy, Infrastructure, Settings]\ndependencies: [railway-cli]\nallowed-tools: Bash(railway:*)\n---\n\n# Environment Configuration\n\nQuery, stage, and apply configuration changes for Railway environments.\n\n## Shell Escaping\n\n**CRITICAL:** When running GraphQL queries via bash, you MUST wrap in heredoc to prevent shell escaping issues:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh 'query ...' '{\"var\": \"value\"}'\nSCRIPT\n```\n\nWithout the heredoc wrapper, multi-line commands break and exclamation marks in GraphQL non-null types get escaped, causing query failures.\n\n## When to Use\n\n- User wants to create a new environment\n- User wants to duplicate an environment (e.g., \"copy production to staging\")\n- User wants to switch to a different environment\n- User asks about current build\u002Fdeploy settings, variables, replicas, health checks, domains\n- User asks to change service source (Docker image, branch, commit, root directory)\n- User wants to connect a service to a GitHub repo\n- User wants to deploy from a GitHub repo (create empty service first via railway-new skill, then use this)\n- User asks to change build or start command\n- User wants to add\u002Fupdate\u002Fdelete environment variables\n- User wants to change replica count or configure health checks\n- User asks to delete a service, volume, or bucket\n- User says \"apply changes\", \"commit changes\", \"deploy changes\"\n- Auto-fixing build errors detected in logs\n\n## Create Environment\n\nCreate a new environment in the linked project:\n\n```bash\nrailway environment new \u003Cname>\n```\n\nDuplicate an existing environment:\n\n```bash\nrailway environment new staging --duplicate production\n```\n\nWith service-specific variables:\n\n```bash\nrailway environment new staging --duplicate production --service-variable api PORT=3001\n```\n\n## Switch Environment\n\nLink a different environment to the current directory:\n\n```bash\nrailway environment \u003Cname>\n```\n\nOr by ID:\n\n```bash\nrailway environment \u003Cenvironment-id>\n```\n\n## Get Context\n\n```bash\nrailway status --json\n```\n\nExtract:\n\n- `project.id` - for service lookup\n- `environment.id` - for the mutations\n- `service.id` - default service if user doesn't specify one\n\n### Resolve Service ID\n\nIf user specifies a service by name, query project services:\n\n```graphql\nquery projectServices($projectId: String!) {\n  project(id: $projectId) {\n    services {\n      edges {\n        node {\n          id\n          name\n        }\n      }\n    }\n  }\n}\n```\n\nMatch the service name (case-insensitive) to get the service ID.\n\n## Query Configuration\n\nFetch current environment configuration and staged changes.\n\n```graphql\nquery environmentConfig($environmentId: String!) {\n  environment(id: $environmentId) {\n    id\n    config(decryptVariables: false)\n    serviceInstances {\n      edges {\n        node {\n          id\n          serviceId\n        }\n      }\n    }\n  }\n  environmentStagedChanges(environmentId: $environmentId) {\n    id\n    patch(decryptVariables: false)\n  }\n}\n```\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'query envConfig($envId: String!) {\n    environment(id: $envId) { id config(decryptVariables: false) }\n    environmentStagedChanges(environmentId: $envId) { id patch(decryptVariables: false) }\n  }' \\\n  '{\"envId\": \"ENV_ID\"}'\nSCRIPT\n```\n\n### Response Structure\n\nThe `config` field contains current configuration:\n\n```json\n{\n  \"services\": {\n    \"\u003CserviceId>\": {\n      \"source\": { \"repo\": \"...\", \"branch\": \"main\" },\n      \"build\": { \"buildCommand\": \"npm run build\", \"builder\": \"NIXPACKS\" },\n      \"deploy\": {\n        \"startCommand\": \"npm start\",\n        \"multiRegionConfig\": { \"us-west2\": { \"numReplicas\": 1 } }\n      },\n      \"variables\": { \"NODE_ENV\": { \"value\": \"production\" } },\n      \"networking\": { \"serviceDomains\": {}, \"customDomains\": {} }\n    }\n  },\n  \"sharedVariables\": { \"DATABASE_URL\": { \"value\": \"...\" } }\n}\n```\n\nThe `patch` field in `environmentStagedChanges` contains pending changes. The effective configuration is the base `config` merged with the staged `patch`.\n\nFor complete field reference, see [reference\u002Fenvironment-config.md](..\u002Freference\u002Fenvironment-config.md).\n\nFor variable syntax and service wiring patterns, see [reference\u002Fvariables.md](..\u002Freference\u002Fvariables.md).\n\n## Get Rendered Variables\n\nThe GraphQL queries above return **unrendered** variables - template syntax like `${{shared.DOMAIN}}` is preserved. This is correct for management\u002Fediting.\n\nTo see **rendered** (resolved) values as they appear at runtime:\n\n```bash\n# Current linked service\nrailway variables --json\n\n# Specific service\nrailway variables --service \u003Cservice-name> --json\n```\n\n**When to use:**\n- Debugging connection issues (see actual URLs\u002Fports)\n- Verifying variable resolution is correct\n- Viewing Railway-injected values (RAILWAY_*)\n\n## Stage Changes\n\nStage configuration changes via the `environmentStageChanges` mutation. Use `merge: true` to automatically merge with existing staged changes.\n\n```graphql\nmutation stageEnvironmentChanges(\n  $environmentId: String!\n  $input: EnvironmentConfig!\n  $merge: Boolean\n) {\n  environmentStageChanges(\n    environmentId: $environmentId\n    input: $input\n    merge: $merge\n  ) {\n    id\n  }\n}\n```\n\n**Important:** Always use variables (not inline input) because service IDs are UUIDs which can't be used as unquoted GraphQL object keys.\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation stageChanges($environmentId: String!, $input: EnvironmentConfig!, $merge: Boolean) {\n    environmentStageChanges(environmentId: $environmentId, input: $input, merge: $merge) { id }\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"input\": {\"services\": {\"SERVICE_ID\": {\"build\": {\"buildCommand\": \"npm run build\"}}}}, \"merge\": true}'\nSCRIPT\n```\n\n### Delete Service\n\nUse `isDeleted: true`:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation stageChanges($environmentId: String!, $input: EnvironmentConfig!, $merge: Boolean) {\n    environmentStageChanges(environmentId: $environmentId, input: $input, merge: $merge) { id }\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"input\": {\"services\": {\"SERVICE_ID\": {\"isDeleted\": true}}}, \"merge\": true}'\nSCRIPT\n```\n\n## Stage and Apply Immediately\n\nFor single changes that should deploy right away, use `environmentPatchCommit` to stage and apply in one call.\n\n```graphql\nmutation environmentPatchCommit(\n  $environmentId: String!\n  $patch: EnvironmentConfig\n  $commitMessage: String\n) {\n  environmentPatchCommit(\n    environmentId: $environmentId\n    patch: $patch\n    commitMessage: $commitMessage\n  )\n}\n```\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation patchCommit($environmentId: String!, $patch: EnvironmentConfig, $commitMessage: String) {\n    environmentPatchCommit(environmentId: $environmentId, patch: $patch, commitMessage: $commitMessage)\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"patch\": {\"services\": {\"SERVICE_ID\": {\"variables\": {\"API_KEY\": {\"value\": \"secret\"}}}}}, \"commitMessage\": \"add API_KEY\"}'\nSCRIPT\n```\n\n**When to use:** Single change, no need to batch, user wants immediate deployment.\n\n**When NOT to use:** Multiple related changes to batch, or user says \"stage only\" \u002F \"don't deploy yet\".\n\n## Apply Staged Changes\n\nCommit staged changes and trigger deployments.\n\n**Note:** There is no `railway apply` CLI command. Use the mutation below or direct users to the web UI.\n\n### Apply Mutation\n\n**Mutation name: `environmentPatchCommitStaged`**\n\n```graphql\nmutation environmentPatchCommitStaged(\n  $environmentId: String!\n  $message: String\n  $skipDeploys: Boolean\n) {\n  environmentPatchCommitStaged(\n    environmentId: $environmentId\n    commitMessage: $message\n    skipDeploys: $skipDeploys\n  )\n}\n```\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation commitStaged($environmentId: String!, $message: String) {\n    environmentPatchCommitStaged(environmentId: $environmentId, commitMessage: $message)\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"message\": \"add API_KEY variable\"}'\nSCRIPT\n```\n\n### Parameters\n\n| Field           | Type    | Default | Description                                 |\n| --------------- | ------- | ------- | ------------------------------------------- |\n| `environmentId` | String! | -       | Environment ID from status                  |\n| `message`       | String  | null    | Short description of changes                |\n| `skipDeploys`   | Boolean | false   | Skip deploys (only if user explicitly asks) |\n\n### Commit Message\n\nKeep very short - one sentence max. Examples:\n\n- \"set build command to fix npm error\"\n- \"add API_KEY variable\"\n- \"increase replicas to 3\"\n\nLeave empty if no meaningful description.\n\n### Default Behavior\n\n**Always deploy** unless user explicitly asks to skip. Only set `skipDeploys: true` if user says \"apply without deploying\", \"commit but don't deploy\", or \"skip deploys\".\n\nReturns a workflow ID (string) on success.\n\n## Auto-Apply Behavior\n\nBy default, **apply changes immediately**.\n\n### Flow\n\n**Single change:** Use `environmentPatchCommit` to stage and apply in one call.\n\n**Multiple changes or batching:** Use `environmentStageChanges` with `merge: true` for each change, then `environmentPatchCommitStaged` to apply.\n\n### When NOT to Auto-Apply\n\n- User explicitly says \"stage only\", \"don't deploy yet\", or similar\n- User is making multiple related changes that should deploy together\n\n**When you don't auto-apply, tell the user:**\n\n> Changes staged. Apply them at: https:\u002F\u002Frailway.com\u002Fproject\u002F{projectId}\n> Or ask me to apply them.\n\nGet `projectId` from `railway status --json` → `project.id`\n\n## Error Handling\n\n### Service Not Found\n\n```\nService \"foo\" not found in project. Available services: api, web, worker\n```\n\n### No Staged Changes\n\n```\nNo patch to apply\n```\n\nThere are no staged changes to commit. Stage changes first.\n\n### Invalid Configuration\n\nCommon issues:\n\n- `buildCommand` and `startCommand` cannot be identical\n- `buildCommand` only valid with NIXPACKS builder\n- `dockerfilePath` only valid with DOCKERFILE builder\n\n### No Permission\n\n```\nYou don't have permission to modify this environment. Check your Railway role.\n```\n\n### No Linked Project\n\n```\nNo project linked. Run `railway link` to link a project.\n```\n\n## Composability\n\n- **Create service**: Use railway-service skill\n- **View logs**: Use railway-deployment skill\n- **Add domains**: Use railway-domain skill\n- **Deploy local code**: Use railway-deploy skill\n","# Environment Configuration\n\nQuery, stage, and apply configuration changes for Railway environments.\n\n## Shell Escaping\n\n**CRITICAL:** When running GraphQL queries via bash, you MUST wrap in heredoc to prevent shell escaping issues:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh 'query ...' '{\"var\": \"value\"}'\nSCRIPT\n```\n\nWithout the heredoc wrapper, multi-line commands break and exclamation marks in GraphQL non-null types get escaped, causing query failures.\n\n## When to Use\n\n- User wants to create a new environment\n- User wants to duplicate an environment (e.g., \"copy production to staging\")\n- User wants to switch to a different environment\n- User asks about current build\u002Fdeploy settings, variables, replicas, health checks, domains\n- User asks to change service source (Docker image, branch, commit, root directory)\n- User wants to connect a service to a GitHub repo\n- User wants to deploy from a GitHub repo (create empty service first via railway-new skill, then use this)\n- User asks to change build or start command\n- User wants to add\u002Fupdate\u002Fdelete environment variables\n- User wants to change replica count or configure health checks\n- User asks to delete a service, volume, or bucket\n- User says \"apply changes\", \"commit changes\", \"deploy changes\"\n- Auto-fixing build errors detected in logs\n\n## Create Environment\n\nCreate a new environment in the linked project:\n\n```bash\nrailway environment new \u003Cname>\n```\n\nDuplicate an existing environment:\n\n```bash\nrailway environment new staging --duplicate production\n```\n\nWith service-specific variables:\n\n```bash\nrailway environment new staging --duplicate production --service-variable api PORT=3001\n```\n\n## Switch Environment\n\nLink a different environment to the current directory:\n\n```bash\nrailway environment \u003Cname>\n```\n\nOr by ID:\n\n```bash\nrailway environment \u003Cenvironment-id>\n```\n\n## Get Context\n\n```bash\nrailway status --json\n```\n\nExtract:\n\n- `project.id` - for service lookup\n- `environment.id` - for the mutations\n- `service.id` - default service if user doesn't specify one\n\n### Resolve Service ID\n\nIf user specifies a service by name, query project services:\n\n```graphql\nquery projectServices($projectId: String!) {\n  project(id: $projectId) {\n    services {\n      edges {\n        node {\n          id\n          name\n        }\n      }\n    }\n  }\n}\n```\n\nMatch the service name (case-insensitive) to get the service ID.\n\n## Query Configuration\n\nFetch current environment configuration and staged changes.\n\n```graphql\nquery environmentConfig($environmentId: String!) {\n  environment(id: $environmentId) {\n    id\n    config(decryptVariables: false)\n    serviceInstances {\n      edges {\n        node {\n          id\n          serviceId\n        }\n      }\n    }\n  }\n  environmentStagedChanges(environmentId: $environmentId) {\n    id\n    patch(decryptVariables: false)\n  }\n}\n```\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'query envConfig($envId: String!) {\n    environment(id: $envId) { id config(decryptVariables: false) }\n    environmentStagedChanges(environmentId: $envId) { id patch(decryptVariables: false) }\n  }' \\\n  '{\"envId\": \"ENV_ID\"}'\nSCRIPT\n```\n\n### Response Structure\n\nThe `config` field contains current configuration:\n\n```json\n{\n  \"services\": {\n    \"\u003CserviceId>\": {\n      \"source\": { \"repo\": \"...\", \"branch\": \"main\" },\n      \"build\": { \"buildCommand\": \"npm run build\", \"builder\": \"NIXPACKS\" },\n      \"deploy\": {\n        \"startCommand\": \"npm start\",\n        \"multiRegionConfig\": { \"us-west2\": { \"numReplicas\": 1 } }\n      },\n      \"variables\": { \"NODE_ENV\": { \"value\": \"production\" } },\n      \"networking\": { \"serviceDomains\": {}, \"customDomains\": {} }\n    }\n  },\n  \"sharedVariables\": { \"DATABASE_URL\": { \"value\": \"...\" } }\n}\n```\n\nThe `patch` field in `environmentStagedChanges` contains pending changes. The effective configuration is the base `config` merged with the staged `patch`.\n\nFor complete field reference, see [reference\u002Fenvironment-config.md](..\u002Freference\u002Fenvironment-config.md).\n\nFor variable syntax and service wiring patterns, see [reference\u002Fvariables.md](..\u002Freference\u002Fvariables.md).\n\n## Get Rendered Variables\n\nThe GraphQL queries above return **unrendered** variables - template syntax like `${{shared.DOMAIN}}` is preserved. This is correct for management\u002Fediting.\n\nTo see **rendered** (resolved) values as they appear at runtime:\n\n```bash\n# Current linked service\nrailway variables --json\n\n# Specific service\nrailway variables --service \u003Cservice-name> --json\n```\n\n**When to use:**\n- Debugging connection issues (see actual URLs\u002Fports)\n- Verifying variable resolution is correct\n- Viewing Railway-injected values (RAILWAY_*)\n\n## Stage Changes\n\nStage configuration changes via the `environmentStageChanges` mutation. Use `merge: true` to automatically merge with existing staged changes.\n\n```graphql\nmutation stageEnvironmentChanges(\n  $environmentId: String!\n  $input: EnvironmentConfig!\n  $merge: Boolean\n) {\n  environmentStageChanges(\n    environmentId: $environmentId\n    input: $input\n    merge: $merge\n  ) {\n    id\n  }\n}\n```\n\n**Important:** Always use variables (not inline input) because service IDs are UUIDs which can't be used as unquoted GraphQL object keys.\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation stageChanges($environmentId: String!, $input: EnvironmentConfig!, $merge: Boolean) {\n    environmentStageChanges(environmentId: $environmentId, input: $input, merge: $merge) { id }\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"input\": {\"services\": {\"SERVICE_ID\": {\"build\": {\"buildCommand\": \"npm run build\"}}}}, \"merge\": true}'\nSCRIPT\n```\n\n### Delete Service\n\nUse `isDeleted: true`:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation stageChanges($environmentId: String!, $input: EnvironmentConfig!, $merge: Boolean) {\n    environmentStageChanges(environmentId: $environmentId, input: $input, merge: $merge) { id }\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"input\": {\"services\": {\"SERVICE_ID\": {\"isDeleted\": true}}}, \"merge\": true}'\nSCRIPT\n```\n\n## Stage and Apply Immediately\n\nFor single changes that should deploy right away, use `environmentPatchCommit` to stage and apply in one call.\n\n```graphql\nmutation environmentPatchCommit(\n  $environmentId: String!\n  $patch: EnvironmentConfig\n  $commitMessage: String\n) {\n  environmentPatchCommit(\n    environmentId: $environmentId\n    patch: $patch\n    commitMessage: $commitMessage\n  )\n}\n```\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation patchCommit($environmentId: String!, $patch: EnvironmentConfig, $commitMessage: String) {\n    environmentPatchCommit(environmentId: $environmentId, patch: $patch, commitMessage: $commitMessage)\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"patch\": {\"services\": {\"SERVICE_ID\": {\"variables\": {\"API_KEY\": {\"value\": \"secret\"}}}}}, \"commitMessage\": \"add API_KEY\"}'\nSCRIPT\n```\n\n**When to use:** Single change, no need to batch, user wants immediate deployment.\n\n**When NOT to use:** Multiple related changes to batch, or user says \"stage only\" \u002F \"don't deploy yet\".\n\n## Apply Staged Changes\n\nCommit staged changes and trigger deployments.\n\n**Note:** There is no `railway apply` CLI command. Use the mutation below or direct users to the web UI.\n\n### Apply Mutation\n\n**Mutation name: `environmentPatchCommitStaged`**\n\n```graphql\nmutation environmentPatchCommitStaged(\n  $environmentId: String!\n  $message: String\n  $skipDeploys: Boolean\n) {\n  environmentPatchCommitStaged(\n    environmentId: $environmentId\n    commitMessage: $message\n    skipDeploys: $skipDeploys\n  )\n}\n```\n\nExample:\n\n```bash\nbash \u003C\u003C'SCRIPT'\n${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Flib\u002Frailway-api.sh \\\n  'mutation commitStaged($environmentId: String!, $message: String) {\n    environmentPatchCommitStaged(environmentId: $environmentId, commitMessage: $message)\n  }' \\\n  '{\"environmentId\": \"ENV_ID\", \"message\": \"add API_KEY variable\"}'\nSCRIPT\n```\n\n### Parameters\n\n| Field           | Type    | Default | Description                                 |\n| --------------- | ------- | ------- | ------------------------------------------- |\n| `environmentId` | String! | -       | Environment ID from status                  |\n| `message`       | String  | null    | Short description of changes                |\n| `skipDeploys`   | Boolean | false   | Skip deploys (only if user explicitly asks) |\n\n### Commit Message\n\nKeep very short - one sentence max. Examples:\n\n- \"set build command to fix npm error\"\n- \"add API_KEY variable\"\n- \"increase replicas to 3\"\n\nLeave empty if no meaningful description.\n\n### Default Behavior\n\n**Always deploy** unless user explicitly asks to skip. Only set `skipDeploys: true` if user says \"apply without deploying\", \"commit but don't deploy\", or \"skip deploys\".\n\nReturns a workflow ID (string) on success.\n\n## Auto-Apply Behavior\n\nBy default, **apply changes immediately**.\n\n### Flow\n\n**Single change:** Use `environmentPatchCommit` to stage and apply in one call.\n\n**Multiple changes or batching:** Use `environmentStageChanges` with `merge: true` for each change, then `environmentPatchCommitStaged` to apply.\n\n### When NOT to Auto-Apply\n\n- User explicitly says \"stage only\", \"don't deploy yet\", or similar\n- User is making multiple related changes that should deploy together\n\n**When you don't auto-apply, tell the user:**\n\n> Changes staged. Apply them at: https:\u002F\u002Frailway.com\u002Fproject\u002F{projectId}\n> Or ask me to apply them.\n\nGet `projectId` from `railway status --json` → `project.id`\n\n## Error Handling\n\n### Service Not Found\n\n```\nService \"foo\" not found in project. Available services: api, web, worker\n```\n\n### No Staged Changes\n\n```\nNo patch to apply\n```\n\nThere are no staged changes to commit. Stage changes first.\n\n### Invalid Configuration\n\nCommon issues:\n\n- `buildCommand` and `startCommand` cannot be identical\n- `buildCommand` only valid with NIXPACKS builder\n- `dockerfilePath` only valid with DOCKERFILE builder\n\n### No Permission\n\n```\nYou don't have permission to modify this environment. Check your Railway role.\n```\n\n### No Linked Project\n\n```\nNo project linked. Run `railway link` to link a project.\n```\n\n## Composability\n\n- **Create service**: Use railway-service skill\n- **View logs**: Use railway-deployment skill\n- **Add domains**: Use railway-domain skill\n- **Deploy local code**: Use railway-deploy skill\n",{"name":5,"tags":52,"author":27,"license":15,"version":59,"description":7,"dependencies":60,"allowed-tools":62},[27,53,54,31,55,56,57,58],"Environment","Configuration","Build","Deploy","Infrastructure","Settings","1.0.0",[61],"railway-cli","Bash(railway:*)","main","7925716f065257435fdb12e97f7e52842147d5ad",".codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-code-templates\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Frailway\u002Fenvironment","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill railway-environment",{"tool":77,"command":78},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill railway-environment",{"tool":80,"command":81},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill railway-environment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-code-templates\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Frailway\u002Fenvironment\u002FSKILL.md",true,[],[86,125,134,143,165,191],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":106,"publishedAt":47},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[92,95,98,101],{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":96,"categoryName":97,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":99,"categoryName":100,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[88,107,108,109,110,111,112,113,114,42,115,116,117,118,119,120,121,122,123,124],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":126,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":133,"publishedAt":47},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[129,130,131,132],{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":96,"categoryName":97,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":99,"categoryName":100,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},[88,107,108,109,110,111,112,113,114,42,115,116,117,118,119,120,121,122,123,124],{"skillNo":135,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":142,"publishedAt":47},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[138,139,140,141],{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":96,"categoryName":97,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":99,"categoryName":100,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":102,"categoryName":103,"taxonomyType":104,"taxonomyTypeDesc":105},[88,107,108,109,110,111,112,113,114,42,115,116,117,118,119,120,121,122,123,124],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":47},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[150,151,152,153,154,155,156,157,158,159,160,161,162,163,164],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":172,"publishedAt":47},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[171],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[173,174,175,176,177,178,179,180,181,182,183,117,118,184,185,186,187,188,189,190],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":207,"publishedAt":47},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[197,200,203,204],{"categoryNo":198,"categoryName":199,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":201,"categoryName":202,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":205,"categoryName":206,"taxonomyType":104,"taxonomyTypeDesc":105},"01JBSEEDCAT000000000000036","内容创作者",[208,209,210,211,212,213,214,215,42,216,117,118,119,217,218,219,220,221,164,222],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]