/uipath:uipath-rpafrom uipath
Creates, edits, validates, debugs, and packs UiPath RPA automations (.xaml/.cs workflows) with UI automation, selectors, and Integration Service connectors.
Ships in uipath. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create, edit, manage, validate, build, run, debug, test, and publish UiPath coded (C#) and XAML automations. One UIA activity set covers Windows/macOS, desktop/web, strict/fuzzy selectors with anchors, Computer Vision, and semantic matching; uia-configure-target selects and automatically falls back between routes.
Read referenced files imperatively. This SKILL.md routes you; it does not replace references. When a rule, Task Navigation entry, or section points to a file, open and read it in full before acting—do not grep, skim, use
--help, or substitute prior knowledge. Catalogs may prescribe targeted lookup (for example, Grep^##for contents or<command> --helpfor flags); read matching sections only. A pointer naming a section (file.md § Section) is targeted through the next heading of its level. Skipped or partial references commonly cause build/runtime errors.
Use for projects, workflows, tests, source files, configuration, dependencies, activities, validation/build/run/debug, assertions, Integration Service connectors, and desktop/web UI automation.
UIA work requires UiPath.UIAutomation.Activities at or above the minimum version in uia-starter-guide.md § UIA Prerequisites; never hardcode it. Install or upgrade it through § Resolving Packages & Activity Docs, Step 1.
Before work, check .claude/rules/project-context.md in the project directory. If present and fresh, proceed. If missing/stale, run the skip gate and, only if it does not trip, perform environment-setup.md § Project Context Discovery: metadata-comment counts versus current counts, the 60–70% threshold, greenfield/empty/untouched-scaffold skip gate, host-specific discovery-agent options, and context-files:/SKIP: handling. The agent writes context files; do not re-read or rewrite them. Dispatch discovery AT MOST ONCE per session — reuse a running agent or its produced result; a later step that calls for project-context discovery means INTEGRATE the earlier dispatch, never spawn a second. If the skip gate trips, use no discovery agent and write both context files yourself after build per that section.
Before creating/modifying anything, resolve the project using environment-setup.md § Step 0.1. Find project.json to establish {projectRoot}; no Studio Desktop check is needed for the standard loop. uip rpa auto-launches a headless Studio (UiPath.Studio.Helm NuGet) on first call. Studio Desktop is required only for files diff and focus-activity. Coded UI ObjectRepository.cs (Descriptors.*) regenerates on per-file validate after a [Workflow]/[TestCase] .cs exists (§ Capture-First Fast Path step 2; coded/operations-guide.md § Configure UI Targets).
A ~<name> file beside a workflow (~Main.xaml, ~Process.cs) is Studio Desktop's backup of unsaved designer changes, not a workflow: exclude it from file listings and never edit, validate, delete, or commit it. Before editing <name> itself, follow environment-setup.md § Rules, Rule 5.
After resolving PROJECT_DIR, inspect project.json targetFramework first:
"Legacy" or absent in an older project: Legacy mode. Stop and follow references/legacy/legacy-mode-guide.md. Use standalone uip rpa-legacy, .NET Framework 4.6.1, classic activities without “X”, and mscorlib; modern rules do not apply."Windows" or "Portable": Modern mode; use uip rpa. Windows means modern Windows-only, not Windows-Legacy.Use uip rpa-legacy only for Legacy, never because uip rpa is unavailable; it can pack Modern projects with exit 0, so fix uip rpa instead.
Modern mode: coded = .cs with [Workflow]/[TestCase] and no workflow .xaml beyond scaffolded Main.xaml; XAML = workflow .xaml and no coded workflow .cs; both = hybrid, consult coded-vs-xaml-guide.md and match the request; neither = new project, default XAML. Switch to coded only for explicit “coded”, “.cs”, “C# workflow”, “coded test case”, or coded-specific triggers (DTOs/custom models/unit-testable business logic). Otherwise “create a workflow”, “automate X”, and “build an automation” mean XAML. Route through Task Navigation; Legacy follows its guide.
Match existing mode; new or ambiguous work defaults to XAML. Switch to coded only on explicit user phrasing or a coded-specific trigger from the table below.
| Scenario | Mode | Why |
|---|---|---|
| Standard RPA (Excel, email, file ops) | XAML (default) | Direct activity support, no code needed |
| UI automation | XAML (default) | Full activity support; coded also works via uiAutomation service |
| Integration Service connectors (XAML) | XAML | IS connector activities use XAML-specific dynamic activity config |
| No matching activity for a subtask | Coded fallback | Small .cs invoked from XAML via Invoke Workflow File |
| Complex data transforms, HTTP, parsing | Coded | C# is more natural than nested XAML activities |
| Tempted to call a PowerShell script | Coded | Prefer a coded workflow. If PS is genuinely needed (admin cmdlets, existing .ps1), use the InvokePowerShell<T> activity — never Invoke Process + powershell.exe. See powershell-interop-guide.md |
| Custom data models / DTOs | Coded Source File | XAML cannot define types — plain .cs, no CodedWorkflow base |
| Unit tests with assertions | Coded Test Case | [TestCase] with Arrange/Act/Assert |
| Project edited in Studio Web, a process a Flow solution starts included | XAML, VB expressions | Studio Web opens no project holding coded workflows or C# expressions (Common Rule 2a) |
| User explicitly requests coded/XAML | User's choice | Never second-guess explicit preference |
For opening apps/browsers, clicking, typing, scraping visible UI, submitting forms, or verifying UI state, use UiPath UIA only: XAML NApplicationCard plus UIA activities; coded uiAutomation.Open/Attach plus Object Repository descriptors; or, where the package's coded authoring guide § Selector-Only Targets allows it, CLI-captured selectors via TargetAppModel / Target.FromSelector (coded). Do not substitute InvokeCode, PowerShell, Selenium, Playwright, CDP, raw DOM JavaScript, HTTP form posts, or external browser drivers. Coded fallback is only for non-UI helpers. If target configuration is unavailable, use the documented UIA indication path, never an external shortcut.
Read {PROJECT_DIR}/.local/docs/packages/UiPath.UIAutomation.Activities/ui-automation-guide.md § Mandatory: Generate Targets Before Writing Any UI Code — read it in full per Rule 7 before any UIA work; it owns the prohibited-tool list, UIA-only exploration, and InvokeJS/InjectJsScript exception scope.
Without live app access, emit real UIA activities with placeholder selector strings and TODO Indicate markers, never Log stubs: use real NTypeInto, NClick, NGetText, NApplicationCard, etc.; put TODO Indicate in XAML DisplayName or adjacent coded // TODO[Indicate]. Applies to XAML and coded; read uia-policies-catalog.md § Placeholder-Selector Stub Pattern. It needs no UIA package or CLI. Do not create workflows whose UI steps merely log intentions. Hybrid orchestration is Main.xaml → InvokeWorkflowFile → coded helper; see coded-vs-xaml-guide.md for the full flowchart, InvokeCode extraction rules, and patterns.
For dialog/form automation or UI tests from manual steps, defer authoring prerequisites until capture:
[Workflow] public void Execute() { } class (namespace per Rule 17) before the first uip rpa call, including window baseline. The first host load snapshots .local/.codedworkflows/; without packages/stub authoring can hit CS0246 'CodedWorkflow'. uip rpa project close --project-dir "<PROJECT_DIR>" clears it. Later validate refreshes only ObjectRepository.cs; CodedWorkflow.cs service accessors and workflows.X cross-calls remain first-load snapshots, so a later package install or new cross-called workflow needs a regen; see coded/operations-guide.md § Configure UI Targets.uia-configure-target and screen advancement (package guide § Multi-Step UI Flows); author only at screen boundaries, never between calls within a screen.ObjectRepository.cs, read it, and reference every target as Descriptors.<App>.<Screen>.<Element>; use member names from that file, never capture OR names, and never author against string target names while it is absent.Skip this path when the task has no UI surface (data transforms, IS connector calls, headless file/email automation). Also skip it when the task HAS a UI surface but no live app to capture against (app not installed, no GUI, capture deferred to a developer) — use the § Placeholder-Selector Stub Pattern instead, or, in a migration, the source's recorded targets (Rule 7). Window Baseline does not prove an app/GUI exists; verify separately or ask.
When more than one heavy uip rpa call is expected, background at session start:
uip rpa activities find --query log --output json > /dev/null 2>&1 &
The first heavy call costs about 22s, shared by validate/build/run/activities get-default-xaml/analyzer-rules list; skip for zero/one heavy call. In Windows PowerShell use Start-Process powershell.exe -ArgumentList ... (not pwsh) because & does not background; never Start-Process -FilePath "uip" or any .ps1 (Notepad opens it).
Common Rules are 1–12. Coded rules 13–19 are in coded/codedworkflow-reference.md § Critical Rules — Coded. XAML rules are independent 16–24/25a: 16–21a and 24–25a in xaml/xaml-basics-and-rules.md § Critical Rules — XAML, with 22–23 below. [Coded]/[XAML] disambiguates repeated numbers; Cross-references (“Common Rule 10”, “Rule 21”, “Rule 24”) always point to a uniquely-numbered rule.
project.json; create only when no match exists and the user explicitly requests creation.uip rpa init; never manually write project.json or scaffolding. Before init, if the user names a template ("REFramework", "based on the X template") or an industry/domain pattern (SAP, ERP, banking, mainframe), run uip rpa templates search --query "<term>" --output json and follow environment-setup.md § Template selection: never silently choose Marketplace; present candidates and ask; if Official and Marketplace both match, ask.
2a. Pass --target-framework AND --expression-language explicitly on every uip rpa init — never omit them. Both are immutable after creation (Rule 23); omitting --target-framework silently yields a Windows project. Choose Portable for cross-platform/non-Windows runtime (Linux, container, serverless) or Studio Web; choose Windows for Windows runtime using Windows-only capabilities (Excel COM, classic Office, WPF / PresentationFramework, Windows-only UIA) or Studio Desktop (Windows is not editable in Studio Web). Studio Web accepts Portable only when every workflow is XAML with VB expressions; errors are 20042 Project has coded workflows and 20021 ... unsupported programming language: CSharp, and the project then opens only in Studio Desktop. A request requiring both cross-platform runtime and Windows-only capability is contradictory—surface it. Windows - Legacy is a last resort (explicit ask or hard .NET 4.6.1 need; never inferred from VB.NET or non-"X" classic activities) — create it in Legacy mode, not modern init. No signal → AskUserQuestion about Windows versus Cross-platform, framed around runtime host. --expression-language defaults to VisualBasic; use CSharp only explicitly. init writes installed Studio dotNetVersion; unsupported robot versions fault before activities with Error converting value "<VERSION>" to type 'UiPath.Shared.DotNetVersion'; then set dotNetVersion to the robot version (net8.0 where net10.0 is refused), rebuild, and republish.uip rpa validate --file-path "<FILE>" --project-dir "<PROJECT_DIR>" --output json until 0 errors, fixing one thing per iteration; after every touched file is clean, run uip rpa build "<PROJECT_DIR>" --output json until clean. validate catches structural XAML, references, and schema; build covers all project workflows, analyzer rules, and packaging. The split is cli-reference.md § What each phase covers. If build errors, take each error's file from the build's detailed log and re-run validate --file-path on it for a compile error. Limit each file validation loop and separate build loop to 5 attempts. A smoke test does not replace build; prefer run --skip-build after a passing build (cli-reference.md § Smoke Test). Do not run uip rpa analyzer-rules list as an authoring prerequisite; use it only on request or after repeated rule-family violations (the unscoped call can take a minute or more; cli-reference.md § analyzer-rules list). Warnings do not gate delivery, naming warnings excepted (Rule 4c): with 0 errors from validate/build, deliver; investigate warnings only on request or acceptance impact. Report warning counts by rule ID; do not spend gate attempts on them. Expected UIA warnings (verification-feature, Automation Hub URL) are at cli-reference.md § Expected non-defect warnings. Read errors in full. See cli-reference.md § Validation Iteration Loop.run and check outputs (execution-maps-guide.md § Gate ≠ runtime proof).4a. Use file tools: Write each .xaml/.cs completely and Edit later; never generate workflow files with scripts/templates: validation and fixes stay per file, and Object Repository links survive Edit but not regeneration. For similar files, parallel Writes, a helper workflow, or copy a validated file and Edit differences.
4b. Write only invokable units: extract reused or independently readable groups; keep one activity or short assignments inline. Do not wrap one activity merely to pass arguments. A scope the activity needs (an Application Card, an attach) is no reason to extract it: open the scope at the step, around the steps that act on that window in a row.
4c. Name XAML workflow arguments and variables by the Workflow Analyzer naming rules in force — entry points and library public workflows included — and clear every naming warning build reports (validate does not run the analyzer). Default rules: direction prefix on arguments (in_InvoiceId, out_Result, io_Browser; ST-NMG-002); dt_ after it on a DataTable argument (in_dt_Rows; ST-NMG-011) and first on a DataTable variable (dt_Rows; ST-NMG-009); then letters, digits only at the end (in_dt_InvoiceRows, not in_dt_Invoice_Rows). An organization can change the rules; a warning's pattern overrides these defaults. No prefix: coded workflow arguments (coded/operations-guide.md § Add a Workflow File to Existing Project, step 3), the Global Exception Handler's errorInfo and result (error-handling-guide.md § Global Exception Handler), test-data arguments (testing-guide.md § Data-Driven Testing). Library public arguments: library-authoring-guide.md § The Public-Workflow Contract.
5. Prefer UiPath built-in activities for Orchestrator integration, UIA, and documents; use plain .NET/third-party packages for pure transforms, HTTP, and parsing, but reach a third-party system through an Integration Service connector, or build one with uip is connectors builder; a direct API call needs a stated reason.
5a. A secret stays in its asset until the scope that uses it. Read a Credential or Secret asset (Get Credential, Get Secret, or their coded equivalents) inside the scope that types or sends the secret — the application card of the sign-in, the request that carries it — and pass only the asset's name between workflows and through the configuration. A password passed as an argument, SecureString or String, or kept in a dictionary reaches every workflow it crosses; the analyzer refuses only the SecureString workflow argument (ST-SEC-007, cli-reference.md § Analyzer errors). Where a connection holds the secret (an Integration Service connection), use the connection.
6. ALWAYS ensure required package dependencies are in project.json before using their activities or services.
6a. Before serialization, remove only dependencies listed unused by uip rpa cleanup --dry-run (cli-reference.md § packages install); packages may be sole suppliers, e.g. MergePDFs in IntelligentOCR.StudioWeb. Before writing an activity tag, run uip rpa activities find --query "<verb>" --output json, use returned ClassName, and never derive tags from display names (common-pitfalls.md § Common Activity Name Confusions).
7. [UIA] Before any UIA activity (<uix:N*>, uiAutomation.*, or Descriptors.*), MUST read references/uia-starter-guide.md in full; the skill's conditional UIA policies are entries of references/uia-policies-catalog.md, each read when its condition holds. Then read the package core guide in full and, before authoring, the mode authoring guide in full as routed by its § Documentation. No exceptions for "simple" UIs. Never hand-write selectors; use uia-configure-target exclusively; selector-only coded work skips only OR registration, not capture. A migration is the exception: it registers the targets its source recorded, as translated for the build, through the OR CLI, and neither capture nor the placeholder stub pattern applies to it. Verify prerequisites first (Rule 7a); missing package guide means below minimum.
7a. [UIA] Verify prerequisites before uia-configure-target. Follow uia-starter-guide.md § UIA Prerequisites; if package is below minimum or core guide absent, uip rpa uia is unavailable and capture/indication depend on it. Ask for installation/upgrade (§ Resolving Packages & Activity Docs, Step 1); if declined/impossible, use real placeholder activities with TODO Indicate, not another path. Indication-only is allowed only when a compatible package exists but capture cannot see the element; record UI capture: indication-only in the plan header. Persistent scan failures require ruling out locked/noninteractive Windows (LogonUI means unlock first); only after failure on an unlocked interactive session use placeholders.
8. Use --output json whenever CLI output is parsed programmatically.
8a. A run/debug start verdict comes from Data — NEVER from the outer Result alone, and NEVER from a log line's level — local and --remote runs alike. Identify backend by keys; --remote runs add robotRefusal (Helm) or currentActivity (Desktop). Headless Helm: Data = {output, hasErrors, errorMessage, profiling, debugState, debugDetails, errorScope}; pass only with hasErrors false, errorMessage null, and debugState null or "Completed". Faulted run has outer Result: "Failure" with JSON fields in Message; faulted debug start returns Result: "Success", debugState: "Suspended", and exception in debugDetails; cancel or continue the live session. Studio Desktop: Data = {output, errors, logEntries, debugState}; pass only when errors is empty and output is "Session ended"; debugState: "Completed" alone is not a pass — a failed remote project upload returns it with the IOException only in errors. Missing entry point can return Result: "Success", empty errors, and output: "Failed to open the file <path>"; require both conditions. Reading Result: "Success" as a verdict reports broken workflows as green on both backends. Successful workflows may emit Error/Warning log messages; they are workflow data, not failures. Read the printed envelope: no --output-filter on run/debug start (a filter naming a key the current backend lacks fails the call after the workflow has already run), and never | tail/| head; Helm logs precede the envelope and Desktop has long logEntries. See cli-reference.md § Capturing the verdict, cli-reference.md § Reading run / debug results, and debugging.md § Output Format.
9. For leverage/reuse/shared libraries, search tenant feed — not the local filesystem, NuGet.org, or keyword-permutation loops: uip or libraries list --limit 1000 --output-filter "<JMESPath>" --output json, repeated with --offset 1000, 2000, … while Pagination.HasMore is true. On zero filtered results use its fallback branch, never re-keyword. Skip if an SDD records the libraries in §11 Reusable Components (its reused rows; an older SDD, in §16 “Shared libraries referenced”) or the user earlier said no shared libraries. Follow tenant-library-search-guide.md.
10. Register every test case in project.json → designOptions.fileInfoCollection, for both XAML/coded. Required keys, GUID format, schema, dataVariationFilePath, and coded publishAsTestCase are in references/testing-guide.md § project.json Registration and assets/json-template.md.
11. Test cases use Given-When-Then; see references/testing-guide.md § XAML Test Case Structure, whose lead routes the coded variant to coded/operations-guide.md.
12. Identify triggers with uip rpa activities find --query "<event>" --output json, reading isTrigger and triggerType. Integration (true, "integration") must be first in Main.xaml root Sequence, never in ui:TriggerScope; bind Result to workflow-scope variable and use the rest as handler. ConnectionId is required for IS packages (Mail/GSuite/O365/Salesforce/Jira/Slack/ServiceNow/any *.IntegrationService.Activities), not Orchestrator-native TimeTrigger, QueueTrigger, ManualTrigger. Local (true, "local") may be root-first for a fresh job or in <ui:TriggerScope.Triggers> with handler in <ui:TriggerScope.Action> for an in-process robot; both placements are valid — choose by runtime model; no connection asset. Unknown types (for example future "scheduled") require bundled docs and user question. Do not assume placement. Existing TriggerScope content must be local; an integration trigger there is broken — flag to the user. Root content may be either, so inspect triggerType. See trigger-pattern-guide.md for worked examples, the SchedulingMode reference, the catalog of trigger activities, and the procedure for editing existing ui:TriggerScope workflows.
Studio Web means a Solution deliverable, not a bare project. Studio Web ingests Solutions only; a bare project folder is invisible in both SW workspace tabs. Signals: “Studio Web”, “SW”, “upload to web”, “browser editor”, “cloud workspace edit”. Build normally, then hand off to uipath-solution: uip solution init <NAME> → uip solution projects import "<PROJECT_DIR>" --solution-file <SOLUTION>.uipx → uip solution upload "<SOLUTION_DIR>". Deliver the Solution. Bare projects remain valid for local uip rpa run and Orchestrator uip rpa pack → uip rpa publish.
Run to completion; do not declare work done while plan tasks remain. If docs/plans/*.md is referenced or discoverable, read its header before work and every checkpoint. Execution autonomy: autonomous means continue until every checkbox is [x] or a concrete plan Stop condition occurs. interactive or no plan means use judgment and confirm material decisions. Before reporting, re-read and enumerate unchecked boxes; continue unless a Stop condition occurred. Cost, call count, pauses, partial usability, and complexity are not Stop conditions. Plan decisions already made are authoritative. Do not AskUserQuestion about structure, file count, selector strategy, or capture approach when the plan specifies them.
Wrap each external interaction whose failures need different handling in Try/Catch; classify bad input as BusinessRuleException (no retry, human needed) and transient faults as system exceptions (retry then escalate). Catch where handling differs, not around every activity; UI activities already wait and fail “element not found”, so do not guard them with Check App State (UIA package guide, Unnecessary Check App State). Do not blanket-wrap pure logic or leave Catch empty. Rethrow, never Throw New Exception(ex.Message), to preserve the stack trace. Before resilience work, read references/error-handling-guide.md in full.
Follow execution-maps-guide.md and the task's journey in execution-journeys-catalog.md for every build/edit: they fix batching into assistant turns (greenfield ≤5, brownfield ≤5; pitfalls vet turn included). Within a turn, chain dependent uip calls with && in one Bash; parallelize independent Bash/Read/Edit; split only when stdout or a mutation is required. Rule 21 off-card discovery fans out: all K finds parallel, then all K doc Reads, then all K get-default-xamls — never one activity at a time. Never batch across templates search → init, consent/AskUserQuestion, or UIA state advances/indication; the UIA guide’s per-screen gates control those.
13–19. [Coded] Before any coded workflow, test case, or source file, read coded/codedworkflow-reference.md § Critical Rules — Coded in full. The same file also carries § Coded Quick Reference (file types, service-to-package mapping, templates) and § Task Navigation — Coded.
16–21a, 24–25a. [XAML] The XAML critical rules live in xaml/xaml-basics-and-rules.md § Critical Rules — XAML — Rule 22's read-in-full mandate below covers them; they arrive with the file you must already read before any XAML work. The same file carries the XAML task navigation and quick reference.
22. [XAML] MUST read references/xaml/xaml-basics-and-rules.md in full before generating or editing any XAML — a plain full Read, emitted in the journey's first turn alongside the card reads (no lookup precedes it; the file holds only the mandatory content). The per-operation / per-activity catalogs (editing operations, reference examples) live in references/xaml/xaml-editing-catalog.md and load per entry only — Grep ^###, Read the entries matching the operation/activity at hand, unsure → read it. Then vet the plan against references/xaml/common-pitfalls.md before the first Write/Edit. common-pitfalls.md is a catalog of independent gotcha sections — do NOT read it end-to-end: list its headings (Grep ^## on the file — emit this in the first turn too, it needs no prior output), then in the next turn Read every section whose heading matches an activity, property, or feature in the workflow you are about to author. Unsure whether a section applies → read it. This is an authoring-time gate, not only a troubleshooting resource — consulting it first is cheaper than debugging a gotcha validate cannot see. The turn placement is fixed by the journeys of execution-journeys-catalog.md: the heading list rides in T1, the section Reads are T2, so the gate costs one turn, never a grep→Read pair per file.
23. [XAML] Never change existing expressionLanguage or targetFramework. They are immutable from Common Rule 2a and project-wide. Do not convert in place; confirm and follow environment-setup.md § Project Conversion: copy aside, fresh init, recreate all workflows, delete the copy only after user agreement.
| I need to... | Mode | Read these |
|---|---|---|
| Work in Legacy | Legacy | legacy/legacy-mode-guide.md — entry point. Modern-mode rules below do not apply. |
| Plan build turns | Both | execution-maps-guide.md, read first for any build/edit, in the same message as a Grep ^## on execution-journeys-catalog.md; then Read the task's journey |
| Choose coded/XAML or hybrid | Both | coded-vs-xaml-guide.md → environment-setup.md § Designing Project Structure |
| Create a project | Both | environment-setup.md § Step 0.3 |
| Any XAML authoring/editing task (workflows, test cases, Flowchart/StateMachine/LRW, common activities, Data Fabric, IS connectors, triggers, XAML troubleshooting) | XAML | xaml/xaml-basics-and-rules.md — Rule 22 read; § Critical Rules — XAML + § Task Navigation — XAML route the rest |
| Any coded authoring/editing task (workflows, test cases, source files, IS connectors, NuGet, API discovery, coded troubleshooting) | Coded | coded/codedworkflow-reference.md — § Critical Rules — Coded + § Task Navigation — Coded route the rest |
| Data-driven testing | Both | testing-guide.md § Data-Driven Testing plus Rule 10 |
| Test Manager setup | Both | cli-reference.md § Test Manager — uip rpa tm connect / set-default-project |
| Error handling/resilience (Try/Catch, Retry Scope, BusinessRuleException, ContinueOnError, screenshot-on-error, Global Exception Handler, recover app state, transaction boundary, idempotency / avoid duplicate creates, queue vs local retry ownership) | Both | error-handling-guide.md |
| UI automation | Both | UIA package guide {PROJECT_DIR}/.local/docs/packages/UiPath.UIAutomation.Activities/ui-automation-guide.md |
| Share OR selectors/UI Library | Both | uia-policies-catalog.md § Object Repository as a Published UI Library |
| Run/debug UIA | Both | uia-policies-catalog.md § Running UI Automation Workflows |
| Drive captured controls | Both | UIA package guide § Control-Specific Interaction Patterns |
| Excel/Word/Mail/etc. | Both | .local/docs/packages/{PackageId}/, fallback references/activity-docs/{PackageId}/{closest}/ |
| Manipulate data (DataTable/LINQ, strings, RegEx, DateTime, collections, JSON) | Both | data-manipulation-guide.md |
| Inspect IS trigger lifecycle | Both | trigger-pattern-guide.md § Connection Handling and § Server-Side Filtering |
| Build/run/validate | Both | cli-reference.md — per-command catalog, do NOT read end-to-end: Grep ^## , read each command section used and § Reading run / debug results |
| Profile a slow workflow / verify UI automation correctness | Both | debugging.md § Profiling Workflow Performance |
Design/debug/run on a remote machine (Orchestrator unattended robot — Live Authoring vs Remote Run Only, remote configure/status/start/stop, --remote debug/run, file transfer, remote shell commands) | Both | remote-session-guide.md |
| Pack/publish | Both | cli-reference.md § Pack & Publish to Orchestrator |
| Analyzer rules | Both | cli-reference.md § analyzer-rules list |
| Find tenant libraries | Both | tenant-library-search-guide.md |
| Author/publish library | Both | library-authoring-guide.md |
| Invoke PowerShell | Both | powershell-interop-guide.md |
| Data Fabric entities | Both | cli-reference.md § Data Fabric Entities |
| Project structure | Both | environment-setup.md § Project Structure Reference |
XAML rules, quick reference, navigation, authoring, anatomy, and per-entry editing catalog: xaml/xaml-basics-and-rules.md and xaml/xaml-editing-catalog.md. Coded rules, quick reference, file types, service/package mapping, templates, navigation, and base classes: coded/codedworkflow-reference.md.
Read project.json dependencies, then list the available versions of every package the task needs in one chain (newest first):
uip rpa packages versions --package-id <PackageId> --include-prerelease --project-dir "<PROJECT_DIR>" --output json
Version choice is the user's: never install or upgrade a package silently. Before any packages install, ask one question covering every package that is absent or older than its latest stable release; a newer prerelease alone asks nothing. Per package, offer the latest stable (recommended), the latest prerelease when it is newer (previews may hold activities, signatures, and docs the stable lacks), and, for an installed package, keeping its version. Name any option that crosses a major version, since it may deprecate activities existing workflows use. A version the user named, or a plan whose tasks name each package ID and version, is the answer; do not ask again. Install the chosen versions in one call, one --packages per package:
uip rpa packages install --packages 'id=<PackageId>,version=<CHOSEN_VERSION>' --project-dir "<PROJECT_DIR>" --output json
First directly Read {PROJECT_DIR}/.local/docs/packages/{PackageId}/activities/<Activity>.md; failed direct Read is the existence check. Glob/Grep skip gitignored .local/ and prove nothing; use ls on the exact directory to list it. Never enumerate the tree. If absent, use the closest installed-version folder under references/activity-docs/{PackageId}/.
Skill references own prerequisites/version gating, run/debug orchestration, placeholder deliverables, and UI Library publishing. The installed UIA pack at {PROJECT_DIR}/.local/docs/packages/UiPath.UIAutomation.Activities/ owns authoring, capture, CLI syntax, activity properties, coded API, runtime recovery, and its bundled uia-configure-target; it is co-versioned and wins on divergence.
Read uia-starter-guide.md first for UIA. The pack’s ui-automation-guide.md is the full entry point and routes target capture, task guides, CLI inventory, activity properties, coded API, recovery, and bundled skill; verify it by exact-path ls or direct Read, never Glob/Grep.
Before “done”, verify plan completion: re-read docs/plans/*.md; if autonomous and unchecked boxes remain without a Stop condition, resume; if a Stop condition stopped work, name it; if interactive, report status. Save only memory patterns qualified by execution-maps-guide.md § Cross-session memory; a first-try clean gate on card-covered activities qualifies none. If persistent memory exists, write qualifying memory, context files, and report in parallel in the final turn; nothing runs afterward.
When finished, report:
validate and project-level uip rpa build. Both must be clean to claim verification; if build has not run since the last edit, say so.[x] tasks and every remaining [ ], with its Stop-condition item or “not reached”.uip rpa run or uip rpa debug start command./uipath-feedback to send a report.”Do not say “complete”, “done”, “finished”, or “the automation is built” unless all plan tasks are checked; otherwise say “Partial”, “stopped at ”, or “blocked by ”.
CLAUDE.md (opens in a new tab)agents/uipath-project-discovery-agent.md (opens in a new tab)assets/codedworkflow-template.md (opens in a new tab)assets/json-template.md (opens in a new tab)references/activity-docs/UiPath.ActiveDirectory.Activities/1.7/coded/active-directory.md (opens in a new tab)references/activity-docs/UiPath.ActiveDirectory.Activities/1.7/coded/api.md (opens in a new tab)references/activity-docs/UiPath.ActiveDirectory.Activities/1.7/coded/examples.md (opens in a new tab)references/activity-docs/UiPath.AmazonWebServices.Activities/2.9/coded/amazon-web-services.md (opens in a new tab)references/activity-docs/UiPath.AmazonWebServices.Activities/2.9/coded/api.md (opens in a new tab)references/activity-docs/UiPath.AmazonWebServices.Activities/2.9/coded/examples.md (opens in a new tab)references/activity-docs/UiPath.AmazonWorkSpaces.Activities/1.5/coded/amazon-workspaces.md (opens in a new tab)references/activity-docs/UiPath.AmazonWorkSpaces.Activities/1.5/coded/api.md (opens in a new tab)references/activity-docs/UiPath.AmazonWorkSpaces.Activities/1.5/coded/examples.md (opens in a new tab)references/activity-docs/UiPath.Azure.Activities/1.7/coded/api.md (opens in a new tab)references/activity-docs/UiPath.Azure.Activities/1.7/coded/azure.md (opens in a new tab)references/activity-docs/UiPath.Azure.Activities/1.7/coded/examples.md (opens in a new tab)references/activity-docs/UiPath.AzureActiveDirectory.Activities/1.6/coded/api.md (opens in a new tab)references/activity-docs/UiPath.AzureActiveDirectory.Activities/1.6/coded/azure-active-directory.md (opens in a new tab)references/activity-docs/UiPath.AzureActiveDirectory.Activities/1.6/coded/examples.md (opens in a new tab)references/activity-docs/UiPath.AzureWVD.Activities/1.5/coded/api.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
User wants to create, edit, validate, debug, run, or pack a UiPath automation — '.cs' coded workflows or '.xaml' files. Triggers: 'build a workflow', 'pack this project', 'build a .nupkg', 'automate Excel/email/web/PDF/queue items', 'add a try-catch', 'fix this XAML error', 'scrape this site', 'process invoices', 'create a test case', a .NET Framework 4.6.1 / Windows-Legacy project, or project.json shows UiPath dependencies. NOT for '.flow' files (→uipath-maestro-flow), Python agents (→uipath-agents).
Three short reads, in order
34 skills in this plugin
/uipath-a2a-agentsUiPath Agent Gateway A2A agents (`uip agenthub remote-a2a-agent` / `remote-a2a-agent-user-connections`). Add an external A2A agent (Salesforce Agentforce, Microsoft Foundry, any agent that publishes an agent card) from its card link or card JSON; sign it in with an OAuth Agent 2 Agent connection or with headers from Orchestrator assets; give a person their own Agent 2 Agent connection; change it, refresh its card, show it or remove it. Agents and Maestro flows can then call it. For calling an A2A agent from a flow→uipath-maestro-flow. For MCP servers→uipath-mcp-servers./uipath-activity-migratorUiPath Activity Migrator — migrate Windows-Legacy RPA projects (`targetFramework: Legacy`, classic `ui:` activities) to the Windows framework and rewrite UiPath's own classic activities into their modern UiPath counterparts with `uip rpa project migrate`/`UiPath.Upgrade.exe`. Windows only. Third-party or custom packages are not rewritten, only version-moved. Acquires the tool, resolves the target UIAutomation line, runs analyze then upgrade into a sibling folder, verifies with `uip rpa build`, triages the SARIF. Classic UI Automation→modern UIA, Outlook classic→Microsoft 365, GSuite classic→modern, Microsoft.Activities.Extensions→Invoke Code. Also the post-migration fix for migrated projects whose expression-selector targets fail or silently report not-found. Authoring or editing Legacy `.xaml`→uipath-rpa. Migration-readiness review without running the tool→uipath-review. Post-migration failures with neither marker nor annotation→uipath-troubleshoot. Maestro `instance migrate`→the Maestro skills.npx claudepluginhub uipath/skills --plugin uipathOther plugins' skills for the same job