Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

react-component-cleaner

/react-component-cleaner

Porządkuje komponent React, wyłącznie na wyraźne polecenie użytkownika.

Repozytorium
langfuse ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

82/ 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ść17 / 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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
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

Porządkuje komponent React, wyłącznie na wyraźne polecenie użytkownika.

Oryginalny opis (EN)

Use this skill to clean up a React component. Only use this skill when instructed to do so by the user.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 23 linii, 370 słów

Podgląd SKILL.md
---
name: react-component-cleaner
description: Use this skill to clean up a React component. Only use this skill when instructed to do so by the user.
---

The goal of this skill is to clean up a React component. The changes are meant to be non-breaking and auditable, therefore the instructions below should be followed carefully.

Avoid making any additional edits besides the ones instructed in this skill. If you are unsure about any of the instructions or need to do a one-off edit, ask the user for confirmation. You are allowed to invoke formatting and linting commands. If there are formatting / linting issues, do not make manual edits to reformat code, always use the fix variants of the commands.

Before starting to do any changes, audit the component you were instructed to fix by reading the [react-component-guidelines](../react-component-guidelines/SKILL.md) skill. Do not audit the callsites of the component, these will be looked at later in the skill.

This skill references a `sweepy` cli tool. This can be found under https://github.com/bezbac/sweepy. Unless already available, install version `v0.1.0`, pinned to commit `e58b55c0fb94364c12798ed16e632a5931b4eaa1`: https://github.com/bezbac/sweepy/tree/e58b55c0fb94364c12798ed16e632a5931b4eaa1. Follow only that pinned commit's instructions to install it. Do this in a safe manner and comply with other security guidelines of the repository. If you are unsure about any of the instructions, ask the user for confirmation.

Now, you are ready to start cleaning up the component. Copy the contents of the [component cleanup todolist](./references/component-cleanup-todolist.md) verbatim into a TODO file (Use `cp` no manual edit) and follow the instructions in order, adding ✅ to the items you have completed. Do not commit the todo file, it is only for your reference.

---

Notes:

- When moving classes into a variant, the variant must own the complete set of classes for every CSS property it changes.
  - Remove those property classes from the component's base classes.
  - Ensure exactly one variant branch supplies each property. Do not rely on `cn`, `tailwind-merge`, CSS order, or specificity to resolve conflicting classes. Prefer an exhaustive lookup table or `cva` variants.

- The `sweepy` cli by default assumes an interactive mode, but it can be run in a non-interactive mode by passing the `--yes` flag. This will automatically accept all changes and is useful for automation.

- The `sweepy` cli has a `--dry-run` flag that can be used to preview the changes that will be made without actually making them.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • references/component-cleanup-todolist.md 5 KB

Wersje

W bazie nie ma innych skilli o nazwie react-component-cleaner.

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

  • 95frontend-component
    Tworzy komponent React lub Vue z TypeScriptem, testami i stylami.
  • 100react-component-generator
    Prawdopodobnie generuje komponenty React w ramach umiejętności z obszaru tworzenia frontendu.
  • 100react-component-guidelines
    Dostarcza wytyczne pisania komponentów React przy tworzeniu nowego komponentu.
  • 96react-component-generator
    Generuje komponenty React zgodne z konwencjami projektu i tworzy dla nich pliki.
  • 100embed-agent-in-react
    Osadza agenta 3D three.ws w aplikacji React lub Next.js przez komponent Agent3D i steruje nim przez referencję.
  • 96react-dev
    Podaje wzorce typowania i integracji React z TypeScript, używane wyłącznie na wyraźne wywołanie.

Uwagi i zgłoszenia

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