Tag: frontend
Zustand State Management Patterns for LobeHub
This guide outlines best practices for structuring state in Zustand stores, advising developers to use simple arrays for list data and Maps for caching multiple detail entities. Adhering to these patterns ensures optimal performance for lis…
Managing Baserow Integrations and Services
This skill guides the implementation of new or updated service and integration types within the Baserow platform. It requires coordinating changes across the backend (Python models, service/integration subclasses) and the frontend (React co…
Comprehensive Frontend Code Quality Review
This skill performs comprehensive code reviews on frontend files (.tsx, .ts, .js), checking for adherence to established conventions, performance anti-patterns, and security vulnerabilities. It supports both file-targeted and pending-change…
Refactoring Complex React Components in TypeScript
Guides the systematic refactoring of high-complexity React components by extracting custom hooks, simplifying conditional logic, and decomposing monolithic JSX into smaller, manageable sub-components. This process is essential for improving…
Generates High-Fidelity UI Design Specifications
This skill guides the creation of high-fidelity, aesthetically rich user interfaces for web and mini-programs. It mandates a structured design specification, including color palettes, typography, and layout strategy, before generating any i…
CloudBase Web Authentication Frontend Integration Guide
This skill guides frontend integration for Web authentication using the @cloudbase/js-sdk, offering a Supabase-compatible API for managing user sessions, registration, and protected routes. It supports multiple login methods, including emai…
High-Fidelity UI Design and Prototyping Skill
This skill guides the creation of high-fidelity, aesthetically rich user interfaces for web and mini-program applications. It enforces a mandatory design specification phase, ensuring the agent determines the aesthetic direction, color pale…
React and Next.js Performance Optimization Guide
This skill provides comprehensive, Vercel-maintained guidelines for optimising React and Next.js applications. It guides developers through best practices for data fetching, bundle size reduction, and component rendering to ensure optimal w…
React Component Refactoring Skill
Provides patterns and workflows for refactoring high-complexity React components in the Dify frontend. It enables developers to reduce complexity by extracting custom hooks, sub-components, and simplifying conditional logic.
Generate React Frontend Tests with Vitest and RTL
This skill generates high-quality unit and integration tests for React components, hooks, and utilities using Vitest and React Testing Library. It enforces best practices, including the AAA pattern and structured testing workflows, ensuring…
Comprehensive Frontend Code Quality Review Skill
This skill performs comprehensive code reviews on frontend files (e.g., TSX, JS). It supports both reviewing staged changes and specific files, flagging violations against established checklists for quality, performance, and business logic.
Comprehensive Frontend Code Quality Review
This skill performs deep code analysis on frontend files, supporting both file-targeted and pending-change reviews. It rigorously checks for security flaws, performance anti-patterns, and adherence to established component and architectural…
Writing Baserow Frontend Unit Tests
Provides comprehensive guidance on writing and updating unit tests for Baserow's Vue/Nuxt frontend components, utilities, and stores. It mandates adherence to established patterns using Vitest, TestApp, and specific mounting utilities.
Creating or Updating Baserow Integrations and Services
This skill guides developers through the full lifecycle of creating or updating custom Baserow service and integration types. It details the necessary backend and frontend steps, including model updates, subclassing, and registration across…
Creating Baserow In-App Notification Patterns
This skill guides the implementation of robust in-app notifications within Baserow, covering both backend and frontend requirements. It details necessary patterns for notification lifecycle management, including target definition, event han…
Create fully interactive client-side feature prototypes
This skill generates a fully interactive, client-side prototype for a specified feature unit. It uses mocked APIs and existing design system components, ensuring the resulting code is runnable and testable before full implementation.
Integrating and managing shadcn/ui components
This skill guides developers through integrating, updating, and managing components from the shadcn/ui ecosystem, covering core, standard, and community registry components. It enforces adherence to the defined token system for consistent s…
Create interactive client-side feature prototypes
This skill generates a fully interactive, client-side prototype for a given feature unit, using existing specifications and configuration. It includes mocked API fixtures and components, ensuring the prototype is runnable and testable befor…
Load UI context and frontend best practices
This skill loads comprehensive context regarding the application's UI structure, navigation patterns, and critical frontend rules. It ensures adherence to established best practices for analytics, linking, and component usage.
React performance optimization guidelines and patterns
This skill provides comprehensive, prioritized guidelines for optimizing React applications. It covers critical patterns such as eliminating waterfalls, managing bundle size, and optimizing re-renders for peak performance.
Vercel React and Next.js Performance Guide
This skill provides comprehensive, Vercel-maintained guidelines for optimizing React and Next.js applications. It covers critical patterns across server-side, client-side, and rendering performance to ensure optimal bundle size and load tim…
Browser Review for Frontend UI Changes
This skill provides a structured workflow for reviewing user-visible frontend changes, ensuring layout, styling, and navigation regressions are caught. It utilizes the Playwright MCP server to facilitate final signoff for UI-affecting work.
Frontend UI Design and Prototyping
Provides a structured workflow for generating design specifications, aesthetic directions, and high-fidelity prototypes for web and mini-program interfaces. It enforces strict design constraints to avoid generic AI aesthetics, focusing on i…
CloudBase Relational Database Web SDK
Provides a standardised initialization pattern for accessing CloudBase Relational Database from web frontends using the @cloudbase/js-sdk. It enables Supabase-style querying for table operations directly within the browser.