uipath-maestro-case
Original:🇺🇸 English
Translated
1 scripts
Always invoke for UiPath Maestro Case Management build work: `caseplan.json`, `sdd.md`, or building/creating a case when no SDD exists yet (the case design is produced first, then confirmed in one review). Produces tasks.md and authors or edits caseplan.json directly with Write/Edit. For .xaml→uipath-rpa, .flow→uipath-maestro-flow, .bpmn→uipath-maestro-bpmn. For standalone case SDD design, case `sdd.draft.md` finalization, PDD→SDD, or cross-product planning→uipath-planner.
2installs
Sourceuipath/skills
Added on
NPX Install
npx skill4agent add uipath/skills uipath-maestro-caseTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →UiPath Case Management Authoring Assistant
Build UiPath Case Management definitions from . Generate , then write directly using the applicable per-plugin JSON recipes.
sdd.mdtasks.mdcaseplan.jsonAuthoring invariant: Never use mutatingcommands (uip maestro case, includingcases|stages|tasks|*-conditions ... add|update|remove) or explore them withtasks add-connector. Use the CLI only for scaffolding, metadata reads, validation/debug, runtime operations, and solution sync/upload. Consult case-commands.md only when exact syntax is needed. CLI availability or a final--helprequirement never overrides this rule.validate
When is absent, case design belongs exclusively to , which runs its Case Design Lane in this conversation. This skill never designs independently. The lane uses best-assumption design, Listen → Sketch → full design-time tenant resolution, a mandatory other-path sweep, and one decision-first eight-section Case Review. Its Build answer is consent; it writes template-conformant , then this skill continues immediately with , Phase 1, and later phases. The same handoff applies to finalization. Never overwrite an existing .
sdd.mduipath-plannersdd.mduip solution initsdd.draft.mdsdd.mdScope: greenfield builds from and brownfield targeted edits to an existing ; see references/brownfield.md. For Studio Web cases, pull current server state first with or so publishing cannot clobber server changes.
sdd.mdcaseplan.jsonuip solution downloadsolution projects resyncWhen to Use This Skill
Use for:
- Building a Case Management project from .
sdd.md - Creating a case when no SDD exists; hand design to in this conversation.
uipath-planner - Generating implementation tasks from an SDD.
- Editing an existing by targeted intent: stage/task changes, conditions, or triggers.
caseplan.json - Questions about case JSON schema, nodes, transitions, tasks, rules, SLA, or runtime case instances.
Do not use for → , → , or standalone agents/APIs/processes outside case context.
.xamluipath-rpa.flowuipath-maestro-flowCritical Rules
-
Design handoff and SDD authority. Ifis absent, immediately invoke
sdd.md’s Case Design Lane in this conversation, before reading references or running tenant commands. Do not improvise interviews, design subagents, generic Build Plan approvals, or design-only behavior here. The lane’s single Case Review has exactly these sections: Case Snapshot; Primary Journey; Other Paths Considered; SLA and Escalations; Rules and Outcomes; Resources and Integrations with design-time resolutions; Decisions I Made; Review Flags. It names every stage/task, type, activation/grouping, required status, routing/outcome, and SLA context;uipath-plannerseparately contains the complete data contract, variables, and task inputs/outputs. The Build options incorporate Rule 11, and the Build answer is the sole consent. Corrections re-show only changed review sections. Before approval, everysdd.mdselector must resolve to a non-adhoc sibling in the same stage. The lane writesselected-tasks-completedearly, then this skill runssdd.mdand Phase 1 without another prompt unless explicitly requested. If the request asks only foruip solution init <SolutionName>plussdd.md, write compacttasks/tasks.mdafter Save/Build, do not read plugin references or run tenant discovery, and stop beforetasks/tasks.md. Ifcaseplan.jsonis to be finalized, use the lane fast path with target basenamesdd.draft.md. Never overwritesdd.md.sdd.md -
SDD is the sole post-design input, across sessions. Trust user-provided or previously written; do not validate, gap-fill, or silently infer it. In the same conversation as design approval, use the in-memory model that wrote it without rereading. Use AskUserQuestion for build-phase ambiguity. Run a one-Grep receipt spot-check before reading an SDD not watched being written: it must contain
sdd.mdthrough## Section 1: Case Definitionand at least one## Section 4: Integrationsblock. Freeform/summary SDDs go back through the planner template-conformance gate.##### Task -
Phase 1 registry gate. Run, then
uip login status --output json, before cache inspection, carryover, resolution, or Phase 1 writes. Pull at most once per session. If the planner lane ran in this session, its pull succeeded, and it wrote the SDD, reuse the cache. With the lane’s in-context resolution outcomes, use verify-only planning: persist them verbatim touip maestro case registry pull, spot-check cache entries, execute gate decisions, and re-resolve only stale/missing entries. Otherwise run the full gate. Login/pull failure stops Phase 1. Readtasks/registry-resolved.jsondirectly;~/.uip/case-resources/<type>-index.jsonhas known gaps, especially action-apps. Before a successful pull, missing cache files are failed refresh preconditions, never zero matches; only after success may empty exact-name matches or absent indexes enter empty-lookup handling. Trust the SDD; the pull refreshes discovery only. The planner lane owns design-time resolution, lazily starting login/pull when tenant-bound work first appears, resolving identities with one batched Case Review gate, and recording SDD cells plus its resolution ledger. No schema discovery occurs there.registry searchPlan-only exception: when explicitly stopping at,sdd.md, orsdd.draft.mdwithouttasks.md, solution, or build, do not run tenant registry, connection, schema, or user-discovery commands. Preserve intended names, mark identitiescaseplan.json, and report deferred wiring. This exception does not apply when the user requests resource/identity resolution, registry refresh, stale-audit replacement,resolve at build, ortasks/registry-resolved.json; then run the normal gate, resolve identities, emit build-pathtasks/recipients-resolved.json, and stop at the Rule 7 plan gate.tasks.md -
Parsed reads require.
--output json -
Use plugin references. Read the matching pluginduring planning and
planning.mdduring execution; never guess JSON shapes.impl-json.md -
is declarative and lossless. No shell commands. Use plain field identifiers, not CLI flags. Create one T-entry for every SDD stage, task, trigger, condition, SLA rule, variable, and argument, including explicit defaults. Preserve every valid explicit rule/selector exactly; reject and repair invalid
tasks.mdselectors. Preserve stage/task/SLAselected-tasks-completedand condition routing/activation rationales asDesign Rationale. Preserve every Inputs row, binding mode, and value. Preserve JSON object literals exactly: native object or JSON-encoded string inrationale:; addinput.value/=js:only when explicitly present in the SDD. Project Outputs through=jsonString:, preserving operator and operands. SDD output rows requireplugins/variables/io-binding/planning.mdor->; schema-discovered bare outputs are not authored SDD rows. Never simplify equal-name=rows;->differs from schema-discovered baregreeting -> greeting.greetingplaceholders are not operands. AskUserQuestion for unrecognized or ambiguous rows; never omit silently. Regenerate greenfield plans from scratch; brownfield edits preserve IDs. Every §4.6 task entry has its own—andactivation-mode:— repeat this per task, never author it once and drop it for later similar tasks;entry-rule:only warnsvalidate, while a miss hangsTask has no entry rulesindefinitely. Every task heading is exactlycase debug. See references/planning.md §4.0 and the Plan-shape gate.## T<n>: Add <type> task "<name>" to "<stage>" -
Plan gate. Phase 1 auto-proceeds to Phase 2 and treats the plan as approved. Stop afteronly when the request explicitly says plan-only, Phase 1 only, review first, or not to build. Re-read
tasks.mdbefore execution.tasks.md -
Unresolved resources. Never fabricate IDs. Keepin
<UNRESOLVED: ...>. A placeholder task hastasks.md,type, structural fields, anddisplayName; conditions still reference its TaskId. A placeholder event trigger has render fields and onlydata: {}; append itsdata.inputs: { serviceType: "Intsvc.EventTrigger" }entry and create no trigger edge. See references/placeholder-tasks.md and references/plugins/triggers/event/impl-json.md.entry-points.json -
Resolution audit. Persist one object per task inwith exact keys
tasks/registry-resolved.json,stage,task,taskType,cacheFile,searchQuery,matches, andselected, plus resolved I/O/review metadata. Addrationaleonly when the user answered the design-time resource gate; default deferrals have none.gateDecisionis the complete exact-name set from the refreshed cache;matchesis a match orselectedafter a genuine empty lookup. Same-session planner ledgers are persisted verbatim, then verified/extended under Rule 3. The resolution ledger andnullare machine-only — never shown to the user, including in the Case Review.registry-resolved.json -
Cross-task references. Useand the common output-reference-ID algorithm in
"Stage Name"."Task Name".output_name. Use the source output’splugins/variables/io-binding/impl-json.md; only a custom.idoutput without=uses its verified root companion’s.id. Never use a reassigned output’s.id. Discover names with.varfor connector tasks oruip maestro case specfor non-connectors. In largeruip maestro case tasks describeexpressions use=js:, resolved at Step 11.5. See references/bindings-and-expressions.md.vars.$xref('Stage','Task','output') -
Build-review preference. Capture once at journey start. Design handoff folds it into the Case Review Build options (or
Build it — straight through); provided SDD asks once after the roadmap. Non-interactive and resumed runs without a preference default to straight-through. At Phase 2→3, tryBuild it — pause at the build preview; fall back once to legacyvalidate --skeleton-v2only when the response explicitly says v2 is unknown/unsupported, typically invalid_argument/exit 3. Exit 3 alone is insufficient; real v2 failures are reported. Validation findings do not halt this advisory gate. Straight-through continues without prompting. Pause-at-preview follows references/phased-execution.md: AskUserQuestion--skeleton/Publish for review/Skip publish and continue; on publish, refresh resources, upload with the required filter, printAbortbefore the follow-up, then askDesignerUrl/Continue to implementation. Hard stops always remain at Phase 4 retry exhaustion, Phase 5, Phase 6, and Phase 7.Abort -
Never auto-debug or publish to Orchestrator.executes real emails, messages, and API calls. Phase 7 (
uip maestro case debug→case pack→solution pack) ships to the tenant. Each requires its own AskUserQuestion consent.solution publish -
Artifact I/O. For,
caseplan.json,sdd.md,sdd.draft.md,tasks.md,tasks/registry-resolved.json,tasks/trigger-spec-cache.json,tasks/spec-cache.<elementId>.json,bindings_v2.json,id-map.json, andentry-points.json, use only Read and Write/Edit. No Python, Node, jq, sed, awk, scripts, shell redirection,build-issues.md,tee,cp,mv, orinstall; no helper scripts, including underrsync. The/tmpban covers all file reads, includingnode -e ... fs.*; use Read or~/.uip/case-resources/for cache lookup. Ifcat ... | python3 -c ...exceeds about 30KB, use the preview/detail cadence in case-editing-operations.md, never a helper. Bash is allowed only for UUID v4 generation without filesystem access, CLI metadata, validate, debug, and solution scaffold/upload. Prefixed IDs are chosen inline.caseplan.json -
Runnable resources and sidecars. Before Phase 4, run Step 12 Checks 7, 9, 11, and 12 even when publish, debug, or resource refresh is skipped. A non-nullresource must not become a placeholder: retain
selectedanddata.namewith complete root bindings, project it intodata.folderPath, and make itsbindings_v2.json.resources[]self-consistent with its own defaults, never a copied tenant identity/UUID. Checks 9/11 exempt connector nodes; Check 12 covers resolved connector tasks, event triggers, andresourceKeyrules, which require splicedwait-for-connectorplus Connection/Folder root bindings, not degraded typeId/connectionId-only data. CLI validate is insufficient. Repair and recheck mismatches; halt before Phase 4 if they remain. Repeat Check 7 before everycaseShape.context. Refresh before every upload or debug. Every upload usesresources refresh; print the returned DesignerUrl.--output-filter "{Status: Status, SolutionId: SolutionId, DesignerUrl: DesignerUrl}" -
Handoff contract. Invoke’s Case Design Lane in this conversation, never as a subagent. It owns design, resolution, review, and SDD writing; this skill resumes at solution initialization. User-facing language presents one continuous flow and never mentions the handoff. If unavailable, say so in one line, request
uipath-planneror an approved pasted design, and stop. Cross-product planning remains a plain-text suggestion to the planner. Apply the Rule 15 receipt spot-check before unobserved SDD reads.sdd.md -
Closed task types.task
caseplan.jsonmust be exactly one of:type,process,agent,rpa,action,api-workflow,case-management,execute-connector-activity,wait-for-connector. Never use plugin folder or CLI names,wait-for-timer,external-agent,external-workflow,document-extraction,flow-process, or other invented values. The unsupported types remain unsupported. See references/case-schema.md and the Plugin Index.wait-for-event -
Empty lookup gate. If the same-session ledger has a user, execute it without asking again:
gateDecision→ placeholder;resolve-at-build→ inline create;create-during-build→ bind it. A missing decision is a default deferral, not consent; run the full gate. For zero matches, use one batched AskUserQuestion grouped bypick:<name>with:(name,type);Force pull and re-resolve; and, only when creatable resources exist andUse placeholders for allis supported,registry --local. Create only selectedCreate missing resources inlineoragentresources, invokingapi-workfloworuipath-agents; never infer Create from SDD content. Other empty types remain placeholder-only. Selected resources with identical I/O may share one build; differing I/O splits later with the anchor retaining the name, and SDD updates require permission. See registry-discovery.md § 1c, Create-on-Missing, and § MUST Confirm.uipath-api-workflow -
Layout. Emit top-levelonly. Do not emit node
layout: {},position,style,measured,width,height, or edgezIndex; do not compute positions.data.waypoints -
Global output IDs. Run Step 12 Check 8 once at Phase 3 exit. It is mandatory; do not enter Phase 4 until it passes and do not substitute CLI validate.
-
No authored edges. Keepas
schema.edges; never author TriggerEdge/Edge objects. Conditions provide stage flow; the first stage uses[]. Read-only edge shapes are documented in case-schema.md Appendix.case-entered -
Global events and SLA responses. Model a global external event once as an interrupting secondary-stageentry. Choose SLA response explicitly:
wait-for-connector,notify-only,start-task,enter-stage, orexit-stage. Aexit-caseresponse belongs on the follow-up task’s ownstart-taskentry, not a stage entry. Interrupting depends on whether active work stops, pauses, or reroutes; parallel oversight usessla-status-changeand remains secondary.Interrupting: Nonamessla-status-change; addslaIdonly for at-risk responses. Without a stated response, at-risk and breach are notifications. Do not replicate rules across primary stages. See references/sla-response-shapes.md and the SLA Response Map.escalationId -
Formal argument IDs.and
variables.inputs[].idmust be syntheticvariables.outputs[].id+ 8 characters and distinct fromv/name; never copy companion names. Run Step 12 Check 10 once at Phase 3 exit and non-interactively re-mint violations. CLI validate does not check this. See global-vars/impl-json.md § Formal-arg slot ID format.var -
Never run. It may create a second solution and separate manifest. Use
uip maestro case initand the T01 direct-JSON scaffold in implementation.md § Step 6. See case-commands.md § case init.uip solution init <SolutionName> -
Read references to EOF before mutation. Everyends with
references/*.md. Before the first Write/Edit using a shape, procedure, constraint, or verification rule, Read that exact reference until its exact END marker appears in tool output during this session. Ranges, truncation, search hits, tables of contents, memory, and sibling references do not satisfy this. Reopen after compaction or when the prior read is unavailable. Keep reads modest to avoid output truncation. Tail contracts are normative.<!-- END: <filename> --> -
Unique labels and task names. Stagevalues are unique case-wide; task
data.labelvalues are unique across all stages, exact and untrimmed, and contain nodisplayName. A missing display name binds to the resource name and participates in uniqueness. Assign names in Phase 1; later renaming touches the SDD, plan, ID map, and name-keyed references.:
Routing
| Condition | Journey |
|---|---|
| New case, SDD provided, no caseplan, or rebuild from spec | Greenfield: handoff if needed, then Phases 1–7 |
| Existing caseplan and targeted edit intent | Brownfield: skip handoff and Phases 1–7; use brownfield.md |
Brownfield still requires latest-state pull, debug consent, and Orchestrator-publish consent, and reuses Phase 5–7 contracts.
User-Facing Roadmap
Print once, after routing and before detailed work, in five lines or fewer. Do not expose phases, modes, filenames, or implementation mechanics.
- New case without SDD:
1. I read your request and make the design calls, checking your UiPath tenant along the way. 2. One review packet: case snapshot, primary journey, other paths, SLA responses, business rules, resources, and every decision I made — you confirm or correct. 3. Build and validate without interruptions; the full technical design doc is saved alongside for reference. 4. Pause for your call before any run or publish. - New case with SDD:
1. Read the design and verify available UiPath resources. 2. One question: build straight through, or pause at a mid-build preview. 3. Plan, build, and validate without further interruptions. 4. Pause for your call before any run or publish. - Targeted edit:
1. Pull the latest case. 2. Apply the requested change. 3. Validate the updated case. 4. Ask before running or publishing anything.
Workflow
Front-load decisions, then run unattended to consent gates:
Design handoff when required → Phase 1 Planning → Phase 2 Prototyping → Phase 3 Implementation → Phase 4 Validate → Phase 5 Publish → Phase 6 Debug → Phase 7 Publish to Orchestrator.
At invocation start, present once the matching kickoff block below, at handoff start or Phase 1 start. Status text must follow the Anti-patterns limits.
Greenfield kickoff:
Here's how I'll build this case, and where I'll stop for your call:
- Planning — I draft a task plan from the spec and continue; ask up front if you want to review it first.
- Prototyping — I build the reviewable case flow (stages, tasks, triggers, rules, SLA/escalation; connector rules use stubs). Whether I pause here for a Studio Web preview is your up-front call — asked once at the start, never mid-build.
- Implementation — I wire task inputs/outputs, connector schemas, and resolved connector-rule details.
- Validate — I run validation and fix errors.
- Publish (optional) — you choose whether to upload to Studio Web.
- Debug (optional) — you choose whether to run the case for real (live emails / API calls).
- Publish to Orchestrator (optional) — you choose whether to publish the case to Orchestrator.
For handoff, prefix:
First I'll design the case from what you've given me — checking your UiPath tenant along the way — and show one decision-first review packet with the case snapshot, primary journey, other paths, SLA responses, business rules, resources, and every decision made — one confirmation, then I build; the full technical design doc (sdd.md) is saved alongside for reference.For brownfield, use the short entry flow in references/brownfield.md.
Design handoff
The trigger is binary: if no whose basename contains exists at the resolved path, hand off. If the prompt names another SDD basename, copy it to using Read + Write; do not invoke the lane. If no is named, use . Do not read planning/plugin references or run tenant commands before the Case Review. For an explicit no-build design+plan request, write and compact after approval, without plugin references, schema, registry, connection, or user discovery, then stop. Planner-owned drafts and stay with the planner. If unavailable, request an SDD and stop.
.mdsdd./sdd.md.md./sdd.mdsdd.mdtasks/tasks.mdsdd-viewer.htmlPhase 1 — Planning
Read references/planning.md to produce:
- : T-numbered stages, tasks, conditions, SLA, variables, and arguments.
tasks/tasks.md - : complete resolution audit.
tasks/registry-resolved.json - If Create is selected at Rule 17: build selected agents/API workflows as in-solution siblings through the permitted sub-agent paths, ensure a solution exists, register them, refresh resources, rediscover, and bind them. See registry-discovery.md § Create-on-Missing.
tasks/sdd.mdtasks.mdPhase 2 — Prototyping
Read references/implementation.md and references/phased-execution.md. Follow Steps 6–11.9:
- Step 6: , project, and root case (T01 direct-JSON recipe in plugins/case/impl-json.md); never
uip solution init.case init - Step 6.1: manual, timer, and event triggers, including Rule 8 placeholders; capture trigger IDs.
- Step 6.2: global variables and arguments; In-argument references the trigger named by
elementId, or the primary trigger when blank.sourceTriggers - Step 6.3: synchronize from declared In/Out arguments per entry-points-sync.md. Emit the
entry-points.jsonjob-attachmentblock byte-for-byte from that reference — reproduce itsdefinitionsinner quotes exactly (single-MimeType.descriptionescaping); never re-escape (\") or rebalance them, or the JSON breaks.\\" - Step 7: stages.
- Step 9: task shapes; non-connectors get complete with empty values, connectors only
data.inputs[]/typeId, unresolved resources use placeholders.connectionId - Step 11: SLA/escalation objects with stable IDs.
- Step 10: all four condition scopes; connector waits use canonical stubs regardless of resolution.
- Step 11.9: informational skeleton validation with Rule 11 fallback behavior.
- Apply the Phase 2→3 preference. Preview branch uses resource refresh, filtered solution upload, printed DesignerUrl, and the prescribed continuation gate; Abort writes and exits.
build-issues.md
Phase 3 — Implementation
Re-read and (Step 9.6), then follow Steps 9.7, 9.8, 10.5, and 11.5:
tasks.mdcaseplan.json- Resolve connector schemas/defaults with .
uip maestro case spec - Bind I/O for all task classes using io-binding/impl-json.md.
- Upgrade resolved connector-bound condition stubs in place; unresolved connectors retain stubs and are reported.
- Resolve in-expression markers.
vars.$xref - Perform resolved-resource emission, preservation, resourceKey, and connector completeness checks.
Proceed directly to Phase 4 after the Phase 3 checks pass.
Phase 4 — Validate
Run Step 12 once at the Phase 3 boundary. It performs Checks 1–15, including Check 7 sidecar parity, Check 8 global output-ID uniqueness, Check 9 resource emission/preservation, Check 10 formal-arg IDs, Check 11 resourceKey consistency, Check 12 connector completeness, and Check 15 every task carrying a non-empty entry rule ( only warns on a missing one). Then run full . Retry at most three times, with an edit before every retry; on the third failure, hard-stop with AskUserQuestion: / / . Summarize using Step 12.1.
validateuip maestro case validateRetry with fixPause for manual editAbortbuild-issues.mdPhase 5 — Publish
Provide the completion report, then hard-stop AskUserQuestion: / (Step 13). On publish, refresh resources and upload with the mandatory output filter, print DesignerUrl, and continue to Phase 6 either way.
Publish to Studio WebSkip to DebugPhase 6 — Debug
Hard-stop AskUserQuestion (Step 15): / . On Run, refresh resources, run , and loop after completion until . Never run debug automatically.
Run debug sessionContinue to publishuip maestro case debugContinue to publishPhase 7 — Publish to Orchestrator
Hard-stop AskUserQuestion (Step 16): / . On publish, run in order:
Publish to OrchestratorDoneuip solution resources refreshuip maestro case pack <SolutionDir>/<ProjectName> <SolutionDir>/dist --output jsonuip solution pack <SolutionDir> <SolutionDir>/dist --output jsonuip solution publish <packagePath> --wait --output json
case packcaseplan.json.bpmnvalidatesolution pack.zip.nupkg<packagePath>Data.PackagesDoneReference Navigation
| Need | Reference |
|---|---|
| Design without SDD | |
| Plan from SDD | references/planning.md |
| Execute plan | references/implementation.md |
| Brownfield edit | references/brownfield.md |
| Phase contracts | references/phased-execution.md |
| Edit mechanics | references/case-editing-operations.md |
| Schema | references/case-schema.md |
| Allowed CLI | references/case-commands.md |
| Troubleshooting | references/troubleshooting-guide.md |
| Registry resolution | references/registry-discovery.md |
| Bindings/expressions | references/bindings-and-expressions.md |
| Connector integration | references/connector-integration.md |
| Case spec input details | references/case-spec-input-details.md |
| Placeholders | references/placeholder-tasks.md |
| Bindings sidecar | references/bindings-v2-sync.md |
| Prune orphaned solution resource | bindings-v2-sync.md § Prune orphaned solution resources |
| Entry points | references/entry-points-sync.md |
| SLA responses | references/sla-response-shapes.md |
Plugin Index
Structural: case/planning.md, stages/planning.md, sla/planning.md, global-vars/planning.md, io-binding/planning.md, and logging/impl-json.md.
Tasks:
Schema | Plugin planning reference | CLI describe type |
|---|---|---|
| process | |
| agent | |
| rpa | |
| action | |
| api-workflow | |
| case-management | |
| connector-activity | |
| connector-trigger | |
| wait-for-timer | |
Schema-kebab is the only JSON value; plugin and CLI names are not interchangeable. Unsupported types include , , , , and .
external-agentexternal-workflowdocument-extractionflow-processwait-for-eventTriggers: manual, timer, and event.
Conditions: stage-entry-conditions, stage-exit-conditions, task-entry-conditions, and case-exit-conditions.
Connector-bound rules in any condition scope require built from ; bare connector rules are invalid in Studio Web even when CLI validate passes. See connector-trigger-impl.md.
rule.uipathcase spec --type triggerAnti-patterns
- Do not leave a regular stage without an entry condition. The first stage uses ; every other regular stage needs a reachable predecessor. Edges are retired.
case-entered - Do not design here, start Phase 1 before Case Review approval, or build from a summary SDD. The planner owns design, other-path analysis, and template conformance.
- Do not validate after each T-entry or validate twice without an intervening edit. Phase 2 validation is informational; Phase 4 validation is authoritative.
- Write with a seeded header and per-section batched Edit-appends: §4.2.1 variables, §4.3 triggers, §4.4 stages, §4.6 tasks, §4.7 conditions, and §4.8 SLA. Never write per T-entry, use a mega-Write, or exceed a 30KB single Edit payload. Recovery re-reads and resumes at the next unapplied entry. See planning.md §4.0a.
tasks.md - Write by section, preserving untouched siblings — never one Write for the whole file. Read once at section entry; use per-entry Edits for fewer than 10 entries, or one Write covering only that section's container (the stages array, or one stage's task array) for 10 or more; gather CLI-gated sections before writing. Cap any single Write at ~15K output tokens / ~40KB; split a case with ≥40 tasks or ≥8 stages across the Phase 2 and Phase 3 writes rather than emitting the fully populated file at once. Re-read both files after interruption. See case-editing-operations.md § Per-section batch write contract.
caseplan.json - Do not emit standalone narration between tool calls. Bundle status with the next tool call; keep ordinary text under 200 tokens and allow-listed kickoff, hard-stop preambles, completion reports, DesignerUrl prints, and validation summaries under 500. Do not announce imminent actions with verbs such as ,
Building,Composing,Writing,Drafting,Generating,Now I'll,Next,Approach,Strategy,Plan, or equivalent.Let me - Preserve ordered task semantics. Sequential mode uses ordered sets and one
data.tasksrule per task; do not addruns-sequentiallyalongside it. Use parallelcurrent-stage-enteredonly for independent work andcurrent-stage-enteredonly for required fan-in. Event-triggered tasks use event/condition rules; manually triggered/adhoc tasks use oneselected-tasks-completedrule,adhoc, and no additional entry event.isRequired: falseis an activation mode, not a task type.adhoc - Model secondary stages as interrupting exception lanes: ,
case-management:Stage,data.stageType: "secondary", andisRequired: falseon stage and entries. UseInterrupting: Yesonly for parallel SLA oversight. UseInterrupting: No; do not connect secondary stages as normal flow or count them in required completion.return-to-origin - Do not replicate global events or SLA rules across primary stages. Case completion requires a root rule with
metadata.caseExitRules[]; stage completion alone is insufficient. Non-completing outcomes usemarksCaseComplete: true.marksCaseComplete: false - Do not edit generated ; do not place
caseplan.json.bpmnundercaseplan.json; do not fabricate conditional-SLA expression syntax; describe conditions naturally until execution resolves them.content/ - Do not place in the solution/project; it stays beside
tasks/.sdd.md - Do not invoke other skills automatically except Rule 15 design handoff and Rule 17’s gate-selected inline creation of agents/API workflows. Do not spawn subagents for design, draft finalization, or plan-only documents.
- Use for trouble.
uipath-feedback
Trouble? Useto send a report./uipath-feedback