feat: add uipath-assistant-diagnostics skill (diagnose Assistant diagnostic archives)#2108
feat: add uipath-assistant-diagnostics skill (diagnose Assistant diagnostic archives)#2108vasyop wants to merge 4 commits into
Conversation
…skill Port the diagnose-archive skill from UiPath/Assistant into this repo as uipath-assistant-diagnostics. Guides diagnosing an Assistant desktop diagnostic archive (ExportDiagnoseArchive / combined.log / Robot.log) to find the root cause of sign-in, orchestrator-connection, missing-process, and crash issues by anchoring on the symptom, scanning combined.log (Electron/IPC), correlating Robot.log (native .NET, timezone-aware), then drilling into source. - New skill: skills/uipath-assistant-diagnostics/SKILL.md - Register status (preview) in assets/skill-status.json; regenerate README table - Add CODEOWNERS entry - Tool-agnostic markdown; description within 1024-char cap; adds a ->uipath-troubleshoot redirect to disambiguate from platform-CLI investigation Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @vasyop's task in 2m 52s —— View job Reviewing PR #2108
SummaryAdds Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | ✅ OK | 797 chars, name matches, proper redirect |
| E2E Tests | Missing — justified by precedent but noted | |
| Skill Body | ✅ OK | Clear structure, strong Critical Rules, prescriptive workflow |
| References & Assets | ✅ OK | Single-file skill, no references needed |
| Repo Hygiene | ✅ OK | CODEOWNERS, status manifest, README all updated |
Issues for Manual Review
- Domain accuracy of log patterns. The skill references specific IPC routes (
/robot/interactiveConnectSignIn,/robot/connectToServer), .NET namespaces (UiPath.Service.*,UiPath.RobotJS.*), and repo paths (projects/electron-host/src/server/controllers/). These are internal UiPath details — an automated reviewer can't verify they're current. The PR author (@vasyop) or a domain expert should confirm these are accurate for the latest Assistant version. - Step 4
gh apicall. Line 81 (gh api repos/UiPath/Studio/contents/Robot/...) assumes a specific file path in the Studio repo. If this path doesn't exist or has moved, the agent will get a 404 and may be confused. Consider whether this example path is accurate.
Conclusion
Clean PR that follows repo conventions well. The SKILL.md is well-structured, prescriptive, and appropriately scoped. Two Low items (destructive git checkout in Step 4, redundant anti-patterns section) and one Medium item (missing tests, already flagged by CI). None are merge-blocking. Approve with optional Low fixes.
·
|
Consider adding smoke tests before merging. |
There was a problem hiding this comment.
@vasyop Could this be moved to be inside uipath-troubleshoot?
…bleshoot domain Per review on #2108 (move it inside `uipath-troubleshoot` rather than a standalone skill). Replaces the standalone `uipath-assistant-diagnostics` skill with a new product domain under the troubleshoot skill: - Add `references/products/assistant/` — overview, investigation_guide, summary, and 4 playbooks (sign-in, orchestrator-connect, process missing/unstartable, crash) in the repo's playbook-template format with greppable verbatim signals (combined.log, Robot.log, InteractiveConnectFlow, CloudConnectFlow, TaskCanceledException, /identity_, /discovery_, NU1101). - Register the domain in `references/summary.md` (Domain Catalog) and add an Assistant discoverability clause to the skill description/when_to_use (combined.log / Robot.log / ExportDiagnoseArchive), within the 1024 cap. - Remove the standalone skill: delete skills/uipath-assistant-diagnostics/, drop its skill-status.json entry, regenerate the README table, and move the CODEOWNERS entry to a products/assistant/ sub-path override (author + team). Also addresses the two Low review findings while porting: softens the destructive `git checkout develop && pull` to a read-only in-place grep, and drops the duplicated anti-patterns section (folded into investigation rules). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
@RaduAna-Maria good call — done in 3e557af. Folded it into
This also resolves the missing- |
…tant-diagnostics # Conflicts: # skills/uipath-troubleshoot/SKILL.md
The uipath-assistant-diagnostics content ships in the public UiPath/skills repo (external devs). Scrub references to private repos and internal env hosts: - overview.md: replace "Source repositories" (UiPath/Assistant, /Studio, /Orchestrator, /Identity.Service + internal source paths) with namespace/ IPC-route flow attribution and escalate-to-support guidance. - investigation_guide.md: reframe Step 4 from source drill-down (gh search/api against UiPath/Studio, local Studio checkout) into user-side-fix vs product-side-report-to-support; genericize env host. - assistant-crash.md: "drill into UiPath/Assistant / file upstream" -> capture stack and report to UiPath support. - sign-in-failure.md: genericize wrong-environment example host. - summary.md (x2): update descriptor text. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
What
Adds a new skill,
uipath-assistant-diagnostics, ported from theUiPath/Assistantrepo (where it lives as.claude/skills/diagnose-archive).The skill guides an agent through diagnosing a UiPath Assistant desktop diagnostic archive (
ExportDiagnoseArchivefolder,combined.log, orRobot.log) to find the root cause of a reported issue — sign-in failures, orchestrator connection problems, missing/unstartable processes, crashes.Why
Assistant support/triage currently relies on this skill living only in the Assistant repo. Moving it into
UiPath/skillsmakes it discoverable to every tool the plugin serves (Claude Code, Gemini CLI, Codex CLI, Cursor, Copilot) and to anyone diagnosing Assistant logs, without needing the Assistant repo checked out.Approach the skill teaches
combined.logfirst — the Electron/IPC side: which route was hit,resultfields, repeated clicks, status transitions.Robot.log— the native .NET Robot service; timezone-offset-aware; maps exception classes/namespaces to the failing flow and common root causes (network, OAuth, 401/403, NuGet).Conventions followed
descriptionfront-loads identity + unique signals (combined.log/Robot.log), stays within the 1024-char cap (797 chars), and adds a→uipath-troubleshootredirect to disambiguate from platform-CLI causal investigation.assets/skill-status.jsonas preview; README status table regenerated viascripts/check-skill-status.py --write-readme.CODEOWNERSentry added.check-skill-status.py(manifest + README),validate-skill-descriptions.sh(797 chars),check-skill-verbs.py(no staleuipverbs — the skill uses none).Tests
No
coder_evaltask added: this is a log-analysis skill (nouipCLI surface to drive/assert), which doesn't fit the CLI-orientedcoder_evalharness. This matches existing precedent —uipath-connector-builderand the stableuipath-feedbackalso ship without atests/tasks/directory. Happy to add an activation dataset if maintainers prefer.🤖 Generated with Claude Code