From 54046c535113620029c9576dd65e7445f0a29527 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 05:26:13 +0000 Subject: [PATCH] Route Claude dynamic-workflow porting from README and SKILL Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 1 + skills/rig/SKILL.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 587ff76..186a6c9 100644 --- a/README.md +++ b/README.md @@ -64,4 +64,5 @@ The [Monthly PR Clusters workflow](.github/workflows/monthly-pr-clusters.md) run - [Skill guide](skills/rig/SKILL.md) — the canonical program and construction rules. - [Agent API](skills/rig/agent-api.md) and [prompt intents](skills/rig/prompt-intents.md) — schemas, inputs, and workspace context. - [Dynamic workflows](skills/rig/dynamic-workflows.md) — deterministic orchestration. +- [Claude dynamic-workflow conversion](skills/rig/claude-workflow-conversion.md) — map `meta`, `args`, `agent`, `parallel`, `pipeline`, `budget`, and model selection (Sonnet on the Anthropic engine) onto Rig. - [Sample catalog](skills/rig/samples.md) — agent and workflow patterns bucketed by API, topic, and task family. diff --git a/skills/rig/SKILL.md b/skills/rig/SKILL.md index 0366a23..b7e1614 100644 --- a/skills/rig/SKILL.md +++ b/skills/rig/SKILL.md @@ -69,6 +69,7 @@ the import syntax and Copilot SDK configuration. | Deterministic TypeScript fan-out | `workflow({ meta, input?, body })` + `export default`; use `call`, `pipeline`, `parallel`, `until` inside `body` | | One-off prompt inside a workflow | `call.text(prompt)` for a string, `call.json(prompt, schema)` for structured output | | Reusable workflow step | Define an `agent({ input, output })` and `call(worker, input, { label, phase })` | +| Porting a Claude dynamic workflow (`meta`, `args`, `agent(prompt, { schema })`, `budget`, `{ model: "sonnet" }`) | Read [Claude workflow conversion](./claude-workflow-conversion.md): `args`→`input`, `agent`→`call.text`/`call.json`, `{ model }`→ full Claude id with `anthropicEngine()` | | Phase or log from an agent program | Import `phase` / `log` from `rig` and call them at top level; the launcher runs every program inside a workflow | | Ambient `call` outside `body` | Import `call` from `"rig/globals"`; it routes through the active workflow context automatically. Do not import from `"rig/globals"` unless you need it — this avoids polluting non-workflow code. | | Custom model-callable operation | `defineTool(name, { description, parameters, handler })` |