Token导航 LogoToken导航

Agent Skill · 研究检索

render-migrate-from-heroku(渲染从 heroku 迁移)

render-migrate-from-heroku 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

render-migrate-from-heroku 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 60,207。

总安装 372周安装 16GitHub Stars 43下载 131核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:render-migrate-from-heroku(渲染从 heroku 迁移)
来源仓库:https://github.com/render-oss/skills
仓库路径:skills/render-migrate-from-heroku
安装命令:
npx skills add https://github.com/render-oss/skills --skill render-migrate-from-heroku
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/render-oss/skills --skill render-migrate-from-heroku

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

render-migrate-from-heroku 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。它支持按仓库、安装命令和原始 README 核验具体用法,适用于信息调研类任务。

通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限与维护状态。安装前建议检查是否会触发联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/render-migrate-from-heroku

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/render-oss/skills --skill render-migrate-from-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

render-migrate-from-heroku 怎么安装?

在终端执行 npx skills add https://github.com/render-oss/skills --skill render-migrate-from-heroku。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

render-migrate-from-heroku 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

render-migrate-from-heroku 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/render-oss/skills --skill render-migrate-from-heroku 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

render-migrate-from-heroku 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

render-migrate-from-heroku 用的人多吗?

公开数据是累计安装 372 次,近一周安装 16 次,下载 131 次,GitHub 43 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

render-migrate-from-heroku 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
render-migrate-from-heroku

渲染从 heroku 迁移 · 本页

37243执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Heroku to Render Migration

Migrate from Heroku to Render by reading local project files first, then optionally enriching with live Heroku data via MCP.

Prerequisites Check

Before starting, verify what's available:

  1. Local project files (required) — confirm the current directory contains a Heroku app (look for Procfile, app.json, package.json, requirements.txt, Gemfile, go.mod, or similar)
  2. Render MCP (recommended) — check if list_services tool is available. Required for MCP Direct Creation (Step 3B) and automated verification (Step 6). Not required for the Blueprint path — the Render CLI and Dashboard handle generation, validation, and deployment.
  3. Heroku MCP (optional) — check if list_apps tool is available

If Render MCP is missing and the user needs it, guide them through setup using the MCP setup guide. If Heroku MCP is missing, note that config var values and add-on plan details will need to be provided manually.

Migration Workflow

Execute steps in order. Present findings to the user and get confirmation before creating any resources.

Step 1: Inventory Heroku App

Gather app details from local files first, then supplement with Heroku MCP if available.

1a. Read local project files (always)

Read these files from the repo to determine runtime, commands, and dependencies:

FileWhat it tells you
ProcfileProcess types and start commands (web, worker, clock, release)
package.jsonNode.js runtime, build scripts, framework deps (Next.js, React, etc.)
requirements.txt / Pipfile / pyproject.tomlPython runtime, dependencies (Django, Flask, etc.)
GemfileRuby runtime, dependencies (Rails, Sidekiq, etc.)
go.modGo runtime
Cargo.tomlRust runtime
app.jsonDeclared add-ons, env var descriptions, buildpacks
runtime.txtPinned runtime version
static.jsonStatic site indicator
yarn.lock / pnpm-lock.yamlPackage manager (affects build command)

From these files, determine:

  • Runtime — from dependency files (see the buildpack mapping)
  • Runtime version — from runtime.txt, .node-version, or engines in package.json. If pinned, carry it over as an env var (e.g., PYTHON_VERSION, NODE_VERSION). If not pinned, do not specify a version — never assume or state what Render's default version is.
  • Build command — from package manager and framework (see the buildpack mapping)
  • Start commands — from Procfile entries
  • Process types — from Procfile (web, worker, clock, release)
  • Add-ons needed — from app.json addons field, or infer from dependency files (e.g., pg in package.json suggests Postgres, redis suggests Key Value)
  • Static site? — from static.json, SPA framework deps, or static buildpack in app.json
1b. Enrich with Heroku MCP (if available)

If the Heroku MCP server is connected, call these tools to fill in details that aren't in the repo. The dyno size and add-on plan slug are critical — they determine which Render plans to use.

  1. list_apps — let user select which app to migrate (confirms app name)
  2. get_app_info — capture: region, stack, buildpacks, config var names
  3. list_addons — capture the exact add-on plan slug (e.g., heroku-postgresql:essential-2, heroku-redis:premium-0). The part after the colon maps to a specific Render plan in the service mapping.
  4. ps_list — capture the exact dyno size for each process type (e.g., Standard-2X, Performance-M). Each dyno size maps to a specific Render plan in the service mapping.
  5. pg_info (if Postgres exists) — capture Data Size (actual usage) and the plan's disk allocation. The plan's disk size determines the diskSizeGB value in the Blueprint (see the service mapping).

If Heroku MCP is not available, ask the user to provide:

  • Dyno sizes (or run heroku ps:type -a <app> and paste output)
  • Add-on plans (or run heroku addons -a <app> and paste output)
  • Database info (or run heroku pg:info -a <app> and paste output — captures plan name, data size, and disk allocation)
  • App region (us or eu)
  • Config var names (or run heroku config -a <app> --shell and paste output)

