Toolverse
All skills

state-machine

by WellApp-ai

Document UI component states (current vs expected) with transitions

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Frontend

About this skill

Document UI component states (current vs expected) with transitions

How to use

  1. Uruchom skill w trybie Ask mode podczas pętli CONVERGE — gdy pracujesz nad komponentem ze skomplikowaną logiką stanów lub refaktoryzujesz istniejący komponent.

  2. W fazie pierwszej zidentyfikuj wszystkie możliwe stany komponentu. Utwórz tabelę z kolumnami: State, Current Behavior (co się dzieje teraz), Expected Behavior (co powinno się dziać). Uwzględnij stany danych (Initial, Loading, Success, Error, Empty), interakcji (Idle, Hover, Focus, Active, Disabled), widoczności (Hidden, Visible, Collapsed, Expanded) i walidacji (Valid, Invalid, Pending validation).

  3. W fazie drugiej zmapuj wszystkie przejścia między stanami. Dla każdego przejścia określ: stan źródłowy (From), stan docelowy (To), wyzwalacz (Trigger — np. user action, data received, retry clicked) i efekty uboczne (Side Effects — np. start fetch, populate UI, show error message).

  4. W fazie trzeciej wygeneruj diagram Mermaid przedstawiający przepływ stanów. Diagram powinien pokazywać punkt początkowy, wszystkie stany jako węzły i przejścia jako krawędzie z opisanymi wyzwalaczami.

  5. Przejrzyj wygenerowaną dokumentację i upewnij się, że obejmuje wszystkie scenariusze — zarówno happy path (Initial → Loading → Success) jak i error handling (Loading → Error → Loading przy retry).

Related skills

frontend-slides

by sickn33

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual

Frontend
65135

keyword-research

by openclaw

Discovers high-value keywords with search intent analysis, difficulty assessment, and content opportunity mapping. Essential for starting any SEO or GEO content strategy.

Frontend
24138

web-research

by langchain-ai

Use this skill for requests related to web research; it provides a structured approach to conducting comprehensive web research

Frontend
18114

shadcn-ui-setup

by maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

Frontend
23167

browser-automation

by browserbase

Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications. Triggers include \

Frontend
21175

google-official-seo-guide

by littleben

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

Frontend
101196