[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EKHWQRBXVMK7YXT3DV3XDH":3,"skill-same:01M6EKHWQRBXVMK7YXT3DV3XDH":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6EKHWQRBXVMK7YXT3DV3XDH","operation",null,"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.","ThomasTartrau\u002Fironflow","ThomasTartrau","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F145434513?v=4","01M6EKHJ55CEQZVP23J48EMFQ1","Thomas Tartrau","01M6EKHJ9CJE78ZBQDPQ9M13C2",2,"MIT","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Foperation\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31],"slack","http","gitlab","integration","api","write","hub","as","false","ironflow","http api","for","custom","2026-11-10 10:12:30",false,"---\nname: operation\ndescription: 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.\nuser-invocable: false\n---\n\n# Ironflow operation\n\n`Operation` is the extension point for step kinds Ironflow does not ship. The engine owns the lifecycle (step record, status, duration, output persistence); the operation owns the call.\n\nBuilt-in kinds already exist for a plain shell command, an HTTP request and an agent. Write an operation when the step needs its own struct, its own error mapping, or its own structured output. A single `ctx.http()` is enough for a one-off request.\n\n## 1. Gather the shape\n\nOne AskUserQuestion call: operation name (`snake_case` struct, lowercase `kind()`), the external call it makes, its inputs, what the step output must contain, and where the credential comes from (a secret, an env var on the worker).\n\n## 2. Write the operation\n\nOne file per operation in the workflows crate under `src\u002Foperations\u002F`. Template:\n\n```rust,no_run\nuse async_trait::async_trait;\nuse ironflow_core::operations::http::Http;\nuse ironflow_core::error::OperationError;\nuse ironflow_core::operation::{Operation, OperationContext};\nuse serde_json::{Value, json};\n\n\u002F\u002F\u002F Posts a message to a Slack channel through an incoming webhook.\npub struct SlackMessage {\n    pub webhook_url: String,\n    pub text: String,\n}\n\n#[async_trait]\nimpl Operation for SlackMessage {\n    fn kind(&self) -> &str {\n        \"slack\"\n    }\n\n    fn input(&self) -> Option\u003CValue> {\n        \u002F\u002F Persisted as the step input. Never include the credential.\n        Some(json!({\"text\": self.text}))\n    }\n\n    async fn execute(&self, _ctx: &OperationContext) -> Result\u003CValue, OperationError> {\n        let resp = Http::post(&self.webhook_url)\n            .json(json!({\"text\": self.text}))\n            .await?;\n        if !resp.is_success() {\n            return Err(OperationError::Http {\n                status: Some(resp.status()),\n                message: format!(\"slack answered {}\", resp.status()),\n            });\n        }\n        Ok(json!({\"status\": resp.status()}))\n    }\n}\n```\n\nTwo complete examples to copy from: `references\u002Fhttp-json.md` (generic JSON API wrapper with typed response) and `references\u002Fgitlab-issue.md` (create a GitLab issue via `ironflow-ops-gitlab`, typed queries and tracked operations).\n\n## 3. Call it from a handler\n\n```rust,no_run\nuse async_trait::async_trait;\nuse ironflow_core::error::OperationError;\nuse ironflow_core::operation::{Operation, OperationContext};\nuse ironflow_engine::context::WorkflowContext;\nuse ironflow_engine::error::EngineError;\nuse serde::Deserialize;\nuse serde_json::{Value, json};\n\n\u002F\u002F\u002F What `Ping` returns, read back typed from the step output.\n#[derive(Deserialize)]\nstruct Pong {\n    ok: bool,\n}\n\nstruct Ping;\n\n#[async_trait]\nimpl Operation for Ping {\n    fn kind(&self) -> &str {\n        \"ping\"\n    }\n    async fn execute(&self, _ctx: &OperationContext) -> Result\u003CValue, OperationError> {\n        Ok(json!({\"ok\": true}))\n    }\n}\n\nasync fn example(ctx: &mut WorkflowContext) -> Result\u003C(), EngineError> {\n    let pong: Pong = ctx.operation(\"ping-upstream\", &Ping).await?.json()?;\n    let _ok = pong.ok;\n    Ok(())\n}\n```\n\nThe step is stored with kind `custom:\u003Ckind()>`, so keep `kind()` short, lowercase and stable.\n\nAn `Err` from `execute` fails the step and the run. When the workflow should carry on, call `ctx.operation_allow_failure(name, &op)` instead: the step is still recorded as Failed, the run ends as `Warning`, and the handler reads the message through `error()` on the returned output.\n\n## 4. Verify\n\n```bash\ncargo build -p workflows\ncargo test -p workflows\n```\n\nAdd a test of the operation alone when it is pure enough (build the struct, call `execute().await`, assert on the JSON). For HTTP calls, test through a workflow with a real local server or leave it to the end-to-end test of the calling handler.\n\n## Rules\n\n- **Errors are `OperationError`.** Wrap transport errors as `OperationError::Http { .. }`, secret errors as `OperationError::Secret { .. }`. `Http` errors from `ironflow_core::operations::http::Http` convert with `?` already.\n- **`input()` is observability, not secrets.** It lands in the database and the dashboard.\n- **Output is JSON.** Return what later steps need (ids, urls, status), not the raw response body when it is large.\n- **No retry loops inside `execute()`.** Retries are a step concern: the run fails, the operator retries the run.\n- **`OperationContext`** provides `ctx.http_client()` (shared `reqwest::Client`) and `ctx.secrets()` (a `SecretResolver`). Use `ctx.secrets().get(\"key\").await?` to fetch credentials inside `execute()`, or read them in the handler and pass them into the struct.\n- **External crates depend on `ironflow-core` only**, not `ironflow-engine`. The `Operation` trait and `OperationContext` live in `ironflow-core::operation`.\n","# Ironflow operation\n\n`Operation` is the extension point for step kinds Ironflow does not ship. The engine owns the lifecycle (step record, status, duration, output persistence); the operation owns the call.\n\nBuilt-in kinds already exist for a plain shell command, an HTTP request and an agent. Write an operation when the step needs its own struct, its own error mapping, or its own structured output. A single `ctx.http()` is enough for a one-off request.\n\n## 1. Gather the shape\n\nOne AskUserQuestion call: operation name (`snake_case` struct, lowercase `kind()`), the external call it makes, its inputs, what the step output must contain, and where the credential comes from (a secret, an env var on the worker).\n\n## 2. Write the operation\n\nOne file per operation in the workflows crate under `src\u002Foperations\u002F`. Template:\n\n```rust,no_run\nuse async_trait::async_trait;\nuse ironflow_core::operations::http::Http;\nuse ironflow_core::error::OperationError;\nuse ironflow_core::operation::{Operation, OperationContext};\nuse serde_json::{Value, json};\n\n\u002F\u002F\u002F Posts a message to a Slack channel through an incoming webhook.\npub struct SlackMessage {\n    pub webhook_url: String,\n    pub text: String,\n}\n\n#[async_trait]\nimpl Operation for SlackMessage {\n    fn kind(&self) -> &str {\n        \"slack\"\n    }\n\n    fn input(&self) -> Option\u003CValue> {\n        \u002F\u002F Persisted as the step input. Never include the credential.\n        Some(json!({\"text\": self.text}))\n    }\n\n    async fn execute(&self, _ctx: &OperationContext) -> Result\u003CValue, OperationError> {\n        let resp = Http::post(&self.webhook_url)\n            .json(json!({\"text\": self.text}))\n            .await?;\n        if !resp.is_success() {\n            return Err(OperationError::Http {\n                status: Some(resp.status()),\n                message: format!(\"slack answered {}\", resp.status()),\n            });\n        }\n        Ok(json!({\"status\": resp.status()}))\n    }\n}\n```\n\nTwo complete examples to copy from: `references\u002Fhttp-json.md` (generic JSON API wrapper with typed response) and `references\u002Fgitlab-issue.md` (create a GitLab issue via `ironflow-ops-gitlab`, typed queries and tracked operations).\n\n## 3. Call it from a handler\n\n```rust,no_run\nuse async_trait::async_trait;\nuse ironflow_core::error::OperationError;\nuse ironflow_core::operation::{Operation, OperationContext};\nuse ironflow_engine::context::WorkflowContext;\nuse ironflow_engine::error::EngineError;\nuse serde::Deserialize;\nuse serde_json::{Value, json};\n\n\u002F\u002F\u002F What `Ping` returns, read back typed from the step output.\n#[derive(Deserialize)]\nstruct Pong {\n    ok: bool,\n}\n\nstruct Ping;\n\n#[async_trait]\nimpl Operation for Ping {\n    fn kind(&self) -> &str {\n        \"ping\"\n    }\n    async fn execute(&self, _ctx: &OperationContext) -> Result\u003CValue, OperationError> {\n        Ok(json!({\"ok\": true}))\n    }\n}\n\nasync fn example(ctx: &mut WorkflowContext) -> Result\u003C(), EngineError> {\n    let pong: Pong = ctx.operation(\"ping-upstream\", &Ping).await?.json()?;\n    let _ok = pong.ok;\n    Ok(())\n}\n```\n\nThe step is stored with kind `custom:\u003Ckind()>`, so keep `kind()` short, lowercase and stable.\n\nAn `Err` from `execute` fails the step and the run. When the workflow should carry on, call `ctx.operation_allow_failure(name, &op)` instead: the step is still recorded as Failed, the run ends as `Warning`, and the handler reads the message through `error()` on the returned output.\n\n## 4. Verify\n\n```bash\ncargo build -p workflows\ncargo test -p workflows\n```\n\nAdd a test of the operation alone when it is pure enough (build the struct, call `execute().await`, assert on the JSON). For HTTP calls, test through a workflow with a real local server or leave it to the end-to-end test of the calling handler.\n\n## Rules\n\n- **Errors are `OperationError`.** Wrap transport errors as `OperationError::Http { .. }`, secret errors as `OperationError::Secret { .. }`. `Http` errors from `ironflow_core::operations::http::Http` convert with `?` already.\n- **`input()` is observability, not secrets.** It lands in the database and the dashboard.\n- **Output is JSON.** Return what later steps need (ids, urls, status), not the raw response body when it is large.\n- **No retry loops inside `execute()`.** Retries are a step concern: the run fails, the operator retries the run.\n- **`OperationContext`** provides `ctx.http_client()` (shared `reqwest::Client`) and `ctx.secrets()` (a `SecretResolver`). Use `ctx.secrets().get(\"key\").await?` to fetch credentials inside `execute()`, or read them in the handler and pass them into the struct.\n- **External crates depend on `ironflow-core` only**, not `ironflow-engine`. The `Operation` trait and `OperationContext` live in `ironflow-core::operation`.\n",{"name":5,"description":7,"user-invocable":33},"main","efb82a31b29b49288c6f0909bbe2b1b80520dc46","plugins\u002Fironflow\u002Fskills\u002Foperation",1,"https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow","https:\u002F\u002Fgithub.com\u002FThomasTartrau","2026-11-04 18:52:31",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ThomasTartrau\u002Fironflow --skill operation",{"tool":50,"command":51},"bunx","bunx skills add ThomasTartrau\u002Fironflow --skill operation",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ThomasTartrau\u002Fironflow --skill operation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Foperation\u002FSKILL.md",true,[58,64],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fgitlab-issue.md","REFERENCE","参考文档",4038,"https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Foperation\u002Freferences\u002Fgitlab-issue.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fhttp-json.md",3114,"https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Foperation\u002Freferences\u002Fhttp-json.md",[69,84,107,119,134,149],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":32},"01M6EKJCDS84KZCE9F8G5D2ZW0","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.","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Fworkflow\u002FSKILL.md",[],[71,20,76,77,78,24,79,80,25,81,82,27,83,28,30],"shell","parallel","decision","approval","schema","registration","human","input",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":32},"01M6EKJ8WSG7KC0M71GSN3N82K","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.","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Fupgrade\u002FSKILL.md",[],[86,91,92,93,94,95,96,97,98,25,99,100,101,102,103,104,105,27,106,28],"change","code","changelog","audit","Bash","migrate","diff","log","maps","migrations","show","scan","git log","project","cargo","scripts",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":32},"01M6EKJ5G6553VH8BES3V9CY5B","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.","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Ftest\u002FSKILL.md",[],[109,71,114,115,116,24,25,117,118,27,28],"status","run","engine","fixtures","end",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":32},"01M6EKJ0NJYWEPJ9XX55GSYR44","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.","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Fsetup\u002FSKILL.md",[],[121,71,109,126,127,128,23,129,95,130,25,104,131,118,132,133,105,27,106,28],"workflows","hello","server","api server","workspace","worker","binary","lib",{"skillNo":135,"name":28,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":32},"01M6EKHS2MNPSZ9A0B96HWGHZG","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\".","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002Fplugins\u002Fironflow\u002Fskills\u002Fironflow\u002FSKILL.md",[],[28,140,141,142,71,109,92,94,128,116,143,144,145,146,147,86,104,131,118,148],"testing","writing","review","use","version","up","en","bump","trigger",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":32},"01M6EKHNAEEZPNYY5ST70AXTHV","ops-crate","Generate a new ops\u002Fxxx 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\u002Fxxx\", \"nouveau crate ops\", \"ironflow ops\".","https:\u002F\u002Fgithub.com\u002FThomasTartrau\u002Fironflow\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fops-crate\u002FSKILL.md",[],[156,157,20,158,22,159,160,161,162,163,164,165,166,167,148,168,169,170],"ops","ops crate","generate","macro","direct","quality","Wrapper","checklist","structure","pattern","full","service","name","add","scaffolds"]