agentleFS
MicrosoftKnown publishermicrosoft/PowerToys/.github/skills/ui-tests-pipeline-ci/SKILL.md

ui-tests-pipeline-ci

Skill142k starsChanged 40 days agoMITView on GitHub

Microsoft FTE-only completion workflow for PowerToys UI-test implementation: automatically continue after successful local VM suites, commit and push scoped changes, queue CI, watch through completion, and stabilize through Azure CLI and Azure DevOps REST APIs. No separate push/run-CI request is needed for create, migrate, or stabilize tasks unless the user limited scope. Also use for explicit UITests CI, setup preflight, 401/403 diagnosis, build reuse, recordings/artifacts, and the three-run limit. Keywords: FTE, az, Azure CLI, Azure DevOps, pipeline, UI Test Automation, UITests CI, commit, push, local-to-CI handoff, buildNow, specificBuildId, uiTestModules, CI flake.

Trending

More talk lately.about the whole repository

Jan 2026: 5 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 4 mentionsMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 1 mentionDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the microsoft/PowerToys repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/PowerToys

The biggest 5 of 111 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 111

Talked about on GitHub, Bluesky and Hacker News (111 times).

On GitHub · 42

37 more on GitHub

On Bluesky · 41

36 more on Bluesky

On Hacker News · 28

23 more on Hacker News

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use this skill for local execution.

    line 35
  2. Very specific:

    Setup preflight first: Before the first Azure operation in a session, run Test-AzureDevOpsSetup.ps1 and require Ready=true with every …

    line 55
  3. Very specific:

    Local first: Do not queue CI until all required local runs are green, including full suites on the default and Constrained profiles for …

    line 59
  4. Very specific:

    One run per branch: Before queueing, discover active runs for UI Test Automation.

    line 65
  5. Distinctive:

    Evidence before edits: Read the failed result, logs, screenshot, and recording before forming a fix hypothesis.

    line 73
  6. Distinctive:

    Tracked runs remain unfinished work: After queueing, persist the build ID, branch, source SHA, attempt number, and parameters in …

    line 75
  7. Distinctive:

    Read and execute references/agentic-loop.md from top to bottom.

    line 99

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PowerToys UI Tests Pipeline CI

Queue and stabilize the manual UI Test Automation Azure DevOps pipeline only after the target UITest suite is proven locally. Use the existing Azure CLI sign-in plus Azure DevOps REST APIs for discovery, preview, queueing, status, timelines, logs, tests, artifacts, and result attachments.

[!IMPORTANT] Microsoft FTE only. Queueing requires authorized access to the target Azure DevOps project. Use shine-oss/PowerToys for current-source manual UI tests; its logs and artifacts are public. Use microsoft/Dart explicitly for signed-build testing or historical runs. External contributors stop after local validation. Never store credentials, tokens, or internal evidence in the repository or transfer Dart-only artifacts to OSS.

When to use

Invoke this skill automatically when an authorized Microsoft FTE's create, migrate, or stabilize UI tests task passes its full local VM matrix. That task includes scoped commit/push and CI validation; do not wait for an additional "run CI" request.

Also use it when an authorized Microsoft FTE asks to:

  • Queue PowerToys UITests in the manual UI Test Automation pipeline.
  • Validate Azure CLI and Azure DevOps readiness before queueing or after a 401/403 response.
  • Monitor a UITests pipeline run or summarize its stages, tests, and artifacts.
  • Iterate on a failure that passed the complete local VM matrix.
  • Reuse a prior successful product build while rebuilding only one or more UITest projects.
  • Find and share failed-test screenshots, logs, or recording links.

Do not use this skill for local execution. Complete ui-tests-local-vm first. Use ui-tests-migration for test implementation and stabilization.

Automatic handoff and scope

The three skills form one delivery workflow, not three independently complete tasks. Local success means ready for publication and CI, not done. Follow references/agentic-loop.md to review the diff, commit only task-owned files, push a feature branch without force, and record the exact remote SHA before queueing. Never include unrelated work or secrets.

