discover-frontend
Automatically discover frontend development skills when working with React, Next.js, UI components, state management, data fetching, forms, accessibility, performance optimization, or SEO. Activates for frontend web development tasks.
What this skill does
# Frontend Skills Discovery Provides automatic access to comprehensive frontend development skills. ## When This Skill Activates This skill auto-activates when you're working with: - React component development - Next.js applications and App Router - State management (Context, Zustand, Redux) - Data fetching (SWR, React Query, Server Actions) - Form handling and validation - Web accessibility (WCAG, ARIA) - Frontend performance optimization - SEO and metadata - UI/UX design implementation - terminal user interfaces - TUI - Bubble Tea - Ratatui - terminal UI - text-based interfaces - ncurses ## Available Skills ### Quick Reference The Frontend category contains 16 skills across 2 subcategories (+ elegant-design): **Frontend (11 skills):** 1. **react-component-patterns** - Component design, composition, hooks, performance 2. **nextjs-app-router** - Next.js 14+ App Router, Server Components, routing 3. **react-state-management** - Context, Zustand, Redux Toolkit patterns 4. **react-data-fetching** - SWR, React Query, Server Actions, data patterns 5. **react-form-handling** - React Hook Form, Zod validation, form patterns 6. **web-accessibility** - WCAG 2.1 AA compliance, ARIA, keyboard navigation 7. **frontend-performance** - Bundle optimization, Core Web Vitals, code splitting 8. **nextjs-seo** - SEO with Next.js, metadata API, structured data 9. **web-workers** - Web Workers API, message passing, offloading computation 10. **browser-concurrency** - Service Workers, SharedWorkers, Worklets, PWAs 11. **elegant-design/SKILL.md** - World-class accessible interfaces (separate Agent Skill) **TUI (5 skills):** See `../tui/INDEX.md` ### Load Full Category Details Read ../frontend/INDEX.md Read ../tui/INDEX.md ## Common Workflows ### New Next.js Application **Sequence**: App Router → Components → Data Fetching Read ../frontend/nextjs-app-router.md # Setup routing, layouts Read ../frontend/react-component-patterns.md # Build components Read ../frontend/react-data-fetching.md # Fetch data ### Elegant UI Design **Sequence**: Design System → Components → Accessibility # Note: elegant-design auto-activates as separate Agent Skill # for design-focused work (shadcn/ui, accessible interfaces, etc.) Read ../frontend/react-component-patterns.md Read ../frontend/web-accessibility.md ### Form Implementation **Sequence**: Form Handling → State Management Read ../frontend/react-form-handling.md # Build forms Read ../frontend/react-state-management.md # Manage form state ### Production Optimization **Sequence**: Performance → Accessibility → SEO Read ../frontend/frontend-performance.md # Optimize bundle Read ../frontend/web-accessibility.md # Ensure accessibility Read ../frontend/nextjs-seo.md # Optimize SEO ### CPU-Intensive Features & PWAs **Sequence**: Workers → Concurrency → Performance Read ../frontend/web-workers.md # Offload heavy computation Read ../frontend/browser-concurrency.md # Service Workers, offline support Read ../frontend/frontend-performance.md # Optimize overall performance ## Skill Selection Guide **React Component Patterns** → `react-component-patterns.md`: - Component architecture and composition - Custom hooks - Performance optimization (memo, useMemo, useCallback) - Design patterns (compound components, render props, HOCs) **Next.js App Router** → `nextjs-app-router.md`: - Server Components vs Client Components - Routing and layouts - Data fetching patterns - Streaming and Suspense - Route handlers and API routes **State Management** → `react-state-management.md`: - When to use Context vs external state libraries - Zustand for simple global state - Redux Toolkit for complex state - Server state vs client state **Data Fetching** → `react-data-fetching.md`: - SWR for client-side fetching - React Query (TanStack Query) for advanced patterns - Next.js Server Actions - Data mutation patterns - Caching strategies **Forms** → `react-form-handling.md`: - React Hook Form for performance - Zod for validation - Form state management - Error handling - File uploads **Accessibility** → `web-accessibility.md`: - WCAG 2.1 AA compliance - ARIA attributes - Keyboard navigation - Screen reader support - Color contrast and focus management **Performance** → `frontend-performance.md`: - Bundle size optimization - Code splitting and lazy loading - Core Web Vitals - Image optimization - Font optimization - Runtime performance **SEO** → `nextjs-seo.md`: - Next.js Metadata API - Open Graph and Twitter cards - Structured data (JSON-LD) - Sitemap and robots.txt - Dynamic metadata **Web Workers** → `web-workers.md`: - Offloading heavy computation - Web Workers API and message passing - Transferable objects for zero-copy - React integration with custom hooks - Worker pools for parallel processing - TypeScript type safety **Browser Concurrency** → `browser-concurrency.md`: - Service Workers for offline support and PWAs - SharedWorkers for cross-tab state - Audio/Paint/Animation Worklets - Background sync and push notifications - Caching strategies - BroadcastChannel for cross-tab messaging ## Integration with Other Skills Frontend skills commonly combine with: **API skills** (`discover-api`): - Consuming REST APIs - GraphQL client integration - API error handling in UI - Authentication flows **Testing skills** (`discover-testing`): - Component testing - E2E testing with Playwright - Visual regression testing - Accessibility testing **Design** (`elegant-design` Agent Skill): - shadcn/ui components - Accessible design patterns - Chat/terminal/code UIs - Streaming interfaces - Design systems **Database skills** (`discover-database`): - Server Actions with database queries - ORM integration in Server Components - Real-time data updates **Deployment skills** (`discover-deployment`): - Vercel deployment - Netlify deployment - Performance monitoring - CDN configuration ## Progressive Loading This gateway skill enables progressive loading: - **Level 1**: Gateway loads automatically (you're here now) - **Level 2**: Load category INDEX.md (~4K tokens) for full overview - **Level 3**: Load specific skills (~3-4K tokens each) as needed Total context: 2K + 4K + skill(s) = 6-12K tokens vs 25K+ for entire index. ## Quick Start Examples **"Build a Next.js app with App Router"**: Read ../frontend/nextjs-app-router.md **"Create reusable React components"**: Read ../frontend/react-component-patterns.md **"Implement global state management"**: Read ../frontend/react-state-management.md **"Build a form with validation"**: Read ../frontend/react-form-handling.md **"Optimize my app performance"**: Read ../frontend/frontend-performance.md **"Make my app accessible"**: Read ../frontend/web-accessibility.md **"Improve SEO"**: Read ../frontend/nextjs-seo.md **"Offload heavy computation"**: Read ../frontend/web-workers.md **"Build a PWA with offline support"**: Read ../frontend/browser-concurrency.md ## React vs Next.js Decision **Use React (Vite)** when: - Building SPAs or client-heavy apps - Don't need SSR or SSG - Want full control over routing - Building component libraries **Use Next.js** when: - Need SEO (Server-Side Rendering) - Want file-based routing - Need API routes - Building full-stack apps - Want optimal performance out of the box ## State Management Decision **Use Component State (useState)** when: - State is local to a component - Simple state that doesn't need sharing **Use Context** when: - Sharing state across a few components - Theme, auth, or user preferences - Not frequently updated **Use Zustand** when: - Need global state - Want simple API - State updates are moderate **Use Redux Toolkit** when: - Complex state logic - Need middleware (sagas, thunks) - Large team with established patterns - Time-travel debugging needed For detailed guidance: Read ../frontend/react-state-management.md ## Data Fetching Decision **Server Components** (Next.js A
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".