Repository navigation
feat(skills): uno-testing waits with until, scrolls with uno_app_scroll_into_view, sizes with uno_app_resize - #204
Merged
Conversation
…ll_into_view, sizes with uno_app_resize The App MCP gains three things agents scripted from outside the app (unoplatform/uno.app-mcp#214): find_elements' `until` (wait for a state in one call), uno_app_scroll_into_view (reach a list item, loading further pages), and uno_app_resize / uno_app_start(windowSize) (client size in logical pixels). - SKILL.md: step 1 passes windowSize; step 5 reaches off-screen list items with scroll_into_view; step 6 adds `until` and says NOT met is the answer; the transient-state rule waits with until absent/visible; a window-size rule replaces startup code and scripts; an older App MCP falls back through availability.md. - references/ui.md: the two tools, windowSize and until in the catalogue and parameter blocks. - references/INTERACTION-PATTERNS.md: scrolling a list to an item; waits and loading states in one call. - references/assertions.md: list counts and the wait patterns become one call each (replaces the snapshot-retry loops). - references/availability.md: the fallbacks for an App MCP without them (today's Sdk pins). - references/VISUAL-TREE-GUIDE.md: fresh handles from scroll_into_view, counts from {items=N}. Conflicts in intent with #201's "Size the window from inside the app" rule, which becomes the fallback. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01V9n3Hvt7p8mFxL7WAT2dBM
kazo0
force-pushed
the
dev/sb/uno-testing-loop-tools
branch
from
October 21, 2026 22:57
d48d2e4 to
9476cf9
Compare
kazo0
marked this pull request as ready for review
October 21, 2026 22:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): unoplatform/uno.app-mcp#210, unoplatform/uno.app-mcp#211, unoplatform/uno.app-mcp#212
PR Type
What is the current behavior?
uno-testinghas no way to wait for a state, reach an unloaded list item or size the window through the App MCP, because the App MCP had none: agents polluno_app_find_elements, scroll with keys or coordinate clicks, and size the window with startup code or UI Automation scripts.unoplatform/uno.app-mcp#214 adds them:
uno_app_find_elements(until): wait in one call for a state (items>=40,absent,enabled,selected,text contains …); the count line endsmetorNOT met.uno_app_scroll_into_view(list, index | itemText): scrolls a list to an item, loading further pages, and returns the item with a fresh handle and bounds.uno_app_resize(width, height)anduno_app_start(windowSize): the client size in logical pixels.What is the new behavior?
SKILL.md: step 1 passeswindowSize; step 5 reaches off-screen list items withscroll_into_view; step 6 addsuntiland says NOT met is the answer; the transient-state rule waits withuntil: "absent"(and"visible"to capture a loading view); a new window-size rule replaces startup code and scripts; an older App MCP points to the fallbacks.references/availability.md: what to do with an App MCP that lacks them. Uno.UI.App.Mcp 2.0.0-dev.16 (the tag on unoplatform/uno.app-mcp#214's merge, on NuGet) is the first with them; the newest Uno.Sdk, 7.0.0-dev.87, still pins 2.0.0-dev.15 (dev.81 pins dev.14), so today's projects take the fallbacks until an Sdk picks dev.16 up. The startup-code resize from fix(skills): uno-testing sizes the window from inside the app, keeps Hot Reload'sappliedas the verdict, saves screenshots without returning them #201 is the fallback there.references/ui.md: the two tools,windowSizeanduntilin the catalogue and parameter blocks.references/INTERACTION-PATTERNS.md: "Scrolling a List to an Item"; waits and loading states in one call.references/assertions.md: list counts and the wait patterns become one call each, replacing the snapshot-retry loops (the file is smaller).references/VISUAL-TREE-GUIDE.md: fresh handles fromscroll_into_view, counts from{items=N}.skills/mirrors the plugin copy;Test-Plugin.ps1passes (its size warnings are on files already over budget).SKILL.mdgrows by about 2,000 characters.PR Checklist
Additional Information
Draft until unoplatform/uno.app-mcp#214 ships in an App MCP package an Uno.Sdk pins. Until then the new text only applies through the "Older App MCP" fallback.
Conflicts with #201, which makes the startup-code resize the default rule. Whichever lands second should keep it as the fallback in
availability.md, as this PR does.One catalog session with the #214 App MCP and the unchanged skills (
6869add, Uno.Sdk 7.0.0-dev.81, unoplatform/privatetools/skill-abruncatalog-20261021-152050), against the six Uno sessions of unoplatform/private#1214 and #1215 on the same pins:uno_app_pointer_click--data=slowstartsThe agent found all three from the tool descriptions alone (11
uno_app_resize, 18scroll_into_view, 18until), which is the part of #201's finding ("the resizer is written while building, beforeuno-testingloads") a tool answers better than a rule. The loading screenshot still took five starts:windowSizewas applied after the connection, which #214 now fixes by applying it as the window opens. One session is a smoke test; the comparison worth reporting is a 3-session run of this branch againstmainwith the same App MCP.🤖 Generated with Claude Code
https://claude.ai/code/session_01V9n3Hvt7p8mFxL7WAT2dBM