Деплой приложений на Render: анализ кода, генерация render.yaml и ссылки на Dashboard.

Звёзды7 177
Авторtech-leads-club
Установок202

Установка

SKILL.md

Deploy to Render

Render supports Git-backed services and prebuilt Docker image services.

This skill covers Git-backed flows:

  1. Blueprint Method - Generate render.yaml for Infrastructure-as-Code deployments
  2. Direct Creation - Create services instantly via MCP tools

Blueprints can also run a prebuilt Docker image by using runtime: image, but the render.yaml still must live in a Git repo.

If there is no Git remote, stop and ask the user to either:

  • Create/push a Git remote (can be minimal if only the Blueprint is needed), or
  • Use the Render Dashboard/API to deploy a prebuilt Docker image (MCP cannot create image-backed services).

Prerequisites

  • When sandboxing blocks the deployment network calls, rerun with sandbox_permissions=require_escalated.
  • The deployment might take a few minutes. Use appropriate timeout values.

Security Requirements for API Keys and Secrets

CRITICAL - You must protect user credentials:

When handling Render API keys or any secrets:

  1. NEVER ask users to paste API keys directly in chat - Instead, instruct them to set environment variables:

    export RENDER_API_KEY="rnd_xxxxx"
    
  2. NEVER include actual API keys in examples - Always use placeholders like <YOUR_API_KEY> or rnd_xxxxx

  3. Guide users to secure storage - Direct them to:

    • Set environment variables for CLI authentication
    • Use Render Dashboard for service secrets (env vars marked sync: false)
    • Never commit secrets to Git
  4. When users need an API key, provide this guidance:

    • "Get your API key from: https://dashboard.render.com/u/*/settings#api-keys"
    • "Set it as an environment variable: export RENDER_API_KEY='your-key-here'"
    • "Never share or commit this key"
  5. For MCP configuration, show the structure but emphasize:

    • Replace <YOUR_API_KEY> with their actual key
    • This file should not be committed to version control
    • The key should be kept private
  6. If a user accidentally shares a secret in chat, immediately:

    • Warn them the key may be compromised
    • Instruct them to revoke it in Render Dashboard
    • Guide them to create a new key

When to Use This Skill

Activate this skill when users want to:

  • Deploy an application to Render
  • Create a render.yaml Blueprint file
  • Set up Render deployment for their project
  • Host or publish their application on Render's cloud platform
  • Create databases, cron jobs, or other Render resources

Happy Path (New Users)

