F
frontend-style-guide
Apply the Lightdash frontend style guide when working on React components, migrating Mantine v6 to v8, or styling frontend code. Use when editing TSX files, fixing styling issues, or when user mentions Mantine, styling, or CSS modules.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Apply the Lightdash frontend style guide when working on React components, migrating Mantine v6 to v8, or styling frontend code. Use when editing TSX files, fixing styling issues, or when user mentions Mantine, styling, or CSS modules.
How to use
- Zainstaluj skill w swoim środowisku Claude'a, wskazując repozytorium Lightdash i ścieżkę .claude/skills/frontend-style-guide. 2. Otwórz plik komponentu React (TSX) w pakiecie frontend, który chcesz edytować lub zaktualizować. 3. Poproś Claude'a o pomoc w stylizacji komponentu, naprawieniu błędów CSS lub migracji kodu z Mantine 6 na Mantine 8 — skill automatycznie się aktywuje. 4. Skill będzie sprawdzać, czy używasz @mantine-8/core, czy nie masz prop sx lub style, i czy stosujesz wartości z tematu zamiast liczb. 5. Jeśli potrzebujesz więcej niż 3 inline-style props, skill zasugeruje przejście na CSS modules z zmiennymi tematu (np. --mantine-color-${color}-filled). 6. Przejrzyj sugestie Claude'a zgodnie z checklist'ą komponentu i zatwierdź zmiany w swoim edytorze.