visual-check
/visual-check
Sprawdza zbudowaną stronę lub komponent UI względem projektu przez zrzut ekranu i zapisuje wynik bramki FACTORY_GATES.
- Autor
- KaaS-team ↗
- Repozytorium
- blueprint ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/gate-line.mjs
Co robi i kiedy
Sprawdza zbudowaną stronę lub komponent UI względem projektu przez zrzut ekranu i zapisuje wynik bramki FACTORY_GATES.
Oryginalny opis (EN)
Use when a UI page or component has been built from a design and you must check how it looks against that design before saying it is done. Screenshots the built page, compares it with the design, and writes a FACTORY_GATES line for the result.
Jak działa
- Steps
- Report
- Do not
Podgląd SKILL.md
---
name: visual-check
description: Use when a UI page or component has been built from a design and you must check how it looks against that design before saying it is done. Screenshots the built page, compares it with the design, and writes a FACTORY_GATES line for the result.
---
# visual-check
Checks a built page against its design by looking, then reports the result as a
gate line the factory can parse.
## Steps
1. Start the app or the component story with the repo's own command. Run it in
the background and wait until it answers. If it will not start, the check
fails with the gate name `app-start`. Do not skip it.
2. Take a screenshot of the page at each width the design shows. Use the
browser tooling the environment has, for example Playwright. Save the files
outside the repo, in the scratchpad or a temp folder.
3. Open the design image and each screenshot with the Read tool.
4. Build a checklist from the component list: one line per component and one per
state the design shows. For each line, look at both images and mark it
`pass` or `fail`. A fail needs a one sentence reason, such as
"button label reads Submit, design says Start free".
5. Check the same things every time: text copy, order of elements, layout
direction, visible states, and whether the colours and spacing come from
tokens (read the source, do not judge by eye alone).
6. Write the checklist as JSON, `[{"name": "PricingCard", "pass": true}]`, and
run:
```
node plugins/blueprint-design/skills/visual-check/scripts/gate-line.mjs checks.json
```
The script prints one line and sets its exit code:
```
FACTORY_GATES: status=PASS passed=4 failed=0 skipped=0 failed_gates=
```
`status` is `PASS` when nothing failed and at least one check ran. It is `FAIL`
when any check failed, and `MISCONFIGURED` when the file is missing, is not
valid, or lists no checks. Failed names go in `failed_gates`, joined by commas.
A check with `"skipped": true` counts as skipped, not as passed.
## Report
Print the gate line last and unchanged. Above it, list each failed check with
its reason, and name the screenshots by path. State plainly that the comparison
was made by eye. This skill does not compute a pixel difference.
## Do not
- Do not mark a check `pass` that you did not look at in both images.
- Do not edit the design or the checklist to turn a fail into a pass.
- Do not commit the screenshots.
Pliki w paczce (2)
- SKILL.md 2 KB
- scripts/gate-line.mjs 1 KB
Wersje
W bazie nie ma innych skilli o nazwie visual-check.
Migawka bazy z 13.11.2026 · wersja paczki 752b77941370 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90checklist-design
Ocenia ekran, komponent lub przepływ UX względem biblioteki list kontrolnych checklist.design. - 86build-from-reference
Odtwarza stronę lub komponent według zrzutu ekranu albo makiety, dopasowując wygląd do wzorca. - 100plagio
Zapisuje design żywej strony, czyli komponent, całą stronę lub tokeny marki, jako specyfikację do odbudowy lub dopasowania nowego projektu. - 90review-component
Sprawdza komponent UI względem kontraktu Open Components lub tokenów projektowych, zgłasza wynik każdej reguły i naprawia błędy. - 100page-check
Sprawdza stronę lub deck bez interfejsu: robi zrzut ekranu lub eksportuje SVG wykresu w Chromium przez Bun WebView, na prośbę. - 100design-to-code-check
Porównuje specyfikację projektową komponentu lub ekranu z kodem i zapisuje każdą rozbieżność jako błąd implementacji albo lukę w specyfikacji, przydatnie przy design QA.