Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Testowanie

trove-visual-parity

/trove-visual-parity

Dopasowuje interfejs do pikseli między dwiema implementacjami, porównując zrzuty ekranu z wyznaczonym progiem, np. przy migracji z Vue do React.

Repozytorium
trove ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
2
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Dopasowuje interfejs do pikseli między dwiema implementacjami, porównując zrzuty ekranu z wyznaczonym progiem, np. przy migracji z Vue do React.

Oryginalny opis (EN)

Achieve pixel-exact UI equivalence between two implementations via image diff. Establish a baseline harness first, migrate one component at a time, verify each with a screenshot diff within a tuned threshold. Use when migrating a styling system or matching a new implementation (e.g. React) to an existing one (e.g. Vue).

Jak działa

  1. Session Init
  2. Workflow
  3. Run the visual suite in isolation
  4. The anti-tampering rule
Sekcje z nagłówków SKILL.md, w oryginale · 27 linii, 264 słów
Podgląd SKILL.md
---
name: trove-visual-parity
description: "Achieve pixel-exact UI equivalence between two implementations via image diff. Establish a baseline harness first, migrate one component at a time, verify each with a screenshot diff within a tuned threshold. Use when migrating a styling system or matching a new implementation (e.g. React) to an existing one (e.g. Vue)."
---
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly -->
<!-- Regenerate: bun run build:skills -->

## Session Init

This skill ships Trove conventions. Prefer existing project patterns over generic best practices when they conflict.

# trove-visual-parity

Prove two implementations render the same, by image diff — not by eyeballing. The baseline is the spec; the new implementation moves to meet it.

## Workflow

1. **Establish the baseline first (blocking).** Capture the reference rendering with Playwright `toHaveScreenshot()`. **Generate baselines in CI, not locally** — local renders (fonts, DPI) drift from CI and create false diffs.
2. **Migrate shared primitives first.** Tokens, base components, and shared styles before the components that compose them.
3. **One component at a time.** Migrate, then diff against its baseline. Parallel components go in separate worktrees (`trove-worktree`).
4. **Verify by diff, within a tuned threshold.** Use `toHaveScreenshot()` with `maxDiffPixels` / `maxDiffPixelRatio` / `threshold` tuned to absorb anti-aliasing and font noise without hiding real regressions. It auto-retries until the page stabilizes. A diff above threshold from a real layout/spacing change is a fail.
5. **One PR per component or small batch.**

## Run the visual suite in isolation

Tag visual tests (`@visual`) and run them as a dedicated stage, not inside the normal unit run — they need a consistent rendering environment.

## The anti-tampering rule

When a diff exceeds threshold, fix the **implementation** to match the baseline. Never edit the baseline, mask the diffing region, or loosen `maxDiffPixels` to make a real regression pass. The baseline is the contract; raising the threshold to hide a regression defeats the whole exercise.

Wersje

W bazie nie ma innych skilli o nazwie trove-visual-parity.

Identyczna treść występuje jeszcze w 3 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki e7666b30da50 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90twin-flames
    Dopasowuje dwa interfejsy co do piksela, bo wzorcem jest specyfikacja, a równość potwierdza porównanie obrazów, np. przy migracji systemu stylów.
  • 100trove-design-review
    Ocenia wdrożenie interfejsu UI i UX względem specyfikacji projektu, sprawdzając wierność wizualną i zgodność z systemem.
  • 100visual-diff
    Porównuje bazowy adres z adresem dev lub Storybook, robiąc zrzuty Playwright w kilku punktach przełamania i różnicę pikseli.
  • 100trove-vue
    Podaje konwencje Vue 3 z Composition API: reaktywność, wzorce komponentów, Vue Router i stan w Pinia.
  • 100doncheli-visual-test
    Uruchamia wizualne testy regresji, porównując zrzuty ekranu interfejsu z wzorcami.
  • 90visual-verify
    Sprawdza gotowy interfejs przed akceptacją: uruchamia go, klika i mierzy wynik, zanim zostanie wydany.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.