← ClaudeAtlas

autoxpp-ude-switchlisted

Quick-switch Visual Studio 2022 UDE between multiple online D365 F&O environments (different customers) on a single machine. Use when user says "switch UDE", "switch FO env", "change to customer X env", "connect to <url>", or wants to change which online Dataverse the current UDE is pointed at. Reads UDE list from C:\Users\[user]\.autoxpp\ude-configs.json. Handles the full Power Platform Tools connection flow (Tools menu → Reconnect prompt → Login → URL entry → Select Solution → Client assets download) via UIA, then retargets the custom metadata folder in the auto-generated XPP config so UDEs don't collide on the same metadata path.
xplusplusai/autoxpp-marketplace · ★ 0 · AI & Automation · score 53
Install: claude install-skill xplusplusai/autoxpp-marketplace
# UDE Switch — Quick Switch Between D365 F&O Online Environments ## TOP-PRIORITY BEHAVIORAL RULES 1. **Show VS / return-to-terminal discipline** (revised): **NEVER minimize VS** — minimizing leaves the user unable to restore the window. Bring VS to the foreground only for the brief moment UIA needs focus (`Show-Vs`), then **raise the agent's own terminal back over it** (`Bring-SelfToFront`; the legacy `Minimize-Vs` is now an alias for it and no longer minimizes). VS stays open behind the terminal. Before every VS-touching action: print "Showing VS to [action]", act, bring self to front, print result. 2. **Never skip Phase C retargeting.** VS auto-generates the new XPP config JSON with `ModelStoreFolder` defaulting to whichever path it last saw. Without retargeting, multiple UDEs share one custom metadata folder and builds pick up the wrong customer's code. 3. **Default download policy = `ask` in v1.** Do not auto-click No on "Client assets download" unless `--no-download` flag is set. Safety first; the download-skip optimization ships in v2 after validation. 4. **UIA Retry Before Escalate.** The most common cause of a single UIA failure is human mouse interference, not a broken VS state. When a UIA action fails (menu didn't open, button not found, click had no effect): wait 3 seconds, retry the same action (up to 3 attempts total). Only on 3rd consecutive failure: take a screenshot, diagnose, consider recovery. NEVER restart VS, kill processes, or reconnect on first UIA fa