If the user cannot provide dyno sizes or add-on plans, use the fallback defaults from the service mapping: starter for compute, basic-1gb for Postgres, starter for Key Value.

Present summary
App: [name] | Region: [region] | Runtime: [node/python/ruby/etc]
Source: [local files | local files + Heroku MCP]
Build command: [inferred from buildpack/deps]
Processes:
  web: [command from Procfile] → Render web service ([mapped-plan])
  worker: [command] → Render background worker ([mapped-plan], Blueprint only)
  clock: [command] → Render cron job ([mapped-plan])
  release: [command] → Append to build command
Add-ons:
  Heroku Postgres ([plan-slug], [disk-size]) → Render Postgres ([mapped-plan], diskSizeGB: [size])
  Heroku Redis ([plan-slug]) → Render Key Value ([mapped-plan])
Config vars: 14 total (list names, not values)

Step 2: Pre-Flight Check

Before creating anything, run through the pre-flight checklist to validate the migration plan. Key checks:

  • Runtime supported (or needs Dockerfile)
  • Worker dynos, release phase, static site detection
  • Third-party add-ons without Render equivalents
  • Git remote exists and is HTTPS format
  • Database size (large DBs need assisted migration)

Look up each Heroku dyno size and add-on plan in the service mapping to determine correct Render plans and cost estimates. Present the migration plan table from the pre-flight checklist and wait for user confirmation before creating any resources.

Determine Creation Method

After the user approves the pre-flight plan, apply this decision rule. Default to Blueprint — only use MCP Direct Creation when every condition below is met.

Use Blueprint (the default) when ANY are true:

  • Multiple process types (web + worker, web + cron, etc.)
  • Databases or Key Value stores needed
  • Background workers in the Procfile
  • User prefers Infrastructure-as-Code configuration

Fall back to MCP Direct Creation ONLY when ALL are true:

  • Single web or static site service (one process type)
  • No background workers or cron jobs
  • No databases or Key Value stores

If unsure, use Blueprint. Most Heroku apps have at least a database, so Blueprint applies to the vast majority of migrations.

Step 3A: Generate Blueprint (Multi-Service)

This step has three mandatory sub-steps. Complete all three in order.

3A-i. Write render.yaml

Generate a render.yaml file and write it to the repo root. See the Blueprint example for a complete example, the Blueprint docs for usage guidance, and the Blueprint YAML JSON schema for the full field reference.

IMPORTANT: Always use the projects/environments pattern. The YAML must start with a projects: key — never use flat top-level services: or databases: keys. This groups all migrated resources into a single Render project.

Set the plan: field for each service and database using the mapped Render plan from the service mapping. Look up the Heroku dyno size (from ps_list) and add-on plan slug (from list_addons) to find the correct Render plan. If the Heroku plan is unknown, use the fallback defaults: starter for compute, basic-1gb for Postgres, starter for Key Value.

Generate the YAML following the full template, rules, and patterns in the Blueprint example. Critical rules:

  • Always use the projects:/environments: pattern — never flat top-level services:
  • Set every plan: field using the service mapping
  • Set diskSizeGB on databases from the Heroku disk allocation
  • Use fromDatabase for DATABASE_URL and fromService for REDIS_URL — never hardcode connection strings
  • Mark secrets with sync: false
3A-ii. Validate the Blueprint

This step is mandatory. First, check if the Render CLI is installed:

render --version

If not installed, offer to install it:

  • macOS: brew install render
  • Linux/macOS: curl -fsSL https://raw.githubusercontent.com/render-oss/cli/main/bin/install.sh | sh

Once the CLI is available, run the validation command and show the output to the user:

render blueprints validate render.yaml

If validation fails, fix the errors in the YAML and re-validate. Repeat until validation passes. Do not proceed to the next step until the Blueprint validates successfully.

3A-iii. Provide the deploy URL