Use this short prompt sequence before deep analysis to reduce friction:

  1. Ask whether they want to deploy from a Git repo or a prebuilt Docker image.
  2. Ask whether Render should provision everything the app needs (based on what seems likely from the user's description) or only the app while they bring their own infra. If dependencies are unclear, ask a short follow-up to confirm whether they need a database, workers, cron, or other services.

Then proceed with the appropriate method below.

Choose Your Source Path

Git Repo Path: Required for both Blueprint and Direct Creation. The repo must be pushed to GitHub, GitLab, or Bitbucket.

Prebuilt Docker Image Path: Supported by Render via image-backed services. This is not supported by MCP; use the Dashboard/API. Ask for:

  • Image URL (registry + tag)
  • Registry auth (if private)
  • Service type (web/worker) and port

If the user chooses a Docker image, guide them to the Render Dashboard image deploy flow or ask them to add a Git remote (so you can use a Blueprint with runtime: image).

Choose Your Deployment Method (Git Repo)

Both methods require a Git repository pushed to GitHub, GitLab, or Bitbucket. (If using runtime: image, the repo can be minimal and only contain render.yaml.)

MethodBest ForPros
BlueprintMulti-service apps, IaC workflowsVersion controlled, reproducible, supports complex setups
Direct CreationSingle services, quick deploymentsInstant creation, no render.yaml file needed

Method Selection Heuristic

Use this decision rule by default unless the user requests a specific method. Analyze the codebase first; only ask if deployment intent is unclear (e.g., DB, workers, cron).

Use Direct Creation (MCP) when ALL are true:

  • Single service (one web app or one static site)
  • No separate worker/cron services
  • No attached databases or Key Value
  • Simple env vars only (no shared env groups) If this path fits and MCP isn't configured yet, stop and guide MCP setup before proceeding.

Use Blueprint when ANY are true:

  • Multiple services (web + worker, API + frontend, etc.)
  • Databases, Redis/Key Value, or other datastores are required
  • Cron jobs, background workers, or private services
  • You want reproducible IaC or a render.yaml committed to the repo
  • Monorepo or multi-env setup that needs consistent configuration

If unsure, ask a quick clarifying question, but default to Blueprint for safety. For a single service, strongly prefer Direct Creation via MCP and guide MCP setup if needed.

Prerequisites Check

When starting a deployment, verify these requirements in order:

1. Confirm Source Path (Git vs Docker)

If using Git-based methods (Blueprint or Direct Creation), the repo must be pushed to GitHub/GitLab/Bitbucket. Blueprints that reference a prebuilt image still require a Git repo with render.yaml.

git remote -v
  • If no remote exists, stop and ask the user to create/push a remote or switch to Docker image deploy.

2. Check MCP Tools Availability (Preferred for Single-Service)

MCP tools provide the best experience. Check if available by attempting:

list_services()

If MCP tools are available, you can skip CLI installation for most operations.

3. Check Render CLI Installation (for Blueprint validation)

render --version

If not installed, offer to install:

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

4. MCP Setup (if MCP isn't configured)

If list_services() fails because MCP isn't configured, ask whether they want to set up MCP (preferred) or continue with the CLI fallback. If they choose MCP, ask which AI tool they're using, then provide the matching instructions below. Always use their API key.

Cursor

Walk the user through these steps:

  1. Get a Render API key:
https://dashboard.render.com/u/*/settings#api-keys
  1. Add this to ~/.cursor/mcp.json (replace <YOUR_API_KEY>):
{
  "mcpServers": {
    "render": {
      "url": "https://mcp.render.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}
  1. Restart Cursor, then retry list_services().

Claude Code

Walk the user through these steps:

  1. Get a Render API key:
https://dashboard.render.com/u/*/settings#api-keys
  1. Add the MCP server with Claude Code (replace <YOUR_API_KEY>):
claude mcp add --transport http render https://mcp.render.com/mcp --header "Authorization: Bearer <YOUR_API_KEY>"
  1. Restart Claude Code, then retry list_services().

Other Tools

If the user is on another AI app, direct them to the Render MCP docs for that tool's setup steps and install method.

Workspace Selection

After MCP is configured, have the user set the active Render workspace with a prompt like:

Set my Render workspace to [WORKSPACE_NAME]

5. Check Authentication (CLI fallback only)

If MCP isn't available, use the CLI instead and verify you can access your account:

# Check if user is logged in (use -o json for non-interactive mode)
render whoami -o json

If render whoami fails or returns empty data, the CLI is not authenticated. The CLI won't always prompt automatically, so explicitly prompt the user to authenticate:

If neither is configured, ask user which method they prefer:

  • API Key (CLI): export RENDER_API_KEY="rnd_xxxxx" (Get from https://dashboard.render.com/u/*/settings#api-keys)
  • Login: render login (Opens browser for OAuth)

6. Check Workspace Context

Verify the active workspace:

get_selected_workspace()

Or via CLI:

render workspace current -o json

To list available workspaces:

list_workspaces()

If user needs to switch workspaces, they must do so via Dashboard or CLI (render workspace set).

Once prerequisites are met, proceed with deployment workflow.


Method 1: Blueprint Deployment (Recommended for Complex Apps)

Blueprint Workflow

Step 1: Analyze Codebase

Analyze the codebase to determine framework/runtime, build and start commands, required env vars, datastores, and port binding. Use the detailed checklists in references/codebase-analysis.md.

Step 2: Generate render.yaml

Create a render.yaml Blueprint file following the Blueprint specification.

Complete specification: references/blueprint-spec.md

Key Points:

  • Always use plan: free unless user specifies otherwise
  • Include ALL environment variables the app needs
  • Mark secrets with sync: false (user fills these in Dashboard)
  • Use appropriate service type: web, worker, cron, static, or pserv
  • Use appropriate runtime: references/runtimes.md

Basic Structure:

services:
  - type: web
    name: my-app
    runtime: node
    plan: free
    buildCommand: npm ci
    startCommand: npm start
    envVars:
      - key: DATABASE_URL
        fromDatabase:
          name: postgres
          property: connectionString
      - key: JWT_SECRET
        sync: false # User fills in Dashboard

databases:
  - name: postgres
    databaseName: myapp_db
    plan: free

Service Types:

  • web: HTTP services, APIs, web applications (publicly accessible)
  • worker: Background job processors (not publicly accessible)
  • cron: Scheduled tasks that run on a cron schedule
  • static: Static sites (HTML/CSS/JS served via CDN)
  • pserv: Private services (internal only, within same account)

Service type details: references/service-types.md Runtime options: references/runtimes.md Template examples: assets/

Step 2.5: Immediate Next Steps (Always Provide)

After creating render.yaml, always give the user a short, explicit checklist and run validation immediately when the CLI is available:

  1. Authenticate (CLI): run render whoami -o json (if not logged in, run render login or set RENDER_API_KEY)
  2. Validate (recommended): run render blueprints validate
    • If the CLI isn't installed, offer to install it and provide the command.
  3. Commit + push: git add render.yaml && git commit -m "Add Render deployment configuration" && git push origin main
  4. Open Dashboard: Use the Blueprint deeplink and complete Git OAuth if prompted
  5. Fill secrets: Set env vars marked sync: false
  6. Deploy: Click "Apply" and monitor the deploy

Step 3: Validate Configuration

Validate the render.yaml file to catch errors before deployment. If the CLI is installed, run the commands directly; only prompt the user if the CLI is missing:

render whoami -o json  # Ensure CLI is authenticated (won't always prompt)
render blueprints validate

Fix any validation errors before proceeding. Common issues:

  • Missing required fields (name, type, runtime)
  • Invalid runtime values
  • Incorrect YAML syntax
  • Invalid environment variable references

Configuration guide: references/configuration-guide.md

Step 4: Commit and Push

IMPORTANT: You must merge the render.yaml file into your repository before deploying.

Ensure the render.yaml file is committed and pushed to your Git remote:

git add render.yaml
git commit -m "Add Render deployment configuration"
git push origin main

If there is no Git remote yet, stop here and guide the user to create a GitHub/GitLab/Bitbucket repo, add it as origin, and push before continuing.

Why this matters: The Dashboard deeplink will read the render.yaml from your repository. If the file isn't merged and pushed, Render won't find the configuration and deployment will fail.

Verify the file is in your remote repository before proceeding to the next step.

Step 5: Generate Deeplink

Get the Git repository URL:

git remote get-url origin

This will return a URL from your Git provider. If the URL is SSH format, convert it to HTTPS:

SSH FormatHTTPS Format
git@github.com:user/repo.githttps://github.com/user/repo
git@gitlab.com:user/repo.githttps://gitlab.com/user/repo
git@bitbucket.org:user/repo.githttps://bitbucket.org/user/repo

Conversion pattern: Replace git@<host>: with https://<host>/ and remove .git suffix.

Format the Dashboard deeplink using the HTTPS repository URL:

https://dashboard.render.com/blueprint/new?repo=<REPOSITORY_URL>

Example:

https://dashboard.render.com/blueprint/new?repo=https://github.com/username/repo-name

Step 6: Guide User

CRITICAL: Ensure the user has merged and pushed the render.yaml file to their repository before clicking the deeplink. If the file isn't in the repository, Render cannot read the Blueprint configuration and deployment will fail.

Provide the deeplink to the user with these instructions:

  1. Verify render.yaml is merged - Confirm the file exists in your repository on GitHub/GitLab/Bitbucket
  2. Click the deeplink to open Render Dashboard
  3. Complete Git provider OAuth if prompted
  4. Name the Blueprint (or use default from render.yaml)
  5. Fill in secret environment variables (marked with sync: false)
  6. Review services and databases configuration
  7. Click "Apply" to deploy

The deployment will begin automatically. Users can monitor progress in the Render Dashboard.

Step 7: Verify Deployment

After the user deploys via Dashboard, verify everything is working.

Check deployment status via MCP:

list_deploys(serviceId: "<service-id>", limit: 1)

Look for status: "live" to confirm successful deployment.

Check for runtime errors (wait 2-3 minutes after deploy):

list_logs(resource: ["<service-id>"], level: ["error"], limit: 20)

Check service health metrics:

get_metrics(
  resourceId: "<service-id>",
  metricTypes: ["http_request_count", "cpu_usage", "memory_usage"]
)

If errors are found, proceed to the Post-deploy verification and basic triage section below.


Method 2: Direct Service Creation (Quick Single-Service Deployments)

For simple deployments without Infrastructure-as-Code, create services directly via MCP tools.

When to Use Direct Creation

  • Single web service or static site
  • Quick prototypes or demos
  • When you don't need a render.yaml file in your repo
  • Добавление баз данных или cron-задач в существующие проекты

Предварительные требования для прямого создания

Репозиторий должен быть отправлен в Git-провайдер. Render клонирует ваш репозиторий для сборки и развёртывания сервисов.

git remote -v  # Verify remote exists
git push origin main  # Ensure code is pushed

Поддерживаемые провайдеры: GitHub, GitLab, Bitbucket

Если удалённый репозиторий отсутствует, остановитесь и попросите пользователя создать/отправить удалённый репозиторий или переключиться на развёртывание Docker-образа.

Примечание: MCP не поддерживает создание сервисов на основе образов. Используйте Dashboard/API для развёртывания предварительно собранных Docker-образов.

Процесс прямого создания

Используйте краткие шаги ниже, а за полными примерами команд MCP и последующей конфигурацией обращайтесь к references/direct-creation.md.

Шаг 1: Анализ кодовой базы

Используйте references/codebase-analysis.md, чтобы определить среду выполнения, команды сборки/запуска, переменные окружения и хранилища данных.

Шаг 2: Создание ресурсов через MCP

Создайте сервис (web или static) и любые необходимые базы данных или хранилища ключ-значение. См. references/direct-creation.md.

Если MCP возвращает ошибку об отсутствии учётных данных Git или доступа к репозиторию, остановитесь и направьте пользователя подключить Git-провайдера в Render Dashboard, затем повторите попытку.

Шаг 3: Настройка переменных окружения

Добавьте необходимые переменные окружения через MCP после создания. См. references/direct-creation.md.

Напомните пользователю, что секреты можно задать в Dashboard, если он предпочитает не передавать их через MCP.

Шаг 4: Проверка развёртывания

Проверьте статус развёртывания, логи и метрики. См. references/direct-creation.md.


Для обнаружения сервисов, деталей конфигурации, быстрых команд и типичных проблем см. references/deployment-details.md.


Проверка после развёртывания и базовая диагностика (все методы)

Держите это кратко и воспроизводимо. Если какая-либо проверка не пройдена, исправьте её перед повторным развёртыванием.

  1. Убедитесь, что последнее развёртывание live и обслуживает трафик
  2. Обратитесь к эндпоинту проверки работоспособности (или корневому) и убедитесь в ответе 200
  3. Просмотрите недавние логи ошибок на наличие явной сигнатуры сбоя
  4. Проверьте необходимые переменные окружения и привязку порта (0.0.0.0:$PORT)

Подробный контрольный список и команды: references/post-deploy-checks.md

Если сервис не запускается или проверки работоспособности завершаются по тайм-ауту, используйте базовое руководство по диагностике: references/troubleshooting-basics.md

Устранение неполадок

Расширенный сетевой доступ

Если развёртывание не удаётся из-за сетевых проблем (тайм-ауты, ошибки DNS, сбросы соединений), повторите развёртывание с расширенными разрешениями (используйте sandbox_permissions=require_escalated). Развёртывание требует расширенного сетевого доступа, когда сетевая изоляция песочницы блокирует исходящие запросы.

Пример рекомендации пользователю:

The deploy needs escalated network access to deploy to Render. I can rerun the command with escalated permissions—want me to proceed?

Необязательно: если вам нужна более глубокая диагностика (метрики/проверки БД/каталог ошибок), предложите установить render-debug навык. Он не требуется для основного процесса развёртывания.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: render-deploy](https://darkplay.ru/ai/skills/tech-leads-club-agent-skills-render-deploy)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

Performance Optimizeraffaan-m · Специалист по производительности: узкие места, профилирование, память и бандлы.
225 587 ★
React Revieweraffaan-m · Ревьюер React/JSX: хуки, производительность, границы компонентов и безопасность.
225 587 ★
hyperframesheygen-com · Все навыки HyperFrames в одном статическом наборе. В большинстве случаев лучше…
27 комп.
diagram-designcathrynlavery · Технические и продуктовые диаграммы редакционного качества: 27 типов в виде автономного…
2 комп.
42crunch-api-security-testinganthropics · Автоматизация безопасности API прямо в Claude Code с помощью 42Crunch: аудит спецификаций…
100 комп.
agentforce-adlcanthropics · Жизненный цикл разработки агентов Agentforce — создание, поиск, скаффолдинг…
100 комп.
appwriteanthropics · Инструменты Appwrite для Claude Code: навыки работы с SDK, MCP-серверы Appwrite и команды…
100 комп.
astronomer-data-agentsanthropics · Инженерия данных для Apache Airflow и Astronomer: написание DAG по лучшим практикам…
100 комп.
aws-agentsanthropics · Создание, развёртывание и эксплуатация AI-агентов на AWS. Навыки для генерации агентов с…
100 комп.
aws-coreanthropics · Создание, развёртывание и эксплуатация приложений на AWS. Навыки написания…
100 комп.

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8