screenshots
Installation
SKILL.md
Screenshot the screens a change touches and deliver them where the user asked.
Arguments: $ARGUMENTS
1. Scope
Read three things from the request and arguments:
- Destination. PR when the request names a PR or says "attach" or "PR description"; for a PR, use the named PRs, else the thread's linked PRs (
list_thread_pull_requests), else the current branch's PR, taking every layer of a stack. Otherwise chat. - Viewports. Exactly the ones the user names. Otherwise desktop and mobile, plus tablet when the app has a layout of its own between them.
- Screens. With "all" or "every page", the whole route list of the app, read from the router or the pages directory. Otherwise the pages, states (hover, open menus, empty and error states) and flows the diff touches (
git diff <base>... --name-only, orgh pr diff <n> --name-onlyfor a PR). A PR whose diff changes nothing a user sees is skipped; record why ("#38 is API-only").
Done when you have a destination, a viewport list, and a written screen list. For "all", the screen list is every route, so you can check it off.