agentleFS
Rikinshah787Rikinshah787/agent-skills-production-skills/skills/render/SKILL.md

render

Skill2 starsChanged 4 months agoMITView on GitHub

Use to deploy web services, workers, cron jobs, and databases — declaratively via a render.yaml Blueprint or from the dashboard.

  • Reads credentials
  • Installs packages

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ingest.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • raven-souravSkill

    ingest

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when: you need always-on web services, workers, or scheduled cron jobs with managed Postgres.

    line 19
  2. Very specific:

    Use when: you want infrastructure-as-code via a single render.yaml.

    line 20
  3. Distinctive:

    Don't use for: edge functions (use Cloudflare) or purely static/frontends where Vercel/Netlify fit better.

    line 21

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Render — Skillship

A PaaS for web services, background workers, cron jobs, static sites, and managed Postgres/Key-Value. Define your whole stack as code in render.yaml (a "Blueprint") for reproducible deploys.

🧭 When to use this skill

  • Use when: you need always-on web services, workers, or scheduled cron jobs with managed Postgres.
  • Use when: you want infrastructure-as-code via a single render.yaml.
  • Don't use for: edge functions (use Cloudflare) or purely static/frontends where Vercel/Netlify fit better.

⚡ Quickstart

1. Add a render.yaml Blueprint (repo root)

services:
  - type: web
    name: my-api
    runtime: node
    plan: starter
    buildCommand: npm install && npm run build
    startCommand: npm start
    healthCheckPath: /healthz
    autoDeployTrigger: commit
    preDeployCommand: npm run migrate     # runs after build, before start — great for DB migrations
    envVars:
      - key: NODE_ENV
        value: production
      - key: STRIPE_SECRET_KEY
        sync: false                       # prompts for the secret in the dashboard on creation
      - key: SESSION_SECRET
        generateValue: true               # Render generates a random 256-bit value
      - key: DATABASE_URL
        fromDatabase:
          name: my-db
          property: connectionString

databases:
  - name: my-db
    plan: basic-256mb
    postgresMajorVersion: "18"

2. Deploy

  • Dashboard → New → Blueprint → connect the repo containing render.yaml. Render creates every service/DB.

🧩 Common recipes

Recipe: Build from a Dockerfile

services:
  - type: web
    name: web
    runtime: docker
    dockerfilePath: ./Dockerfile
    healthCheckPath: /

Recipe: A cron job

services:
  - type: cron
    name: nightly
    runtime: node
    schedule: "0 3 * * *"
    buildCommand: npm install
    startCommand: node scripts/nightly.js

Recipe: Background worker + managed Key-Value (Redis-compatible)

services:
  - type: worker
    name: queue
    runtime: node
    startCommand: node worker.js
    envVars:
      - key: REDIS_URL
        fromService: { type: keyvalue, name: cache, property: connectionString }
  - type: keyvalue
    name: cache
    ipAllowList: []      # internal connections only

Recipe: Validate the Blueprint before pushing

render blueprints validate render.yaml

🚀 Ship to production

  • Secrets use sync: false (prompted) or env groups — never hardcoded values in render.yaml.
  • healthCheckPath set so Render can do zero-downtime deploys.
  • DB migrations run via preDeployCommand (not on every instance start).
  • autoDeployTrigger set intentionally (commit, checksPass, or off).
  • Region and plan chosen per service; ipAllowList set for Key-Value (required) and sensitive DBs.
  • Persistent disks noted: they disable zero-downtime deploys for that service.

🔐 Security & secrets

  • Secret env vars: sync: false (dashboard-prompted) or generateValue: true (random). Don't commit real secrets.
  • Reference DB/service properties with fromDatabase/fromService rather than copying credentials.
  • Lock down datastore access with ipAllowList (empty list = internal-only).

🐛 Common errors & fixes

SymptomLikely causeFix
Blueprint sync fails referencing a serviceReferenced service not in workspaceEnsure it exists or is defined in the Blueprint
Deploys aren't zero-downtimeNo health check / persistent disk attachedSet healthCheckPath; note disks disable it
Migrations run multiple timesPut in startCommandMove to preDeployCommand
Secret ignored on updatesync: false only prompts on creationAdd/edit the value manually in the dashboard
Key-Value won't createMissing required ipAllowListProvide ipAllowList (use [] for internal-only)

📚 Sources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.