skills/antfu/vite/SKILL.md
Vite next-generation frontend build tool with fast HMR and optimized builds. Use when configuring Vite, adding plugins, working with dev server, or building for production.
npx skillsauth add aiskillstore/marketplace viteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Vite is a modern build tool for frontend development featuring instant server start with native ES modules, lightning-fast HMR, and optimized production builds using Rolldown/Rollup. It supports TypeScript, JSX, CSS pre-processors out of the box and has a rich plugin ecosystem.
The skill is based on Vite 6.x, generated at 2026-01-28.
| Topic | Description | Reference | |-------|-------------|-----------| | Configuration | Config file setup, defineConfig, conditional and async configs | core-config | | CLI Commands | Dev server, build, preview commands and options | core-cli | | Core Features | TypeScript, JSX, CSS, HTML processing, JSON handling | core-features | | Using Plugins | Adding, configuring, and ordering plugins | core-plugins |
| Topic | Description | Reference | |-------|-------------|-----------| | CSS Handling | CSS modules, pre-processors, PostCSS, Lightning CSS | features-css | | Static Assets | Asset imports, public directory, URL handling | features-assets | | Glob Import | import.meta.glob, dynamic imports, batch loading | features-glob-import | | Environment Variables | .env files, modes, import.meta.env constants | features-env | | HMR API | Hot Module Replacement client API | features-hmr | | Web Workers | Worker imports and configuration | features-workers | | Dependency Pre-Bundling | optimizeDeps, caching, monorepo setup | features-dep-bundling |
| Topic | Description | Reference | |-------|-------------|-----------| | Production Build | Build options, browser targets, multi-page apps | build-production | | Library Mode | Building libraries with proper package exports | build-library | | SSR | Server-side rendering setup and configuration | build-ssr |
| Topic | Description | Reference | |-------|-------------|-----------| | JavaScript API | createServer, build, preview programmatic APIs | advanced-api | | Plugin API | Creating Vite plugins, hooks, virtual modules | advanced-plugin-api | | Performance | Optimization tips for dev server and builds | advanced-performance | | Backend Integration | Integrating Vite with traditional backends | advanced-backend |
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.