uipath-solution
Skill166 starsChanged 2 months agoMITView on GitHub
Always invoke for `.uipx` files. UiPath Solution lifecycle via `uip solution`: init/restore/pack/publish/deploy/activate/upgrade/upload, projects add|import|remove, resources refresh|add|remove|edit, feeds list, `--feed` / `--personal-workspace`. DIAGNOSE lifecycle failures: pack/publish/deploy/activate errors, stale or missing bindings, unimported or unresolved resources, deploy error codes, publish name+version/processKey collisions, redeploy blocked by an existing deployment (`deploy upgrade`), feed 'not an available publish location', package missing from `packages list`, 'unknown command' after the new→init rename. Bundles RPA/Flow/Case/Agents/API Workflow/AppV2 coded and coded-action projects into one `.uipx`. Routing: PDD→SDD design & task derivation→uipath-planner; non-solution Orchestrator/IS/resources/auth/traces→uipath-platform; .xaml/.cs→uipath-rpa; .flow→uipath-maestro-flow; .bpmn→uipath-maestro-bpmn; agent.json/.py agents→uipath-agents; standalone coded-app deploy→uipath-coded-apps.
- Pipes a download into a shell
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/uipath-rpa/CLAUDE.mdCLAUDE.md
- .cursor/rules/content-quality.mdcCursor rule
- .cursor/rules/pr-review.mdcCursor rule
- .cursor/rules/skill-review.mdcCursor rule
- .cursor/rules/skill-structure.mdcCursor rule
- .cursor/rules/token-optimization.mdcCursor rule
- manage-skill-flavorsSkill
- uipath-activity-migratorSkill
- uipath-adminSkill
- uipath-agentsSkill
- uipath-aopsSkill
- uipath-api-workflowSkill
- uipath-automation-discoverySkill
- uipath-automationhubSkill
- uipath-coded-appsSkill
- uipath-connector-builderSkill
- uipath-feedbackSkill
- uipath-functionsSkill
- uipath-governanceSkill
- uipath-human-in-the-loopSkill
- uipath-insightsSkill
- uipath-ixpSkill
- uipath-knowledge-bundlesSkill
- uipath-maestro-bpmnSkill
- uipath-maestro-caseSkill
- uipath-maestro-flowSkill
- uipath-mcp-serversSkill
- uipath-plannerSkill
- uipath-platformSkill
- uipath-process-miningSkill
- uipath-reviewSkill
- uipath-rpaSkill
- uipath-rulesSkill
- uipath-tasksSkill
- uipath-testSkill
- uipath-troubleshootSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Create, pack, publish, deploy, and manage UiPath Solution packages (.uipx) via the uip solution CLI surface.
- Distinctive: line 29
Skip this skill: when:
- Very specific: line 37
Before the first uip solution … command in a session, probe the solution surface to detect pre- vs post-rename CLI:
- Very specific: line 60
All other solution subcommands (pack, publish, deploy activate/status/uninstall, upload, resources …, projects add/remove/list) are …
- Very specific: line 127
Trusting exit codes alone after a mutation: Always read the artefact (project.json, .uipx, deploy status) — a non-zero exit may indicate …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UiPath Solution — uip solution lifecycle
Create, pack, publish, deploy, and manage UiPath Solution packages (.uipx) via the uip solution CLI surface. A Solution bundles multiple automation projects (processes, libraries, tests, agent projects, API workflows) into a single deployable unit.
Use the CLI. Don't roll your own REST for solution ops. Hand-rolling HTTP calls misses the
X-UIPATH-OrganizationUnitIdfolder header, OData filter shape, pagination envelope,pipelinesInstalldeploy semantics, retry behavior, and theResult/Code/Dataoutput contract. The CLI is the source of truth.
Platform support. Solutions runs on Automation Cloud and on self-hosted Automation Suite from
2.2510.0onward; not on Standalone Orchestrator. Available project types vary by AS version (Maestro self-hosted only from2.2510.2). Compat matrix + project-type-by-version table → Solution Overview — Platform availability.
When to Use This Skill
<!--skill-flavor:when-to-use-uipx:start-->- User has a
.uipxsolution and wants to pack / publish / deploy / activate / upload
<!--skill-flavor:when-to-use-uipx:end--><!--skill-flavor:when-to-use-create:start-->- User wants to create a new solution (
uip solution init), add or remove projects, or refresh solution resources
<!--skill-flavor:when-to-use-create:end-->- User asks to set up a CI/CD pipeline that builds, publishes, and deploys a UiPath solution
- User mentions deploy configs, environment promotion, or activating a deployed solution
<!--skill-flavor:when-to-use-detected-uipx:start-->- A skill or main agent detected a
.uipxfile and redirected the user here
<!--skill-flavor:when-to-use-detected-uipx:end-->Skip this skill when:
- The task is PDD → SDD architecture/design (sdd.md / pdd.md) — load
uipath-planner. - The deployable is a single non-solution package (e.g., a one-off RPA library or coded app) — those use
uip rpa publish/uip codedapp publishand route throughuipath-platformor the relevant specialist. - The task is non-solution Orchestrator work (folders, jobs, assets, queues, IS connections) — load
uipath-platform.
CLI Surface Probe
<!--skill-flavor:cli-surface-probe:start-->Before the first uip solution … command in a session, probe the solution surface to detect pre- vs post-rename CLI:
uip solution init --help --output json- Result
Success→ post-rename CLI (default). Use the commands and flags as documented in the references. unknown command/ non-zero exit → pre-rename CLI. Translate via the table below before each call. Re-probe on any laterunknown commanderror.
<!--skill-flavor:cli-surface-probe:end--><!--skill-flavor:cli-unavailable:start-->command not found/uip: not found/'uip' is not recognized→ CLI not installed. Tell the user to run the official installer (curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bashon macOS/Linux;irm https://download.uipath.com/uipath-cli/install.ps1 | iexin Windows PowerShell), thenuip login, and abort the work until those succeed.
<!--skill-flavor:cli-unavailable:end--><!--skill-flavor:rename-table:start-->| Post-rename (default) | Pre-rename equivalent |
uip solution init <NAME> | uip solution new <NAME> |
uip solution deploy run --parent-folder-path <PATH> | uip solution deploy run --folder-path <PATH> |
uip solution deploy run --parent-folder-key <KEY> | uip solution deploy run --folder-key <KEY> |
uip solution projects <VERB> | uip solution project <VERB> (singular still works post-rename, but is hidden and deprecated) |
uip solution resources <VERB> | uip solution resource <VERB> |
uip solution projects import <PATH> | uip solution project import --source <PATH> |
All other solution subcommands (pack, publish, deploy activate/status/uninstall, upload, resources …, projects add/remove/list) are unchanged on both surfaces.
<!--skill-flavor:rename-table:end-->Critical Rules
<!--skill-flavor:probe-rule:start-->- Probe the CLI surface before the first
uip solutioncommand in a session. Runuip solution init --help --output json.Success= post-rename CLI (default);unknown command= pre-rename CLI — translate via the fallback table above. Re-probe on any laterunknown commanderror.
<!--skill-flavor:probe-rule:end-->- Always use
--output jsonforuip solutioncommands whose output you parse. JSON is compact and stable; the default for non-interactive runs. - Use the CLI, never roll your own REST for solution operations. Hand-rolled HTTP calls miss the
X-UIPATH-OrganizationUnitIdheader, OData filter shape, pagination envelope, andpipelinesInstalldeploy semantics. Only fall through to REST after confirming nouip solutioncommand covers the task. - Never hand-edit
resources/solution_folder/. It's auto-generated byuip solution projects add/importand auto-cleaned byprojects remove. Manual edits desync from.uipxand produce silent failure modes. See scenarios/manual-edits.md. .uipxandresources/solution_folder/must always agree on the project set. Diffing them is the fastest way to detect corrupted state. If they disagree, fix viauip solution projects add/remove— never by editing either side directly.- Run
uip solution resources refreshbeforepackorupload. Bundled artefact files anduserProfile/<userId>/debug_overwrites.jsonmust reflect current cloud state. Skipping refresh ships stale bindings. - AppV2 coded apps register in
.uipxwhen authored inside a solution.uip codedapp initis the solution-side scaffolding entry point — run it from inside a.uipxsolution. It writesproject.uiproj(ProjectType: "AppV2") +webAppManifest.json, nests source undersource/dist/, and auto-registers asType: "AppV2"— emittingresources/solution_folder/app/{Coded,CodedAction}/.uip solution projects add/uip solution projects importcover existing AppV2 folders too — both readwebAppManifest.config.isActionAppto pickCoded/CodedActionsubType (defaultsCodedfor legacy folders with no manifest).uip solution packbundles them;uip solution deploy runprovisions them. Standalone coded apps are a different lifecycle — scaffold them withnpx create-vite@latest(notuip codedapp init), keep a flatdist/at the project root, and deploy viauip codedapp pack→uip codedapp publish→uip codedapp deploy. See /uipath:uipath-coded-apps. - Verify the artifact after every CLI mutation. Read
project.json,.uipx, oruip solution deploy statusoutput — exit codes lie. Verification is additional; it does not replace requested read-only list commands. If the user asks to show or list registered projects, solution resources, packages, deployments, or statuses, run the matchinguip solution ... list/status --output jsoncommand and then inspect files only as a secondary sanity check. - A deployment in
Draftis a failed deploy, not a pending one. Validation rejected a resource and the install never completed; it never advances on its own and cannot be activated. Read the reasons —Validation:/Conflicts:land in the failure'sInstructionson every feed, since each deploy waits for its run — fix them withdeploy config set/link, and rerundeploy run --config-file <file>with the same--nameand--package-version. While the draft exists it owns the deployment: any other version is refused,deploy upgradeincluded, until the draft is finished that way or discarded (deploy upgrade <draft-key> --discard-draft, or Delete draft in Orchestrator). To look at it, rundeploy listwith the same feed flag, which is tenant-scoped without one and shows no Personal Workspace or folder-feed row at all. See A deploy that stops inDraft. - For multi-environment promotion, switch tenants with
uip login tenant set <tenant>and pass a per-environment deploy config via--config-file <path>. The same packed.uipxdeploys to dev/staging/prod — the environment differs by the target tenant and the config file (generated withdeploy config get, edited withconfig set/config link), not by a different package. There is no-c <CONFIG_KEY>flag.
Workflow
The typical lifecycle for a UiPath Solution:
<!--skill-flavor:solution-lifecycle-steps:start-->1. init / project add → Create solution, register projects (.uipx + resources/solution_folder/)
2. resources refresh → Sync bundled artefacts and debug overwrites with cloud state
3. (optional) restore → Resolve NuGet deps in place (incl. authenticated Orchestrator feeds); login first
4. pack → Produce deployable .zip package
5. login → uip login (if not already authenticated)
6. publish → Upload packed solution to UiPath
7. deploy run → Promote to Orchestrator (auto-activates by default)
8. (optional) activate → Use --skip-activate on deploy, then activate explicitly
restoreis an optimization, not a requirement.packrestores dependencies internally, so a separaterestorestep is only useful when you want deps resolved up front — most often in CI (login → restore → pack) to fail fast on a missing feed before the heavier pack runs.restoretakes a<solutionPath>only (solution dir with a.uipx, or a.uisfile), resolves deps in place, and does not produce a package. It needs an authenticated session to reach private Orchestrator feeds, so runuip loginbefore it.
AppV2 coded apps in the solution flow through
uip solution, notuip codedappdirectly. When a coded-app project hasType: "AppV2"in.uipx,uip solution packbundles its.nupkganduip solution deploy runprovisions it in the deployment folder — no separateuip codedapp pack/publish/deploystep. Standalone coded apps (scaffolded outside any solution vianpx create-vite, flatdist/at the project root, noproject.uiproj/webAppManifest.json) use the directcodedapppath instead. Seeuipath-coded-appsfor the standalone lifecycle and for authoring an AppV2 project inside a solution viauip codedapp init.
<!--skill-flavor:solution-lifecycle-steps:end-->Two distinct distribution paths from the same source:
pack→publish→deploy run— promotes a versioned package to Orchestrator.upload— pushes the solution to Studio Web for browser-based debugging only. Does not produce a published package and cannot be deployed viadeploy run.
Authentication is a prerequisite. Check uip login status --output json before any work; if not logged in, ask the user to run uip login (interactive browser flow). See uipath-platform for full auth options (interactive OAuth, client credentials, tenant switching).
This skill is the terminal step of an SDD-driven build: after uipath-planner produces the SDD and derives the task list, and implementation specialists build the projects, the .uipx is packed and shipped here.
Reference Navigation
| File | Purpose |
| Solution Overview | What a Solution is, .uipx manifest, file structure, lifecycle diagram, command tree |
<!--skill-flavor:develop-solution-row:start-->| Develop a Solution | uip solution init / project add / import / remove / resources refresh / resources add / resources remove / resources edit; field-tested gotchas |
<!--skill-flavor:develop-solution-row:end-->| Pack and Deploy | restore / pack / publish / deploy run / feeds list, targeting a non-tenant feed (--feed / --personal-workspace), deploy configs, CI/CD pipeline patterns |
| Activate and Manage | deploy activate / status / upgrade / uninstall / delete, in-place version upgrades, environment management |
| Scenarios Index | Failure modes and edge cases — manual edits, shared resources, virtual resources, name collisions |
Anti-patterns
- Hand-rolling REST calls for
pack,publish,deploy run, oractivate. Theuip solutionCLI handles auth, folder headers, pipeline semantics, and pagination correctly. Reach for REST only after confirming no command covers the task. - Editing
resources/solution_folder/directly. It is auto-generated and auto-cleaned. Manual edits desync from.uipx. Useuip solution projects add/removeinstead. - Skipping
uip solution resources refreshbeforepackorupload. Ships stale bindings and debug-overwrite state. - Running
uip codedapp pack/publish/deployon an AppV2 project that's already registered in.uipx. Once registered asType: "AppV2", the coded app is part of the solution —uip solution pack/uip solution publish/uip solution deploy runhandle it. Directuip codedapp publishbypasses the solution's deploy config (external client ID, routing name, action schema) and creates a duplicate registration. Useuip codedappdirectly only for standalone coded apps scaffolded withnpx create-vite(no.uipxin the tree, noproject.uiproj/webAppManifest.json). - Creating a new
.uipxper environment instead of using deploy configs. One packed solution promotes to dev/staging/prod via a per-environment--config-file(anduip login tenant setto target the tenant). Different.uipxfiles per environment defeats version tracking. - Using
uip solution upload(Studio Web) as a deployment path. Upload is for browser-based debugging only — it does not produce a published package and cannot be promoted viadeploy run. Usepack→publish→deploy runfor real deploys.uploadalso lands the solution in Studio Web's Cloud workspace tab — not the Local tab; SW's Local tab is a separate registration not addressable byuip solution. - Trusting exit codes alone after a mutation. Always read the artefact (
project.json,.uipx, deploy status) — a non-zero exit may indicate partial state and a zero exit can mask warnings.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

