pi-heartbeat
Configure periodic health checks via HEARTBEAT.md and the /heartbeat command.
Write and improve documentation for ComfyUI nodes in per-node JSON files. Use when asked to document nodes, write node descriptions, add tips to nodes, improve node docs, enrich node content, fill in empty node descriptions, or batch-write documentation for new/updated nodes.
$ npx -y skills add espennilsen/pi --skill comfyui-node-update --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/comfyui-node-updateContext preview
The summary Claude sees to decide when to auto-load this skill.
Write and improve documentation for ComfyUI nodes in per-node JSON files. Use when asked to document nodes, write node descriptions, add tips to nodes, improve node docs, enrich node content, fill in empty node descriptions, or batch-write documentation for new/updated nodes.
name: comfyui-node-update description: > Write and improve documentation for ComfyUI nodes in per-node JSON files. Use when asked to document nodes, write node descriptions, add tips to nodes, improve node docs, enrich node content, fill in empty node descriptions, or batch-write documentation for new/updated nodes. Also triggers on "write docs for nodes", "document the new nodes", "improve node tips", "fill in node descriptions", "enrich nodes", "node content pass", "update nodes", "sync comfyui nodes", "new comfyui version", or "node enrichment".
Write original, beginner-friendly documentation for ComfyUI nodes. Each node is stored as an individual JSON file. Use the embedded docs as a reference source but always rewrite content — never copy-paste.
Node data is split into per-node JSON files organized by section and category:
src/data/nodes/ _metadata.json — metadata + schema_version comfy_nodes/<category>/<NodeName>.json — core ComfyUI nodes (511) partner_nodes/<category>/<NodeName>.json — API/partner nodes (203) subgraph_blueprints/<category>/<Name>.json — subgraph blueprints (65) extensions/<category>/<NodeName>.json — extension nodes (1)
The top-level directories (`comfy_nodes`, `partner_nodes`, `subgraph_blueprints`, `extensions`) match the tree pane sections. Below that, the category path matches the node's `category` field with spaces replaced by hyphens.
To locate a node's JSON file:
find src/data/nodes -name 'KSampler.json' # → src/data/nodes/comfy_nodes/sampling/KSampler.json
To search across all nodes:
rg '"documentation_complete": false' src/data/nodes/ -l
For each node, write these fields:
| Field | What to write | Length | |---|---|---| | `description` | Technical but clear explanation of what the node does | 50–200 chars | | `beginner_description` | Plain-language explanation for someone new to ComfyUI | 100–400 chars | | `tips.general_tips` | Practical advice any user should know | 2–5 tips | | `tips.beginner_tips` | "Start here" guidance with specific values and settings | 2–4 tips | | `tips.advanced_tips` | Power-user techniques, edge cases, combo strategies | 1–4 tips (skip for simple nodes) | | `use_cases` | Concrete scenarios with context | 2–4 use cases | | `common_errors` | Real problems users hit, with actionable fixes | 1–4 errors | | `complexity_level` | `"beginner"`, `"intermediate"`, or `"advanced"` | — | | `documentation_complete` | Set `true` when all content fields are filled | — |
freedom" not "CFG controls guidance strength"
on a photo" not "Modifies the latent tensor distribution"
One or two sentences. Technical but accessible. State what the node does and its role in a workflow.
**Good:** "Loads a Stable Diffusion checkpoint file containing the model weights, text encoder, and VAE needed for image generation."
**Bad:** "Checkpoint loader node." (too short, says nothing) **Bad:** Copy-pasting the export's `description` field verbatim.
Explain the node as if the reader has used ComfyUI for a week. Avoid jargon or explain it inline. Say what it does in practical terms.
**Good:** "This node loads the AI model that generates your images. Think of it as picking which artist you want to work with — different checkpoints produce different styles, from photorealistic to anime to oil paintings."
**Bad:** "Loads checkpoint files for diffusion model inference." (jargon) **Bad:** Repeating `description` with slightly different words.
Each tip must be **specific and actionable**. Include concrete values, settings, node names, or workflows.
**Good tip:** "Start with euler sampler, 25 steps, CFG 7.5 — this works reliably for most models and gives good results in about 10 seconds."
**Bad tip:** "Experiment with different settings to find what works best." (vague, unhelpful)
**Good tip:** "For Flux models, set CFG to 1.0 and use the FluxGuidance node instead — Flux uses guidance differently than SD 1.5 or SDXL."
**Bad tip:** "Different models may require different settings." (obvious)
Use an array of objects with `scenario` and `context`:
[
{
"scenario": "Text-to-image generation",
"context": "The most common workflow — connect Empty Latent Image as input with denoise 1.0 to generate from scratch"
}
]Use an array of objects with `symptom` and `solution`:
[
{
"symptom": "Black or completely blank images",
"solution": "CFG scale too high (>15). Lower to 7–9 range. Also check that model, VAE, and conditioning are all connected."
}
]The embedded docs at `embedded-docs/comfyui_embedded_docs/docs/<NodeName>/en.md` are a **reference source**, not a template.
1. Read the embedded doc to understand what the node does 2. Read the input/output tables to understand parameters 3. Note any tips, notes,
This repository is my Pi coding agent home directory. I keep it under version control and symlink it to ~/.pi/agent so Pi loads configuration, extensions, skills, and runtime state from here.
Configure periodic health checks via HEARTBEAT.md and the /heartbeat command.
Manage persistent memory across sessions. Use when asked to remember, recall, forget, or review what was stored. Covers long-term…
Track and manage projects with git status via dashboard and tool.
Delegate tasks to specialized subagents for parallel or sequential execution.
Audit, generate, update, and lint AGENTS.md files across all projects. Use when asked to check project context files, scaffold…