capture-screenshots
/capture-screenshots
Robi zrzuty ekranu każdego stanu, rozmiaru i ustawienia jako dowód do pull requesta przy każdej zmianie interfejsu.
- Autor
- seancabalse ↗
- Repozytorium
- agentic-playbook ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 11.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Robi zrzuty ekranu każdego stanu, rozmiaru i ustawienia jako dowód do pull requesta przy każdej zmianie interfejsu.
Argumenty
/capture-screenshots [ticket id] [screens or flows]
Oryginalny opis (EN)
Capture screenshots of each state, size and setting as evidence for a PR. Use for each UI change.
Jak działa
- 1. Decide the matrix (keep it to what the change touches)
- 2. Capture
- 3. Check every image
- 4. Hand over
Podgląd SKILL.md
---
name: capture-screenshots
description: "Capture screenshots of each state, size and setting as evidence for a PR. Use for each UI change."
argument-hint: "[ticket id] [screens or flows]"
---
# Capture screenshots
> Playbook files named here: when the project has its own copy at `.playbook/local/<same path>`, use that copy instead.
Request: $ARGUMENTS
Drivers and their traps: `${CLAUDE_PLUGIN_ROOT}/principles/08-testing-qa.md` → "Drivers". Ready-made scripts: `${CLAUDE_PLUGIN_ROOT}/templates/testing/`.
## 1. Decide the matrix (keep it to what the change touches)
| | Default | Add when it matters |
| -- | -- | -- |
| **States** | the populated default | loading, error, offline, empty |
| **Sizes** | 375 px mobile and 1280 px desktop | 320 px (reflow), 768 px tablet, 200% zoom |
| **Settings** | light, normal motion | dark (`colorScheme`), reduced motion |
## 2. Capture
- **Web, with Playwright**: copy `templates/testing/playwright.config.ts` and `screenshots.spec.ts` (if the project has no equivalent), list the routes and states, and run `npx playwright test screenshots.spec.ts`. To explore before scripting, use the agent's browser tools (the built-in browser, Claude in Chrome or the Playwright MCP server), then put the steps in the spec so they're repeatable.
- **Zoom**: 200% browser zoom on a 1280 px window is a 640 CSS px viewport (add `deviceScaleFactor: 2` for sharp text), and 400% is 320 px. Capture those viewports.
- **Name the files** `<screen>-<state>-<variant>.png` (`settings-export-progress-zoom200.png`) and put them in `screenshots/<ticket>/`, which is gitignored.
## 3. Check every image
Open each one and look:
- Is it the right screen and state?
- Is any text clipped or overlapping?
- Is a dev overlay or a loading spinner covering it?
- Is a system dialog in the way?
A blank or half-drawn image usually means the page hadn't finished loading, a request was blocked, or the capture ran mid-animation: fix the cause and recapture. Never ship an image you haven't looked at.
## 4. Hand over
- List the files with one line each (what it shows) in your handoff.
- `ship-pr` publishes them: `templates/testing/push-screenshots.sh <PR> <files…>` pushes to a `screenshots` branch, never the default branch.
- Reset every setting you changed (zoom, colour scheme, reduced motion), and stop what you started.
Wersje
W bazie nie ma innych skilli o nazwie capture-screenshots.
Migawka bazy z 13.11.2026 · wersja paczki b8cf15ad8e81 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100pr-screenshots
Robi zrzuty ekranu przed i po zmianie wizualnej w grze, na desktopie i mobile, i dołącza je do opisu pull requestu. - 100update-readme-screenshots
Uruchamia aplikację Engy na danych testowych, robi zrzuty ekranu funkcji i przepisuje README, bez tworzenia commita. - 95before-and-after
Dodaje istniejące zrzuty ekranu lub nagrania ekranu do pull requesta na GitHubie jako blok przed i po albo podgląd w opisie PR. - 100ccvd
Porównuje wygląd stron przed i po zmianie, tworzy zrzuty ekranu do pull requesta i szuka regresji wizualnych. - 100before-after-evidence
Pokazuje zmianę wizualną jako dwa porównywalne zrzuty ekranu przed i po oraz krótkie nagranie ruchu, jako dowód dla PR. - 100take-doc-screenshots
Robi zrzuty ekranu działającej aplikacji pgconsole do dokumentacji i wstawia je do plików .mdx.