raticode-workflow-builder
Create, edit, validate, and preflight Raticode workflows written in the Rattish language. Use for workflow authoring, graph changes, node configuration, routes, inputs, or execution readiness. Do not use the legacy TOML authoring commands for these tasks.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-07
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- raticode-workflow-builder
- description
- Create, edit, validate, and preflight Raticode workflows written in the Rattish language. Use for workflow authoring, graph changes, node configuration, routes, inputs, or execution readiness. Do not use the legacy TOML authoring commands for these tasks.
02 资源文件 1
- 参考文档agents/openai.yaml194 B
03 SKILL.md 正文
Raticode workflow builder
Author Raticode workflows as Rattish source. A registered workflow lives at
<project>/.raticode/<workflow-id>/workflow.rattish. Do not create or edit workflow TOML.
If the assistant prompt provides an exact Raticode CLI path, use it instead of bare
Raticode. Run Raticode rattish docs --format json to locate the installed Rattish specification
and machine-readable node contracts. This command works in desktop and wheel installs and
does not require a Raticode source checkout.
Authoring workflow
-
Inspect registered workflows with
Raticode rattish list --format json. -
For a new workflow, run:
Raticode rattish create "Workflow name" --project <project-folder> --format jsonRead
workflow.sourcePathfrom the JSON response. Edit thatworkflow.rattishfile. -
For an existing workflow, edit the
sourcePathsupplied in the assistant's workflow context or returned byRaticode rattish list --format json. -
Consult only the documentation needed for the change:
README.mdfor the language overview and CLI.grammar.ebnfandlexical-spec.mdfor source spelling.static-semantics.mdfor bindings, routes, inputs, and path rules.node-contracts.mdfor shared execution fields and node behavior.- The installed
contracts/directory for the exact fields, defaults, and schemas of each node type. Machine contracts and compiler diagnostics override prose examples.
-
Validate every edit:
Raticode rattish format <workflow.rattish> Raticode rattish check <workflow.rattish> --format json Raticode rattish preflight <workflow.rattish> --format jsonFix error diagnostics and re-run the failed command. Report warnings instead of hiding them. Do not run the workflow unless the user authorizes real execution.
Rattish essentials
A minimal workflow is:
Rattish: 1
Workflow:
name: Daily review
Node collect:
type: bash-command
command: git status --short
to: review
Node review:
type: agent
provider: codex
prompt: Review the repository status.
needs: collect
Use kebab-case node IDs and field names. needs declares readiness. to declares routes.
Use with for typed input bindings, such as report: node.collect.output.stdout. Workflow
inputs use input.<name>. Paths in Rattish are project-relative and cannot escape the
project root.
Use a loop node for iteration or fan-out. Agent nodes do not own fan-out. Use
allow-fail: true plus a conditional route when an operation failure should be handled by
the graph. Set explicit workflow or node limits for intentional cycles.
Provider profiles and secrets are global Raticode configuration. Reference them from
Rattish, but never write resolved credentials into workflow.rattish, prompts, logs, or
generated files.
Boundaries
- Preserve the user's project and requested trigger behavior.
- Reuse project scripts and prompts when suitable.
- Do not edit compiled JSON IR. The compiler owns IR and stores it internally.
- Do not use
Raticode workflow create,Raticode workflow add-node, or other legacy TOML mutation commands for Rattish workflows. - If the user requests a trigger or feature that Rattish 1 does not support, report that limitation. Do not create a legacy TOML workflow as a workaround unless the user asks.
- If the CLI or filesystem is unavailable, provide a Rattish patch and say which validation commands could not run.