react-component
/react-component
Generuje gotowe do produkcji komponenty React i TypeScript ze stylami Tailwind CSS i dostępnymi interakcjami w projektach React lub Next.js.
- Autor
- nateslabach ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 29.09.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 29.09.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
Generuje gotowe do produkcji komponenty React i TypeScript ze stylami Tailwind CSS i dostępnymi interakcjami w projektach React lub Next.js.
Oryginalny opis (EN)
Generates complete, production-ready React/TypeScript components using Tailwind CSS. Use when building UI components in a React or Next.js project that requires TypeScript, Tailwind styling, and accessible interactions.
Jak działa
- Workflow
- Code Rules
- Output Format
Podgląd SKILL.md
---
name: react-component
description: Generates complete, production-ready React/TypeScript components using Tailwind CSS. Use when building UI components in a React or Next.js project that requires TypeScript, Tailwind styling, and accessible interactions.
---
# react-component
Generates self-contained React/TypeScript components — plan first, confirm, then produce complete code with no placeholders.
## Workflow
1. **Plan**: Present a concise pseudocode implementation plan covering structure, state, and key logic.
2. **Confirm**: Verify requirements and constraints with the user before writing code.
3. **Code**: Write the full implementation. Leave no TODOs, placeholders, or missing pieces.
## Code Rules
- **Tailwind only** — no CSS files, no inline styles. All styling via Tailwind classes.
- **Conditional classes** — use `clsx` or concise template literals; avoid complex nested ternaries.
- **Handler naming** — prefix all event handlers with `handle`: `handleClick`, `handleKeyDown`.
- **Early returns** — use them wherever they improve readability.
- **Accessibility** — non-native interactive elements (e.g., `<div>`, `<span>`) must have `tabIndex={0}`, `aria-label`, `onClick`, and `onKeyDown`.
- **Types** — define prop types explicitly; avoid `any`.
- **Naming** — descriptive variable and function names throughout.
## Output Format
- One self-contained `.tsx` file with a default export
- All imports included, component properly named
- No prose outside the code block in the final answer
- Must compile in a standard React/Next.js project without modification
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · nateslabach/skills | 90 | MIT |
| LandonSchropp/agent-toolkit | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 5301f90f47ce (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-frontend-patterns
Przegląda i buduje komponenty React 19 z Tailwind CSS i shadcn/ui, z naciskiem na dostępność, formularze i stan aplikacji. - 100figma-to-react
Wyodrębnia projekty Figma do komponentów React lub Next.js z TypeScript i Tailwind CSS, z dokładnością co do piksela. - 95senior-frontend
Pomaga w projektach React, Next.js i Tailwind CSS: komponenty, wydajność, analiza bundla, dostępność i przegląd kodu. - 100figma-to-code
Wyodrębnia projekty Figma i generuje komponenty React i Next.js z TypeScript i Tailwind CSS, z dokładnością co do piksela. - 100tailwind-css
Odpowiada na pytania o Tailwind CSS, tv(), konfigurację CSS-first i zmiany łamiące wsteczną zgodność. - 90senior-frontend
Wspiera frontend w React, Next.js, TypeScript i Tailwind CSS: komponenty, wydajność Next.js, analiza rozmiaru bundli, scaffolding, dostępność i przegląd kodu.