@uipath/skills 1.207.0-preview.1985 → 1.207.0-preview.1991
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/skills",
|
|
3
|
-
"version": "1.207.0-preview.
|
|
3
|
+
"version": "1.207.0-preview.1991",
|
|
4
4
|
"description": "UiPath agent skills for Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, UiPath Autopilot, Kiro, Windsurf, Antigravity and Devin — RPA, UI automation, UI testing, coded agents/apps/workflows, and troubleshooting. Distributed as the UiPath Claude Code plugin.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "UiPath"
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# Design Guide — the `design` verb
|
|
2
2
|
|
|
3
|
-
`design`
|
|
3
|
+
`design` converts a PDD or other process-knowledge source into an implementation-ready SDD in three phases: **Phase 1** analyzes the source and selects scope, **Phase 2** reviews architecture, and **Phase 3** incrementally writes the full SDD and flips it to `ready` ([sdd-writing-guide.md](sdd-writing-guide.md)). The next turn writes the genome from the `ready` SDD (Verb Rule 8). The source may be a document or the request itself; every product, Case Management included, runs this guide. Use numbered-choice format for all user questions.
|
|
4
4
|
|
|
5
5
|
## Verb Rules
|
|
6
6
|
|
|
7
|
-
These
|
|
8
|
-
|
|
9
|
-
1. **Select scope before
|
|
10
|
-
2. **The SDD is architecture only
|
|
11
|
-
Never put Task 1 / Task N templates or *implementation* tasks created with the task-list tool in the SDD. End
|
|
12
|
-
3. **Write
|
|
13
|
-
4. **
|
|
14
|
-
5. **Testing is mandatory and thorough — never offer "happy path only".**
|
|
15
|
-
6. **The terminal artefact of a Solution build is a packed `.uipx`.**
|
|
16
|
-
Exception: when the Constraint Gate blocks Solutions for
|
|
17
|
-
7. **Design resolves identities only.** A resource the design names is looked up (the Level 0 estate sweep, the tenant library search) and adopted when one match is confident
|
|
18
|
-
8. **Every `ready` SDD gets its genome on the next turn,
|
|
19
|
-
9. **Write the
|
|
20
|
-
10. **Keep
|
|
21
|
-
11. **When sources conflict, the higher one wins:** platform constraints (
|
|
7
|
+
These supplement the Critical Rules in [SKILL.md](../../SKILL.md).
|
|
8
|
+
|
|
9
|
+
1. **Select scope before architecture and gate every product by platform constraints.** Select one product (RPA Process/Library/Test Auto, Maestro Flow, Maestro BPMN, Case, Agents, Coded Apps, API Workflows) or a multi-project Solution. Run [Product Selection Guide](../shared/product-selection-guide.md): Constraint Gate → Level 1 → 1.5 (RPA sub-type) → 1.75 (Solution composition) → 2.5 (project decomposition), with 1.75 and 2.5 in [solution-composition-guide.md](solution-composition-guide.md). Ask delivery model (Cloud / Automation Suite / standalone) at entry; [platform-availability-guide.md](../shared/platform-availability-guide.md) blocks unavailable products; user-excluded products are never re-offered.
|
|
10
|
+
2. **The SDD is architecture only, never task lists.** Include Project Structure, Data Definitions, Testing Strategy, etc. The implementation input is the genome `author` writes from the SDD.
|
|
11
|
+
Never put Task 1 / Task N templates or *implementation* tasks created with the task-list tool in the SDD. End it with `## Next Steps`. Progress-tracking tasks created with the task-list tool are allowed separately.
|
|
12
|
+
3. **Write both `## Planner Handoff` and `<!-- planner-handoff:v1 -->` into every SDD.** They are the load-bearing detection contract — § Choosing the Verb detects either signal, so keep both. Fields and rules are in [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 2.
|
|
13
|
+
4. **Treat template structure as a hard superset.** Single-product output is `<PROCESS_NAME_KEBAB>-sdd.md`; Solution output is `<SOLUTION_NAME_KEBAB>-solution-sdd.md` plus `<PROJECT_NAME_KEBAB>-sdd.md` per project; if the user specifies an output path for the SDD, use it instead of these defaults. Read every selected template end to end before generating — never a head slice or a heading list; column contracts sit deep in the file. Copy every template table's column headers verbatim, and after writing, diff generated H2/H3 headings against the template TOC: the generated set MUST be a superset. Missing required H2/H3 is an SDD defect, not `[SME REVIEW]`; regenerate it.
|
|
14
|
+
5. **Testing is mandatory and thorough — never offer "happy path only".** Cover happy path, edge cases, errors, and e2e for Master Projects. Implementation specialists may scope down during execution; the SDD may not.
|
|
15
|
+
6. **The terminal artefact of a Solution build is a packed `.uipx`.** Point `## Next Steps` to `uipath-solution`, which packs it; a bare project folder is not the deliverable.
|
|
16
|
+
Exception: when the Constraint Gate blocks Solutions for standalone, Automation Suite older than 2.2510, or a user exclusion, rewrite Next Steps to per-package Orchestrator publish routed through `uipath-platform`.
|
|
17
|
+
7. **Design resolves identities only.** A resource the design names is looked up (the Level 0 estate sweep; for RPA, the tenant library search per Step 2.5) and adopted when one match is confident. For ambiguous or missing resources, use the intended name and an `[SME REVIEW]` item. Schema discovery, scaffolding, and create-on-missing are build concerns recorded as build decisions; `design` never runs them.
|
|
18
|
+
8. **Every `ready` SDD gets its genome on the next turn, including design-only requests**, except a build skill handoff, which returns to that skill. Follow [sdd-writing-guide.md](sdd-writing-guide.md) § Step 3; when revising an SDD whose genome is already on disk, update and check the genome in the same run per [sdd-writing-guide.md](sdd-writing-guide.md) § Keeping the Genome Current.
|
|
19
|
+
9. **Write the skeleton first and flip `ready` last; the SDD write is a turn boundary.** Write the skeleton before any other Phase 3 section so an early-ending turn leaves an SDD; `[SME REVIEW]` gates only the `ready` flip. Follow [sdd-writing-guide.md](sdd-writing-guide.md) Step 0 and its § Step 3. Scope and UI answers flow to the genome through the SDD.
|
|
20
|
+
10. **Keep source wording.** Preserve roles, domain nouns, stage/step labels, outcomes, and system names exactly (`CFO`, `Vendor`, `Needs Info`, `Workday`); do not homogenize them (`Approver`, `Supplier`, `the HR system`). Only mechanical derivations change names: PascalCase project/case names, kebab-case file names, camelCase variables.
|
|
21
|
+
11. **When sources conflict, the higher one wins:** platform constraints (delivery model/product schema) → stated or implied regulatory/compliance constraint → tenant evidence (deployed matching resource) → user statement → source documents → template/product-guide defaults. Record an overridden lower source as a Decisions Made row (autonomous) or Step 5 review line.
|
|
22
22
|
12. **A product the user names is the primary**, unless the Constraint Gate blocks it or Level 0 finds the work should not be automated: Level 1 confirms it instead of selecting, and Levels 1.5–3 still run inside it.
|
|
23
|
-
13. **
|
|
24
|
-
14. **A caller's design request changes only the steps its guide names.** A `planner-design-request: v1` block carries
|
|
23
|
+
13. **Make every automation-built key retry-stable.** Build file names, sequence numbers, message IDs, and queue references from the item's identity (reference, GUID, or source ID), never clock or write-time counters, so a retry finds what the first attempt wrote instead of writing it twice.
|
|
24
|
+
14. **A caller's design request changes only the steps its guide names.** A `planner-design-request: v1` block carries `execution`, limits interactive execution to the Phase 2 Step 5 checkpoint, permits autonomous stopping only for a hard blocker, and ends with `planner-design-result: v1`: [caller-request-guide.md](caller-request-guide.md).
|
|
25
25
|
|
|
26
26
|
## Read Plan
|
|
27
27
|
|
|
@@ -50,41 +50,34 @@ Exception: when the Constraint Gate blocks Solutions for the delivery model —
|
|
|
50
50
|
|
|
51
51
|
## Anti-patterns
|
|
52
52
|
|
|
53
|
-
1. **
|
|
53
|
+
1. **Do not copy PDD structure into the SDD.** Reorganize for implementation.
|
|
54
54
|
2. **Defaulting to RPA Process when the need profile points elsewhere.** Use the Product Selection Guide decision tree on the synthesized need, not keywords: genuine judgment/reasoning → Agents; stages/SLA/approval lifecycle → Case Management ("AI" over a rule-expressible decision is still RPA). Forcing single-product scope when the PDD describes multiple coordinated projects is the same mistake — offer Solution.
|
|
55
|
-
3. **
|
|
55
|
+
3. **Do not rename `## Planner Handoff` or strip `<!-- planner-handoff:v1 -->`.** Either signal alone detects the SDD; removing both breaks detection silently.
|
|
56
56
|
|
|
57
57
|
## Phase 1 — PDD Analysis & Scope Selection
|
|
58
58
|
|
|
59
59
|
### Step 0: Determine Execution Mode & Delivery Model
|
|
60
60
|
|
|
61
|
-
Before reading the PDD
|
|
61
|
+
Before fully reading the PDD, search for platform signals ("Automation Suite", "on-prem", "self-hosted", "Orchestrator", "cloud", tenant URL). Run [platform-availability-guide.md § Resolving the Delivery Model](../shared/platform-availability-guide.md#resolving-the-delivery-model) first: its preflight, Question 2 (with the custom-host follow-up) and skip rule. Then ask **one structured prompt containing two questions** that batches execution mode (Question 1) with the delivery model (that guide's Question 2), adding the custom-host follow-up when applicable (maximum four questions). Batching keeps the prompt budget flat: the delivery model gates every product decision (see [Product Selection Guide → Constraint Gate](../shared/product-selection-guide.md#constraint-gate)) and asking it later costs a second interruption.
|
|
62
62
|
|
|
63
|
-
**
|
|
64
|
-
|
|
65
|
-
*Question 1 — Execution mode:*
|
|
63
|
+
**Question 1 — Execution mode:**
|
|
66
64
|
|
|
67
65
|
> How should I handle this SDD generation? (The SDD is written this turn; its genome — the build blueprint — is written from the finished SDD on the next turn.)
|
|
68
66
|
>
|
|
69
67
|
> 1. **Autonomous** *(recommended)* — I will read the PDD, make all decisions, generate the full SDD, then write its genome on the next turn. I will only interrupt for hard blockers (PDD unreadable, Agent/Coded App missing critical info, unresolved `[SME REVIEW]` items before finalizing).
|
|
70
68
|
> 2. **Interactive** — I will pause at each phase checkpoint (summary, architecture, final SDD) for your review before proceeding.
|
|
71
69
|
|
|
72
|
-
|
|
70
|
+
Skip Question 1 symmetrically when the request states the mode ("autonomous", "don't pause for checkpoints", "interactive review"). A caller's `execution` answers it; ask only when missing (Verb Rule 14). When both execution and delivery model are known from context, skip the prompt and record both.
|
|
73
71
|
|
|
74
|
-
Record both
|
|
72
|
+
Record both in `## Planner Handoff` ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2); they propagate to the genome: execution controls follow-up rounds and delivery model applies to every component.
|
|
75
73
|
|
|
76
|
-
In **Autonomous** mode
|
|
77
|
-
- Skip Phase 1 summary presentation (generate internally, do not wait for confirmation) — the `## Recommended Scope` block still persists into the SDD ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3)
|
|
78
|
-
- Skip Phase 2 architecture review (generate, do not wait)
|
|
79
|
-
- Ask only what blocks the design: the unresolved Step 0 questions, the Agent/Coded App gap question (Step 5), and one SME prompt holding the items with no defensible default ([sdd-writing-guide.md](sdd-writing-guide.md) Step 1.5). Every other confirmation a reference describes — the RPA sub-type, the scope, a tenant library pick, a revision round — is an interactive checkpoint: take its recommended option and record the pick in Decisions Made
|
|
80
|
-
- **Insert a "Decisions Made" block** at the top of the SDD (immediately after the Planner Handoff header and before any other section) listing the five highest-leverage architectural picks with one-sentence reasons. See [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3 for the exact block format. Do **NOT** ask a structured question — the picks are decided autonomously; the block makes them scannable in the SDD's first screenful so a reviewer can spot a wrong call without reading the whole document.
|
|
74
|
+
In **Autonomous** mode, skip presenting the Phase 1 summary and the Phase 2 review (generate both internally; do not wait for confirmation); persist `## Recommended Scope` in the SDD ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3). Ask only unresolved Step 0 questions, the Agent/Coded App gap question (Step 5), and one SME prompt for items without defensible defaults ([sdd-writing-guide.md](sdd-writing-guide.md) Step 1.5). Take recommended options for all other confirmations (RPA sub-type, scope, tenant library, revision), record them in Decisions Made. **Insert a `Decisions Made` block** immediately after the Planner Handoff header and before any other section. List the five highest-leverage architectural picks with one-sentence reasons, using the exact format in [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3; do **NOT** ask a structured question.
|
|
81
75
|
|
|
82
|
-
In **Interactive** mode
|
|
83
|
-
- Present and wait at every checkpoint as described in the steps below
|
|
76
|
+
In **Interactive** mode, present and await every checkpoint below.
|
|
84
77
|
|
|
85
78
|
### Step 0.5: Create Progress Tasks
|
|
86
79
|
|
|
87
|
-
Create progress-tracking tasks with the task-list tool
|
|
80
|
+
Create progress-tracking tasks with the task-list tool; a host without it skips this step:
|
|
88
81
|
|
|
89
82
|
```
|
|
90
83
|
title="Read PDD and extract data" in-progress label="Reading PDD…"
|
|
@@ -97,37 +90,30 @@ title="Finalize SDD (Status: ready)" in-progress label="Finalizing
|
|
|
97
90
|
title="Write genome (next turn)" in-progress label="Writing genome…"
|
|
98
91
|
```
|
|
99
92
|
|
|
100
|
-
The genome task
|
|
101
|
-
|
|
102
|
-
Mark each task `in_progress` when its step starts and `completed` when it ends. Creating and updating them is best-effort and never blocks the SDD: if a task-list call fails, warn the user once, continue without progress tasks and never retry. The skeleton write is task 4, never the last task ([sdd-writing-guide.md](sdd-writing-guide.md#step-0-write-the-sdd-skeleton-to-disk--hard-gate) Step 0).
|
|
103
|
-
|
|
104
|
-
These tasks track SDD generation.
|
|
105
|
-
The genome `author` writes after the SDD is the implementation input — do NOT create implementation tasks here.
|
|
93
|
+
The genome task remains `pending` when SDD writing ends the turn; the genome turn marks it `in_progress`, then `completed`. Omit it for a build-skill handoff (Verb Rule 8). Mark each task `in_progress` at start and `completed` at end. Creation/update are best-effort and never block the SDD: on task-list failure, warn once, continue without tasks, and never retry. Skeleton writing is task 4, never last ([sdd-writing-guide.md](sdd-writing-guide.md#step-0-write-the-sdd-skeleton-to-disk--hard-gate) Step 0). These tasks track SDD generation.
|
|
94
|
+
The genome `author` writes after the SDD is the implementation input; do NOT create implementation tasks here.
|
|
106
95
|
|
|
107
96
|
### Step 1: Read the PDD
|
|
108
97
|
|
|
109
|
-
0. **No document** ("design X", a process described in the request): the request and
|
|
110
|
-
1.
|
|
111
|
-
2.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
3. For pasted text over 3000 words, ask the user to paste in sections.
|
|
116
|
-
4. **Error cases:** if the document cannot be read (corrupt PDF, password-protected, unsupported format), tell the user and ask them to provide it in a different format. If the document describes no process at all (no steps, no applications, no exceptions), tell the user and stop; a less structured process source continues, with heavier Phase 1 elicitation.
|
|
117
|
-
5. **Language handling:** a caller's `language` answers this — skip the question. Otherwise, if the PDD is not in English, ask a structured question with the numbered-choice format:
|
|
98
|
+
0. **No document** ("design X", a process described in the request): use the request and attachments as source, read every attached/named file, then continue at Step 2; Step 3 identifies gaps and Step 6 asks user-only questions.
|
|
99
|
+
1. Route input by format: Markdown (`.md`) and plain text (`.txt`) directly; PDF (`.pdf`) by page range; Word (`.docx`, `.doc`) converted to Markdown; pasted conversation text directly. Follow [PDD Analysis Guide → Supported Input Formats](../shared/pdd-analysis-guide.md#supported-input-formats). Confluence, BPMN (`.bpmn`), meeting/Zoom transcript, SOP, and requirements doc also work ([Accepted process-knowledge sources](../shared/pdd-analysis-guide.md#accepted-process-knowledge-sources)); use heavier Phase 1 elicitation for less-structured sources. Extract **AS-IS and TO-BE** ([As-Is and To-Be Process](../shared/pdd-analysis-guide.md#as-is-and-to-be-process)).
|
|
100
|
+
2. PDF: under 10 pages, read all in one pass and skip ToC; 10–50, read ToC then overview → steps → exceptions → applications → credentials; over 50, read ToC and high-priority sections (overview, process steps, exceptions), extract while reading, then read the remainder.
|
|
101
|
+
3. For pasted text over 3000 words, ask for sections.
|
|
102
|
+
4. If unreadable (corrupt PDF, password-protected, unsupported), tell the user and request another format. If it describes no process (no steps, applications, exceptions), tell the user and stop; less-structured process sources continue with heavier elicitation.
|
|
103
|
+
5. If caller supplies `language`, use it. Otherwise, for non-English PDDs ask a structured question with the numbered-choice format:
|
|
118
104
|
|
|
119
105
|
> The PDD appears to be in <LANGUAGE>. Which language should the SDD use?
|
|
120
106
|
>
|
|
121
107
|
> 1. **English** *(recommended)* — SDD in English for broadest tool compatibility
|
|
122
108
|
> 2. **<LANGUAGE>** — SDD in the same language as the PDD
|
|
123
109
|
|
|
124
|
-
|
|
110
|
+
Keep section headings and structural identifiers (BR-01, B1, E1) in English regardless.
|
|
125
111
|
|
|
126
112
|
### Step 2: Extract Structured Information
|
|
127
113
|
|
|
128
|
-
Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md)
|
|
114
|
+
Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md) and build this model:
|
|
129
115
|
|
|
130
|
-
| Component | PDD
|
|
116
|
+
| Component | PDD topic | Required |
|
|
131
117
|
|---|---|---|
|
|
132
118
|
| Process name and objective | Introduction | Yes |
|
|
133
119
|
| Key contacts | Process key contacts | No |
|
|
@@ -142,65 +128,52 @@ Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md) to extract data
|
|
|
142
128
|
| Credentials and assets | Credentials and asset management | Yes |
|
|
143
129
|
| Test data | Appendix | No |
|
|
144
130
|
|
|
145
|
-
|
|
131
|
+
Put explicitly named Key Contacts (SA, BA, developers, PM, SME / Process Owner) in §1 Delivery Team of the RPA template. Include only named roles; omit silent rows and do not invent or leave them `[SME REVIEW]`.
|
|
146
132
|
|
|
147
133
|
### Step 2.5: Tenant Library Discovery
|
|
148
134
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
Skip this step for non-RPA primaries (Agents, Coded Apps, Flow, BPMN, Case, API Workflows) — shared RPA libraries do not apply to those products' package models. Only the *library* discovery is RPA-scoped: the [Level 0 estate sweep](../shared/product-selection-guide.md#estate-sweep) (deployed processes, agents, Maestro processes, IXP projects, solutions, connections) runs for every scope when evaluating the suitability gate.
|
|
152
|
-
|
|
153
|
-
Run the procedure in [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md). Keyword source for step 2: PDD Application Inventory + org-prefix terms (`Common`, `Shared`, `<Company>` if mentioned in the PDD). Output mapping: every selected library → one row in every sub-project's §14 Packages table, and its package ID into §16 Deployment Environment → "Shared libraries referenced". If the auth preflight fails, use the guide's manual fallback and propagate the user's named libraries to §14 / §16 the same way.
|
|
135
|
+
Run [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md) in BOTH Autonomous and Interactive modes for RPA primaries, using PDD Application Inventory plus org-prefix terms (`Common`, `Shared`, `<Company>` if mentioned) as the keyword source for its step 2. Map each selected library to one row in every sub-project's §14 Packages and its package ID to §16 Deployment Environment → "Shared libraries referenced". If auth preflight fails, use the guide's manual fallback and propagate named libraries identically.
|
|
154
136
|
|
|
155
|
-
**This step is best-effort — it never blocks SDD output.**
|
|
137
|
+
Skip for non-RPA primaries (Agents, Coded Apps, Flow, BPMN, Case, API Workflows); shared RPA libraries do not apply, but the [Level 0 estate sweep](../shared/product-selection-guide.md#estate-sweep) still runs for every scope (deployed processes, agents, Maestro processes, IXP projects, solutions, connections). **This step is best-effort — it never blocks SDD output.** In Autonomous mode, auth failure/unavailability means skip discovery and proceed with public NuGet only; do not retry, troubleshoot, or pause. Skip entirely when the user forbids `uip` commands.
|
|
156
138
|
|
|
157
139
|
### Step 3: Detect Gaps
|
|
158
140
|
|
|
159
|
-
|
|
141
|
+
Use the Gap Detection Checklist in [PDD Analysis Guide](../shared/pdd-analysis-guide.md) and classify every missing/vague item `[DEFAULT]` or `[SME REVIEW]`.
|
|
160
142
|
|
|
161
143
|
### Step 3.5: Synthesize the Need
|
|
162
144
|
|
|
163
|
-
Before
|
|
164
|
-
|
|
165
|
-
- **Core need & target outcome
|
|
166
|
-
- **Decision nature
|
|
167
|
-
- **Input structure
|
|
168
|
-
- **Integration surface
|
|
169
|
-
- **Interaction model
|
|
170
|
-
- **State
|
|
171
|
-
- **Coordination
|
|
172
|
-
- **Volume, latency & cost
|
|
173
|
-
- **Risk, reversibility & auditability
|
|
174
|
-
- **Change
|
|
175
|
-
- **Reuse
|
|
176
|
-
- **Runtime
|
|
177
|
-
- **Existing estate
|
|
178
|
-
- **Trigger
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
**Close Step 3.5 by typing every extracted step** with the [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step) table — the resulting **step→executor map** is Level 1's input (layer 2 before layer 3; Level 1 never matches raw keywords against the whole process). Level 1 first folds absorbed capabilities into their hosts ([Decision table → Absorption fold](../shared/product-selection-guide.md#decision-table)) — capabilities a host invokes in-process are integrated components, not orchestration triggers — then reads the folded map.
|
|
182
|
-
|
|
183
|
-
Carry the need profile and the step→executor map into the Step 6 summary and the SDD `## Recommended Scope` reasoning so every product pick reads as `need → product`, auditable against the PDD. The dominant real-world pattern is **hybrid** (AI decides, deterministic RPA/API execute as governed tools, Maestro orchestrates when real orchestration is needed, HITL gates the risky steps) and **decomposed** into separate blocks — not one monolithic flow. Level 1 (Step 4) matches on the whole profile; PDD keywords are evidence, not the decision. When the need is genuinely ambiguous between products, ask the user (Step 6) — do not silently default.
|
|
145
|
+
Before product selection, create a need profile—not a keyword match. No single factor decides the tool; capture all and weigh the overall fit:
|
|
146
|
+
|
|
147
|
+
- **Core need & target outcome:** outcome and KPI (cycle time, manual effort, quality/accuracy, cost, throughput, compliance); design TO-BE against it, not AS-IS.
|
|
148
|
+
- **Decision nature:** deterministic rule-expressible (same input → same output) vs non-deterministic judgment/reasoning; assess per process and step. Deterministic → RPA/API/rules; genuine judgment → Agents; not the sole gate.
|
|
149
|
+
- **Input structure:** structured/predictable vs messy/unstructured; email, free text, varied documents → Agent or IXP.
|
|
150
|
+
- **Integration surface:** assess each external system's stable API / **Integration Service connector** and executor-runtime reachability under the delivery model (on-prem HTTP(S) → Automation Relay, placement rule 5); reuse connectors first. If absent, API Workflows, RPA, and coded Agents use Direct HTTP; IS-only surfaces (Maestro Flow/BPMN/Case connector nodes, low-code Agent tools) need `uipath-connector-builder` or API Workflow wrapper, per [Component Placement Guide → Integration Service](../shared/component-placement-guide.md#integration-service). Verify with `uip is connectors list`; never assume a connector exists. UI-only system → RPA.
|
|
151
|
+
- **Interaction model:** system-to-system; UI; human-in-the-loop (immediate attended vs **asynchronous approval**—async inside one process → long-running RPA + Action Center); user-facing app.
|
|
152
|
+
- **State:** atomic; transactional/retryable; long-running/suspends/waits. Long-running in one process → RPA long-running workflow; across products → Maestro.
|
|
153
|
+
- **Coordination:** single task; linear/branching pipeline; staged case lifecycle (stages + SLA); structured control flow (parallel/events/subprocess), using [PDD Analysis Guide → Detailed Process Map](../shared/pdd-analysis-guide.md#detailed-process-map).
|
|
154
|
+
- **Volume, latency & cost:** high-volume repeatability favors deterministic; agentic cost is higher-variance/less predictable, so estimate per model/tenant and justify it at volume; note any latency requirement.
|
|
155
|
+
- **Risk, reversibility & auditability:** risky, irreversible, or low-confidence steps need HITL; compliance-critical work needs deterministic auditable records.
|
|
156
|
+
- **Change/volatility:** frequency of input/form/rule changes; use IXP for changeable documents.
|
|
157
|
+
- **Reuse:** local vs shared callable capability (RPA Library/API Workflow/custom connector, built before consumers).
|
|
158
|
+
- **Runtime/resource locality:** desktop apps, Excel/Office, file shares, on-prem DB, terminal/mainframe, Citrix require an in-environment robot → RPA regardless of determinism/API; exceptions are confirmed Automation Relay for on-prem HTTP(S) and robot-hosted Coded Functions. Windows, cross-platform, serverless, and user desktop determine compatibility, robot type, and licensing (§11 Project Mode Decision in RPA template).
|
|
159
|
+
- **Existing estate:** processes, API Workflows, connectors (`uip is connectors list`), tenant libraries (Step 2.5), IXP models, and user-named resources; reuse before build.
|
|
160
|
+
- **Trigger, confidence:** record trigger, evidence, and unknowns; unknowns become `[SME REVIEW]`, and genuinely ambiguous product choice goes to Step 6, never a silent default.
|
|
161
|
+
|
|
162
|
+
Close by typing every extracted step using [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step), producing the step→executor map for Level 1 (layer 2 before layer 3). Level 1 first folds absorbed capabilities into their hosts ([Decision table → Absorption fold](../shared/product-selection-guide.md#decision-table)) — in-process capabilities are integrated components, not orchestration triggers — then reads the folded map. Carry the profile and map into Step 6 and `## Recommended Scope` so each choice is auditable as need → product. Hybrid, decomposed designs are normal: AI decides, governed RPA/API execute, Maestro orchestrates where needed, and HITL gates risk — not one monolithic flow. Level 1 matches the whole profile; keywords are evidence only.
|
|
184
163
|
|
|
185
164
|
### Step 4: Run Levels in Order
|
|
186
165
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
> **Constraint Gate applies at every level.** The delivery model from Step 0 and any user-stated product exclusions filter the candidates before each level recommends — see [Product Selection Guide → Constraint Gate](../shared/product-selection-guide.md#constraint-gate) and [platform-availability-guide.md](../shared/platform-availability-guide.md).
|
|
166
|
+
At every level, apply delivery model and user exclusions through the Constraint Gate: [Product Selection Guide → Constraint Gate](../shared/product-selection-guide.md#constraint-gate) and [platform-availability-guide.md](../shared/platform-availability-guide.md). Follow [Product Selection Guide § Levels of Decision](../shared/product-selection-guide.md#levels-of-decision): Level 0 first; Levels 1+ only on `proceed` / `proceed-with-redesign` / `partial`; Level 1.5 for RPA primary or per RPA project through Level 1.75 Pass C; Level 1.75 when Level 1 = Solution or the user picks "Solution (customize)" in Step 6; Level 2.5 Part A per RPA Process project; Part B always. Feed results to Step 6 and Phase 2.
|
|
190
167
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
This step's output goes into the Phase 1 summary at Step 6 and drives the Phase 2 architectural core.
|
|
194
|
-
|
|
195
|
-
> Level 2 (Authoring mode — XAML / Coded / Hybrid) is decided per RPA project at Phase 2 Step 2 from [RPA Product Guide → Level 2](rpa-product-guide.md#level-2--authoring-mode). Level 3 (Capability add-ons — HITL, Integration Service, etc.) is detected during PDD analysis and flagged in template sections during Phase 2 Step 4. Per-task component placement (which step lands on RPA / API / IXP / Agent / Function / HITL / Maestro / Data Fabric) runs twice: at Step 3.5 (the step→executor map that feeds Level 1) and at Phase 2 Steps 3–4 (recording placements in template inventories) — [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step).
|
|
168
|
+
Level 2 (XAML / Coded / Hybrid) is decided per RPA project at Phase 2 Step 2 using [RPA Product Guide → Level 2](rpa-product-guide.md#level-2--authoring-mode). Detect Level 3 add-ons (HITL, Integration Service, etc.) in analysis and flag them in Phase 2 Step 4. Run per-task placement at Step 3.5 (the step→executor map that feeds Level 1) and Phase 2 Steps 3–4 (recording placements in template inventories) ([Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step)).
|
|
196
169
|
|
|
197
170
|
### Step 5: Check for Agent/Coded App Gaps
|
|
198
171
|
|
|
199
|
-
If
|
|
172
|
+
If primary is **Agents** or **Coded Apps** and required product information is missing, run [scope-recommendation-guide.md](scope-recommendation-guide.md) § Gap Handling for Agent / Coded App. Never auto-fallback: the user chooses explicitly.
|
|
200
173
|
|
|
201
174
|
### Step 6: Present Summary + Scope Recommendation
|
|
202
175
|
|
|
203
|
-
Emit
|
|
176
|
+
Emit [scope-recommendation-guide.md](scope-recommendation-guide.md) § Presenting the Recommendation, recommended scope first and alternatives after it:
|
|
204
177
|
|
|
205
178
|
```markdown
|
|
206
179
|
## PDD Analysis Summary
|
|
@@ -222,24 +195,15 @@ Recommended Scope + Project List + Queue Architecture>
|
|
|
222
195
|
<NUMBERED_QUESTIONS_IF_ANY>
|
|
223
196
|
```
|
|
224
197
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
**If the user picks "Solution (customize)":** re-run Level 1.75 per the customize branch in the guide, then re-emit this summary with the customized project list, then re-ask the confirmation question. Max 3 revisions — after that, proceed with the latest composition.
|
|
228
|
-
|
|
229
|
-
**If the user picks a single-product alternative:** re-run Step 4 with the user's choice as the forced primary (including Level 1.5 if it's RPA).
|
|
230
|
-
|
|
231
|
-
Ask at most 5 clarifying questions total, in a single round. If the user cannot answer some, tag those items as `[SME REVIEW]` and proceed.
|
|
198
|
+
Ask the guide's structured confirmation question: recommendation option 1, single-product alternatives, then "Solution (customize)". A caller request skips it unless genuinely ambiguous (Verb Rule 14). **If the user picks "Solution (customize)":** re-run Level 1.75's customize branch, re-emit the summary with the customized project list, and re-ask; maximum 3 revisions, then proceed with latest composition. **If the user picks a single-product alternative:** re-run Step 4 with that forced primary, including Level 1.5 for RPA. Ask at most 5 clarifying questions in one round; if the user cannot answer some, tag those items as `[SME REVIEW]` and proceed.
|
|
232
199
|
|
|
233
200
|
## Phase 2 — Architecture Review
|
|
234
201
|
|
|
235
202
|
### Step 1: Load the Template(s)
|
|
236
203
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
- **Single-product scope:** load the one template matching the Level 1 primary.
|
|
240
|
-
- **Solution scope:** load the solution overview structure PLUS one template per project in the Level 2.5 unified project list. RPA Master Projects share one RPA template file across their sub-projects; unrelated RPA projects each get their own file.
|
|
204
|
+
Use [Template Mapping table](scope-recommendation-guide.md#template-mapping): load the matching single-product template, or for Solution the overview plus one template per project in the Level 2.5 unified list. RPA Master Projects share one RPA template across sub-projects; unrelated RPA projects get separate files.
|
|
241
205
|
|
|
242
|
-
|
|
206
|
+
The SDD is automation-type-agnostic: include only in-scope type coverage. Solution overview component inventory lists every component and type (RPA / API Workflow / Agent / Maestro Flow · BPMN · Case / Coded or Low-code App / DU-IXP / connector / HITL). Include type-specific detail (Agent Configuration, Queue Architecture, API schemas, Gateways, Case stages, etc.) only when applicable; never add N/A filler, never assume an agentic (or RPA-only) shape, and delete inapplicable rows. Replicate per-instance sections (e.g., one Agent Configuration per agent).
|
|
243
207
|
|
|
244
208
|
### Step 2: Generate the Architectural Core
|
|
245
209
|
|
|
@@ -252,8 +216,6 @@ Generate the sections the template's `Phase 2 sections:` line names (the Case te
|
|
|
252
216
|
|
|
253
217
|
### Step 3: Decompose Steps Into Implementation Units
|
|
254
218
|
|
|
255
|
-
Each template has a primary inventory table. Map PDD steps to units:
|
|
256
|
-
|
|
257
219
|
| Product | Primary Inventory | Unit Type |
|
|
258
220
|
|---|---|---|
|
|
259
221
|
| RPA (Single Project) | Workflow Inventory | `.xaml` or `.cs` workflow files |
|
|
@@ -265,32 +227,27 @@ Each template has a primary inventory table. Map PDD steps to units:
|
|
|
265
227
|
| Coded Apps | Pages + Components | Routes and React/Angular/Vue components |
|
|
266
228
|
| API Workflows | Execution Flow steps | Activities (HTTP, Connector, Script) |
|
|
267
229
|
|
|
268
|
-
Each unit must have: **a concrete responsibility, specific PDD step references, and defined inputs/outputs.**
|
|
269
|
-
|
|
270
|
-
Type each step's verb and place it on the best-fit component per [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step) — deterministic validate/transfer → RPA or API, document collect → IXP, judgment decide → Agent, atomic transform/compute → Function, review/sign-off → HITL, aggregate → Data Fabric. Record the placement in the inventory row; every non-primary placement becomes an integrated component in Step 4.
|
|
230
|
+
Each unit must have: **a concrete responsibility, specific PDD step references, and defined inputs/outputs.** Type and place each step using [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step): deterministic validate/transfer → RPA or API; document collect → IXP; judgment decide → Agent; atomic transform/compute → Function; review/sign-off → HITL; aggregate → Data Fabric. Record placement in the inventory; every non-primary placement becomes an integrated component in Step 4.
|
|
271
231
|
|
|
272
|
-
|
|
273
|
-
1. First, assign each PDD step to a sub-project based on the §10 sub-projects table (each sub-project lists its PDD steps).
|
|
274
|
-
2. Then, within each sub-project, decompose the assigned steps into workflow files.
|
|
275
|
-
3. For REFramework sub-projects, the main workflows (Init, GetTransactionData, Process, SetTransactionStatus) come from the framework — only the Process-specific workflows go in the inventory.
|
|
232
|
+
For RPA Master Project, assign each PDD step to a §10 sub-project, then, within each sub-project, decompose its assigned steps into workflow files. In REFramework sub-projects, Init, GetTransactionData, Process, and SetTransactionStatus come from the framework; inventory only Process-specific workflows.
|
|
276
233
|
|
|
277
234
|
### Step 4: Flag Integrated Components
|
|
278
235
|
|
|
279
|
-
For each integrated component
|
|
236
|
+
For each Phase 1 integrated component and non-primary placement, flag the template section:
|
|
280
237
|
|
|
281
|
-
- **HITL
|
|
282
|
-
- **Integration Service connectors
|
|
283
|
-
- **IXP / Document Understanding models
|
|
284
|
-
- **Coded Functions** (TypeScript / JavaScript / Python
|
|
285
|
-
- **RPA
|
|
286
|
-
- **API
|
|
238
|
+
- **HITL:** Flow host → flag touchpoints and route implementation to `uipath-human-in-the-loop`; Coded Agent → escalation belongs to `uipath-agents` build (HITL defers coded-agent wiring); BPMN `userTask` → §9 HITL Touchpoints, authored inline by `uipath-maestro-bpmn` (no HITL task); Case → `action` detail in §2 Stages & Tasks with Action App intent (never HITL skill); RPA → Action Center / long-running workflow in RPA template.
|
|
239
|
+
- **Integration Service connectors:** list in Application Inventory (RPA) or the Connectors section (other types); check `uip is connectors list`; route existing connector configuration to `uipath-platform`, custom build to `uipath-connector-builder`.
|
|
240
|
+
- **IXP / Document Understanding models:** for semi-structured extraction, list in the host's "IXP / Document Understanding Models" table (Flow/BPMN/Case/Agent/RPA); for API Workflow or Coded App primary, make a row in §Solution / Project Breakdown. Route implementation to `uipath-ixp`, before consumers.
|
|
241
|
+
- **Coded Functions** (TypeScript / JavaScript / Python): atomic deterministic transform / compute (e.g., parsing, scoring, custom-auth API calls, IS-connection queries) only when justified by [placement rule 6](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step); keep host-native logic in host inventory. List in host "Coded Functions" table (Flow/BPMN/Case/Agent); route to `uipath-functions` before consumers; no per-project SDD file (see [Template Mapping](scope-recommendation-guide.md#template-mapping)).
|
|
242
|
+
- **RPA called by Flow/BPMN/Agent/Case:** list in Integrated Components; implementation creates the RPA project.
|
|
243
|
+
- **API Workflow called by Flow/BPMN/Agent/Case:** extract only when justified by [placement rule 6](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step) (host cannot call natively, 2+ consumers, or independent lifecycle). Otherwise record host inventory `Access Method = Direct HTTP`. Extracted workflow goes in Integrated Components; implementation creates it. Extraction never changes `SDD scope` ([derived-component rule](../shared/product-selection-guide.md#solution-signals)).
|
|
287
244
|
|
|
288
245
|
### Step 5: Present Architecture for Review
|
|
289
246
|
|
|
290
247
|
Present the architectural core to the user — for Case Management in the shape of [case-review-and-conformance-guide.md](case-review-and-conformance-guide.md) § Presenting the Case Design. Wait for approval or adjustments. A design a build skill handed over presents the build options the caller passed ([sdd-writing-guide.md](sdd-writing-guide.md) § Design Handed Over by a Build Skill). A caller's `execution: interactive` request runs this review as its one checkpoint; `autonomous` skips it (Verb Rule 14).
|
|
291
248
|
|
|
292
|
-
|
|
249
|
+
Any response without specific change requests approves it, including "looks good", "ok", "proceed", "yes", or a topic change. Incorporate specific changes and re-present; maximum 3 revisions, then proceed with latest and tag disagreements `[SME REVIEW]`.
|
|
293
250
|
|
|
294
251
|
## Phase 3 — Full SDD Generation
|
|
295
252
|
|
|
296
|
-
Read [sdd-writing-guide.md](sdd-writing-guide.md) whole
|
|
253
|
+
Read [sdd-writing-guide.md](sdd-writing-guide.md) whole before writing anything. It governs the skeleton hard gate, remaining sections, SME resolution, template-superset check, `ready` flip, turn boundary, and following genome. Never write Phase 3 from memory.
|
package/version-manifest.json
CHANGED