feat(uipath-maestro-flow): port the bpmn reasoning-budget / working-style preamble - #3003
Conversation
Ports the preamble uipath-maestro-bpmn has carried since #2622, adapted to Flow: bpmn's "run the shipped script" becomes "run the `uip` verb", since the mechanical work here is `node configure`, `format`, and `registry get` rather than bundled scripts. Deep reasoning is pointed at the judgments no verb can make (node-type selection, topology, cross-node data flow). Where a numbered rule already owns the specifics, the bullet defers to it (#1 output filters, #9 CLI vs ad-hoc scripting, #10 three-turn batching) rather than restating them. Terse mode per .claude/rules/token-optimization.md; +15 lines, ~500 tokens on the always-loaded file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Claude finished @rockymadden's task in 1m 42s —— View job PR Review: feat(uipath-maestro-flow): add reasoning-budget / working-style preamble
SummaryAdds a Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | Unchanged, valid |
| E2E Tests | OK | No new testable behavior — preamble is agent guidance, not a new workflow |
| Skill Body | OK | Clean insertion, correct rule references, well-adapted from bpmn source |
| References & Assets | OK | No references changed |
| Repo Hygiene | OK | No secrets, no cross-skill deps, scoped to one file |
Issues for Manual Review
None found. The preamble's behavioral guidance (e.g., "A greenfield build is three turns, not ten") aligns with the existing Critical Rules and greenfield reference. Domain accuracy of the three deep-reasoning targets (node-type selection, topology, cross-node data flow) is a judgment call for the skill author — the eval data cited in the PR description supports these choices.
Conclusion
Clean, well-scoped PR. The preamble is correctly adapted from the bpmn precedent, all rule references resolve, flavor inheritance is safe, and prose follows the repo's token-optimization conventions. No issues found — approve.
…re candidates Three review points: - `registry get <node-type>` is not a runnable command. Fully qualify it as `uip maestro flow registry get <node-type>`, since that clause is presented as the ground truth to go run. The checker only scans fenced blocks, so inline prose does not catch this. - Drop the duplicated "three turns, not ten" count from the chaining bullet; rule #10 owns that number. Cite the rule instead. - Name the payloads worth capturing (`flow debug`, `job traces`, `registry get`) and show the redirect, outside the solution tree. Filtering covers "I know the fields"; capture covers "slow, side-effecting, or unrepeatable", so re-reading never means re-running. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
The change is a small, self-contained documentation update that aligns with existing Flow rules (#1/#9/#10) and established patterns already used elsewhere in the repository.
Pull request overview
Adds a short “Reasoning budget” and “Working style” preamble to the always-loaded uipath-maestro-flow skill contract, mirroring the successful pattern previously introduced in uipath-maestro-bpmn. The intent is to nudge agents toward CLI-first, batched execution habits that reduce redundant tool calls and output bloat during Flow authoring/operate/diagnose workflows.
Changes:
- Inserted
# Reasoning budgetsection to distinguish when to act mechanically viauipverbs vs when to spend deeper reasoning on Flow design judgments. - Inserted
# Working stylesection to reinforce whole-path planning, de-duplication of work, and output-size control (including redirect-to-file patterns for large/side-effecting outputs).
File summaries
| File | Description |
|---|---|
| skills/uipath-maestro-flow/SKILL.md | Adds a reasoning/working-style preamble above the main skill heading to promote CLI-first, batched, non-redundant execution habits. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
What
Adds the
# Reasoning budget/# Working stylepreamble above the# UiPath Flow Skillheading, porting whatuipath-maestro-bpmn/SKILL.mdhas carried since #2622.+15 lines on an always-loaded file, roughly 500 tokens. That is the cost side of the trade-off; the benefit is below.
Why
The numbered rules cover facts (shapes, flags, ownership). The failures the Flow evals keep surfacing are habits that no single rule owns:
skill-flow-slack-weather-pipelinefailure, addressed narrowly in fix(uipath-maestro-flow): stop re-running a completed flow debug to reshape output #3002).formatandnode configureemit.Each has a rule or an anti-pattern somewhere. None of them has a stated working style that makes the habit the default before the agent reaches the specific rule. That is what this preamble is for, and it is the same reason maestro-bpmn got one.
Adaptations from the bpmn original
uipverb." maestro-bpmn ships scripts; Flow's mechanical work is CLI verbs, so the bullet names them:node configuredetail andbindings[],formatlayout,registry getnode shapes. Same principle, correct mechanism.flow debug,job traces, andregistry getare the payloads worth redirecting to a file outside the solution tree. Filtering covers "I know the fields"; capture covers "slow, side-effecting, or unrepeatable", so re-reading never means re-running.> /tmp/*.jsonmatches existing precedent inuipath-admin,uipath-coded-apps, and Flow's owninline-agent/impl.md..claude/rules/token-optimization.md.Notes for review
uipverbs.check-uip-commands.shonly scans fenced code blocks, so inline commands in prose are unverified by it. Both inline commands here are fully qualified by hand..maintenance/check-all.sh9/9,npm run skills:validate,npm run skills:check-links.🤖 Generated with Claude Code