rondoflow-canvas-node
Add, modify, or debug a canvas node type in RondoFlow (agent, skill, policy, resource, mcp, condition, structurer, db-save, http-request, duckduckgo-search…
от rondoflow★ 37 звёзд на GitHub
Установить rondoflow-canvas-node в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
RondoFlow Canvas Nodes
A workflow is a React Flow graph that gets compiled into an ordered/branched list of execution steps. The critical thing to know: there are two independent compilers, and a node that only one of them understands works in one run path and is silently dropped in the other.
The two run paths (keep them in sync!)
| Path | Compiler | Trigger |
|---|---|---|
| Interactive (user clicks Run in the canvas) | packages/ui/src/lib/chain-utils.ts |
browser → socket |
| Headless / scheduled (Scheduler, cron, API) | packages/server/src/engine/canvas-chain.ts |
server-side |
Both turn { nodes, edges } into steps for chain-executor.ts, but they are separate
codebases that must agree. They have already drifted:
chain-utils.ts(UI) treats'agent' | 'structurer' | 'db-save' | 'http-request' | 'duckduckgo-search'as executable steps (see itsStepNodeTypeunion, ~L10 and thenodeTypemapping ~L249-266).canvas-chain.ts(server) only recognizes'agent' | 'structurer' | 'db-save'(the executable filter ~L118).http-requestandduckduckgo-searchare NOT compiled server-side, so they run interactively but vanish from scheduled runs.
⚠️ Whenever you add or change an executable node type, edit BOTH
chain-utils.tsandcanvas-chain.ts. If you only touch one, the node will work in one run path and silently no-op in the other. This is the single most common bug class for nodes.
Where each piece lives
packages/shared/src/canvas.ts # node/edge/data TYPES (shared contract)
packages/ui/src/components/canvas/nodes/*.tsx # React Flow node components (visuals + editing)
packages/ui/src/components/canvas/canvas-palette.tsx # drag-to-canvas palette entry
packages/ui/src/lib/chain-utils.ts # UI compiler: graph → steps (interactive)
packages/server/src/engine/canvas-chain.ts # server compiler: graph → steps (headless)
packages/server/src/engine/chain-executor.ts # DAG runner (parallel branches), both paths
packages/server/src/engine/<kind>-runner.ts # per-kind execution (agent-runner, http-request-runner, duckduckgo-search-runner, ...)
Node kinds seen in the UI today: agent, skill, policy, resource, mcp, start,
condition, structurer, db-save, http-request, duckduckgo-search, template-text,
email, output, sticky-note.
Node roles
- Executable steps —
agent(spawns Claude Code CLI) and the transform nodes (structurer,db-save,http-request,duckduckgo-search) produce output and pass it downstream. These are what both compilers must list. - Attachment nodes —
skill,policy,resource,mcpconfigure a connected agent rather than executing themselves. - Control flow —
conditionroutes on an agent's last output line; it compiles to grouped exclusive edges so the run path branches instead of linearising the DAG. - Sinks —
output(captures result) andemail(sends combined output via SMTP, only whendata.enabled). - Annotation —
sticky-note(no execution).
Checklist: adding a new executable node type
- Type — add the node-data shape + kind to
packages/shared/src/canvas.ts. - Component — create
packages/ui/src/components/canvas/nodes/<kind>-node.tsx; register it in the React FlownodeTypesmap and add it tocanvas-palette.tsx. - UI compiler — handle the kind in
chain-utils.ts(StepNodeType+ thenodeType/config mapping). - Server compiler — handle the kind in
canvas-chain.ts(executable filter + step mapping). Mirror step 3 exactly. - Runner — add
packages/server/src/engine/<kind>-runner.tsand dispatch to it fromchain-executor.ts. - i18n — any visible label goes through the
canvasnamespace in all three locales (see therondoflow-i18nskill). - Tests — extend
chain-executor.test.ts/chain-utils.test.ts.
Verify
cd packages/server && npx vitest run src/engine/__tests__/chain-executor.test.ts
cd packages/ui && npx vitest run src/lib/__tests__/chain-utils.test.ts
Sanity check for drift — the executable node kinds should match between the two compilers:
grep -nE "structurer|db-save|http-request|duckduckgo-search" \
packages/ui/src/lib/chain-utils.ts \
packages/server/src/engine/canvas-chain.ts
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rondoflow-canvas-node?
Add, modify, or debug a canvas node type in RondoFlow (agent, skill, policy, resource, mcp, condition, structurer, db-save, http-request, duckduckgo-search, template, email, output, note). Use when changing node behavior or how a node participates in a workflow run — especially to avoid the interactive-vs-scheduled execution drift.
Как установить скилл rondoflow-canvas-node?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rondoflow-canvas-node запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…