fcs-check
/fcs-check
Uruchamia kontrolę kontraktu interfejsu fcs i poprawia zgłoszone naruszenia, na przykład surowe pole tekstowe albo brak breadcrumba.
- Autor
- dangnhit ↗
- Repozytorium
- frontend-consistency ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.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 13.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
Uruchamia kontrolę kontraktu interfejsu fcs i poprawia zgłoszone naruszenia, na przykład surowe pole tekstowe albo brak breadcrumba.
Wyzwalacze z opisu
Oryginalny opis (EN)
Run the fcs UI contract check and fix the violations it reports (raw textarea, hand-made spinner, page without the template, missing breadcrumb, hand-written h1, edited locked component). Use when fcs check, a fcs hook, pre-commit or CI reports "UI contract violations", or before finishing UI work in a project with .design/contract.yaml.
Jak działa
- 1. Run
- 2. Fix by replacing, never by silencing
- 3. When the rule seems wrong
- 4. Re-run
Podgląd SKILL.md
---
name: fcs-check
description: Run the fcs UI contract check and fix the violations it reports (raw textarea, hand-made spinner, page without the template, missing breadcrumb, hand-written h1, edited locked component). Use when fcs check, a fcs hook, pre-commit or CI reports "UI contract violations", or before finishing UI work in a project with .design/contract.yaml.
---
# Fix fcs contract violations
## 1. Run
```sh
npx fcs check --format agent # whole project
npx fcs check --format agent app/x.tsx # specific files
```
Each error names the rule id, the current param value, and the component to use instead.
## 2. Fix by replacing, never by silencing
| Error | Fix |
| --- | --- |
| `fcs/no-disable` | remove the `eslint-disable` comment and fix the underlying error |
| `fcs/no-raw-textarea` | `<TextareaField>` from `@/components/fcs/textarea-field` |
| `fcs/no-ad-hoc-loading` | `<AsyncBoundary>` (or `PageSkeleton` in `loading.tsx`) from `@/components/fcs/async-boundary` |
| `fcs/page-template` | return `<Page>` or `<ListPage>` as the page's root; move the old wrapper's content inside it |
| `fcs/page-header` (h1) | pass the text as `title=` to the template |
| `fcs/page-header` (breadcrumb missing) | pass `breadcrumbs={[{ label, href }, …, { label: current }]}`; the last crumb has no `href` |
| lock / hash mismatch on `components/fcs/*` | restore the file with `git checkout -- <file>`; change behaviour through `.design/contract.yaml` params, then `npx fcs build` |
| generated files out of date | `npx fcs build` |
Rules you must not break:
- Do not add `eslint-disable` comments.
- Do not edit `components/fcs/**`, `.design/lock.json` or `contract.generated.ts`.
- Do not change rule severity in `.design/contract.yaml` to get a pass.
## 3. When the rule seems wrong
If a contract rule blocks something the user really needs, stop and ask the user. The right fix is a deliberate contract change: an override in `.design/contract.yaml` plus a note in `.design/decisions/`. A workaround is not.
## 4. Re-run
Re-run `npx fcs check` (without `--format agent`) until it prints `contract satisfied ✓`.
Wersje
W bazie nie ma innych skilli o nazwie fcs-check.
Migawka bazy z 13.11.2026 · wersja paczki 262519e57395 (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
- 100fcs-new-page
Tworzy nową stronę w Next.js App Router na szablonie fcs z nagłówkiem, odstępami i szkieletem ładowania zgodnie z kontraktem. - 100fcs-setup
Konfiguruje kontrakt interfejsu fcs w projekcie Next.js z shadcn i Tailwind, by każdy ekran budowany przez AI miał te same wzorce. - 100flowio
Czyta, sprawdza i zapisuje pliki FCS 2.0, 3.0 i 3.1 z cytometrii przepływowej przez FlowIO, w tym eksport do tabel i zdarzenia do NumPy. - 100fix-accessibility-violations
Znajduje naruszenia dostępności zgłoszone w buildzie Chromatic, naprawia je w kodzie komponentów i sprawdza poprawkę w kolejnym buildzie. - 100konsistent-fix-violations
Uruchamia CLI konsistent, przegląda zgłoszone naruszenia i poprawia je w kodzie, pytając użytkownika o decyzję, gdy wiele naruszeń wynika z tej samej reguły. - 100ci-readiness-check
Sprawdza gotowość do CI przed wypchnięciem gałęzi: formatowanie, nieaktualne raporty API, brakujące changesety i naruszenia polityk.