Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Przegląd i audyt

component-conformance-review

/component-conformance-review

Sprawdza każdy komponent z inwentarza względem jego specyfikacji, wskazując nieudokumentowane warianty i niedozwolone style inline.

Repozytorium
paqad-ai ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.11.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
9
Skrypty
4
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.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ą
  • 4 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/derive-inventory.sh, scripts/diff-inventories.sh, scripts/lint-findings.sh, scripts/parse-components-md.sh

Co robi i kiedy

Sprawdza każdy komponent z inwentarza względem jego specyfikacji, wskazując nieudokumentowane warianty i niedozwolone style inline.

Oryginalny opis (EN)

Checks every component in the AST-derived inventory against its spec in components.md, flagging undocumented variants, !important, inline style= and unwrapped primitives. Use when a design-test run has finished token-conformance-review.

Jak działa

  1. What It Does
  2. Use This When
  3. Inputs
  4. Procedure
  5. Output Contract
  6. Escalate / Stop Conditions
  7. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 50 linii, 358 słów
Podgląd SKILL.md
---
name: component-conformance-review
description: 'Checks every component in the AST-derived inventory against its spec in components.md, flagging undocumented variants, !important, inline style= and unwrapped primitives. Use when a design-test run has finished token-conformance-review.'
metadata:
  model_tier: reasoning
  cacheable: 'false'
  output_format: markdown
  paqad-meta: skill.meta.yaml
---

## What It Does

Audits the project's UI components against `components.md`. The AST-derived component inventory is the subject; the contract is the standard. Every component used in source must appear in `components.md` with declared variants, states, and permitted compositions. Override sprawl (`!important`, inline `style=`, undocumented Tailwind combinations, shadcn primitives wrapped without spec) is a finding.

## Use This When

For every design-test run, after `token-conformance-review`. The two together form the "is the contract followed at the source level" pair.

## Inputs

- Read `docs/instructions/design-system/components.md`.
- Read the contract-summary from `design-system-coverage` (declared component clauses).
- Read `references/component-conformance-checklist.md` before scanning.

## Procedure

The set difference between source and contract is deterministic, drive it
with the scripts. Reserve LLM judgment for severity and the "is this primitive
correctly wrapped" question.

1. Run `scripts/derive-inventory.sh [components-dir]` → `<name>\t<source-file>` TSV. The script already excludes tests, stories, type decls, barrels, and lower-case helpers.
2. Run `scripts/parse-components-md.sh <components.md>` → `<name>\t<variants-csv>\t<states-csv>` TSV. Empty CSV slots are `-`.
3. Run `scripts/diff-inventories.sh --source <derived> --declared <parsed>`. Each row is a deterministic gap:
   - `in-source-not-declared\tName\t<file>` → `documentation-drift` finding, **medium**.
   - `declared-not-in-source\tName\t-` → `documentation-drift` finding (contract references a non-existent component), **medium** to **high** depending on whether the contract is what the team intends to build.
4. Run `runtime/scripts/design/scan-overrides.sh` to enumerate `!important`, inline `style=`, arbitrary Tailwind brackets, undocumented utility combos. The LLM decides whether each hit is a missing prop on a declared component or genuine code smell.
5. For each declared component, verify its declared variants are implemented in the source file. Missing variant → `component` finding, **high**.

## Output Contract

- Match `assets/output.template.md`. `contract_ref` is `components.md → <ComponentName>` or `patterns.md → override budget`.
- Default severity `high` for missing-variant findings, `medium` for override sprawl, `low` for cosmetic deviations.
- Output must pass `scripts/lint-findings.sh` (exit 0).

## Escalate / Stop Conditions

- Ask when `components.md` has no entries: defer to `design-system-coverage` (tier likely `bare`).
- Warn when the inventory exceeds 100 components: the audit may need to be chunked.

## Resources

- `references/component-conformance-checklist.md`
- `scripts/derive-inventory.sh`: AST-ish inventory of `src/components/**`.
- `scripts/parse-components-md.sh`: declared inventory + variants/states from `components.md`.
- `scripts/diff-inventories.sh`: set difference between source and declared.
- `scripts/lint-findings.sh`
- `assets/output.template.md`
- `agents/openai.yaml`
Pliki w paczce (9)
  • SKILL.md 3 KB
  • skill.meta.yaml 1 KB
  • agents/openai.yaml 1 KB
  • assets/output.template.md 1 KB
  • references/component-conformance-checklist.md 2 KB
  • scripts/derive-inventory.sh 1 KB
  • scripts/diff-inventories.sh 2 KB
  • scripts/lint-findings.sh 2 KB
  • scripts/parse-components-md.sh 2 KB

Wersje

W bazie nie ma innych skilli o nazwie component-conformance-review.

Migawka bazy z 13.11.2026 · wersja paczki b04d1cd9dd03 (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

  • 90design-spec-review
    Sprawdza komponent lub ekran względem jego specyfikacji: warianty, stany, dostępność i tokeny, gdy zmiana dotyka komponentu systemu projektowego bez zaliczonego przeglądu.
  • 90state-coverage-review
    Sprawdza, czy każdy komponent implementuje zadeklarowane stany i czy testy Playwright je obejmują, po zakończeniu przeglądu zgodności.
  • 100code-conformance
    Przegląda pliki komponentów gen2 pod kątem zgodności z przewodnikami stylu projektu, uruchamia lintery i wskazuje luki w wytycznych.
  • 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.
  • 90token-conformance-review
    Wykrywa w kodzie interfejsu wpisane na sztywno wartości projektowe, np. kolory hex, piksele i czcionki, zamiast tokenów; domyślnie wysoka waga.
  • 100a11y-audit
    Mapuje interfejs, taki jak ekran, przepływ albo zestaw komponentów, na wymogi WCAG 2.2 jako listę zgodności dla każdego kryterium.

Uwagi i zgłoszenia

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