contributing
Guide for contributing to Nuxt UI. Provides component structure patterns, Tailwind Variants theming, Vitest testing conventions, and MDC documentation guidelines. Use when creating new components, reviewing component PRs, modifying existing components, writing tests, or creating
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Guide for contributing to Nuxt UI. Provides component structure patterns, Tailwind Variants theming, Vitest testing conventions, and MDC documentation guidelines. Use when creating new components, reviewing component PRs, modifying existing components, writing tests, or creating documentation in this codebase.
How to use
Zainstaluj skill w swoim środowisku Claude'a, dodając folder
.claude/skills/contributingz repozytorium Nuxt UI do konfiguracji agenta.Uruchom jednorazową konfigurację CLI, wpisując
npm linkw głównym katalogu projektu, aby umożliwić generowanie nowych komponentów.Kiedy tworzysz nowy komponent, użyj komendy
nuxt-ui make component nazwaz opcjami--primitive,--prose,--contentlub--template, aby wygenerować szkielet z prawidłową strukturą katalogów i plików.Zapoznaj się z referencjami dostępnymi w skill'u: component-structure.md dla wzorców Vue, theme-structure.md dla Tailwind Variants, testing.md dla konwencji Vitest oraz documentation.md dla wytycznych MDC.
Podczas pracy nad komponentem (tworzenie, modyfikacja, testowanie) konsultuj odpowiednią referencję, aby zachować spójność z wytycznymi projektu.
Jeśli przeglądasz pull request zawierający zmiany w komponentach, użyj skill'u do weryfikacji zgodności z ustalonymi wzorcami struktury, testowania i dokumentacji.