
# Skill: solana ## Scope - Solana dApp UI development (React/Next.js) with framework-kit - Wallet connection and signing flows - Transaction building, sending, and confirmation UX - On-chain program development with Anchor 0.32.1 - Client SDK generation from IDLs - Local testing with Anchor test framework - Address validation and transaction patterns Does NOT cover: - EVM frontend development (see wagmi skill) - General blockchain concepts ## Assumptions - Anchor 0.32.1 for program developm
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Build backend AI with Vercel AI SDK v5/v6. Agent abstraction, tool approval, error solutions. Use when: implementing AI SDK v5/v6 or troubleshooting AI errors.
Build React chat interfaces with Vercel AI SDK v5/v6. Agent integration, tool approval, auto-submit. Use when: implementing AI SDK v5/v6 chat UIs or troubleshooting "useChat failed to parse stream", "useChat no response", or "stale body values" errors.
Drizzle ORM for TypeScript - type-safe SQL queries, schema definitions, migrations, and relations. Use when: building database layers in TypeScript applications.
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling
Generate TypeScript clients from OpenAPI specs using @hey-api/openapi-ts. Type-safe API clients with Zod schemas. Use when: generating TypeScript clients from OpenAPI specifications for frontend or API consumers.
Set up Tailwind v4 with shadcn/ui using @theme inline pattern and CSS variable architecture. Includes component composition patterns, accessibility guidelines, and React Hook Form integration. Use when: initializing React projects with Tailwind v4, setting up shadcn/ui dark mode, composing/extending components, implementing forms, ensuring accessibility, or fixing colors not working, theme not applying, CSS variables broken, tw-animate-css errors, or migrating from v3.
TanStack Query (React Query) for async operations, data fetching, caching, and state management. Use when: fetching server data, managing async operations, caching responses, handling mutations, or any operation that benefits from automatic state management and caching.
Utility hooks for React state management - grouped state and localStorage persistence. Use when: managing grouped state that changes together, persisting state to localStorage, or coordinating state between URL and storage.
TypeBox schemas with Fastify routes for type-safe API development. Native JSON Schema, automatic OpenAPI generation. Use when: building Fastify REST APIs with schema validation and OpenAPI generation.
# Skill: solidity ## Scope - Solidity 0.8.24 smart contract development with Foundry - EVM internals and execution environment understanding - Security patterns and vulnerability prevention - Gas optimization techniques - Testing strategies with Foundry (unit, fuzz, invariant) - Client interactions using viem v2 - OpenZeppelin Contracts integration Does NOT cover: - Frontend wallet integration (see wagmi skill) - Solana development (see solana skill) ## Assumptions - Solidity 0.8.24 - Found
Advanced TypeScript patterns for type-safe, maintainable code using sophisticated type system features. Use when building type-safe APIs, implementing complex domain models, or leveraging TypeScript's advanced type capabilities.
# Skill: wagmi ## Scope - React/Next.js wallet integration with Wagmi v3 for EVM chains - Contract interactions using viem v2 for address validation and transaction building - Transaction state management and error handling - Custom hooks wrapping wagmi for contract-specific interactions Does NOT cover: - Solana frontend development - Backend RPC interactions - Smart contract development ## Assumptions - Wagmi v3.3.2+ - viem v2.44.4 - React 18+ or Next.js 14+ - TypeScript v5+ with strict mo