/uipath-maestro-bpmn
UiPath Maestro BPMN / Process Orchestration (`.bpmn`, `.bpmn.ts`): author, validate, package, operate, diagnose and evaluate, including a process the user wants to see or sketch before it is built. Author `.bpmn.ts` with the builder SDK (`@uipath/maestro-builder-sdk/bpmn`) and
Claude Code
$ npx -y skills add uipath/skills --skill uipath-maestro-bpmn --agent claude-code
Codex
$ npx skills add uipath/skills --skill uipath-maestro-bpmn -a codex -y
Cursor
$ npx skills add uipath/skills --skill uipath-maestro-bpmn -a cursor -y
Gemini CLI
$ npx skills add uipath/skills --skill uipath-maestro-bpmn -a gemini-cli -y
GitHub Copilot
$ npx skills add uipath/skills --skill uipath-maestro-bpmn -a github-copilot -y
OpenCode
$ npx skills add uipath/skills --skill uipath-maestro-bpmn -a opencode -y
Windsurf
$ npx skills add uipath/skills --skill uipath-maestro-bpmn -a windsurf -y
SKILL.md
uipath-maestro-bpmn.SKILL.mdname: uipath-maestro-bpmn
description: "UiPath Maestro BPMN / Process Orchestration (`.bpmn`, `.bpmn.ts`): author, validate, package, operate, diagnose and evaluate, including a process the user wants to see or sketch before it is built. Author `.bpmn.ts` with the builder SDK (`@uipath/maestro-builder-sdk/bpmn`) and run the `uip maestro bpmn` check/compile/format/validate loop; edit an existing `.bpmn` by decompiling it. Operate: refresh package metadata, pack, upload to Studio Web, publish, debug, run a deployed process, inspect jobs and instances, pause/resume/cancel/retry/migrate. Diagnose a failed or stuck run: incidents, runtime variables, deployed asset, element executions, traces. Evaluate: eval sets, evaluators, simulations, eval runs. Covers events, gateways, tasks, sub-processes, sequence flows, the diagram, bindings, boundary handlers, event sub-processes, human tasks, Integration Service connectors, Data Fabric records and files, and any registry-backed extension type. For .flow→uipath-maestro-flow; for case plans→uipath-maestro-case."
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
<!-- CANONICAL — edit here, not in UiPath/flow-builder-sdk. Why: docs/SKILLS_PROMOTION_PLAN.md in that repo. -->
UiPath Maestro BPMN — TypeScript Builder SDK
Author a Maestro process as a typed BPMN graph and compile it to `.bpmn` XML. Builder methods map directly to events, gateways, activities, sub-processes, variables, bindings, and sequence flows.
Use this file as a router. Read only the reference named by the capability you need, then let TypeScript and `bpmn check` provide the detailed contract.
Critical Rules
1. Edit the `<Name>.bpmn.ts` source, never the compiled `.bpmn`: the next `compile` overwrites a hand edit, so change the source and rebuild. 2. Seed an existing process, or the stub `bpmn init` wrote, with `bpmn decompile`; never hand-write the skeleton (Workflow step 4). 3. Leave a `.preserve({ … })` call that `decompile` wrote alone; it carries state nothing else derives (Workflow step 4). 4. Run `uip maestro bpmn check <Name>.bpmn.ts --source` before every compile, and fix every error it prints first (Workflow step 5). `check` lints the SDK source only; it never replaces `validate`. Author every expression as `=js:` ([exceptions](references/bpmn-runtime.md#variables-and-the-process-contract)). 5. After each compile of a new process, run `format`, then `refresh`, then `validate`, in that order (Workflow steps 6–7). After a `merge` into an existing process, run `refresh` and `validate` only; run `format` without `--relayout` only when `refresh` or `validate` reports `BPMN_PARSE_ERROR` with `No diagrams found`, `MISSING_DI_SHAPE` or `MISSING_DI_EDGE`, then `refresh` and `validate` again. On a CLI whose `format --help` lists no `--relayout`, plain `format` lays out the whole diagram again and drops the user's pools, lanes, colors and placement: unless the report was `No diagrams found`, tell the user the canvas layout was reset ([Brownfield](references/bpmn-runtime.md#brownfield-editing)). 6. A different target system (Document Understanding → agent, Outlook → Gmail) changes a node's type and binding, not the graph; reshape only when the process differs. 7. You author the process; you never take part in it. Where a step reasons, classifies or extracts at run time, place and bind the node that does it (a UiPath agent, Document Understanding, a business rule); never do that work while authoring or hardcode its result. A bare "agent" in a request means a UiPath agent, never you. 8. Build a design you are given (an approved SDD, a BPMN diagram, an image) 1:1: every item a node, every connector a flow, each rule on the element the design names for it, each stated default kept (a value the design calls unknown until assessed stays unknown, never `false` or available). Never merge, drop or collapse its nodes on your own, for example into one script task; ask first. A gap in the design is a question for the user, never a step you invent; add only what it needs to compile or validate (start and end events, a join). A retry loop the design draws becomes the activity's `retry` option (rule 9). In a draft, ask at the gate and name each addition in its reply; in a build, name each on the final report's `Assumed:` line. When the request says nobody will answer, take the most literal reading of the design and name each choice the same way. An image needs a confirmed inventory first: read [Authoring from an image](references/image-transcription-guide.md). 9. Retry a failing activity with its `retry` option ([Retry](references/bpmn-runtime.md#events-and-timers)), never a drawn loop of gateways, timers or `.goto()`. 10. Pick an Orchestrator node by the target's `ProcessType`, never by its label ([Orchestrator work](references/bpmn-runtime.md#http-and-orchestrator-work)). 11. A process returns only what its end event maps: compute into a `.var()` and map it onto each `.output()` in the `BPMN.Variables` payload of every end event that finishes the process (root scope, not a sub-process body); a task that writes an `.output()` directly returns `null` to the caller, and every check passes. Likewise a step reads an `.input()` only through the start event: read the `.var()` that event's `BPMN.Variables` payload maps it into (add the row and a `.var()` scoped to the start event when none exists); a later `vars.<inputId>` read is "A variable is unresolved" on the canvas and at most a `VARIABLE_NOT_SET` warning in `validate` ([Process contract](references/bpmn-runtime.md#variables-and-the-process-contract)). 12. Fix every `validate` warning whose cause is in the process, in the same edit as its errors; never add a step, or change an input, default or path, only to silence one. Fix each warning once: when the next `validate` still prints it, keep it, and never edit or rerun for it again. An `[(xml)] unknown attribute` line on compiled output gets no edit and no report;
Read more
name: uipath-maestro-bpmn description: "UiPath Maestro BPMN / Process Orchestration (`.bpmn`, `.bpmn.ts`): author, validate, package, operate, diagnose and evaluate, including a process the user wants to see or sketch before it is built. Author `.bpmn.ts` with the builder SDK (`@uipath/maestro-builder-sdk/bpmn`) and run the `uip maestro bpmn` check/compile/format/validate loop; edit an existing `.bpmn` by decompiling it. Operate: refresh package metadata, pack, upload to Studio Web, publish, debug, run a deployed process, inspect jobs and instances, pause/resume/cancel/retry/migrate. Diagnose a failed or stuck run: incidents, runtime variables, deployed asset, element executions, traces. Evaluate: eval sets, evaluators, simulations, eval runs. Covers events, gateways, tasks, sub-processes, sequence flows, the diagram, bindings, boundary handlers, event sub-processes, human tasks, Integration Service connectors, Data Fabric records and files, and any registry-backed extension type. For .flow→uipath-maestro-flow; for case plans→uipath-maestro-case." allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
<!-- CANONICAL — edit here, not in UiPath/flow-builder-sdk. Why: docs/SKILLS_PROMOTION_PLAN.md in that repo. -->
UiPath Maestro BPMN — TypeScript Builder SDK
Author a Maestro process as a typed BPMN graph and compile it to `.bpmn` XML. Builder methods map directly to events, gateways, activities, sub-processes, variables, bindings, and sequence flows.
Use this file as a router. Read only the reference named by the capability you need, then let TypeScript and `bpmn check` provide the detailed contract.
Critical Rules
1. Edit the `<Name>.bpmn.ts` source, never the compiled `.bpmn`: the next `compile` overwrites a hand edit, so change the source and rebuild. 2. Seed an existing process, or the stub `bpmn init` wrote, with `bpmn decompile`; never hand-write the skeleton (Workflow step 4). 3. Leave a `.preserve({ … })` call that `decompile` wrote alone; it carries state nothing else derives (Workflow step 4). 4. Run `uip maestro bpmn check <Name>.bpmn.ts --source` before every compile, and fix every error it prints first (Workflow step 5). `check` lints the SDK source only; it never replaces `validate`. Author every expression as `=js:` ([exceptions](references/bpmn-runtime.md#variables-and-the-process-contract)). 5. After each compile of a new process, run `format`, then `refresh`, then `validate`, in that order (Workflow steps 6–7). After a `merge` into an existing process, run `refresh` and `validate` only; run `format` without `--relayout` only when `refresh` or `validate` reports `BPMN_PARSE_ERROR` with `No diagrams found`, `MISSING_DI_SHAPE` or `MISSING_DI_EDGE`, then `refresh` and `validate` again. On a CLI whose `format --help` lists no `--relayout`, plain `format` lays out the whole diagram again and drops the user's pools, lanes, colors and placement: unless the report was `No diagrams found`, tell the user the canvas layout was reset ([Brownfield](references/bpmn-runtime.md#brownfield-editing)). 6. A different target system (Document Understanding → agent, Outlook → Gmail) changes a node's type and binding, not the graph; reshape only when the process differs. 7. You author the process; you never take part in it. Where a step reasons, classifies or extracts at run time, place and bind the node that does it (a UiPath agent, Document Understanding, a business rule); never do that work while authoring or hardcode its result. A bare "agent" in a request means a UiPath agent, never you. 8. Build a design you are given (an approved SDD, a BPMN diagram, an image) 1:1: every item a node, every connector a flow, each rule on the element the design names for it, each stated default kept (a value the design calls unknown until assessed stays unknown, never `false` or available). Never merge, drop or collapse its nodes on your own, for example into one script task; ask first. A gap in the design is a question for the user, never a step you invent; add only what it needs to compile or validate (start and end events, a join). A retry loop the design draws becomes the activity's `retry` option (rule 9). In a draft, ask at the gate and name each addition in its reply; in a build, name each on the final report's `Assumed:` line. When the request says nobody will answer, take the most literal reading of the design and name each choice the same way. An image needs a confirmed inventory first: read [Authoring from an image](references/image-transcription-guide.md). 9. Retry a failing activity with its `retry` option ([Retry](references/bpmn-runtime.md#events-and-timers)), never a drawn loop of gateways, timers or `.goto()`. 10. Pick an Orchestrator node by the target's `ProcessType`, never by its label ([Orchestrator work](references/bpmn-runtime.md#http-and-orchestrator-work)). 11. A process returns only what its end event maps: compute into a `.var()` and map it onto each `.output()` in the `BPMN.Variables` payload of every end event that finishes the process (root scope, not a sub-process body); a task that writes an `.output()` directly returns `null` to the caller, and every check passes. Likewise a step reads an `.input()` only through the start event: read the `.var()` that event's `BPMN.Variables` payload maps it into (add the row and a `.var()` scoped to the start event when none exists); a later `vars.<inputId>` read is "A variable is unresolved" on the canvas and at most a `VARIABLE_NOT_SET` warning in `validate` ([Process contract](references/bpmn-runtime.md#variables-and-the-process-contract)). 12. Fix every `validate` warning whose cause is in the process, in the same edit as its errors; never add a step, or change an input, default or path, only to silence one. Fix each warning once: when the next `validate` still prints it, keep it, and never edit or rerun for it again. An `[(xml)] unknown attribute` line on compiled output gets no edit and no report;
UiPath Agent Skills give AI coding agents the domain knowledge to build, run, test, and deploy UiPath automations and agents — directly from your development environment.
Other skills on uipath.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about uipath-maestro-bpmn.
- Which coding agents can use uipath-maestro-bpmn?
- uipath-maestro-bpmn installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

