ironflow
Entry point for building on the Ironflow workflow engine. Use for setting up an Ironflow project (server + worker), writing a WorkflowHandler, writing a custom Operation, testing a workflow end to end, reviewing a handler, upgrading the ironflow crates and migrating the code, or auditing existing code against the current Ironflow idioms. Trigger on "ironflow", "workflow handler", "ironflow setup", "ctx.shell", "ctx.agent", "approval gate", "upgrade ironflow", "bump ironflow", "créer un workflow ironflow", "mettre en place ironflow", "mettre à jour ironflow", "migrer ironflow".
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- ironflow
- description
- Entry point for building on the Ironflow workflow engine. Use for setting up an Ironflow project (server + worker), writing a WorkflowHandler, writing a custom Operation, testing a workflow end to end, reviewing a handler, upgrading the ironflow crates and migrating the code, or auditing existing code against the current Ironflow idioms. Trigger on "ironflow", "workflow handler", "ironflow setup", "ctx.shell", "ctx.agent", "approval gate", "upgrade ironflow", "bump ironflow", "créer un workflow ironflow", "mettre en place ironflow", "mettre à jour ironflow", "migrer ironflow".
- argument-hint
- [setup|workflow|operation|test|review|upgrade|audit] [name|version]
03 SKILL.md 正文
Ironflow
Routes to one sub-skill per verb. Arguments: $ARGUMENTS.
Route
| Verb | Load | Purpose |
|---|---|---|
setup |
skill ironflow:setup |
Scaffold a workspace (workflows lib, server, worker, hello workflow, e2e test) |
workflow <name> |
skill ironflow:workflow |
Write a WorkflowHandler and register it |
operation <name> |
skill ironflow:operation |
Write a custom Operation (API call tracked as a step) |
test <workflow> |
skill ironflow:test |
Write an end-to-end test for a handler |
review [file] |
agent ironflow:workflow-reviewer |
Review a handler for replay, naming and secret pitfalls |
upgrade [version] |
skill ironflow:upgrade |
Bump every ironflow crate (latest by default), then migrate the code to that release |
audit |
skill ironflow:upgrade |
Check existing code against the current idioms, without bumping |
Invoke the sub-skill with the Skill tool, passing the remaining arguments (audit included, it selects the mode). For review, spawn the agent with the file path (or the handler name to locate).
No verb given
Detect the project state before asking anything:
# Is this an ironflow project?
grep -rl "ironflow-engine" --include=Cargo.toml . 2>/dev/null | head -3
# Which handlers exist?
grep -rn "impl WorkflowHandler for" --include=*.rs . 2>/dev/null | head -20
- No
ironflow-enginedependency anywhere: proposesetup. Say what it creates in one line. - Dependency present: list the handlers found and propose
workflow,operation,testorreview. One question, not a menu of everything. ironflow-engineinCargo.lockolder thancargo search ironflow-engine --limit 1: say so, and addupgradeto the proposal.
Conventions shared by every sub-skill
- Never write a crate version by hand. Add dependencies with
cargo addso the project picks the latest release. - Imports at the top of the file with
use. No inlinesome::path::Typein bodies. - Every handler has a typed input struct deriving
serde::Deserializeandschemars::JsonSchema, exposed throughinput_schema(), read withctx.input::<T>(). - Every handler is added to
handlers()in the workflows crate. That one list feeds the server and the worker. - After
workflowfinishes, offer the review: "Run the workflow reviewer on this handler?" Do not run it without asking.
04 同仓库更多 Skills
workflow
Write an Ironflow WorkflowHandler - typed input schema, steps (shell, http, agent, approval, human input, signal, decision, sub-workflow, parallel), registration in handlers(). Loaded by the ironflow hub for the workflow verb.
upgrade
Upgrade the Ironflow crates of a project and migrate its code, or audit existing code against the current Ironflow idioms. Reads the changelog between the installed and the target release, maps every change to the project's code, then proposes or applies the migrations. Loaded by the ironflow hub for the upgrade and audit verbs.
test
Write an end-to-end test for an Ironflow workflow handler - real Engine, InMemoryStore, RecordReplayProvider fixtures, assertions on run status and step names. Loaded by the ironflow hub for the test verb.
setup
Scaffold a new Ironflow project - a Cargo workspace with a workflows lib, an API server binary, a worker binary, a hello workflow and its end-to-end test. Loaded by the ironflow hub for the setup verb.
operation
Write a custom Ironflow Operation - an integration (GitLab, Slack, any HTTP API) executed as a tracked step through ctx.operation(). Loaded by the ironflow hub for the operation verb.
ops-crate
Generate a new ops/xxx crate for an external service integration. Identifies the right pattern (A=wrapper, B=HTTP direct, C=macro), scaffolds the full structure, and runs the quality checklist. Trigger on "ops crate", "new ops", "creer un crate ops", "add ops/xxx", "nouveau crate ops", "ironflow ops".