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

react-hook-form-audit

/react-hook-form-audit

Audytuje istniejący kod React Hook Form pod kątem poprawności, dostępności, walidacji, własności danych, wysyłki, stanu dirty, tablic pól, kreatorów i wydajności, tylko do odczytu.

Repozytorium
Skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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
8
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.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 robi i kiedy

Audytuje istniejący kod React Hook Form pod kątem poprawności, dostępności, walidacji, własności danych, wysyłki, stanu dirty, tablic pól, kreatorów i wydajności, tylko do odczytu.

Oryginalny opis (EN)

Audit existing React Hook Form code for correctness, accessibility, validation, data ownership, submission, dirty-state, field-array, wizard, controlled-widget, and performance problems. Use when reviewing RHF forms, investigating form bugs or rerenders, or checking an RHF-heavy change. Read-only; use react-hook-form for implementation.

Jak działa

  1. Process
  2. Hard boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 88 linii, 462 słów
Podgląd SKILL.md
---
name: react-hook-form-audit
description: >-
  Audit existing React Hook Form code for correctness, accessibility, validation,
  data ownership, submission, dirty-state, field-array, wizard, controlled-widget,
  and performance problems. Use when reviewing RHF forms, investigating form bugs
  or rerenders, or checking an RHF-heavy change. Read-only; use react-hook-form for implementation.
---

# React Hook Form Audit

Audit evidence, not syntax in isolation. A pattern becomes a finding only when its consequence is
visible from the code, installed version, or verified runtime behavior.

## Process

### 1. Establish scope and versions

Choose scope from the request before inventorying files. For a targeted bug or change review,
include the requested or changed forms and follow their components, schemas, defaults, serializers,
mutations, and tests. Inventory every RHF form only for an explicit repository-wide audit. Read
project guidance and detect the installed RHF, React, resolver, schema, UI-library, data-fetching,
and framework versions.

Completion: the scope is explicit, and every included form has an entry point and its supporting
files accounted for.

### 2. Reconstruct each form contract

For each form, identify:

- form and payload types;
- create/edit and server-data ownership model;
- default-values and dirty baseline;
- native versus controlled adapters;
- validation and error paths;
- conditional, wizard, and field-array behavior;
- submission, success, failure, and reset lifecycle.

Completion: each submitted value can be traced from initialization through serialization.

### 3. Run the checks

Read `references/checks.md` completely. Load the bundled mirror of the build skill's canonical
branch reference when the audited form uses that branch:

- `references/server-data-and-lifecycle.md`
- `references/adapters-and-accessibility.md`
- `references/wizards-and-conditionals.md`
- `references/field-arrays.md`
- `references/version-8.md`
- `references/actions-boundary.md`

Completion: every applicable check and branch rule was evaluated against every in-scope form.

### 4. Validate findings

Use source and types to distinguish a defect from a heuristic smell. Run the project's TypeScript
typecheck; do not modify source to make it pass. Tests are optional—run focused existing tests when
they can prove or disprove a suspected behavior. Prefer silence over speculative findings.

Completion: each reported finding has a concrete consequence, file and line, smallest safe
direction, and confidence; unrelated typecheck failures are separated.

### 5. Report

Order findings by user impact:

- **Critical:** data loss, invalid submission, inaccessible completion, or broken production flow.
- **High:** likely correctness/reliability failure in a common path.
- **Medium:** demonstrated performance, maintainability, or UX cost.
- **Low:** verified local issue with limited impact.

Use:

```text
[Severity] Short title
File: path:line
Evidence: what the code does and the scenario that exposes it
Impact: concrete user or engineering consequence
Direction: smallest safe correction
Confidence: high | medium
```

Then list forms reviewed, typecheck command/result, tests run or skipped, and residual risks. If no
findings survive validation, say so directly.

## Hard boundaries

- Remain read-only; report files are allowed only when the user requests one.
- Do not label `watch`, `Controller`, `useFormContext`, missing defaults, `onChange`, or
  `useActionState` as defects without contextual evidence.
- Do not claim performance impact without identifying the subscription and rerender boundary or
  measuring it when measurement is feasible.
- Do not infer App Router client-boundary requirements in Pages Router or non-Next projects.
Pliki w paczce (8)
  • SKILL.md 4 KB
  • references/actions-boundary.md 1 KB
  • references/adapters-and-accessibility.md 3 KB
  • references/checks.md 5 KB
  • references/field-arrays.md 1 KB
  • references/server-data-and-lifecycle.md 3 KB
  • references/version-8.md 1 KB
  • references/wizards-and-conditionals.md 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · kriscard/Skills100MIT
pproenca/dot-skills100MIT

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

  • 100react-hook-form
    Obsługuje React Hook Form z walidacją Zod: konfiguracja formularza, schematy, komponenty pól, błędy i wysyłka z integracją shadcn/ui.
  • 100react-hook-form
    Buduje i modyfikuje formularze z React Hook Form: widżety kontrolowane, walidacja schematem, formularze edycji z pobranymi danymi, pola warunkowe, kreatory wieloetapowe i tablice pól.
  • 95react-form-validator
    Wymusza wzorzec React Hook Form z Zod przy tworzeniu formularzy, walidacji i obsłudze wysyłki, w tym formularzy logowania, rejestracji i wprowadzania danych.
  • 95react-hook-form-zod
    Buduje typowane formularze React z React Hook Form i walidacją Zod: schematy, tablice pól, formularze wieloetapowe oraz błędy resolvera i pól zagnieżdżonych.
  • 100react-hook-form
    Optymalizuje wydajność React Hook Form w walidacji formularzy po stronie klienta: useForm, useWatch, useController, useFieldArray, API subscribe() i komponenty render-prop.
  • 90frontend-form-handling
    Buduje formularze po stronie klienta z walidacją, złożonymi polami i wzorcami UX, takimi jak stan zmiany czy schematy Zod.

Uwagi i zgłoszenia

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