Toolverse
All skills

ai-elements

by vercel

Create new AI chat interface components for the ai-elements library following established composable patterns, shadcn/ui integration, and Vercel AI SDK conventions. Use when creating new components in packages/elements/src or when the user asks to add a new component to

Installation

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

Installation

Quick info

Author
vercel
Category
Frontend
Views
19

About this skill

Create new AI chat interface components for the ai-elements library following established composable patterns, shadcn/ui integration, and Vercel AI SDK conventions. Use when creating new components in packages/elements/src or when the user asks to add a new component to ai-elements.

How to use

  1. Upewnij się, że Twoje środowisko spełnia wymagania: Node.js w wersji 18 lub nowszej, projekt Next.js z zainstalowanym AI SDK oraz shadcn/ui. Jeśli shadcn/ui nie jest jeszcze zainstalowany, polecenie instalacyjne zainstaluje go automatycznie.

  2. Zainstaluj komponenty AI Elements używając dedykowanego polecenia CLI lub standardowego CLI shadcn/ui. Oba podejścia dają ten sam rezultat — dodają kod komponentu i wszystkie niezbędne zależności do Twojego projektu.

  3. Skonfiguruj AI Gateway, aby uprościć zarządzanie kluczami API. Dodaj AI_GATEWAY_API_KEY do pliku env.local — dzięki temu nie będziesz musiał używać osobnych kluczy od każdego dostawcy. Gateway oferuje również $5 miesięcznego kredytu na eksperymenty z modelami.

  4. Użyj skill'u gdy chcesz utworzyć nowy komponent w katalogu packages/elements/src lub gdy użytkownik prosi o dodanie nowego komponentu do biblioteki AI Elements. Skill zapewni, że nowy komponent będzie zgodny z ustanowionymi wzorcami composable i konwencjami SDK.

  5. Zapoznaj się z dokumentacją AI Elements na npm, aby zrozumieć dostępne komponenty takie jak rozmowy, wiadomości i inne elementy interfejsu czatu, które możesz wykorzystać lub rozszerzyć.

Related skills

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

better-icons

by better-auth

Use when working with icons in any project. Provides CLI for searching 200+ icon libraries (Iconify) and retrieving SVGs. Commands: `better-icons search u003cqueryu003e` to find icons, `better-icons get u003cidu003e` to get SVG. Also available as MCP server for AI agents.

Frontend
2037

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

domain-name-brainstormer

by ComposioHQ

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

Frontend
21116

livewire-development

by spatie

Develops reactive Livewire 4 components. Activates when creating, updating, or modifying Livewire components; working with wire:model, wire:click, wire:loading, or any wire: directives; adding real-time updates, loading states, or reactivity; debugging component behavior;

Frontend
2335

browser-use

by browser-use

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.

Frontend
23107