Skip to content

Commit bae148d

Browse files
committed
2 parents 07d83bf + 927f69c commit bae148d

3 files changed

Lines changed: 47 additions & 90 deletions

File tree

skills/render-debug/SKILL.md

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: render-debug
3-
description: Debug failed Render deployments by analyzing logs, metrics, and database state. Start with the Render CLI for logs and deploy status. Use MCP as an optional enhancement for richer structured data.
3+
description: Debug failed Render deployments by analyzing logs, metrics, and database state. Identifies errors (missing env vars, port binding, OOM, etc.) and suggests fixes. Use when deployments fail, services won't start, or users mention errors, logs, or debugging.
44
license: MIT
5-
compatibility: Works with the Render CLI alone for logs and deploy status. MCP is optional for metrics and richer structured queries.
5+
compatibility: Requires Render MCP tools or CLI
66
metadata:
77
author: Render
88
version: "1.1.0"
@@ -26,21 +26,19 @@ Activate this skill when:
2626

2727
## Prerequisites
2828

29-
**CLI (primary path):** `render --version` and `render whoami -o json`
29+
**MCP tools (preferred):** Test with `list_services()` - provides structured data
3030

31-
**MCP tools (optional enhancement):** Test with `list_services()` for structured data
31+
**CLI (fallback):** `render --version` - use if MCP tools unavailable
3232

3333
**Authentication:** For MCP, use an API key (set in the MCP config or via the `RENDER_API_KEY` env var, depending on tool). For CLI, verify with `render whoami -o json`.
3434

35-
If `RENDER_API_KEY` is set, make sure it is a real key and not a placeholder value from shell config. A bad value can cause misleading CLI auth failures.
36-
3735
**Workspace:** `get_selected_workspace()` or `render workspace current -o json`
3836

39-
> **Note:** The Render CLI is enough for logs, deploy status, and many debugging workflows. MCP adds structured service data, metrics, and structured database queries.
37+
> **Note:** MCP tools require the Render MCP server. If unavailable, use the CLI for logs and deploy status; metrics and structured database queries require MCP.
4038
41-
## Optional MCP setup (per tool)
39+
## MCP Setup (Per Tool)
4240

43-
If `list_services()` fails because MCP isn't configured, ask whether they want to keep going with the CLI or set up MCP for richer data. If they choose MCP, ask which AI tool they're using, then provide the matching instructions below. Always use their API key.
41+
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.
4442

4543
### Cursor
4644

@@ -118,26 +116,6 @@ Set my Render workspace to [WORKSPACE_NAME]
118116

119117
---
120118

121-
## CLI-first debugging workflow
122-
123-
Start here unless the user already has MCP configured and wants richer structured data.
124-
125-
1. Identify the service with the Render CLI:
126-
```bash
127-
render services list
128-
```
129-
2. Check recent deploy state:
130-
```bash
131-
render deploys list <service-id>
132-
```
133-
3. Review logs:
134-
```bash
135-
render logs <service-id>
136-
```
137-
4. Escalate to MCP only if the user needs metrics, structured service metadata, or structured database queries.
138-
139-
---
140-
141119
## Debugging Workflow
142120