After validation passes:

  1. Instruct user to commit and push: git add render.yaml && git commit -m "Add Render migration Blueprint" && git push
  2. Get the repo URL by running git remote get-url origin. If the URL is SSH format (e.g., git@github.com:user/repo.git), convert it to HTTPS (https://github.com/user/repo). Then construct the deeplink: https://dashboard.render.com/blueprint/new?repo=<HTTPS_REPO_URL>
  3. Present the actual working deeplink to the user — never show a placeholder URL. Guide user to open it, fill in sync: false secrets, and click Apply

Do not skip the deploy URL. The user needs this link to apply the Blueprint on Render.

Step 3B: MCP Direct Creation (Single-Service)

Before creating resources via MCP, verify the active workspace:

get_selected_workspace()

If the workspace is wrong, list available workspaces with list_workspaces() and ask the user to select the correct one. Resources will be created in whichever workspace is active.

For single-service migrations without databases, create via MCP tools:

  1. Web service — create_web_service with:

- runtime: from the buildpack mapping - buildCommand: from the buildpack mapping - startCommand: from Procfile web: entry - repo: user-provided GitHub/GitLab URL - region: mapped from Heroku region - plan: mapped from Heroku dyno size using the service mapping (fallback: starter)

  1. Static site — create_static_site if detected (instead of web service)

Present the creation result (service URL, ID) when complete.

Step 4: Migrate Environment Variables

Gather config vars

Use the first available source:

  1. Heroku MCP (preferred) — config vars from get_app_info results (Step 1b)
  2. User-provided — ask the user to paste output of heroku config -a <app> --shell
  3. app.json — var names and descriptions (no values, but useful for sync: false entries)
Filter and categorize

Remove auto-generated and Heroku-specific vars (see the full filter list in the service mapping):

  • DATABASE_URL, REDIS_URL, REDIS_TLS_URL (Render generates these)
  • HEROKU_* vars (e.g., HEROKU_APP_NAME, HEROKU_SLUG_COMMIT)
  • Add-on connection strings (PAPERTRAIL_*, SENDGRID_*, etc.)

Present filtered list to user — do not write without confirmation.

Apply vars

Blueprint path (Step 3A): Env vars are already embedded in the render.yaml on each service (non-secret values inline, secrets marked sync: false for the user to fill in during Blueprint apply). No separate MCP call is needed — skip to Step 5.

MCP path (Step 3B): Call Render update_environment_variables with confirmed vars (supports bulk set, merges by default).

Step 5: Data Migration

Follow the data migration guide to migrate Postgres and Redis data. The guide covers sub-steps 5a through 5e in detail. Summary of the flow:

  1. Pre-migration checks — confirm Render resources are provisioned via list_postgres_instances() and list_key_value(), check source DB size, verify Render CLI (render --version), pg_dump, and pg_restore are installed
  2. Gather connection strings — Heroku Postgres via pg_credentials (MCP) or user CLI paste. For Key Value, construct a Dashboard deeplink from the ID.
  3. Postgres migration — two approaches based on size: under 2 GB uses render psql (no Render connection string needed); 2-50 GB uses pg_dump -Fc + pg_restore with external connection string from Dashboard (faster, compressed, parallel restore).
  4. Key Value / Redis — usually skip (ephemeral cache). If persistent data, use redis-cli dump/restore with Dashboard-provided Render URL.
  5. Data validation — verify schema and row counts via query_render_postgres, compare against Heroku source if MCP is available.

Step 6: Verify Migration

After user confirms database migration is complete, run through each check in order. Stop at the first failure, fix it, and redeploy before continuing.

1. Confirm deploy status
list_deploys(serviceId: "<service-id>", limit: 1)

Expect status: "live". If status is failed, inspect build and runtime logs immediately.

2. Verify service health

Hit the health endpoint (or /) and confirm a 200 response. If there is no health endpoint, verify the app binds to 0.0.0.0:$PORT (not localhost).

3. Scan error logs
list_logs(resource: ["<service-id>"], level: ["error"], limit: 50)

Look for clear failure signatures: missing env vars, connection refused, module not found, port binding errors.

4. Verify env vars and port binding

Confirm all required env vars are set — especially secrets marked sync: false during Blueprint apply. Ensure the app binds to 0.0.0.0:$PORT.

5. Check resource metrics
get_metrics(
  resourceId: "<service-id>",
  metricTypes: ["http_request_count", "cpu_usage", "memory_usage"]
)

Verify CPU and memory are within expected ranges for the selected plan.

6. Confirm database connectivity
query_render_postgres(postgresId: "<postgres-id>", sql: "SELECT count(*) FROM <key_table>")

Run a read-only query on a key table to confirm data was restored correctly. Compare row counts against the Heroku source if possible.

Present a health summary after all checks pass.

Step 7: DNS Cutover (Manual)

Instruct user to:

  1. Add CNAME pointing domain to [service-name].onrender.com
  2. Remove/update old Heroku DNS entries
  3. Wait for propagation

Rollback Plan

If the migration fails at any point:

  • Services created but not working: Services can be deleted from the Render dashboard (MCP server intentionally does not support deletion). Heroku app is untouched until maintenance mode is enabled.
  • Env vars wrong: Call update_environment_variables with replace: true to overwrite, or fix individual vars.
  • Database migration failed: Render Postgres can be deleted and recreated. Heroku database is read-only during dump (no data loss). If maintenance_off is called on Heroku, the original app is fully operational again.
  • DNS already changed: Revert CNAME to Heroku and disable maintenance mode on Heroku.

Key principle: Heroku stays fully functional until the user explicitly cuts over DNS. The migration is additive until that final step.

Error Handling

  • Service creation fails: show error, suggest fixes (invalid plan, bad repo URL)
  • Env var migration partially fails: show which succeeded/failed
  • Heroku auth errors: instruct heroku login or check HEROKU_API_KEY
  • Render auth errors: check Render API key in MCP config

平台分布

Codex

36.51%
按下载量换算48

Claude

31.56%
按下载量换算41

Cursor

19.3%
按下载量换算25

Gemini CLI

10.1%
按下载量换算13

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/render-oss/skills --skill render-migrate-from-heroku 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills