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

add-component

/add-component

Dodaje lub zmienia komponent interfejsu Roastpilot w packages/ui, utrzymując spójność systemu projektowego.

Repozytorium
Roastpilot ↗
Licencja
GPL-3.0
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

86/ 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ść21 / 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
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

GPL-3.0, otwarta.

Co robi i kiedy

Dodaje lub zmienia komponent interfejsu Roastpilot w packages/ui, utrzymując spójność systemu projektowego.

Oryginalny opis (EN)

Add or change a Roastpilot UI component in packages/ui, keeping the design system in step. Use when a screen needs a reusable piece of UI, or an existing component's look, sizes or rules change.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 15 linii, 221 słów

Podgląd SKILL.md
---
name: add-component
description: Add or change a Roastpilot UI component in packages/ui, keeping the design system in step. Use when a screen needs a reusable piece of UI, or an existing component's look, sizes or rules change.
---

# Add or change a UI component

1. Read the component's guidelines in `docs/design-system/components/<Name>/README.md` and the brand book `docs/design-system/README.md` (the design system lives in the repo, ADR 0020). A new component gets its guidelines file first; if a choice is unclear, ask the user, with a recommendation.
2. Prefer a shadcn/ui base: `pnpm dlx shadcn@latest add <name>` from `packages/ui` (aliases are in `components.json`), then restyle with tokens.
3. File: `packages/ui/src/components/<Name>.tsx`, one component (plus small private parts) per file. Export it from `packages/ui/src/index.ts`.
4. Props in, events out. No IPC, no stores, no data fetching.
5. Styling: Tailwind token classes and `cn()` only; variants with `class-variance-authority`. No hex, no arbitrary values.
6. Accessibility: semantic elements, labels, `aria-*` where needed, focus ring, 44px targets, 4.5:1 contrast in both themes.
7. Copy follows the brand book: sentence case, value then unit (`212 °C`), one-line hints.
8. Test behaviour (renders states, fires events) in `<Name>.test.tsx`.
9. Add `<Name>.stories.tsx` with a story per variant and state; check both themes and the a11y panel in `pnpm storybook`.
10. **Design system in step:** a new component, or a change to one's look, sizes or rules, updates `docs/design-system/components/<Name>/README.md` (and `docs/design-system/README.md` for screen-wide rules) in the same PR. Storybook is the live preview. Never edit the claude.ai design-system page by hand: a maintainer re-syncs it with `/design-sync`.
11. Run `design-review`.

Wersje

RepozytoriumWynikLicencja
Ta strona · mnabaci/Roastpilot86GPL-3.0
MandalorianBatman/austere-axi100MIT
jpicklyk/task-orchestrator100MIT
carsonhung/gamifiedUI100Apache-2.0
kitforge-tech/velvetkit92MIT

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

  • 86plan-feature
    Planuje nową funkcję Roastpilot najpierw jako specyfikację, zanim napisze się kod zmieniający zachowanie.
  • 90design-add-component
    Dodaje nowy komponent do gotowego systemu projektowego: opisuje go, uzupełnia katalog, buduje we wszystkich motywach i sprawdza bramką.
  • 100component-design
    Tworzy lub restrukturyzuje komponent UI: architektura, wzorce komponentów, dostępność i zasady systemu projektowego.
  • 100design-system-doc
    Dokumentuje komponent, wzorzec lub token systemu projektowego dla całego zespołu: wpis do biblioteki komponentów, style guide i dokumentacja tokenów.
  • 90sync-component
    Synchronizuje jeden komponent systemu projektowego lub tokeny między Figmą, React i SwiftUI, a potem weryfikuje i raportuje wynik.
  • 100component-design
    Tworzy lub przebudowuje komponent UI, w tym jego architekturę, wzorce, dostępność i zasady systemu projektowego, także przy dzieleniu dużego komponentu.

Uwagi i zgłoszenia

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