[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69A7X486YXG5Z1NAHAXH6JX":3,"skill-same:01M69A7X486YXG5Z1NAHAXH6JX":129},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":17,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M69A7X486YXG5Z1NAHAXH6JX","power-automate-desktop-assessment","Power Automate Desktop 项目评估","Assess Power Automate Desktop and hybrid cloud\u002Fdesktop automation projects for maintainability, reliability, security, performance, troubleshooting readiness, scaling, and governance using current Microsoft guidance and evidence-based review practices.","依据当前 Microsoft 指导和基于证据的审查实践，评估 Power Automate Desktop 及混合云\u002F桌面自动化项目的可维护性、可靠性、安全性、性能、故障排查准备情况、扩展能力以及治理水平。","microsoft\u002Fcat-agent-skills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69A1AHE1MABT7GVP5143M5Z",107,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH2SFTXSGVVGVBMDTMWK","桌面自动化与界面操作","SCENARIO","使用场景",[31,32,33,34,35,10,36],"power automate desktop assessment","review","security","performance","automation","governance","2026-11-10 10:12:30",false,"---\nname: power-automate-desktop-assessment\ndescription: Assess Power Automate Desktop and hybrid cloud\u002Fdesktop automation projects for maintainability, reliability, security, performance, troubleshooting readiness, scaling, and governance using current Microsoft guidance and evidence-based review practices.\n---\n\n# Power Automate Desktop Assessment\n\nUse this skill when assessing, reviewing, or preparing recommendations for a Microsoft Power Automate Desktop (PAD) project, desktop flow, exported solution\u002Fpackage, cloud-flow orchestration around desktop flows, or related Power Platform automation artifacts. The goal is to produce an evidence-based assessment with findings, risks, severity, and actionable remediation.\n\n## Source references\n\nUse these references as the baseline for assessment criteria:\n\n### Microsoft Learn: Power Automate and enterprise guidance\n\n- Power Automate documentation hub: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002F\n- Power Automate guidance documentation: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002F\n- Power Automate planning guidance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fplanning\u002Fintroduction\n- Automation CoE guidance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fautomation-coe\u002Foverview\n- Automation Kit guidance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fautomation-kit\u002Foverview\u002Fintroduction\n- Application lifecycle management for automation projects: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fplanning\u002Fapplication-lifecycle-management\n\n### Microsoft Learn: cloud flow coding guidelines\n\n- Cloud flow coding guidelines overview: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002F\n- Naming conventions: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-consistent-naming-conventions\n- Solution-aware flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Funderstand-benefits-solution-aware-flows\n- Scopes: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fcreate-scopes\n- Child flows\u002Freuse: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fcreate-reusable-code\n- Parallel execution and concurrency: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fimplement-parallel-execution\n- Data operations: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-data-operations\n- Trigger optimization: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Foptimize-power-automate-triggers\n- Work only with relevant data: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fwork-with-relevant-data\n- Avoid anti-patterns: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Favoid-anti-patterns\n- Environment variables: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-environment-variables\n- Robust error handling: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Ferror-handling\n- Flow Checker: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fmanage-flows-flow-checker\n- Test cloud flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Ftest-cloud-flows\n- Troubleshoot cloud flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Ftroubleshoot-cloud-flows\n- Platform limits and throttling: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Funderstand-limits\n- Secure inputs\u002Foutputs\u002Ftriggers: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-secure-inputs-outputs-triggers\n- Generic configuration: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fkeep-flow-configuration-generic\n- Flow ownership\u002Faccess: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Funderstand-access-to-flows\n- Dataverse\u002FPurview auditing: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-auditing-dataverse\n- Prevent data exfiltration: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fprevent-data-exfiltration\n- Monitoring and alerting: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fmonitoring-and-alerting\n\n### Microsoft Learn: desktop flow coding guidelines\n\n- Desktop flow coding guidelines overview: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002F\n- Build readable and maintainable flow scripts: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Fbuild-readable-flow-scripts\n- Optimize flow performance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Foptimize-flow-performance\n- Secure your data: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Fsecure-your-data\n- Optimize end-to-end process performance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Foptimize-end-to-end-performance\n- Monitor and troubleshoot automation processes: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Fmonitor-automation\n\n### Microsoft Learn: desktop execution, diagnostics, and troubleshooting\n\n- Troubleshooter executable\u002Fapp: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Ftroubleshooter\n- Troubleshoot desktop flows runtime: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Ftroubleshoot\n- Run desktop flows best practices: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Frun-desktop-flows-best-practices\n- Run desktop flows concurrently: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Frun-desktop-flows-concurrently\n- Run unattended desktop flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Frun-unattended-desktop-flows\n- Machine groups: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fmanage-machine-groups\n- Hosted RPA overview: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fhosted-rpa-overview\n- Work queues: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fwork-queues\n- Desktop flow action logs configuration: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fconfigure-desktop-flow-logs\n- Static analysis for desktop flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fstatic-analysis\n- Cloud flow error troubleshooting: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Ftroubleshoot-flow-errors\n- Cloud flow error code reference: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Ferror-reference\n- Fix connection failures in cloud flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Ffix-connection-failures\n\nIf live documentation is available, check current Microsoft guidance before finalizing recommendations. Prioritize Microsoft Learn over community sources. If documentation cannot be fetched, proceed with the criteria below and state that the assessment is based on the embedded baseline.\n\n## Microsoft Learn discovery workflow\n\nWhen this skill is used, start by searching current Microsoft guidance with the documentation or web retrieval tools available to the agent before relying on the embedded baseline.\n\n1. Start with the official Microsoft Learn URLs listed in **Source references**.\n2. Search Microsoft Learn to find:\n   - the current version of each referenced article;\n   - child\u002Fsub articles under the cloud flow coding guidelines and desktop flow coding guidelines sections;\n   - related troubleshooting, limits, security, ALM, monitoring, and governance articles;\n   - newer pages that supersede or redirect from the listed URLs.\n3. Retrieve the relevant article content and extract assessment criteria, not generic documentation summaries.\n4. Prefer official Microsoft Learn results over community content.\n5. Record which Microsoft Learn articles were actually consulted in the assessment report appendix.\n6. If documentation retrieval is unavailable, use the embedded baseline and explicitly mark the documentation confidence as limited.\n7. Do not skip Microsoft Learn discovery because the baseline is already present. The baseline is a fallback and checklist, not a replacement for current Microsoft Learn research.\n\nSuggested discovery queries:\n\n- `Power Automate desktop flow coding guidelines build readable maintainable flow scripts`\n- `Power Automate desktop flow optimize flow performance wait timeout loops unused components`\n- `Power Automate secure desktop flows credentials sensitive variables DLP audit logs`\n- `Power Automate optimize end-to-end process performance machine groups hosted machine groups work queues`\n- `Power Automate monitor troubleshoot desktop automation action logs V2 Automation center`\n- `Power Automate run desktop flows best practices timeout distribute load machine groups`\n- `Power Automate cloud flow coding guidelines naming conventions concurrency trigger conditions anti-patterns limits`\n- `Power Automate troubleshoot cloud flow errors 401 403 404 429 500`\n\n## Assessment principles\n\n- Be evidence-based: cite the file, flow, action, variable, selector, screenshot, exported artifact, run history, action log, or configuration record that supports each finding.\n- Do not rubber-stamp. Flag real maintainability, reliability, security, correctness, performance, scaling, and governance issues directly.\n- Separate required fixes from optional improvements.\n- Prefer pragmatic remediation that fits low-code\u002FRPA delivery, not over-engineered software patterns.\n- Do not alter the user's automation unless explicitly asked. Assessment mode is read-only by default.\n- Treat exported flows, credentials, environment variables, logs, selectors, screenshots, run history, connection references, and machine details as potentially sensitive.\n- Clearly distinguish official Microsoft guidance from community or experience-based observations.\n\n## Inputs to inspect\n\nDepending on what the user provides, inspect as many of these as are available:\n\n- PAD desktop flow exports, solution ZIPs, extracted folders, scripts, UI selector definitions, images, dependencies, connection references, environment variables, machine\u002Fruntime configuration notes, run history, action logs, error logs, documentation, test evidence, cloud flows that trigger desktop flows, DLP policies, machine group\u002Fhosted machine group configuration, work queue configuration, and operational dashboards.\n- If a ZIP is provided, inspect its structure first, then extracted relevant metadata and flow definitions.\n- If only screenshots or notes are available, perform a partial assessment and clearly mark missing evidence.\n\n## Solution ZIP analysis patterns\n\nWhen assessing an exported Power Platform solution ZIP, extract and summarize these artifacts before writing findings:\n\n- `solution.xml`: solution unique name, version, managed\u002Funmanaged status, publisher, and package metadata.\n- `customizations.xml`: solution components, component counts, entity\u002Fprocess metadata, and signs of unmanaged\u002Fcustomized artifacts.\n- `Workflows\u002F*.json`: cloud flow definitions, triggers, actions, connection references, child-flow calls, desktop-flow calls, error handling, loops, scopes, variables, HTTP calls, waits, retry policies, and termination paths.\n- `environmentvariabledefinitions\u002F*\u002Fenvironmentvariabledefinition.xml`: schema name, display name, type, required flag, default value presence, and secret store flag.\n- `desktopflowbinaries\u002F*\u002Fdata\u002F*.json`: desktop flow manifest, engine version, module references, connector references, UI control repository, image repository, dependency file, screen\u002Fcontrol counts, and use of UI\u002FWeb\u002FFile\u002FSystem modules.\n\nFor workflow metrics, capture:\n\n- number of workflows and total actions;\n- top action types;\n- connectors and connection references used;\n- largest workflows by action count;\n- `Foreach` count and maximum nested `Foreach` depth;\n- scope count and `runAfter` non-success paths;\n- retry policy count;\n- `Terminate` actions;\n- HTTP actions;\n- wait\u002Fdelay actions;\n- child workflow \u002F desktop flow references;\n- potential sensitive keyword classes in definitions, without printing secret values.\n\nUse these signals to drive findings:\n\n- very large workflows or duplicated `OLD` \u002F `TEST` workflows retained in the solution;\n- nested loops or high loop counts that may create request, runtime, or throttling risk;\n- workflows with little or no structured error handling (`Scope`, non-success `runAfter`, `Terminate`, retry policy);\n- unmanaged solution packages intended for controlled environments;\n- environment variables with no defaults and no required flag where deployment validation depends on external configuration;\n- connection references for Outlook, OneDrive, Dataverse, filesystem, web content, or UI flows that need DLP\u002Faccess review;\n- desktop flow binaries with UI\u002FWeb automation modules that require selector robustness and runtime diagnostics review;\n- generic names, misspellings, or artifacts named `OLD`, `TEST`, `Unknown`, or similar that indicate maintainability or ALM hygiene issues.\n\n## Runtime contract for Cowork and Copilot Studio\n\nThe required workflow targets the common execution model of all declared platforms:\n\n- Python 3.10+ in an isolated Linux-style runtime with a writable `\u002Ftmp` directory.\n- Python standard library only for extraction, metrics, and the canonical report.\n- Input and output through host-provided file or attachment capabilities, not a desktop filesystem or sync client.\n- No PowerShell, Windows paths, desktop Office automation, process termination, Node.js, or host-specific skill-loader paths.\n\nThe skill includes four companion scripts under `scripts\u002F`:\n\n- `extract_solution.py` safely extracts a solution ZIP and rejects path traversal and oversized archives.\n- `analyze_solution.py` generates static metrics without emitting configuration or secret values.\n- `render_report.py` produces the canonical Markdown report.\n- `run_assessment.py` runs the complete extraction, analysis, and report pipeline.\n\nIf a host exposes Python through an action or tool rather than directly to the agent, configure that action to use the same command-line contract and pass host-managed input\u002Foutput files to it.\n\n## Recommended assessment automation workflow\n\n### 1. Stage the input\n\nUse the host's file or attachment capability to materialize the supplied solution ZIP as a read-only temporary file, for example:\n\n`\u002Ftmp\u002Finput\u002Fsolution.zip`\n\nDo not assume that a user-provided local path is visible inside the execution runtime.\n\n### 2. Run the bundled Python workflow\n\nFrom the skill package root, run:\n\n```bash\npython3 scripts\u002Frun_assessment.py \\\n  --zip \u002Ftmp\u002Finput\u002Fsolution.zip \\\n  --work-dir \u002Ftmp\u002Fpad-assessment\n```\n\nThe command creates a unique run directory and prints the exact paths. It produces:\n\n- `\u002Ftmp\u002Fpad-assessment\u002Frun-\u003Cid>\u002Foutput\u002Fassessment_metrics.json`\n- `\u002Ftmp\u002Fpad-assessment\u002Frun-\u003Cid>\u002Foutput\u002Fassessment_report.md`\n\nThe workflow:\n\n- preserves the original ZIP;\n- validates archive members before writing, extracts into a new staging directory, and rejects path traversal, excessive member counts, oversized files, and excessive total expansion;\n- parses `solution.xml`;\n- reads `environmentvariabledefinitions\u002F*\u002Fenvironmentvariabledefinition.xml`;\n- inspects `desktopflowbinaries\u002F*\u002Fdata\u002F*.json`;\n- walks all `Workflows\u002F*.json` recursively;\n- counts triggers, actions, action types, connectors, scopes, `Foreach`, maximum nested `Foreach` depth, non-success `runAfter` paths, retry policies, `Terminate`, HTTP-like actions, wait\u002Fdelay actions, and desktop\u002Fchild-flow references;\n- records only sensitive keyword classes or presence indicators, never secret values;\n- keeps source filenames for traceability and uses friendly names in the report.\n\nIndividual scripts can also be invoked directly:\n\n```bash\npython3 scripts\u002Fextract_solution.py \\\n  \u002Ftmp\u002Finput\u002Fsolution.zip \\\n  \u002Ftmp\u002Fpad-assessment\u002Fsolution_extract\n\npython3 scripts\u002Fanalyze_solution.py \\\n  --root \u002Ftmp\u002Fpad-assessment\u002Fsolution_extract \\\n  --output \u002Ftmp\u002Fpad-assessment\u002Foutput\u002Fassessment_metrics.json\n\npython3 scripts\u002Frender_report.py \\\n  --metrics \u002Ftmp\u002Fpad-assessment\u002Foutput\u002Fassessment_metrics.json \\\n  --output \u002Ftmp\u002Fpad-assessment\u002Foutput\u002Fassessment_report.md\n```\n\n### 3. Complete the evidence-based review\n\nTreat the generated report as a static-analysis draft. Verify its threshold-based findings against the extracted artifacts and add evidence from any supplied run history, action logs, selectors, machine configuration, DLP policies, test results, and operational documentation.\n\nDo not infer runtime behavior from package structure alone. Lower confidence and list missing evidence when runtime artifacts are unavailable.\n\n### 4. Create the executive dashboard\n\nThe portable default is a compact Markdown table using the metrics JSON. If the host provides a supported chart or image-generation capability, a PNG dashboard can also include:\n\n- KPI cards: cloud flows, total actions, desktop artifacts, high-priority recommendations, nested-loop flows, and ALM hygiene signals;\n- top workflows by action count;\n- recommendation hotspots by topic;\n- priority split;\n- short interpretation notes.\n\nImage generation is optional and must not block delivery of the Markdown report.\n\n### 5. Generate the assessment report\n\nMarkdown is the canonical cross-platform output. The report should be in English by default and organized as:\n\n1. Executive dashboard or summary metrics table.\n2. Executive summary.\n3. Priority recommendations grouped by artifact type:\n   - Cloud Flows\n   - Desktop Flow \u002F PAD\n   - Environment Variables\n   - Solution-level artifacts\n4. Complete recommendations grouped by artifact type.\n5. Recommended next steps.\n\nReport structure requirements:\n\n- The assessment body must be written in English unless the user explicitly requests another report language.\n- Organize recommendations by artifact type, not raw file order.\n- Use friendly artifact names in headings, followed by the artifact type, for example `Invoice Dispatcher [Cloud Flow]`.\n- Do not use raw JSON filenames as recommendation titles. Keep raw names only in the **Technical source** field for traceability.\n- Each recommendation must state what was observed, the target state, the remediation approach, the expected impact, and the priority.\n\nFor each recommendation, use professional headings:\n\n- **Technical source**\n- **Assessment area**\n- **Observed condition**\n- **Target state \u002F best practice**\n- **Recommended remediation**\n- **Expected business\u002Foperational impact**\n- **Priority**\n\n### 6. Optional richer document formats\n\nOnly create DOCX, PDF, or another rich format when the user requests it and the current host exposes a supported document-generation capability.\n\n- Use the host-native capability; do not require `docx-js`, Node.js, Microsoft Word, LibreOffice, a mounted OneDrive\u002FSharePoint folder, or another platform's skill loader.\n- Treat the Markdown report and metrics JSON as the source of truth.\n- If the requested format is unavailable, deliver Markdown and state the limitation explicitly.\n- Validate an optional rich document with the host's supported validator or preview capability before delivery. Never claim validation that did not run.\n\n### 7. Publish outputs safely\n\nUse explicit names:\n\n- `*_Assessment.md`\n- `*_Assessment_Metrics.json`\n- an equivalent extension only when an optional richer format was requested and generated.\n\nReturn or persist outputs with the host's file\u002Fattachment API. Do not assume a mounted cloud-drive path. Avoid in-place overwrite; when a destination already exists, use a new versioned name. Never terminate user applications or sync processes.\n\n## Common myths and verified facts\n\nThese are factually wrong claims that show up repeatedly in PAD assessments (and in partner-authored documents being reviewed). Always fact-check against current Microsoft Learn before accepting them as evidence — and call them out when they appear in the artifact under review.\n\n| Myth (frequently asserted)                                                            | Verified fact                                                                                                                                                                                                                                                                                                                                                                                                 | Authoritative reference                                                                           |\n| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| \"Automation Center captures error screenshots automatically\"                          | False. AC stores run history, status, recommendations, and queue health, but does **not** capture screenshots on error. The supported pattern is an explicit `Take screenshot` action wrapped by `On block error` or by exception-handling subflows.                                                                                                                                                          | Learn: _Troubleshoot failed unattended runs using screenshots_                                    |\n| \"Use the Azure Application Insights connector ('Send to App Insights') for telemetry\" | The Azure Application Insights connector is **deprecated and read-only** (it only ran Analytics queries; it never wrote telemetry). For Power Automate: enable App Insights integration at the **environment level** in Power Platform admin centre to capture cloud flows automatically; for desktop flow custom traces, use an HTTP action against the Application Insights ingestion endpoint.             | Learn: _Set up Application Insights for an environment_; Connectors reference (deprecated marker) |\n| \"PAD has a 'Get files in folder' action under the System group\"                       | The action lives under **Folder** group, not System.                                                                                                                                                                                                                                                                                                                                                          | Learn: _Folder actions reference_                                                                 |\n| \"PAD has a 'Generate random text or number' action\"                                   | The native action is **`Create random text`** under the **Text** group.                                                                                                                                                                                                                                                                                                                                       | Learn: _Text actions reference_                                                                   |\n| \"PAD has a 'Convert custom object to datatable' action\"                               | Does **not exist**. Variables actions provide `Convert JSON to custom object`, `Convert custom object to JSON`, and `Convert data table to text`. To produce a datatable from JSON, iterate the parsed custom object and use `Insert row into data table`, or perform the conversion in cloud-flow expressions.                                                                                               | Learn: _Variables actions_                                                                        |\n| \"Unattended fails because Entra tokens expire\"                                        | Most reports of this symptom are actually the **`Connect with sign-in` option being interactive-only** — it cannot reconnect a machine after sign-out without a logged-in session. Move to a self-hosted Machine Group with a service principal as connection identity. The `Entra token expiry` framing leads to wrong remediation (forced re-login scripts) instead of the correct one (service principal). | Learn: _Set up machines for desktop flows_; _Run desktop flows from a cloud flow_                 |\n| \"Logs V1 with custom retention is fine\"                                               | Logs V2 (Elastic Tables) supersedes V1. V2 provides **automatic data retention**, **near real-time updates**, and scales to GB of action logs per run. New environments default to V2; assessments should recommend V2 unless there is a hard incompatibility.                                                                                                                                                | Learn: _Desktop flow action logs configuration_                                                   |\n| \"Work Queues can be parallelised aggressively\"                                        | Learn-documented limit: keep dequeueing concurrency moderate — **up to five parallel dequeue operations per work queue is recommended**. For sub-second processing, Work Queues are not suitable; Learn explicitly recommends **Azure Service Bus Queues** as alternative.                                                                                                                                    | Learn: _Work queues — Known limitations_                                                          |\n| \"Cloud flow timeout caps desktop flow at 24 h \u002F 4 h \u002F pick a number\"                  | The `Run a flow built with Power Automate Desktop` action accepts an ISO 8601 timeout (e.g., `PT10M`, `PT1H`); Learn does **not** publish a maximum value for the action timeout. The only documented hard envelope is the cloud flow run duration limit (**30 days**).                                                                                                                                       | Learn: _Limits of automated, scheduled, and instant flows_                                        |\n| \"Custom assembly call counts and native action counts can be conflated\"               | Distinguish carefully when counting Work Queue usage: **native** calls use the `WORKQUEUES` module, while **custom assembly** calls use a project-specific namespace and method. A mix is common; report them in two separate columns (\"native hits\" vs \"assembly hits\"), never a single total.                                                                                                               | Robin script convention; assembly source\u002Fmanifest                                                 |\n\nWhen the artifact under review claims any of the left-column statements, treat it as a finding (Medium severity by default) and cite the corrected fact in the report.\n\n## Assessment workflow\n\n1. Understand context\n   - Identify business process, trigger\u002Forchestration model, attended vs unattended execution, target applications, expected volume, SLA, users, environments, failure impact, regulatory constraints, and support ownership.\n   - Identify the project structure and main desktop flows\u002Fsubflows\u002Fcloud flows.\n\n2. Inventory the automation\n   - List desktop flows, subflows, cloud orchestration flows, key actions, external systems, files\u002Ffolders, applications automated, credentials\u002Fsecrets touchpoints, connectors, connection references, environment variables, machine groups, work queues, and environment-specific assumptions.\n\n3. Review using the assessment dimensions below\n   - For every significant finding, capture evidence, impact, severity, and recommendation.\n   - Use severity labels: Critical, High, Medium, Low, Observation.\n\n4. Produce a report\n   - Start with executive summary and overall health rating.\n   - Include strengths, key risks, prioritized findings, remediation roadmap, and open questions.\n   - Include quick wins separately from structural remediation.\n\n5. Fact-check pass before finalize\n   - Treat the report as a draft until an explicit fact-check pass is done. Do **not** ship v1 without it; bugs in numerical claims and action-name mismatches damage credibility with technical reviewers far more than a missing recommendation.\n   - Audit chapter-by-chapter (or section-by-section). For each chapter, classify every assertable claim as verified \u002F ambiguous \u002F wrong, with a one-line reason and a Microsoft Learn citation for the non-trivial ones.\n   - Categories of claims to check exhaustively:\n     - **Native PAD action names** — exact group + action name as published in Learn (groups change: Folder != System; Text != Variables). Do not rely on memory.\n     - **Connector names and status** — many connectors are deprecated, renamed, or read-only. Always verify status flags on the connector reference page.\n     - **Numerical metrics** — counts, line numbers, callsite distributions must reconcile against the raw scripts and against the metrics JSON. Re-run greps if a number was edited.\n     - **Throughput math** — verify it is internally consistent (items\u002Fday x seconds\u002Fitem x machines should reconcile).\n     - **Platform limits** — five parallel dequeue ops per queue, sub-second -> Service Bus, 30-day cloud flow envelope, etc. Cite Learn verbatim.\n     - **Internal cross-references** — section X says \"see section Y\"; section Y must still exist and still say what X claims.\n     - **Carry-over consistency** — when a fix is applied in one chapter, search the whole document for the obsolete wording; the same myth often appears in 3-5 places (executive summary, scorecard rationale, top-N priorities, glossary, roadmap card).\n   - Present fact-check findings clearly and correct unsupported claims before finalizing the report.\n   - Apply each correction consistently across all language and audience variants, then rebuild and revalidate every output.\n\n## Assessment dimensions\n\n### 1. Correctness and functional fit\n\nCheck whether the automation appears to implement the intended process correctly.\n\n- Are business rules explicit and traceable?\n- Are edge cases handled: empty inputs, missing files, duplicate records, invalid formats, application timeouts, unexpected UI states, locked records, partial completion, stale reads, polling-trigger backlogs, and target resource changes?\n- Are there clear start\u002Fend states and idempotency considerations for reruns?\n- Are manual handoffs and exception paths defined?\n- Are assumptions about screen resolution, language, data formats, dates, paths, user profile, browser version, and machine state documented?\n- If cloud flows orchestrate desktop flows, do trigger behavior and trigger conditions match the intended processing window and avoid unintended reruns?\n\n### 2. Maintainability and readability\n\nAssess whether another maker\u002Fdeveloper can understand and safely change the flow.\n\n- Flow, subflow, action, variable, UI element, image, and parameter names should be descriptive and consistent.\n- For desktop variables, check whether camelCase, PascalCase, or underscores are used consistently, whether data type prefixes are used, and whether input\u002Foutput variables have prefixes in both variable name and external name.\n- For cloud flow components, check descriptive names, consistent camelCase\u002Funderscore style, and optional prefixes\u002Ftags such as `Trg_`, `Act_`, or `Var_` when this matches team standards.\n- Avoid generic names such as `var`, `temp`, `data`, `result`, `NewVar`, `Button`, `Trigger1`, or unexplained abbreviations.\n- Check whether naming conventions are documented in a style guide\u002Fwiki for the maker community.\n- Related actions should be grouped logically. For desktop flows, look for `Region` \u002F `End region` actions to group actions inside a subflow where useful.\n- Long flows should be decomposed into meaningful subflows or reusable child desktop flows.\n- Use comments at the beginning of `Main`, each subflow, and bug-fix sections to describe purpose, intended audience, related flows, and non-obvious design decisions.\n- Avoid excessive nesting, duplicated action blocks, many skipped actions inside large switch branches, and hidden dependencies between distant actions.\n- Dead, disabled, unused UI elements, and unused images should be justified or removed.\n\n### 3. Architecture, design, and reuse\n\nAssess whether the solution is structured for scale and supportability.\n\n- Clear separation between orchestration, business rules, UI automation, data access, logging, exception handling, and notification.\n- Reusable subflows for repeated behavior within a desktop flow.\n- Reusable child desktop flows for shared components across desktop flows, invoked via `Run desktop flow` where appropriate.\n- Shared UI element collections should be used when the same application UI elements are reused across flows, so UI changes can be fixed centrally.\n- Custom actions may be appropriate when repeated behavior needs a packaged reusable action.\n- Avoid tight coupling to a single machine, user profile, screen layout, locale, hard-coded path, or unmanaged machine state.\n- Use environment variables\u002Fconfiguration for environment-specific values where applicable.\n- Prefer supported APIs, cloud connectors, or application\u002Ffile-specific PAD actions over UI automation when reliable interfaces exist.\n- For desktop action choice, prefer in this order: cloud connector actions, application\u002Ffile-specific desktop actions, UI\u002Fbrowser automation, then image recognition\u002FOCR\u002Fmouse\u002Fkeyboard\u002Fclipboard. Consider scripting or HTTP actions for advanced cases when maintainable and governed.\n- Consider ALM: solution packaging, source control\u002Fexport process, version control, dev\u002Ftest\u002Fprod separation, deployment notes, ownership, and rollback plan.\n\n### 4. Error handling and resilience\n\nUse Microsoft guidance patterns where applicable.\n\n- Desktop flows should use action-level `On error` parameters, `On block error` for groups of actions, `Get last error` to capture diagnostic context, and `Stop flow` for graceful terminal failures.\n- Cloud flows should use `Run after` settings and scopes to implement try\u002Fcatch-style error paths, and `Terminate` where failure state must be explicit.\n- Errors should be classified as recoverable vs terminal.\n- Retry policies should be used for transient failures, with bounded retries and backoff where possible.\n- Failures should surface meaningful messages and preserve diagnostic context.\n- Logging should capture run ID\u002Fcorrelation ID, step, input reference, error details, last error, retry status, and outcome without leaking secrets.\n- Termination paths should make failure state explicit and prevent unsafe continuation after critical errors.\n- Avoid excessive custom logging\u002Factions that materially degrade performance or increase action\u002Frequest consumption.\n- If run history shows errors, distinguish save errors, trigger issues, action errors, logic issues, runtime connectivity issues, queue errors, and environment\u002Fmachine issues.\n\n### 5. Security, privacy, and access control\n\nAssess data protection, credentials, access, and exposure risk.\n\n- No passwords, tokens, keys, secrets, or personal data hard-coded in flows, scripts, comments, logs, paths, screenshots, sample files, connection strings, or notifications.\n- Prefer Power Automate credentials backed by Azure Key Vault or CyberArk for desktop-flow credentials.\n- In desktop flows, prefer `Get credential` for sensitive values instead of passing secrets as input variables.\n- Mark all sensitive input, output, and flow variables as sensitive. Do not copy sensitive values into non-sensitive variables, because sensitivity does not automatically propagate except for credential variable types.\n- For desktop flow connections, use dedicated credentials and machine mapping where machines require separate accounts.\n- Check whether MFA\u002Fcertificate-based authentication requirements are met where relevant.\n- Review access to desktop flows and related components: child desktop flows, work queues, credentials, UI element collections, custom actions, connection references, and connector actions.\n- Apply least privilege to owner\u002Fco-owner\u002Fuser roles and Dataverse security roles; verify whether broad Process table read access grants unintended co-owner visibility.\n- Sensitive input\u002Foutput files should be stored in approved locations with appropriate access controls and retention.\n- Logs and notifications should not expose confidential records unnecessarily.\n- Validate external data before using it in decisions, file paths, commands, scripts, browser input, UI automation, HTTP calls, or generated messages.\n- Review use of scripts, command execution, clipboard, email sending, file deletion, and external network calls.\n- Check DLP policies for desktop flow action groups, connector classification as Business\u002FNon-business\u002FBlocked, and individual connector action controls.\n- Check whether Dataverse auditing and\u002For Microsoft Purview auditing is enabled for automation-related tables where needed.\n\n### 6. Performance and runtime efficiency\n\nAssess runtime efficiency and operational scalability.\n\n- Avoid unnecessary UI interactions, repeated application launches, fixed sleeps, row-by-row processing, nested loops, and expensive selectors when batching or data actions are possible.\n- Prefer explicit `Wait for...` actions with timeouts over generic `Wait` actions.\n- Configure desktop flow timeout appropriately for expected duration.\n- Check loops for upper bounds, exit conditions, and large dataset risks.\n- For Excel\u002Fdata-heavy flows, prefer Data table actions, Database actions, Power Fx functions, or maintainable scripting rather than looping through thousands of records in UI actions.\n- Remove unused components, disabled actions, unused UI elements, and unused images to reduce size and save\u002Fload time.\n- Identify high-volume paths, repeated file\u002Fnetwork I\u002FO, unbounded reads, action overages, and connector\u002FAPI throttling risks.\n- Capture expected and observed runtime where available.\n\n### 7. Cloud-flow orchestration, concurrency, and API optimization\n\nUse this dimension when cloud flows trigger or coordinate desktop flows, or when the assessment includes cloud flows.\n\n- Use trigger conditions and OData filters so flows run only when necessary.\n- Understand polling vs webhook trigger behavior, especially backlog processing when a disabled polling-trigger flow is re-enabled.\n- Use trigger concurrency control carefully; default is often safest, and concurrency control is irreversible on an existing flow.\n- Use parallel branches only for independent tasks, especially tasks taking more than five seconds, and avoid overwhelming endpoints.\n- Use `Apply to each` concurrency for independent items only; tune degree of parallelism instead of assuming 50 is best.\n- Remember concurrency in nested `Apply to each` loops applies only at the highest level; inner loops remain sequential.\n- Avoid large switch branches with many skipped actions; call child flows from branches when this improves maintainability.\n- Process only relevant data: use trigger-level filters, Dataverse OData filters\u002Fselect columns\u002Frow count, SharePoint filter query\u002Ftop count\u002Flimit columns by view.\n- Avoid nested `For each` loops. Use OData expansion, Select, filtering, batching, bulk operations, or dataflows where appropriate.\n- Avoid using cloud flows as heavy ETL engines for large-scale transformations; consider Power Platform dataflows for ETL and cloud flows for orchestration.\n- Estimate API request usage: triggers\u002Factions, loops, retries, pagination, and failed actions count toward limits. Watch for 429 throttling.\n- Review platform limits: API request limits, connector throttling, Dataverse service protection limits, flow concurrency limits, action burst limits, and flow design limits.\n\n### 8. Execution scaling, workload distribution, and machine strategy\n\nAssess whether the automation can run at the required volume and SLA.\n\n- Desktop flows can queue for up to 12 hours while waiting for a machine; assess whether scheduling and capacity avoid timeout\u002Ffailure risk.\n- Spread load over time where possible if machine capacity is limited.\n- Use machine groups for identical machine configurations and dynamic workload distribution.\n- Use hosted machine groups when automatic scaling, Microsoft-managed maintenance, high availability, and reduced infrastructure overhead are appropriate.\n- In cloud flows, consider parallel branches of `Run a flow built with Power Automate for desktop` only when desktop flow instances can safely run concurrently across machines\u002Fmachine groups.\n- Anticipate unattended parallel run volume and confirm licensing\u002Fcapacity is adequate.\n- For long-running desktop flows, verify the cloud action timeout is configured to cover expected run duration.\n- Track CPU, memory, network, and app resource usage on machines that run flows.\n- Consider Windows session reuse only when compliance and machine state requirements allow it.\n- For attended scenarios, consider picture-in-picture when the user must keep working while automation runs.\n- Use work queues to decouple complex processes, store work items, control prioritization\u002Fexpiration\u002Fstatus, and support asynchronous scaling.\n\n### 9. UI automation robustness\n\nPAD-specific review focus.\n\n- Selectors should be stable and resilient; avoid brittle coordinates, image-only matching, text that changes frequently, or unvalidated mouse\u002Fkeyboard automation when better selectors or actions exist.\n- UI element names should be clear and organized, preferably via shared UI element collections for reused assets.\n- The flow should handle application startup, login\u002Fsession state, pop-ups, loading states, focus issues, unexpected dialogs, browser extension state, virtual desktop quirks, and reconnects.\n- Clipboard use should be minimized or guarded because it is shared mutable state.\n- Keyboard\u002Fmouse actions should be deterministic and validated with post-action checks.\n- Screenshots\u002Fimage recognition and OCR should have documented thresholds, fallback behavior, and justification when used instead of more reliable actions.\n\n### 10. Observability, diagnostics, and supportability\n\nAssess whether operations teams can support the automation.\n\n- Run history and business transaction status should be traceable.\n- Configure desktop flow action logs to V2 where appropriate. Logs V2 use Elastic Tables, provide retention, can scale to high-volume logs, and support near real-time\u002Fprogressive action logging.\n- Use `Log message` with Info\u002FWarning\u002FError severity to record progress and important details.\n- Use `Display message` for attended user interaction\u002Fdebugging where appropriate, knowing it is also logged.\n- Use custom logging to Dataverse, SharePoint, or files only when justified and governed.\n- Alerts should be actionable and routed to the right owner.\n- Include enough context for triage: process instance, record\u002Ffile identifier, failed step, error type, last error, retry status, machine\u002Fmachine group, and run URL where available.\n- Review Automation center reports: cloud flow activity, desktop flow activity, desktop flow runs, capacity utilization, recommendations, process map, execution logs, and performance metrics.\n- Review tenant-level Power Platform admin center Monitor page where enterprise-wide health is relevant.\n- For advanced reporting, consider Microsoft Fabric \u002F OneLake integration for automation-centric analytics.\n- There should be clear support documentation: prerequisites, recovery steps, restart\u002Frerun process, known issues, escalation contacts, and ownership.\n\n### 11. Troubleshooting readiness\n\nCheck whether the project and operating model can diagnose failures quickly.\n\n- Know whether the local Power Automate for desktop Troubleshooter can be run via Help > Troubleshooter or `PAD.Troubleshooter.exe`.\n- Troubleshooter diagnostic categories include connectivity, sign-in, Dataverse, UI\u002FWeb automation, picture-in-picture, installation issues, and connectivity for cloud runtime.\n- Check whether generated troubleshooter CSV reports and exported logs are captured for incident analysis when needed.\n- For desktop runtime connectivity, confirm `UIFlowService` can reach required services such as `*.dynamics.com`, `*.servicebus.windows.net`, `*.gateway.prod.island.powerapps.com`, and `*.api.powerplatform.com`.\n- If connectivity works in an interactive user session but fails via service, review `NT SERVICE\\UIFlowService` privileges, proxy rules, and service account configuration.\n- For virtual desktop\u002FRDP\u002FCitrix issues, verify correct PAD version, agent for virtual desktops, reconnect steps, and plugin registration if applicable.\n- Use verbose logging only to reproduce and capture issues, then turn it off because it can reduce performance and consume disk capacity.\n- For cloud failures, classify using save errors, trigger issues, action errors, logic issues, and common error codes: 401 auth, 403 permission\u002FDLP, 404 missing resource, 429 rate limit, 500 service\u002Fserver issue.\n- For expression errors, check missing branches, wrong data types, nulls, syntax, references to steps that did not execute, and use `coalesce()` or explicit empty checks where appropriate.\n\n### 12. Testing and verification\n\nAssess test quality and release readiness.\n\n- Evidence of unit-like subflow testing, end-to-end testing, negative\u002Ferror-path testing, regression testing, and operational smoke tests.\n- Test data should cover happy path, empty inputs, invalid inputs, boundary cases, duplicate records, unavailable apps, permission failures, throttling\u002Frate limits, machine unavailable, application update\u002FUI change, and rerun\u002Fidempotency scenarios.\n- Tests should verify business outcomes, not just that the flow ran.\n- Include deployment validation and smoke tests for each environment.\n- Review whether Flow Checker, Power CAT Toolkit, static analysis for desktop flows, or equivalent tooling was used where applicable.\n\n### 13. Governance, CoE, and compliance\n\nAssess alignment with Power Platform governance.\n\n- Ownership, service account model, environment strategy, DLP policy alignment, connector usage, licensing, machine group usage, and monitoring responsibilities should be clear.\n- Confirm solution packaging and ALM practices for enterprise maintainability.\n- Assess whether the automation fits the organization's CoE operating model, environment strategy, maker support model, monitoring\u002Freporting model, and adoption maturity.\n- Consider Automation Kit \u002F Automation Center for enterprise-scale monitoring, exception rules, DLP impact analysis, desktop flow audit logs, scheduler, and historical voluminous data monitoring.\n- Check whether the business impact, ROI, risk, and process mining insights are captured for continuous improvement.\n\n## Finding format\n\nUse this format for each finding:\n\n```markdown\n### [Severity] Short finding title\n\n**Evidence:** File\u002Fflow\u002Faction\u002Fsubflow\u002Flog\u002Frun\u002Fconfiguration reference and what was observed.\n**Impact:** Why it matters for correctness, maintenance, reliability, security, performance, scaling, or governance.\n**Recommendation:** Specific remediation steps.\n**Effort:** Low\u002FMedium\u002FHigh.\n**Owner:** Maker\u002FDeveloper\u002FAdmin\u002FBusiness owner\u002FOperations\u002FCoE, if inferable.\n```\n\nSeverity guidance:\n\n- Critical: likely data loss, security exposure, unsafe execution, material compliance breach, or automation cannot reliably run.\n- High: significant production reliability, maintainability, supportability, scalability, or compliance risk.\n- Medium: meaningful issue that should be fixed in the next planned iteration.\n- Low: minor improvement or localized maintainability issue.\n- Observation: informational context, good practice, positive finding, or future consideration.\n\n## Report template\n\n```markdown\n# Power Automate Desktop Assessment\n\n## Executive summary\n\n**Overall health:** Red\u002FAmber\u002FGreen\n**Assessment confidence:** High\u002FMedium\u002FLow\n**Scope reviewed:** ...\n**Key conclusion:** ...\n\n## Strengths\n\n- ...\n\n## Top risks\n\n| Priority | Severity | Area        | Finding | Recommended action |\n| -------- | -------- | ----------- | ------- | ------------------ |\n| 1        | High     | Reliability | ...     | ...                |\n\n## Detailed findings\n\n[Use finding format]\n\n## Remediation roadmap\n\n### Quick wins (0-2 weeks)\n\n- ...\n\n### Stabilization (2-6 weeks)\n\n- ...\n\n### Structural improvements (6+ weeks)\n\n- ...\n\n## Open questions and missing evidence\n\n- ...\n\n## Appendix: Inventory\n\n- Desktop flows\u002Fsubflows\u002Fcloud flows reviewed\n- External systems and dependencies\n- Machine\u002Fmachine group\u002Fhosted machine group\u002Fwork queue configuration reviewed\n- Sensitive-data touchpoints\n- Test\u002Flog\u002Frun history evidence reviewed\n- Relevant Microsoft Learn references used\n```\n\n## Assessment checklist\n\nUse this checklist internally and include it when useful:\n\n- [ ] Project inventory completed\n- [ ] Business process and run model understood\n- [ ] Cloud orchestration reviewed, if present\n- [ ] Naming and readability reviewed\n- [ ] Comments, regions, subflows, and reusable components reviewed\n- [ ] UI selector robustness reviewed\n- [ ] Error handling and retry behavior reviewed\n- [ ] Logging\u002Fmonitoring\u002Faction logs reviewed\n- [ ] Troubleshooter\u002Fdiagnostics readiness reviewed\n- [ ] Security, sensitive variables, credentials, access, and DLP reviewed\n- [ ] Performance\u002Fscalability\u002Fconcurrency reviewed\n- [ ] Machine groups\u002Fhosted machines\u002Fwork queues reviewed, if applicable\n- [ ] Platform limits\u002Fthrottling\u002FAPI request usage reviewed\n- [ ] ALM\u002Fgovernance\u002FCoE reviewed\n- [ ] Testing evidence reviewed\n- [ ] Findings prioritized with severity and effort\n\n## Output style\n\n- Write formal assessment reports in English by default, even when the conversation is in another language, unless the user explicitly requests a different report language. Short chat explanations can still match the user's language.\n- Be detailed yet specific. Avoid generic best-practice filler.\n- When evidence is missing, say so clearly and lower confidence rather than guessing.\n- When using non-official\u002Fcommunity sources, identify them as supplementary rather than authoritative.\n- If the user asks for an assessment report file, create the requested format only after confirming the intended deliverable type unless it is obvious from the request.\n","# Power Automate Desktop Assessment\n\nUse this skill when assessing, reviewing, or preparing recommendations for a Microsoft Power Automate Desktop (PAD) project, desktop flow, exported solution\u002Fpackage, cloud-flow orchestration around desktop flows, or related Power Platform automation artifacts. The goal is to produce an evidence-based assessment with findings, risks, severity, and actionable remediation.\n\n## Source references\n\nUse these references as the baseline for assessment criteria:\n\n### Microsoft Learn: Power Automate and enterprise guidance\n\n- Power Automate documentation hub: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002F\n- Power Automate guidance documentation: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002F\n- Power Automate planning guidance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fplanning\u002Fintroduction\n- Automation CoE guidance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fautomation-coe\u002Foverview\n- Automation Kit guidance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fautomation-kit\u002Foverview\u002Fintroduction\n- Application lifecycle management for automation projects: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fplanning\u002Fapplication-lifecycle-management\n\n### Microsoft Learn: cloud flow coding guidelines\n\n- Cloud flow coding guidelines overview: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002F\n- Naming conventions: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-consistent-naming-conventions\n- Solution-aware flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Funderstand-benefits-solution-aware-flows\n- Scopes: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fcreate-scopes\n- Child flows\u002Freuse: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fcreate-reusable-code\n- Parallel execution and concurrency: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fimplement-parallel-execution\n- Data operations: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-data-operations\n- Trigger optimization: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Foptimize-power-automate-triggers\n- Work only with relevant data: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fwork-with-relevant-data\n- Avoid anti-patterns: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Favoid-anti-patterns\n- Environment variables: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-environment-variables\n- Robust error handling: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Ferror-handling\n- Flow Checker: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fmanage-flows-flow-checker\n- Test cloud flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Ftest-cloud-flows\n- Troubleshoot cloud flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Ftroubleshoot-cloud-flows\n- Platform limits and throttling: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Funderstand-limits\n- Secure inputs\u002Foutputs\u002Ftriggers: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-secure-inputs-outputs-triggers\n- Generic configuration: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fkeep-flow-configuration-generic\n- Flow ownership\u002Faccess: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Funderstand-access-to-flows\n- Dataverse\u002FPurview auditing: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fuse-auditing-dataverse\n- Prevent data exfiltration: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fprevent-data-exfiltration\n- Monitoring and alerting: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fcoding-guidelines\u002Fmonitoring-and-alerting\n\n### Microsoft Learn: desktop flow coding guidelines\n\n- Desktop flow coding guidelines overview: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002F\n- Build readable and maintainable flow scripts: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Fbuild-readable-flow-scripts\n- Optimize flow performance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Foptimize-flow-performance\n- Secure your data: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Fsecure-your-data\n- Optimize end-to-end process performance: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Foptimize-end-to-end-performance\n- Monitor and troubleshoot automation processes: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fguidance\u002Fdesktop-flow-coding-guidelines\u002Fmonitor-automation\n\n### Microsoft Learn: desktop execution, diagnostics, and troubleshooting\n\n- Troubleshooter executable\u002Fapp: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Ftroubleshooter\n- Troubleshoot desktop flows runtime: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Ftroubleshoot\n- Run desktop flows best practices: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Frun-desktop-flows-best-practices\n- Run desktop flows concurrently: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Frun-desktop-flows-concurrently\n- Run unattended desktop flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Frun-unattended-desktop-flows\n- Machine groups: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fmanage-machine-groups\n- Hosted RPA overview: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fhosted-rpa-overview\n- Work queues: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fwork-queues\n- Desktop flow action logs configuration: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fconfigure-desktop-flow-logs\n- Static analysis for desktop flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Fdesktop-flows\u002Fstatic-analysis\n- Cloud flow error troubleshooting: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Ftroubleshoot-flow-errors\n- Cloud flow error code reference: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Ferror-reference\n- Fix connection failures in cloud flows: https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpower-automate\u002Ffix-connection-failures\n\nIf live documentation is available, check current Microsoft guidance before finalizing recommendations. Prioritize Microsoft Learn over community sources. If documentation cannot be fetched, proceed with the criteria below and state that the assessment is based on the embedded baseline.\n\n## Microsoft Learn discovery workflow\n\nWhen this skill is used, start by searching current Microsoft guidance with the documentation or web retrieval tools available to the agent before relying on the embedded baseline.\n\n1. Start with the official Microsoft Learn URLs listed in **Source references**.\n2. Search Microsoft Learn to find:\n   - the current version of each referenced article;\n   - child\u002Fsub articles under the cloud flow coding guidelines and desktop flow coding guidelines sections;\n   - related troubleshooting, limits, security, ALM, monitoring, and governance articles;\n   - newer pages that supersede or redirect from the listed URLs.\n3. Retrieve the relevant article content and extract assessment criteria, not generic documentation summaries.\n4. Prefer official Microsoft Learn results over community content.\n5. Record which Microsoft Learn articles were actually consulted in the assessment report appendix.\n6. If documentation retrieval is unavailable, use the embedded baseline and explicitly mark the documentation confidence as limited.\n7. Do not skip Microsoft Learn discovery because the baseline is already present. The baseline is a fallback and checklist, not a replacement for current Microsoft Learn research.\n\nSuggested discovery queries:\n\n- `Power Automate desktop flow coding guidelines build readable maintainable flow scripts`\n- `Power Automate desktop flow optimize flow performance wait timeout loops unused components`\n- `Power Automate secure desktop flows credentials sensitive variables DLP audit logs`\n- `Power Automate optimize end-to-end process performance machine groups hosted machine groups work queues`\n- `Power Automate monitor troubleshoot desktop automation action logs V2 Automation center`\n- `Power Automate run desktop flows best practices timeout distribute load machine groups`\n- `Power Automate cloud flow coding guidelines naming conventions concurrency trigger conditions anti-patterns limits`\n- `Power Automate troubleshoot cloud flow errors 401 403 404 429 500`\n\n## Assessment principles\n\n- Be evidence-based: cite the file, flow, action, variable, selector, screenshot, exported artifact, run history, action log, or configuration record that supports each finding.\n- Do not rubber-stamp. Flag real maintainability, reliability, security, correctness, performance, scaling, and governance issues directly.\n- Separate required fixes from optional improvements.\n- Prefer pragmatic remediation that fits low-code\u002FRPA delivery, not over-engineered software patterns.\n- Do not alter the user's automation unless explicitly asked. Assessment mode is read-only by default.\n- Treat exported flows, credentials, environment variables, logs, selectors, screenshots, run history, connection references, and machine details as potentially sensitive.\n- Clearly distinguish official Microsoft guidance from community or experience-based observations.\n\n## Inputs to inspect\n\nDepending on what the user provides, inspect as many of these as are available:\n\n- PAD desktop flow exports, solution ZIPs, extracted folders, scripts, UI selector definitions, images, dependencies, connection references, environment variables, machine\u002Fruntime configuration notes, run history, action logs, error logs, documentation, test evidence, cloud flows that trigger desktop flows, DLP policies, machine group\u002Fhosted machine group configuration, work queue configuration, and operational dashboards.\n- If a ZIP is provided, inspect its structure first, then extracted relevant metadata and flow definitions.\n- If only screenshots or notes are available, perform a partial assessment and clearly mark missing evidence.\n\n## Solution ZIP analysis patterns\n\nWhen assessing an exported Power Platform solution ZIP, extract and summarize these artifacts before writing findings:\n\n- `solution.xml`: solution unique name, version, managed\u002Funmanaged status, publisher, and package metadata.\n- `customizations.xml`: solution components, component counts, entity\u002Fprocess metadata, and signs of unmanaged\u002Fcustomized artifacts.\n- `Workflows\u002F*.json`: cloud flow definitions, triggers, actions, connection references, child-flow calls, desktop-flow calls, error handling, loops, scopes, variables, HTTP calls, waits, retry policies, and termination paths.\n- `environmentvariabledefinitions\u002F*\u002Fenvironmentvariabledefinition.xml`: schema name, display name, type, required flag, default value presence, and secret store flag.\n- `desktopflowbinaries\u002F*\u002Fdata\u002F*.json`: desktop flow manifest, engine version, module references, connector references, UI control repository, image repository, dependency file, screen\u002Fcontrol counts, and use of UI\u002FWeb\u002FFile\u002FSystem modules.\n\nFor workflow metrics, capture:\n\n- number of workflows and total actions;\n- top action types;\n- connectors and connection references used;\n- largest workflows by action count;\n- `Foreach` count and maximum nested `Foreach` depth;\n- scope count and `runAfter` non-success paths;\n- retry policy count;\n- `Terminate` actions;\n- HTTP actions;\n- wait\u002Fdelay actions;\n- child workflow \u002F desktop flow references;\n- potential sensitive keyword classes in definitions, without printing secret values.\n\nUse these signals to drive findings:\n\n- very large workflows or duplicated `OLD` \u002F `TEST` workflows retained in the solution;\n- nested loops or high loop counts that may create request, runtime, or throttling risk;\n- workflows with little or no structured error handling (`Scope`, non-success `runAfter`, `Terminate`, retry policy);\n- unmanaged solution packages intended for controlled environments;\n- environment variables with no defaults and no required flag where deployment validation depends on external configuration;\n- connection references for Outlook, OneDrive, Dataverse, filesystem, web content, or UI flows that need DLP\u002Faccess review;\n- desktop flow binaries with UI\u002FWeb automation modules that require selector robustness and runtime diagnostics review;\n- generic names, misspellings, or artifacts named `OLD`, `TEST`, `Unknown`, or similar that indicate maintainability or ALM hygiene issues.\n\n## Runtime contract for Cowork and Copilot Studio\n\nThe required workflow targets the common execution model of all declared platforms:\n\n- Python 3.10+ in an isolated Linux-style runtime with a writable `\u002Ftmp` directory.\n- Python standard library only for extraction, metrics, and the canonical report.\n- Input and output through host-provided file or attachment capabilities, not a desktop filesystem or sync client.\n- No PowerShell, Windows paths, desktop Office automation, process termination, Node.js, or host-specific skill-loader paths.\n\nThe skill includes four companion scripts under `scripts\u002F`:\n\n- `extract_solution.py` safely extracts a solution ZIP and rejects path traversal and oversized archives.\n- `analyze_solution.py` generates static metrics without emitting configuration or secret values.\n- `render_report.py` produces the canonical Markdown report.\n- `run_assessment.py` runs the complete extraction, analysis, and report pipeline.\n\nIf a host exposes Python through an action or tool rather than directly to the agent, configure that action to use the same command-line contract and pass host-managed input\u002Foutput files to it.\n\n## Recommended assessment automation workflow\n\n### 1. Stage the input\n\nUse the host's file or attachment capability to materialize the supplied solution ZIP as a read-only temporary file, for example:\n\n`\u002Ftmp\u002Finput\u002Fsolution.zip`\n\nDo not assume that a user-provided local path is visible inside the execution runtime.\n\n### 2. Run the bundled Python workflow\n\nFrom the skill package root, run:\n\n```bash\npython3 scripts\u002Frun_assessment.py \\\n  --zip \u002Ftmp\u002Finput\u002Fsolution.zip \\\n  --work-dir \u002Ftmp\u002Fpad-assessment\n```\n\nThe command creates a unique run directory and prints the exact paths. It produces:\n\n- `\u002Ftmp\u002Fpad-assessment\u002Frun-\u003Cid>\u002Foutput\u002Fassessment_metrics.json`\n- `\u002Ftmp\u002Fpad-assessment\u002Frun-\u003Cid>\u002Foutput\u002Fassessment_report.md`\n\nThe workflow:\n\n- preserves the original ZIP;\n- validates archive members before writing, extracts into a new staging directory, and rejects path traversal, excessive member counts, oversized files, and excessive total expansion;\n- parses `solution.xml`;\n- reads `environmentvariabledefinitions\u002F*\u002Fenvironmentvariabledefinition.xml`;\n- inspects `desktopflowbinaries\u002F*\u002Fdata\u002F*.json`;\n- walks all `Workflows\u002F*.json` recursively;\n- counts triggers, actions, action types, connectors, scopes, `Foreach`, maximum nested `Foreach` depth, non-success `runAfter` paths, retry policies, `Terminate`, HTTP-like actions, wait\u002Fdelay actions, and desktop\u002Fchild-flow references;\n- records only sensitive keyword classes or presence indicators, never secret values;\n- keeps source filenames for traceability and uses friendly names in the report.\n\nIndividual scripts can also be invoked directly:\n\n```bash\npython3 scripts\u002Fextract_solution.py \\\n  \u002Ftmp\u002Finput\u002Fsolution.zip \\\n  \u002Ftmp\u002Fpad-assessment\u002Fsolution_extract\n\npython3 scripts\u002Fanalyze_solution.py \\\n  --root \u002Ftmp\u002Fpad-assessment\u002Fsolution_extract \\\n  --output \u002Ftmp\u002Fpad-assessment\u002Foutput\u002Fassessment_metrics.json\n\npython3 scripts\u002Frender_report.py \\\n  --metrics \u002Ftmp\u002Fpad-assessment\u002Foutput\u002Fassessment_metrics.json \\\n  --output \u002Ftmp\u002Fpad-assessment\u002Foutput\u002Fassessment_report.md\n```\n\n### 3. Complete the evidence-based review\n\nTreat the generated report as a static-analysis draft. Verify its threshold-based findings against the extracted artifacts and add evidence from any supplied run history, action logs, selectors, machine configuration, DLP policies, test results, and operational documentation.\n\nDo not infer runtime behavior from package structure alone. Lower confidence and list missing evidence when runtime artifacts are unavailable.\n\n### 4. Create the executive dashboard\n\nThe portable default is a compact Markdown table using the metrics JSON. If the host provides a supported chart or image-generation capability, a PNG dashboard can also include:\n\n- KPI cards: cloud flows, total actions, desktop artifacts, high-priority recommendations, nested-loop flows, and ALM hygiene signals;\n- top workflows by action count;\n- recommendation hotspots by topic;\n- priority split;\n- short interpretation notes.\n\nImage generation is optional and must not block delivery of the Markdown report.\n\n### 5. Generate the assessment report\n\nMarkdown is the canonical cross-platform output. The report should be in English by default and organized as:\n\n1. Executive dashboard or summary metrics table.\n2. Executive summary.\n3. Priority recommendations grouped by artifact type:\n   - Cloud Flows\n   - Desktop Flow \u002F PAD\n   - Environment Variables\n   - Solution-level artifacts\n4. Complete recommendations grouped by artifact type.\n5. Recommended next steps.\n\nReport structure requirements:\n\n- The assessment body must be written in English unless the user explicitly requests another report language.\n- Organize recommendations by artifact type, not raw file order.\n- Use friendly artifact names in headings, followed by the artifact type, for example `Invoice Dispatcher [Cloud Flow]`.\n- Do not use raw JSON filenames as recommendation titles. Keep raw names only in the **Technical source** field for traceability.\n- Each recommendation must state what was observed, the target state, the remediation approach, the expected impact, and the priority.\n\nFor each recommendation, use professional headings:\n\n- **Technical source**\n- **Assessment area**\n- **Observed condition**\n- **Target state \u002F best practice**\n- **Recommended remediation**\n- **Expected business\u002Foperational impact**\n- **Priority**\n\n### 6. Optional richer document formats\n\nOnly create DOCX, PDF, or another rich format when the user requests it and the current host exposes a supported document-generation capability.\n\n- Use the host-native capability; do not require `docx-js`, Node.js, Microsoft Word, LibreOffice, a mounted OneDrive\u002FSharePoint folder, or another platform's skill loader.\n- Treat the Markdown report and metrics JSON as the source of truth.\n- If the requested format is unavailable, deliver Markdown and state the limitation explicitly.\n- Validate an optional rich document with the host's supported validator or preview capability before delivery. Never claim validation that did not run.\n\n### 7. Publish outputs safely\n\nUse explicit names:\n\n- `*_Assessment.md`\n- `*_Assessment_Metrics.json`\n- an equivalent extension only when an optional richer format was requested and generated.\n\nReturn or persist outputs with the host's file\u002Fattachment API. Do not assume a mounted cloud-drive path. Avoid in-place overwrite; when a destination already exists, use a new versioned name. Never terminate user applications or sync processes.\n\n## Common myths and verified facts\n\nThese are factually wrong claims that show up repeatedly in PAD assessments (and in partner-authored documents being reviewed). Always fact-check against current Microsoft Learn before accepting them as evidence — and call them out when they appear in the artifact under review.\n\n| Myth (frequently asserted)                                                            | Verified fact                                                                                                                                                                                                                                                                                                                                                                                                 | Authoritative reference                                                                           |\n| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |\n| \"Automation Center captures error screenshots automatically\"                          | False. AC stores run history, status, recommendations, and queue health, but does **not** capture screenshots on error. The supported pattern is an explicit `Take screenshot` action wrapped by `On block error` or by exception-handling subflows.                                                                                                                                                          | Learn: _Troubleshoot failed unattended runs using screenshots_                                    |\n| \"Use the Azure Application Insights connector ('Send to App Insights') for telemetry\" | The Azure Application Insights connector is **deprecated and read-only** (it only ran Analytics queries; it never wrote telemetry). For Power Automate: enable App Insights integration at the **environment level** in Power Platform admin centre to capture cloud flows automatically; for desktop flow custom traces, use an HTTP action against the Application Insights ingestion endpoint.             | Learn: _Set up Application Insights for an environment_; Connectors reference (deprecated marker) |\n| \"PAD has a 'Get files in folder' action under the System group\"                       | The action lives under **Folder** group, not System.                                                                                                                                                                                                                                                                                                                                                          | Learn: _Folder actions reference_                                                                 |\n| \"PAD has a 'Generate random text or number' action\"                                   | The native action is **`Create random text`** under the **Text** group.                                                                                                                                                                                                                                                                                                                                       | Learn: _Text actions reference_                                                                   |\n| \"PAD has a 'Convert custom object to datatable' action\"                               | Does **not exist**. Variables actions provide `Convert JSON to custom object`, `Convert custom object to JSON`, and `Convert data table to text`. To produce a datatable from JSON, iterate the parsed custom object and use `Insert row into data table`, or perform the conversion in cloud-flow expressions.                                                                                               | Learn: _Variables actions_                                                                        |\n| \"Unattended fails because Entra tokens expire\"                                        | Most reports of this symptom are actually the **`Connect with sign-in` option being interactive-only** — it cannot reconnect a machine after sign-out without a logged-in session. Move to a self-hosted Machine Group with a service principal as connection identity. The `Entra token expiry` framing leads to wrong remediation (forced re-login scripts) instead of the correct one (service principal). | Learn: _Set up machines for desktop flows_; _Run desktop flows from a cloud flow_                 |\n| \"Logs V1 with custom retention is fine\"                                               | Logs V2 (Elastic Tables) supersedes V1. V2 provides **automatic data retention**, **near real-time updates**, and scales to GB of action logs per run. New environments default to V2; assessments should recommend V2 unless there is a hard incompatibility.                                                                                                                                                | Learn: _Desktop flow action logs configuration_                                                   |\n| \"Work Queues can be parallelised aggressively\"                                        | Learn-documented limit: keep dequeueing concurrency moderate — **up to five parallel dequeue operations per work queue is recommended**. For sub-second processing, Work Queues are not suitable; Learn explicitly recommends **Azure Service Bus Queues** as alternative.                                                                                                                                    | Learn: _Work queues — Known limitations_                                                          |\n| \"Cloud flow timeout caps desktop flow at 24 h \u002F 4 h \u002F pick a number\"                  | The `Run a flow built with Power Automate Desktop` action accepts an ISO 8601 timeout (e.g., `PT10M`, `PT1H`); Learn does **not** publish a maximum value for the action timeout. The only documented hard envelope is the cloud flow run duration limit (**30 days**).                                                                                                                                       | Learn: _Limits of automated, scheduled, and instant flows_                                        |\n| \"Custom assembly call counts and native action counts can be conflated\"               | Distinguish carefully when counting Work Queue usage: **native** calls use the `WORKQUEUES` module, while **custom assembly** calls use a project-specific namespace and method. A mix is common; report them in two separate columns (\"native hits\" vs \"assembly hits\"), never a single total.                                                                                                               | Robin script convention; assembly source\u002Fmanifest                                                 |\n\nWhen the artifact under review claims any of the left-column statements, treat it as a finding (Medium severity by default) and cite the corrected fact in the report.\n\n## Assessment workflow\n\n1. Understand context\n   - Identify business process, trigger\u002Forchestration model, attended vs unattended execution, target applications, expected volume, SLA, users, environments, failure impact, regulatory constraints, and support ownership.\n   - Identify the project structure and main desktop flows\u002Fsubflows\u002Fcloud flows.\n\n2. Inventory the automation\n   - List desktop flows, subflows, cloud orchestration flows, key actions, external systems, files\u002Ffolders, applications automated, credentials\u002Fsecrets touchpoints, connectors, connection references, environment variables, machine groups, work queues, and environment-specific assumptions.\n\n3. Review using the assessment dimensions below\n   - For every significant finding, capture evidence, impact, severity, and recommendation.\n   - Use severity labels: Critical, High, Medium, Low, Observation.\n\n4. Produce a report\n   - Start with executive summary and overall health rating.\n   - Include strengths, key risks, prioritized findings, remediation roadmap, and open questions.\n   - Include quick wins separately from structural remediation.\n\n5. Fact-check pass before finalize\n   - Treat the report as a draft until an explicit fact-check pass is done. Do **not** ship v1 without it; bugs in numerical claims and action-name mismatches damage credibility with technical reviewers far more than a missing recommendation.\n   - Audit chapter-by-chapter (or section-by-section). For each chapter, classify every assertable claim as verified \u002F ambiguous \u002F wrong, with a one-line reason and a Microsoft Learn citation for the non-trivial ones.\n   - Categories of claims to check exhaustively:\n     - **Native PAD action names** — exact group + action name as published in Learn (groups change: Folder != System; Text != Variables). Do not rely on memory.\n     - **Connector names and status** — many connectors are deprecated, renamed, or read-only. Always verify status flags on the connector reference page.\n     - **Numerical metrics** — counts, line numbers, callsite distributions must reconcile against the raw scripts and against the metrics JSON. Re-run greps if a number was edited.\n     - **Throughput math** — verify it is internally consistent (items\u002Fday x seconds\u002Fitem x machines should reconcile).\n     - **Platform limits** — five parallel dequeue ops per queue, sub-second -> Service Bus, 30-day cloud flow envelope, etc. Cite Learn verbatim.\n     - **Internal cross-references** — section X says \"see section Y\"; section Y must still exist and still say what X claims.\n     - **Carry-over consistency** — when a fix is applied in one chapter, search the whole document for the obsolete wording; the same myth often appears in 3-5 places (executive summary, scorecard rationale, top-N priorities, glossary, roadmap card).\n   - Present fact-check findings clearly and correct unsupported claims before finalizing the report.\n   - Apply each correction consistently across all language and audience variants, then rebuild and revalidate every output.\n\n## Assessment dimensions\n\n### 1. Correctness and functional fit\n\nCheck whether the automation appears to implement the intended process correctly.\n\n- Are business rules explicit and traceable?\n- Are edge cases handled: empty inputs, missing files, duplicate records, invalid formats, application timeouts, unexpected UI states, locked records, partial completion, stale reads, polling-trigger backlogs, and target resource changes?\n- Are there clear start\u002Fend states and idempotency considerations for reruns?\n- Are manual handoffs and exception paths defined?\n- Are assumptions about screen resolution, language, data formats, dates, paths, user profile, browser version, and machine state documented?\n- If cloud flows orchestrate desktop flows, do trigger behavior and trigger conditions match the intended processing window and avoid unintended reruns?\n\n### 2. Maintainability and readability\n\nAssess whether another maker\u002Fdeveloper can understand and safely change the flow.\n\n- Flow, subflow, action, variable, UI element, image, and parameter names should be descriptive and consistent.\n- For desktop variables, check whether camelCase, PascalCase, or underscores are used consistently, whether data type prefixes are used, and whether input\u002Foutput variables have prefixes in both variable name and external name.\n- For cloud flow components, check descriptive names, consistent camelCase\u002Funderscore style, and optional prefixes\u002Ftags such as `Trg_`, `Act_`, or `Var_` when this matches team standards.\n- Avoid generic names such as `var`, `temp`, `data`, `result`, `NewVar`, `Button`, `Trigger1`, or unexplained abbreviations.\n- Check whether naming conventions are documented in a style guide\u002Fwiki for the maker community.\n- Related actions should be grouped logically. For desktop flows, look for `Region` \u002F `End region` actions to group actions inside a subflow where useful.\n- Long flows should be decomposed into meaningful subflows or reusable child desktop flows.\n- Use comments at the beginning of `Main`, each subflow, and bug-fix sections to describe purpose, intended audience, related flows, and non-obvious design decisions.\n- Avoid excessive nesting, duplicated action blocks, many skipped actions inside large switch branches, and hidden dependencies between distant actions.\n- Dead, disabled, unused UI elements, and unused images should be justified or removed.\n\n### 3. Architecture, design, and reuse\n\nAssess whether the solution is structured for scale and supportability.\n\n- Clear separation between orchestration, business rules, UI automation, data access, logging, exception handling, and notification.\n- Reusable subflows for repeated behavior within a desktop flow.\n- Reusable child desktop flows for shared components across desktop flows, invoked via `Run desktop flow` where appropriate.\n- Shared UI element collections should be used when the same application UI elements are reused across flows, so UI changes can be fixed centrally.\n- Custom actions may be appropriate when repeated behavior needs a packaged reusable action.\n- Avoid tight coupling to a single machine, user profile, screen layout, locale, hard-coded path, or unmanaged machine state.\n- Use environment variables\u002Fconfiguration for environment-specific values where applicable.\n- Prefer supported APIs, cloud connectors, or application\u002Ffile-specific PAD actions over UI automation when reliable interfaces exist.\n- For desktop action choice, prefer in this order: cloud connector actions, application\u002Ffile-specific desktop actions, UI\u002Fbrowser automation, then image recognition\u002FOCR\u002Fmouse\u002Fkeyboard\u002Fclipboard. Consider scripting or HTTP actions for advanced cases when maintainable and governed.\n- Consider ALM: solution packaging, source control\u002Fexport process, version control, dev\u002Ftest\u002Fprod separation, deployment notes, ownership, and rollback plan.\n\n### 4. Error handling and resilience\n\nUse Microsoft guidance patterns where applicable.\n\n- Desktop flows should use action-level `On error` parameters, `On block error` for groups of actions, `Get last error` to capture diagnostic context, and `Stop flow` for graceful terminal failures.\n- Cloud flows should use `Run after` settings and scopes to implement try\u002Fcatch-style error paths, and `Terminate` where failure state must be explicit.\n- Errors should be classified as recoverable vs terminal.\n- Retry policies should be used for transient failures, with bounded retries and backoff where possible.\n- Failures should surface meaningful messages and preserve diagnostic context.\n- Logging should capture run ID\u002Fcorrelation ID, step, input reference, error details, last error, retry status, and outcome without leaking secrets.\n- Termination paths should make failure state explicit and prevent unsafe continuation after critical errors.\n- Avoid excessive custom logging\u002Factions that materially degrade performance or increase action\u002Frequest consumption.\n- If run history shows errors, distinguish save errors, trigger issues, action errors, logic issues, runtime connectivity issues, queue errors, and environment\u002Fmachine issues.\n\n### 5. Security, privacy, and access control\n\nAssess data protection, credentials, access, and exposure risk.\n\n- No passwords, tokens, keys, secrets, or personal data hard-coded in flows, scripts, comments, logs, paths, screenshots, sample files, connection strings, or notifications.\n- Prefer Power Automate credentials backed by Azure Key Vault or CyberArk for desktop-flow credentials.\n- In desktop flows, prefer `Get credential` for sensitive values instead of passing secrets as input variables.\n- Mark all sensitive input, output, and flow variables as sensitive. Do not copy sensitive values into non-sensitive variables, because sensitivity does not automatically propagate except for credential variable types.\n- For desktop flow connections, use dedicated credentials and machine mapping where machines require separate accounts.\n- Check whether MFA\u002Fcertificate-based authentication requirements are met where relevant.\n- Review access to desktop flows and related components: child desktop flows, work queues, credentials, UI element collections, custom actions, connection references, and connector actions.\n- Apply least privilege to owner\u002Fco-owner\u002Fuser roles and Dataverse security roles; verify whether broad Process table read access grants unintended co-owner visibility.\n- Sensitive input\u002Foutput files should be stored in approved locations with appropriate access controls and retention.\n- Logs and notifications should not expose confidential records unnecessarily.\n- Validate external data before using it in decisions, file paths, commands, scripts, browser input, UI automation, HTTP calls, or generated messages.\n- Review use of scripts, command execution, clipboard, email sending, file deletion, and external network calls.\n- Check DLP policies for desktop flow action groups, connector classification as Business\u002FNon-business\u002FBlocked, and individual connector action controls.\n- Check whether Dataverse auditing and\u002For Microsoft Purview auditing is enabled for automation-related tables where needed.\n\n### 6. Performance and runtime efficiency\n\nAssess runtime efficiency and operational scalability.\n\n- Avoid unnecessary UI interactions, repeated application launches, fixed sleeps, row-by-row processing, nested loops, and expensive selectors when batching or data actions are possible.\n- Prefer explicit `Wait for...` actions with timeouts over generic `Wait` actions.\n- Configure desktop flow timeout appropriately for expected duration.\n- Check loops for upper bounds, exit conditions, and large dataset risks.\n- For Excel\u002Fdata-heavy flows, prefer Data table actions, Database actions, Power Fx functions, or maintainable scripting rather than looping through thousands of records in UI actions.\n- Remove unused components, disabled actions, unused UI elements, and unused images to reduce size and save\u002Fload time.\n- Identify high-volume paths, repeated file\u002Fnetwork I\u002FO, unbounded reads, action overages, and connector\u002FAPI throttling risks.\n- Capture expected and observed runtime where available.\n\n### 7. Cloud-flow orchestration, concurrency, and API optimization\n\nUse this dimension when cloud flows trigger or coordinate desktop flows, or when the assessment includes cloud flows.\n\n- Use trigger conditions and OData filters so flows run only when necessary.\n- Understand polling vs webhook trigger behavior, especially backlog processing when a disabled polling-trigger flow is re-enabled.\n- Use trigger concurrency control carefully; default is often safest, and concurrency control is irreversible on an existing flow.\n- Use parallel branches only for independent tasks, especially tasks taking more than five seconds, and avoid overwhelming endpoints.\n- Use `Apply to each` concurrency for independent items only; tune degree of parallelism instead of assuming 50 is best.\n- Remember concurrency in nested `Apply to each` loops applies only at the highest level; inner loops remain sequential.\n- Avoid large switch branches with many skipped actions; call child flows from branches when this improves maintainability.\n- Process only relevant data: use trigger-level filters, Dataverse OData filters\u002Fselect columns\u002Frow count, SharePoint filter query\u002Ftop count\u002Flimit columns by view.\n- Avoid nested `For each` loops. Use OData expansion, Select, filtering, batching, bulk operations, or dataflows where appropriate.\n- Avoid using cloud flows as heavy ETL engines for large-scale transformations; consider Power Platform dataflows for ETL and cloud flows for orchestration.\n- Estimate API request usage: triggers\u002Factions, loops, retries, pagination, and failed actions count toward limits. Watch for 429 throttling.\n- Review platform limits: API request limits, connector throttling, Dataverse service protection limits, flow concurrency limits, action burst limits, and flow design limits.\n\n### 8. Execution scaling, workload distribution, and machine strategy\n\nAssess whether the automation can run at the required volume and SLA.\n\n- Desktop flows can queue for up to 12 hours while waiting for a machine; assess whether scheduling and capacity avoid timeout\u002Ffailure risk.\n- Spread load over time where possible if machine capacity is limited.\n- Use machine groups for identical machine configurations and dynamic workload distribution.\n- Use hosted machine groups when automatic scaling, Microsoft-managed maintenance, high availability, and reduced infrastructure overhead are appropriate.\n- In cloud flows, consider parallel branches of `Run a flow built with Power Automate for desktop` only when desktop flow instances can safely run concurrently across machines\u002Fmachine groups.\n- Anticipate unattended parallel run volume and confirm licensing\u002Fcapacity is adequate.\n- For long-running desktop flows, verify the cloud action timeout is configured to cover expected run duration.\n- Track CPU, memory, network, and app resource usage on machines that run flows.\n- Consider Windows session reuse only when compliance and machine state requirements allow it.\n- For attended scenarios, consider picture-in-picture when the user must keep working while automation runs.\n- Use work queues to decouple complex processes, store work items, control prioritization\u002Fexpiration\u002Fstatus, and support asynchronous scaling.\n\n### 9. UI automation robustness\n\nPAD-specific review focus.\n\n- Selectors should be stable and resilient; avoid brittle coordinates, image-only matching, text that changes frequently, or unvalidated mouse\u002Fkeyboard automation when better selectors or actions exist.\n- UI element names should be clear and organized, preferably via shared UI element collections for reused assets.\n- The flow should handle application startup, login\u002Fsession state, pop-ups, loading states, focus issues, unexpected dialogs, browser extension state, virtual desktop quirks, and reconnects.\n- Clipboard use should be minimized or guarded because it is shared mutable state.\n- Keyboard\u002Fmouse actions should be deterministic and validated with post-action checks.\n- Screenshots\u002Fimage recognition and OCR should have documented thresholds, fallback behavior, and justification when used instead of more reliable actions.\n\n### 10. Observability, diagnostics, and supportability\n\nAssess whether operations teams can support the automation.\n\n- Run history and business transaction status should be traceable.\n- Configure desktop flow action logs to V2 where appropriate. Logs V2 use Elastic Tables, provide retention, can scale to high-volume logs, and support near real-time\u002Fprogressive action logging.\n- Use `Log message` with Info\u002FWarning\u002FError severity to record progress and important details.\n- Use `Display message` for attended user interaction\u002Fdebugging where appropriate, knowing it is also logged.\n- Use custom logging to Dataverse, SharePoint, or files only when justified and governed.\n- Alerts should be actionable and routed to the right owner.\n- Include enough context for triage: process instance, record\u002Ffile identifier, failed step, error type, last error, retry status, machine\u002Fmachine group, and run URL where available.\n- Review Automation center reports: cloud flow activity, desktop flow activity, desktop flow runs, capacity utilization, recommendations, process map, execution logs, and performance metrics.\n- Review tenant-level Power Platform admin center Monitor page where enterprise-wide health is relevant.\n- For advanced reporting, consider Microsoft Fabric \u002F OneLake integration for automation-centric analytics.\n- There should be clear support documentation: prerequisites, recovery steps, restart\u002Frerun process, known issues, escalation contacts, and ownership.\n\n### 11. Troubleshooting readiness\n\nCheck whether the project and operating model can diagnose failures quickly.\n\n- Know whether the local Power Automate for desktop Troubleshooter can be run via Help > Troubleshooter or `PAD.Troubleshooter.exe`.\n- Troubleshooter diagnostic categories include connectivity, sign-in, Dataverse, UI\u002FWeb automation, picture-in-picture, installation issues, and connectivity for cloud runtime.\n- Check whether generated troubleshooter CSV reports and exported logs are captured for incident analysis when needed.\n- For desktop runtime connectivity, confirm `UIFlowService` can reach required services such as `*.dynamics.com`, `*.servicebus.windows.net`, `*.gateway.prod.island.powerapps.com`, and `*.api.powerplatform.com`.\n- If connectivity works in an interactive user session but fails via service, review `NT SERVICE\\UIFlowService` privileges, proxy rules, and service account configuration.\n- For virtual desktop\u002FRDP\u002FCitrix issues, verify correct PAD version, agent for virtual desktops, reconnect steps, and plugin registration if applicable.\n- Use verbose logging only to reproduce and capture issues, then turn it off because it can reduce performance and consume disk capacity.\n- For cloud failures, classify using save errors, trigger issues, action errors, logic issues, and common error codes: 401 auth, 403 permission\u002FDLP, 404 missing resource, 429 rate limit, 500 service\u002Fserver issue.\n- For expression errors, check missing branches, wrong data types, nulls, syntax, references to steps that did not execute, and use `coalesce()` or explicit empty checks where appropriate.\n\n### 12. Testing and verification\n\nAssess test quality and release readiness.\n\n- Evidence of unit-like subflow testing, end-to-end testing, negative\u002Ferror-path testing, regression testing, and operational smoke tests.\n- Test data should cover happy path, empty inputs, invalid inputs, boundary cases, duplicate records, unavailable apps, permission failures, throttling\u002Frate limits, machine unavailable, application update\u002FUI change, and rerun\u002Fidempotency scenarios.\n- Tests should verify business outcomes, not just that the flow ran.\n- Include deployment validation and smoke tests for each environment.\n- Review whether Flow Checker, Power CAT Toolkit, static analysis for desktop flows, or equivalent tooling was used where applicable.\n\n### 13. Governance, CoE, and compliance\n\nAssess alignment with Power Platform governance.\n\n- Ownership, service account model, environment strategy, DLP policy alignment, connector usage, licensing, machine group usage, and monitoring responsibilities should be clear.\n- Confirm solution packaging and ALM practices for enterprise maintainability.\n- Assess whether the automation fits the organization's CoE operating model, environment strategy, maker support model, monitoring\u002Freporting model, and adoption maturity.\n- Consider Automation Kit \u002F Automation Center for enterprise-scale monitoring, exception rules, DLP impact analysis, desktop flow audit logs, scheduler, and historical voluminous data monitoring.\n- Check whether the business impact, ROI, risk, and process mining insights are captured for continuous improvement.\n\n## Finding format\n\nUse this format for each finding:\n\n```markdown\n### [Severity] Short finding title\n\n**Evidence:** File\u002Fflow\u002Faction\u002Fsubflow\u002Flog\u002Frun\u002Fconfiguration reference and what was observed.\n**Impact:** Why it matters for correctness, maintenance, reliability, security, performance, scaling, or governance.\n**Recommendation:** Specific remediation steps.\n**Effort:** Low\u002FMedium\u002FHigh.\n**Owner:** Maker\u002FDeveloper\u002FAdmin\u002FBusiness owner\u002FOperations\u002FCoE, if inferable.\n```\n\nSeverity guidance:\n\n- Critical: likely data loss, security exposure, unsafe execution, material compliance breach, or automation cannot reliably run.\n- High: significant production reliability, maintainability, supportability, scalability, or compliance risk.\n- Medium: meaningful issue that should be fixed in the next planned iteration.\n- Low: minor improvement or localized maintainability issue.\n- Observation: informational context, good practice, positive finding, or future consideration.\n\n## Report template\n\n```markdown\n# Power Automate Desktop Assessment\n\n## Executive summary\n\n**Overall health:** Red\u002FAmber\u002FGreen\n**Assessment confidence:** High\u002FMedium\u002FLow\n**Scope reviewed:** ...\n**Key conclusion:** ...\n\n## Strengths\n\n- ...\n\n## Top risks\n\n| Priority | Severity | Area        | Finding | Recommended action |\n| -------- | -------- | ----------- | ------- | ------------------ |\n| 1        | High     | Reliability | ...     | ...                |\n\n## Detailed findings\n\n[Use finding format]\n\n## Remediation roadmap\n\n### Quick wins (0-2 weeks)\n\n- ...\n\n### Stabilization (2-6 weeks)\n\n- ...\n\n### Structural improvements (6+ weeks)\n\n- ...\n\n## Open questions and missing evidence\n\n- ...\n\n## Appendix: Inventory\n\n- Desktop flows\u002Fsubflows\u002Fcloud flows reviewed\n- External systems and dependencies\n- Machine\u002Fmachine group\u002Fhosted machine group\u002Fwork queue configuration reviewed\n- Sensitive-data touchpoints\n- Test\u002Flog\u002Frun history evidence reviewed\n- Relevant Microsoft Learn references used\n```\n\n## Assessment checklist\n\nUse this checklist internally and include it when useful:\n\n- [ ] Project inventory completed\n- [ ] Business process and run model understood\n- [ ] Cloud orchestration reviewed, if present\n- [ ] Naming and readability reviewed\n- [ ] Comments, regions, subflows, and reusable components reviewed\n- [ ] UI selector robustness reviewed\n- [ ] Error handling and retry behavior reviewed\n- [ ] Logging\u002Fmonitoring\u002Faction logs reviewed\n- [ ] Troubleshooter\u002Fdiagnostics readiness reviewed\n- [ ] Security, sensitive variables, credentials, access, and DLP reviewed\n- [ ] Performance\u002Fscalability\u002Fconcurrency reviewed\n- [ ] Machine groups\u002Fhosted machines\u002Fwork queues reviewed, if applicable\n- [ ] Platform limits\u002Fthrottling\u002FAPI request usage reviewed\n- [ ] ALM\u002Fgovernance\u002FCoE reviewed\n- [ ] Testing evidence reviewed\n- [ ] Findings prioritized with severity and effort\n\n## Output style\n\n- Write formal assessment reports in English by default, even when the conversation is in another language, unless the user explicitly requests a different report language. Short chat explanations can still match the user's language.\n- Be detailed yet specific. Avoid generic best-practice filler.\n- When evidence is missing, say so clearly and lower confidence rather than guessing.\n- When using non-official\u002Fcommunity sources, identify them as supplementary rather than authoritative.\n- If the user asks for an assessment report file, create the requested format only after confirming the intended deliverable type unless it is obvious from the request.\n",{"name":5,"description":7},"main","3678d23ad8fb8d098c428302a98044ac9514d5a1","submissions\u002Fpower-automate-desktop-assessment",120,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 09:35:08",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add microsoft\u002Fcat-agent-skills --skill power-automate-desktop-assessment",{"tool":57,"command":58},"bunx","bunx skills add microsoft\u002Fcat-agent-skills --skill power-automate-desktop-assessment",{"tool":60,"command":61},"pnpm","pnpm dlx skills add microsoft\u002Fcat-agent-skills --skill power-automate-desktop-assessment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002FSKILL.md",true,[65,71,75,79,83,87,91,95,99,103,107,111,117,121,125],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"metadata.json","REFERENCE","参考文档",489,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002Fmetadata.json",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"README.md",1843,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002FREADME.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fattribution.md",1903,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fattribution.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fbi_engine.md",7439,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fbi_engine.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fcapacity_planning_editions.md",7148,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fcapacity_planning_editions.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fmaterialized_views.md",5022,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fmaterialized_views.md",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fsearch_indexes.md",4151,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fsearch_indexes.md",{"path":96,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fsql_optimization.md",24066,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fsql_optimization.md",{"path":100,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fstorage_billing_models.md",6381,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fstorage_billing_models.md",{"path":104,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fstorage_lifecycle_management.md",2274,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Fstorage_lifecycle_management.md",{"path":108,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Ftable_partitioning_clustering.md",15714,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fbigquery-optimization\u002Freferences\u002Ftable_partitioning_clustering.md",{"path":112,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Fanalyze_solution.py","SCRIPT","脚本",17127,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002Fscripts\u002Fanalyze_solution.py",{"path":118,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fextract_solution.py",5918,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002Fscripts\u002Fextract_solution.py",{"path":122,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Frender_report.py",21932,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002Fscripts\u002Frender_report.py",{"path":126,"resourceType":113,"resourceTypeDesc":114,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Frun_assessment.py",2714,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fpower-automate-desktop-assessment\u002Fscripts\u002Frun_assessment.py",[130,138,146,154,162,170],{"skillNo":131,"name":132,"nameZh":17,"description":133,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":137},"01M78JRK2QFNHAYH9EMNP4E3PE","work-iq-sphere","Build or refresh a personal \"My Work IQ\" visual from the signed-in user's own Microsoft 365 work (mail, calendar, Teams chats and the OneDrive and SharePoint files they worked on, with Week, Month and 3 months views from one read of their data, about all their work or one customer, programme or topic they name) as an interactive 3D sphere (self-contained HTML), a customer-safe copy and a matching Microsoft-style PowerPoint slide. Every build is a fresh, evidence-checked analysis of that one person's own data. Use when someone says \"build my Work IQ sphere\", \"show my Work IQ\", \"refresh\" or \"update my Work IQ\", \"make my Work IQ slide\", \"visualise my work graph\", \"show me the Work IQ sphere demo\", or wants to show customers what Work IQ (context, memory, skills) means using their own work. Do NOT use for generic decks, Work IQ product or licensing questions with no personal data, or anyone else's, team or org-wide analytics.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fwork-iq-sphere\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":139,"name":140,"nameZh":17,"description":141,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":142,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":137},"01M78JR9DRC9079YGA8WFGGGA5","severity-recordability","Runs the deterministic local v2 draft classifier; reporting\u002Fdeadlines remain undetermined. Use for \"explain blocked reporting determination\", \"is this recordable\", \"classify this incident\", \"what severity is this\", or \"is this OSHA reportable\". Do NOT use for source intake, history retrieval or routing — use incident-intake, ehs-knowledge-retrieve or routing-notify. No diagnosis or operational decision; EHS REVIEW REQUIRED.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fseverity-recordability\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fseverity-recordability\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":17,"description":149,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":150,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":137},"01M78JR22JZZVK3PJ4YE0F9EFQ","routing-notify","Computes proposed investigators and unsent recipients from validated local classification, history and governance. Use for \"propose unsent incident recipients\", \"who investigates this\", \"route this incident\", \"who do we notify\", or \"start the OSHA clock\" (only to explain the blocked clock). Do NOT use for classification or terminal drafting — use severity-recordability or incident-writeup. Never sends, files or starts a clock; EHS REVIEW REQUIRED.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Frouting-notify\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Frouting-notify\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":17,"description":157,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":137},"01M78JQTG1XJARH3X8GSJ1PFAR","incident-writeup","Revalidates and recomputes every terminal v2 hop, then renders a null-aware local Markdown draft and blank RCA template. Use for \"prepare an evidence-grounded incident draft\", \"draft the incident summary\", \"write up the incident\", \"give me the RCA template\", or \"prepare the OSHA writeup\". Do NOT use for intake, classification or routing — use incident-intake, severity-recordability or routing-notify. No operational actions; EHS REVIEW REQUIRED.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fincident-writeup\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fincident-writeup\u002FSKILL.md",[],[],{"skillNo":163,"name":164,"nameZh":17,"description":165,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":166,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":137},"01M78JQK60RHC14GNJNN120AS5","incident-intake","Preserves cited authorized user-supplied incident files, including real incidents, as v2 inputs for human-reviewed drafts only. Use for \"preserve conflicting incident accounts\", \"intake this incident\", \"process this safety report\", \"extract incident facts\", or \"intake this near miss\". Do NOT use for classification, routing or terminal drafting — use severity-recordability, routing-notify or incident-writeup respectively. No live retrieval or official determinations; EHS REVIEW REQUIRED.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fincident-intake\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fincident-intake\u002FSKILL.md",[],[],{"skillNo":171,"name":172,"nameZh":17,"description":173,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":174,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":137},"01M78JQD6J780DZZQABNVFERNV","ehs-knowledge-retrieve","Attaches cited local OSHA, ISO summaries, JHA and policies and computes supplied-log history. Use for \"find cited local safety evidence\", \"pull the OSHA criteria\", \"get the JHA\", \"attach local EHS evidence\", or \"have we had this incident before\". Do NOT use for incident intake, recordability decisions or drafting — use incident-intake, severity-recordability or incident-writeup. No live retrieval; EHS REVIEW REQUIRED.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fehs-knowledge-retrieve\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcat-agent-skills\u002Fblob\u002Fmain\u002Fsubmissions\u002Fsafety-incident-assist\u002Fehs-knowledge-retrieve\u002FSKILL.md",[],[]]