/ai-driven-development:windows-qa-engineerfrom ai-driven-development
Tests Windows 11 desktop apps (WinForms/WPF/UWP) using UFO UIA/Win32 automation MCP. Handles window discovery, control collection, UI interaction, assertions, and test reporting.
Ships in ai-driven-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are an AI-QA operator on the same interactive Windows desktop as the SUT. All automation uses UFO's real MCP tools (UICollector, HostUIExecutor, AppUIExecutor) -- no mocks.
The agent, UFO MCP process, and SUT must run in the same logged-in interactive Windows desktop session. SSH, WinRM, CI services, and Session 0 are headless even when they can start the SUT process; use an interactive console, RDP session, or a secured virtual desktop. Never expose RDP publicly merely to satisfy this requirement.
If UFO tools are NOT available as MCP tools, run setup before QA work:
python "<skill-dir>/scripts/skill_installer.py" --project-dir "<project-root>"success is true, restart the MCP clientFollow this sequence for every test run. Do not skip steps.
qa_refresh_and_list_windows()select_application_window(id, name) (HostUIExecutor)qa_capture_to_file(path) -- baseline screenshot written to a PNG file; open the file only when you need to look at itqa_refresh_controls(field_list=["label","control_text","control_type","automation_id","control_rect"])id + control_text / automation_id when the returned tree is usableclick_input(id, name), set_edit_text(id, name, text), keyboard_input(id, name, keys)texts(id, name) and compare against expectedqa_wait_for_text_contains(id, name, expected, timeout_s=10) over sleepscontrol_text from qa_refresh_controls instead of a screenshotqa_capture_to_file(path) after each major checkpointqa_capture_to_file (paths are on the Windows MCP server; transfer them separately when the client is remote)| Tool | Server | Purpose |
|---|---|---|
qa_refresh_and_list_windows | QA helper | Refresh + list all windows |
select_application_window | HostUIExecutor | Select SUT by id+name |
get_app_window_controls_info | UICollector | Raw control tree; use only when helper output is insufficient |
qa_capture_to_file | QA helper | Screenshot selected window into a PNG file; returns only the path |
capture_window_screenshot | UICollector | Screenshot as inline base64 (100+ KB of text in context); prefer qa_capture_to_file |
click_input | AppUIExecutor | Click control by id+name |
set_edit_text | AppUIExecutor | Type into control |
keyboard_input | AppUIExecutor | Send keystrokes |
texts | AppUIExecutor | Read control text |
qa_wait_for_text_contains | QA helper | Poll until text matches |
qa_refresh_controls | QA helper | Re-collect control tree with fail-soft parsing |
User says: "Test the login flow on MyApp"
1. qa_refresh_and_list_windows() → find "MyApp - Login"
2. select_application_window(id="3", name="MyApp - Login")
3. qa_capture_to_file(path="<tmp>/01-login.png") → baseline
4. qa_refresh_controls(field_list=["label","control_text","control_type","automation_id","control_rect"])
→ find username (id=12), password (id=14), login button (id=16)
5. set_edit_text(id="12", name="Username", text="testuser")
6. set_edit_text(id="14", name="Password", text="pass123")
7. click_input(id="16", name="Login")
8. qa_wait_for_text_contains(id="20", name="WelcomeLabel", expected_substring="Welcome", timeout_s=10)
→ {"ok": true, "text": "Welcome, testuser"}
9. qa_capture_to_file(path="<tmp>/02-welcome.png") → post-login
10. Report: PASS
No windows found: Re-check the SUT is running. Call qa_refresh_and_list_windows() again. If still empty, ask the user to confirm the app is open.
Empty control tree: The window may not have finished loading. Wait 2-3 seconds, then qa_refresh_controls(field_list=[...]). If still empty, try CONTROL_BACKEND=win32 (see setup.md). For large or legacy WinForms apps, avoid repeated full UIA subtree scans and use screenshot plus targeted coordinates.
Control not clickable / action fails: Re-collect controls (the tree may have changed after navigation). If the control lacks a usable id, fall back to coordinate-based action and document why.
MCP tools not found: Run auto-setup first (see Auto-Setup above). If auto-setup fails, direct the user to references/setup.md and run doctor.ps1.
See references/qa-workflows.md for more examples, locator strategy, and common patterns.
See references/setup.md for UFO installation, MCP configuration, and diagnostics.
README.md (opens in a new tab)assets/test-case.md (opens in a new tab)install.yaml (opens in a new tab)references/qa-workflows.md (opens in a new tab)references/setup.md (opens in a new tab)scripts/doctor.ps1 (opens in a new tab)scripts/interactive_smoke_test.py (opens in a new tab)scripts/skill_installer.py (opens in a new tab)scripts/ufo_windows_qa_mcp_server.py (opens in a new tab)tests/test_capture_to_file.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
22 skills in this plugin
/agentic-readinessAudit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode. Use when reviewing AGENTS.md or CLAUDE.md quality and discovery, instruction routing in monorepos or meta-repos, agent settings, MCP configuration, skills, subagents, context budgets, or repository organization for coding agents./bug-fix-protocol8-step disciplined bug-fix protocol that treats every production bug as two failures — the code defect itself and the testing system that allowed it through. Use when fixing a production bug, investigating a regression, writing a post-mortem, or auditing a missed defect. Triggers on "fix this bug", "production bug", "regression test", "post-mortem", "test gap", "why did the tests miss this"./clipboardCopy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text"./code-that-fits-in-your-headHeuristics for the shape of code inside one code base, after Mark Seemann's Code That Fits in Your Head (2021), updated for coding agents: units small enough to hold in mind, invariants in types, APIs hard to misuse, explicit effects. Use when writing or reviewing code, refactoring accidental complexity or a Big Ball of Mud, controlling technical debt in generated code, designing a type, an invariant or an in-code API, decomposing a long function or a tangled module, replacing a method or class side by side (Strangler), reading or measuring an unfamiliar code base, debugging a defect by hypothesis and bisection, setting up a maintainable code base, or turning a recurring finding into a lint or CI gate. Not for choosing, writing or repairing tests, TDD included (pragmatic-verification), choosing a design, state ownership, migration or rollout, or threat modelling (pragmatic-architecture), security audits, production incident response, performance profiling, or language and framework tutorials./coding-agents-managementManages MCP servers, lifecycle hooks, agent settings, permissions, rules, and plugins across Antigravity (App 2.0, IDE, CLI agy), Claude Code/Desktop, Codex CLI/App, OpenCode, Devin, Cursor, Grok Build, Gemini CLI, Qwen Code, Kimi Code, Hermes, Oh My Pi (omp), and VS Code. Use when adding or debugging MCP servers, automating tool hooks, configuring TOML/JSON/JSONC settings and sandboxes, or scaffolding, validating, and publishing plugins. Do not use for authoring, auditing, optimizing, or deduplicating standalone SKILL.md skills — use skills-management instead./fetch-url-as-markdownFetch a web page (URL) and return clean Markdown via local trafilatura, with Exa MCP as a fallback for JS-rendered or anti-bot pages. Use when the user asks to read, fetch, scrape, summarize, or quote a URL — prefer this over the built-in WebFetch tool. Don't use for binary files (PDFs, images, archives) or for fetching API/JSON endpoints.npx claudepluginhub codealive-ai/ai-driven-development --plugin ai-driven-developmentOther plugins' skills for the same job