Honor explicit local-only/no-push/no-CI instructions. A status question, read-only investigation, VM setup, or local execution of an existing suite does not authorize publishing changes. External contributors or failed access/push preflights stop at the exact blocker; do not bypass sign-in, permissions, protected branches, or local gates. For an end-to-end task, keep CI pending until verified terminal success or a documented blocker/three-run escalation.

Non-negotiable gates

  1. Setup preflight first. Before the first Azure operation in a session, run Test-AzureDevOpsSetup.ps1 and require Ready=true with every required check PASS. It performs reads and a non-mutating pipeline preview only. Re-run it after account changes or any 401/403 response.
  2. Local first. Do not queue CI until all required local runs are green, including full suites on the default and Constrained profiles for Windows 10 and Windows 11, plus the applicable architecture builds/guests required by ui-tests-local-vm.
  3. Pushed revision. Queue only a pushed branch. Record its exact commit and verify the queued run's sourceVersion matches it. Creating and pushing that scoped commit is part of the implementation workflow, not an optional user follow-up.
  4. One run per branch. Before queueing, discover active runs for UI Test Automation. Wait for or cancel a relevant superseded run on the target branch; runs on other branches may continue in parallel. Never cancel another branch's unrelated run.
  5. Always scope modules. uiTestModules must be non-empty and contain the exact current UITest project stem, for example [FancyZonesEditor.UITests.Next].
  6. Three-run ceiling. A CI stabilization sequence may queue at most three runs total. Keep an attempt ledger. If run 3 is not green, stop and ask the user for assistance. Also stop when three consecutive runs show no stabilization progress.
  7. Evidence before edits. Read the failed result, logs, screenshot, and recording before forming a fix hypothesis. Preserve assertions and classify infrastructure failures separately.
  8. Tracked runs remain unfinished work. After queueing, persist the build ID, branch, source SHA, attempt number, and parameters in session/task state. Run Wait-AzureDevOpsBuild.ps1 as one attached background command bound to those exact identifiers. It checks every 20 minutes by default. Wait for the completion notification instead of repeatedly reading the shell. Then verify the terminal result and continue stabilization without user input. Do not call task_complete while the build is nonterminal.

Pipeline targets

SettingValue
Default organization / projectshine-oss / PowerToys
Dart fallback organization / projectmicrosoft / Dart
Pipeline nameUI Test Automation
Known definition IDs36 in OSS, 161438 in Dart (discover by name each session)
Azure DevOps token resource499b84ac-1321-427f-aa17-267ca6975798
Required setup checkscripts/Test-AzureDevOpsSetup.ps1
Required completion waiterscripts/Wait-AzureDevOpsBuild.ps1
Platformsarm64, x64
Default booleansenableMsBuildCaching=false, useVSPreview=false, useLatestWebView2=false

Required workflow

Read and execute references/agentic-loop.md from top to bottom. It contains:

  • The required prompt-free setup preflight and bundled REST helper.
  • Local-signoff and active-run preflight.
  • buildNow versus specificBuildId decision rules.
  • Exact queue parameters and branch targeting.
  • Monitoring, failure evidence, direct Azure Test attachment downloads, and recording links.
  • Agent-owned completion watching, 20-minute polling, and client capability limits.
  • The three-run stabilization ledger and stop conditions.

Completion standard

A task is complete only when one of these is true:

  • The run is terminal Succeeded, all selected tests executed, and there are no failed, aborted, timed-out, error, or not-executed results.
  • For a monitor-only request, the run is terminal but failed, and the report includes the controlling failure, relevant logs, and available recording/artifact links.
  • For a stabilization request, a terminal failed run is intermediate work. Continue the agentic loop until a later attempt succeeds, a genuine blocker prevents the next verified attempt, or the three-run/no-progress ceiling is reached.
  • The three-run ceiling or no-progress rule was reached, and the agent stopped and asked the user for assistance with the full attempt ledger and evidence links.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.