143121
### Step 1: Identify Failed Service
@@ -146,7 +124,7 @@ render logs <service-id>
146124
list_services()
147125
```
148126

149-
If MCP isn't configured, continue with CLI by default. Offer MCP setup only if the user wants richer structured data.
127+
If MCP isn't configured, ask whether to set it up (preferred) or continue with CLI. Then proceed.
150128

151129
Look for services with failed status. Get details:
152130

skills/render-deploy/SKILL.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: render-deploy
3-
description: Deploy applications to Render by analyzing codebases, generating render.yaml Blueprints, and providing Dashboard deeplinks. Start with Blueprint and Render CLI flows by default. Use MCP as an optional fast path for direct creation.
3+
description: Deploy applications to Render by analyzing codebases, generating render.yaml Blueprints, and providing Dashboard deeplinks. Use when the user wants to deploy, host, publish, or set up their application on Render's cloud platform.
44
license: MIT
5-
compatibility: Requires a Git repository on GitHub, GitLab, or Bitbucket for Blueprint or MCP flows. Blueprint can reference a prebuilt image but render.yaml must live in the repo. Render CLI is the primary path for validation and deployment guidance. MCP is optional for direct creation.
5+
compatibility: Requires a Git repository on GitHub, GitLab, or Bitbucket for Blueprint/MCP flows. Blueprint can reference a prebuilt image but render.yaml must live in the repo. Render CLI recommended for Blueprint validation; MCP or CLI required for operations.
66
metadata:
77
author: Render
88
version: "1.1.0"
@@ -14,8 +14,8 @@ metadata:
1414
Render supports **Git-backed** services and **prebuilt Docker image** services.
1515

1616
This skill covers **Git-backed** flows:
17-
1. **Blueprint Method** - Generate `render.yaml` for Infrastructure-as-Code deployments
18-
2. **Direct Creation** - Optionally create services instantly via MCP tools
17+
1. **Blueprint Method** - Generate render.yaml for Infrastructure-as-Code deployments
18+
2. **Direct Creation** - Create services instantly via MCP tools
1919

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

@@ -64,12 +64,12 @@ Both methods require a Git repository pushed to GitHub, GitLab, or Bitbucket. (I
6464

6565
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).
6666

67-
**Use Direct Creation (MCP) only when ALL are true:**
67+
**Use Direct Creation (MCP) when ALL are true:**
6868
- Single service (one web app or one static site)
6969
- No separate worker/cron services
7070
- No attached databases or Key Value
7171
- Simple env vars only (no shared env groups)
72-
If this path fits but MCP is not configured, ask whether the user wants to set up MCP for a faster path or continue with the Blueprint and CLI flow.
72+
If this path fits and MCP isn't configured yet, stop and guide MCP setup before proceeding.
7373

7474
**Use Blueprint when ANY are true:**
7575
- Multiple services (web + worker, API + frontend, etc.)
@@ -78,7 +78,7 @@ If this path fits but MCP is not configured, ask whether the user wants to set u
7878
- You want reproducible IaC or a render.yaml committed to the repo
7979
- Monorepo or multi-env setup that needs consistent configuration
8080

81-
If unsure, ask a quick clarifying question, but default to Blueprint for safety. Treat Direct Creation via MCP as an optional fast path, not the baseline setup flow.
81+
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.
8282

8383
## Prerequisites Check
8484

@@ -94,40 +94,26 @@ git remote -v
9494

9595
- If no remote exists, stop and ask the user to create/push a remote **or** switch to Docker image deploy.
9696

97-
**2. Check Render CLI Installation (Primary Path)**
97+
**2. Check MCP Tools Availability (Preferred for Single-Service)**
9898

99+
MCP tools provide the best experience. Check if available by attempting:
100+
```
101+
list_services()
102+
```
103+
104+
If MCP tools are available, you can skip CLI installation for most operations.
105+
106+
**3. Check Render CLI Installation (for Blueprint validation)**
99107
```bash
100108
render --version
101109
```
102110
If not installed, offer to install:
103111
- macOS: `brew install render`
104112
- Linux/macOS: `curl -fsSL https://raw.githubusercontent.com/render-oss/cli/main/bin/install.sh | sh`
105113

106-
**3. Check CLI Authentication**
107-
108-
If using the CLI path, verify the user can access their account:
109-
```bash
110-
render whoami -o json
111-
```
112-
113-
If `render whoami` fails or returns empty data, ask the user which method they prefer:
114-
- **API key**: `export RENDER_API_KEY="rnd_xxxxx"` using a real Render API key, not a placeholder
115-
- **Login**: `render login`
114+
**4. MCP Setup (if MCP isn't configured)**
116115

117-
If `RENDER_API_KEY` is already set, make sure it is not a placeholder value copied into shell config. A bad value can break CLI auth in misleading ways.
118-
119-
**4. Check MCP Tools Availability (Optional Fast Path)**
120-
121-
MCP tools provide the best experience. Check if available by attempting:
122-
```
123-
list_services()
124-
```
125-
126-
If MCP tools are available, you can use them for direct creation. If not, continue with the Blueprint and CLI path by default.
127-
128-
**5. MCP Setup (optional)**
129-
130-
If `list_services()` fails because MCP isn't configured, ask whether they want to set up MCP for direct creation or continue with the Blueprint and CLI path. If they choose MCP, ask which AI tool they're using, then provide the matching instructions below. Always use their API key.
116+
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.
131117

132118
### Cursor
133119

@@ -203,6 +189,20 @@ After MCP is configured, have the user set the active Render workspace with a pr
203189
Set my Render workspace to [WORKSPACE_NAME]
204190
```
205191

192+
**5. Check Authentication (CLI fallback only)**
193+
194+
If MCP isn't available, use the CLI instead and verify you can access your account:
195+
```bash
196+
# Check if user is logged in (use -o json for non-interactive mode)
197+
render whoami -o json
198+
```
199+
200+
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:
201+
202+
If neither is configured, ask user which method they prefer:
203+
- **API Key (CLI)**: `export RENDER_API_KEY="rnd_xxxxx"` (Get from https://dashboard.render.com/u/*/settings#api-keys)
204+
- **Login**: `render login` (Opens browser for OAuth)
205+
206206
**6. Check Workspace Context**
207207

208208
Verify the active workspace:

skills/render-monitor/SKILL.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: render-monitor
3-
description: Monitor Render services in real-time. Start with the Render CLI for service status and logs. Use MCP as an optional enhancement for metrics, richer monitoring, and structured queries.
3+
description: Monitor Render services in real-time. Check health, performance metrics, logs, and resource usage. Use when users want to check service status, view metrics, monitor performance, or verify deployments are healthy.
44
license: MIT
5-
compatibility: Works with the Render CLI alone for service status and logs. MCP is optional for metrics and richer structured queries.
5+
compatibility: Requires Render MCP tools or CLI
66
metadata:
77
author: Render
88
version: "1.0.0"
@@ -25,21 +25,19 @@ Activate this skill when users want to:
2525

2626
## Prerequisites
2727

28-
**CLI (primary path):** `render --version` and `render whoami -o json`
28+
**MCP tools (preferred):** Test with `list_services()` - provides structured data
2929

30-
**MCP tools (optional enhancement):** Test with `list_services()` for structured data
30+
**CLI (fallback):** `render --version` - use if MCP tools unavailable
3131

3232
**Authentication:** For MCP, use an API key (set in the MCP config or via the `RENDER_API_KEY` env var, depending on tool). For CLI, verify with `render whoami -o json`.
3333

34-
If `RENDER_API_KEY` is set, make sure it is a real key and not a placeholder value from shell config. A bad value can cause misleading CLI auth failures.
35-
3634
**Workspace:** `get_selected_workspace()` or `render workspace current -o json`
3735

38-
> **Note:** The Render CLI is enough for status checks, deploy checks, and logs. MCP adds metrics, richer monitoring, and structured database queries.
36+
> **Note:** MCP tools require the Render MCP server. If unavailable, use the CLI for status and logs; metrics and database queries require MCP.
3937
40-
## Optional MCP setup (per tool)
38+
## MCP Setup (Per Tool)
4139

42-
If `list_services()` fails because MCP isn't configured, ask whether they want to keep going with the CLI or set up the hosted Render MCP server for richer monitoring. If they choose MCP, ask which AI tool they're using, then provide the matching instructions below. Always use their API key.
40+
If `list_services()` fails because MCP isn't configured, guide the user to set up the hosted Render MCP server. Ask which AI tool they're using, then provide the matching instructions below. Always use their API key.
4341

4442
### Cursor
4543

@@ -117,25 +115,6 @@ Set my Render workspace to [WORKSPACE_NAME]
117115

118116
---
119117

120-
## CLI-first health check
121-
122-
Start here unless the user specifically wants metrics or already has MCP configured.
123-
124-
```bash
125-
# 1. Check service status
126-
render services list
127-
128-
# 2. Check recent deploys
129-
render deploys list <service-id>
130-
131-
# 3. Review logs
132-
render logs <service-id>
133-
```
134-
135-
Use MCP afterward if the user needs metrics, latency analysis, or structured database queries.
136-
137-
---
138-
139118
## Quick Health Check
140119

141120
Run these 5 checks to assess service health:

0 commit comments

Comments
 (0)