[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73B1V76NM8PBKQVGCDQQYGZ":3,"skill-same:01M73B1V76NM8PBKQVGCDQQYGZ":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M73B1V76NM8PBKQVGCDQQYGZ","vite-development",null,"Vite 8.0.10 build tooling — HMR, fast builds, plugins, and optimized production assets. Use when configuring Vite, setting up React\u002FVue projects with Vite, or optimizing frontend build performance.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fvite-development\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fvite-development\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: vite-development\nversion: \"2.0\"\nlast_updated: 2026-09-08\ntags: [vite, development, testing, quality, automation]\ndescription: \"Vite 8.0.10 build tooling — HMR, fast builds, plugins, and optimized production assets. Use when configuring Vite, setting up React\u002FVue projects with Vite, or optimizing frontend build performance.\"\n---\n# Vite Development\n\n> Optimized for Vite 8+, React 19+, TypeScript 5.5+, Vitest 2+, and modern ESM-first frontend builds.\n\nExpert guidance for using Vite 8.0.10 as the build tool for React and other web applications with modern frontend development patterns. Documentation grounded in the official Vite docs at https:\u002F\u002Fvite.dev\u002F.\n\n- Leverage native parallel subagent dispatch and 200k+ context windows where available.\n\n\n## Component Review Rubric Reference\n\nApply the shared [Component Review Rubric](..\u002Ffrontend-design\u002FSKILL.md#component-review-rubric) before approving Vite components, then run the Vite-specific checks below.\n\n\u003C!-- MCP:START -->\n\n\u003C!-- PORTABILITY:START -->\n## Cross-Client Portability\n\nThis skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.\n\n- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the\n  workflow in project instructions when folder discovery is unavailable.\n- Claude Code: keep the folder in a local skills directory or a compatible plugin source.\n- Codex: install or sync the folder into\n  `$CODEX_HOME\u002Fskills\u002Fvite-development` and restart Codex after major changes.\n\n\u003C!-- PORTABILITY:END -->\n\n## MCP Availability And Fallback\n\nPreferred MCP Server: None required\n\n- Fallback prompt: \"Use the Vite Development skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding.\"\n- Do not claim an MCP operation was used when the active host does not expose it.\n- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.\n\n\u003C!-- MCP:END -->\n\n## Anti-Patterns\n\n- Hard-coding environment-specific URLs: Builds become fragile as soon as the app moves between local, staging, and production.\n- Treating plugin order as incidental: Vite plugins often transform the same files, so ordering bugs are easy to create.\n- Assuming fast HMR guarantees good production output: Bundle quality and runtime behavior still need explicit review.\n\n## Verification Protocol\n\nBefore claiming \"skill applied successfully\":\n\n1. Pass\u002Ffail: The Vite Development guidance is tied to a concrete route, component, screen, or design artifact.\n2. Pass\u002Ffail: Component states cover loading, empty, error, success, and responsive breakpoints where applicable.\n3. Pass\u002Ffail: Accessibility, visual hierarchy, and interaction behavior are reviewed against the shared component rubric.\n4. Pressure-test scenario: Review the component on a narrow mobile viewport, keyboard-only path, and slow-loading state.\n5. Success metric: Zero generic UI approval; every approval cites rendered behavior or source evidence.\n\n## Before and After Example\n\n```ts\n\u002F\u002F Before\nexport default {\n  server: { proxy: { '\u002Fapi': 'http:\u002F\u002Flocalhost:3000' } },\n};\n\n\u002F\u002F After\nimport { defineConfig, loadEnv } from 'vite';\n\nexport default defineConfig(({ mode }) => {\n  const env = loadEnv(mode, process.cwd(), '');\n  return {\n    server: {\n      proxy: {\n        '\u002Fapi': {\n          target: env.VITE_API_BASE_URL,\n          changeOrigin: true,\n        },\n      },\n    },\n  };\n});\n```\n\nMakes the proxy configuration mode-aware and driven by typed environment input instead of hard-coded URLs.\n\n## Activation Conditions\n\nUse symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.\n\n**Project Setup & Configuration:**\n- Initializing new Vite projects\n- Configuring `vite.config.js` with plugins\n- Setting up development server with custom options\n- Configuring build optimization and bundling\n\n**Performance & Optimization:**\n- Optimizing bundle size and code splitting\n- Configuring lazy loading and dynamic imports\n- Setting up asset optimization (images, CSS)\n- Enabling CSS code splitting and module resolution\n\n**Development Experience:**\n- Configuring Hot Module Replacement (HMR)\n- Setting up proxy for API calls in dev\n- Environment variable handling\n- Source map configuration\n\n**Plugin Ecosystem:**\n- Using official Vite plugins (React, Vue)\n- Community plugins for specific needs\n- Writing custom Vite plugins\n- Configuring plugin options and hooks\n\n---\n\n## Part 1: Project Configuration\n\n### Basic Vite Config\n\n```javascript\n\u002F\u002F vite.config.js\nimport { defineConfig } from 'vite';\nimport react from '@vitejs\u002Fplugin-react';\n\nexport default defineConfig({\n  plugins: [react()],\n  server: {\n    port: 5173,\n    open: true,\n  },\n  build: {\n    outDir: 'dist',\n    sourcemap: true,\n    rollupOptions: {\n      output: {\n        manualChunks: {\n          'react-vendor': ['react', 'react-dom'],\n          'api-client': ['.\u002Fsrc\u002Fapi\u002Fclient'],\n        },\n      },\n    },\n  },\n});\n```\n\n### Environment-Specific Config\n\n```javascript\n\u002F\u002F vite.config.js\nimport { defineConfig, loadEnv } from 'vite';\n\nexport default defineConfig(({ mode }) => {\n  const env = loadEnv(mode, process.cwd());\n\n  return {\n    base: mode === 'production' ? '\u002Fapp-base-path\u002F' : '\u002F',\n    server: {\n      proxy: {\n        '\u002Fapi': {\n          target: env.VITE_API_URL || 'http:\u002F\u002Flocalhost:8080',\n          changeOrigin: true,\n        },\n      },\n    },\n    define: {\n      __APP_VERSION__: JSON.stringify(process.env.npm_package_version),\n    },\n  };\n});\n```\n\n---\n\n## Part 2: Build Optimization\n\n### Code Splitting\n\n```javascript\n\u002F\u002F vite.config.js\nexport default defineConfig({\n  build: {\n    rollupOptions: {\n      output: {\n        manualChunks(id) {\n          if (id.includes('node_modules')) {\n            \u002F\u002F React and ReactDOM\n            if (id.includes('react') || id.includes('react-dom')) {\n              return 'react-vendor';\n            }\n            \u002F\u002F Other large libraries\n            if (id.includes('axios')) {\n              return 'api-lib';\n            }\n            return 'vendor';\n          }\n        },\n      },\n    },\n  },\n});\n```\n\n### Lazy Loading Routes\n\n```javascript\n\u002F\u002F Lazy loading route components\nconst RecipeDetail = lazy(() => import('.\u002Fpages\u002FRecipeDetail'));\nconst RecipeList = lazy(() => import('.\u002Fpages\u002FRecipeList'));\n\nfunction App() {\n  return (\n    \u003CSuspense fallback={\u003CLoading \u002F>}>\n      \u003CRoutes>\n        \u003CRoute path=\"\u002Frecipes\u002F:id\" element={\u003CRecipeDetail \u002F>} \u002F>\n        \u003CRoute path=\"\u002Frecipes\" element={\u003CRecipeList \u002F>} \u002F>\n      \u003C\u002FRoutes>\n    \u003C\u002FSuspense>\n  );\n}\n```\n\n---\n\n## Part 3: Development Server\n\n### Proxy Configuration\n\n```javascript\n\u002F\u002F vite.config.js\nexport default defineConfig({\n  server: {\n    proxy: {\n      '\u002Fapi': {\n        target: 'http:\u002F\u002Flocalhost:8080',\n        changeOrigin: true,\n        rewrite: (path) => path.replace(\u002F^\\\u002Fapi\u002F, ''),\n      },\n      '\u002Fauth': {\n        target: 'http:\u002F\u002Flocalhost:8080',\n        changeOrigin: true,\n      },\n    },\n  },\n});\n```\n\n### HMR Configuration\n\n```javascript\n\u002F\u002F vite.config.js\nexport default defineConfig({\n  server: {\n    hmr: {\n      overlay: true,\n    },\n    watch: {\n      usePolling: true,\n      interval: 100,\n    },\n  },\n});\n```\n\n---\n\n## Part 4: Assets and Plugins\n\n### Image Optimization\n\n```javascript\n\u002F\u002F vite.config.js\nimport { defineConfig } from 'vite';\nimport viteImagemin from 'vite-plugin-imagemin';\n\nexport default defineConfig({\n  plugins: [\n    viteImagemin({\n      gifsicle: { optimizationLevel: 7 },\n      optipng: { optimizationLevel: 7 },\n      mozjpeg: { quality: 80 },\n      pngquant: { quality: [0.65, 0.9], speed: 4 },\n      svgo: {\n        plugins: [\n          {\n            name: 'removeViewBox',\n            active: false,\n          },\n        ],\n      },\n    }),\n  ],\n});\n```\n\n---\n\n## Vite Development Best Practices\n\n### Configuration\n- [ ] Use `defineConfig` for type-safe configuration\n- [ ] Separate dev and production concerns\n- [ ] Enable sourcemaps for debugging\n- [ ] Configure proper base path for deployment\n- [ ] Set up proxy for API during development\n\n### Build Optimization\n- [ ] Implement code splitting for vendors\n- [ ] Use lazy loading for heavy routes\u002Fcomponents\n- [ ] Configure manual chunks for better caching\n- [ ] Optimize assets (images, fonts)\n- [ ] Enable minification for production builds\n\n### Performance\n- [ ] Monitor bundle size with Vite bundle analyzer\n- [ ] Use tree-shaking to remove unused code\n- [ ] Configure dynamic imports for better time-to-interactive\n- [ ] Enable CSS code splitting for faster page loads\n- [ ] Use compression middleware for production\n\n### Development\n- [ ] Configure HMR for faster iteration\n- [ ] Set up environment variables for different environments\n- [ ] Use proxy for local API development\n- [ ] Enable source maps for better debugging\n- [ ] Configure clear port and open options\n\n## Common Pitfalls\n\n- Hard-coding environment-specific URLs: Builds become fragile as soon as the app moves between local, staging, and production.\n- Treating plugin order as incidental: Vite plugins can transform the same files, so ordering bugs are easy to create.\n- Ignoring bundle inspection: Fast local HMR does not guarantee the production output is well-shaped.\n\n## Modern Component and Testing Examples\n\n### Server Components\n```tsx\nexport async function OrdersPanel() {\n  const orders = await getOrders();\n  return \u003COrdersTable orders={orders} \u002F>;\n}\n```\n\n### Error Boundaries\n```tsx\nimport { ErrorBoundary } from 'react-error-boundary';\n\n\u003CErrorBoundary fallbackRender={() => \u003Cp>Could not load dashboard.\u003C\u002Fp>}>\n  \u003CDashboard \u002F>\n\u003C\u002FErrorBoundary>\n```\n\n### Accessibility Testing Tools\n```tsx\nimport { axe } from 'jest-axe';\n\ntest('dialog passes axe checks', async () => {\n  const { container } = render(\u003CAccountDialog open \u002F>);\n  expect(await axe(container)).toHaveNoViolations();\n});\n```\n\n## References & Resources\n\n### Documentation\n- [Vite 2026 Config Reference](.\u002Freferences\u002Fvite-2026-config-reference.md) — Comprehensive Vite configuration guide\n- [Vite Official Excerpts - HMR Config](.\u002Freferences\u002Fvite-official-excerpts-hmr-config.md) — Hot Module Replacement configuration\n\n### Examples\n- [Vite Config Examples](.\u002Fexamples\u002Fvite-config-examples.md) — Example Vite configurations for different use cases\n\n### Scripts\n- [Vite Plugin Template](.\u002Fscripts\u002Fvite-plugin-template.ts) — Template for creating custom Vite plugins\n\n### Official Documentation\n- [Vite Documentation](https:\u002F\u002Fvite.dev\u002F)\n- [Vite Plugins](https:\u002F\u002Fvite.dev\u002Fplugins\u002F)\n- [Rollup Options](https:\u002F\u002Fvite.dev\u002Fconfig\u002Fbuild-options.html#build-rollupoptions)\n\n\n---\n\n## Related Skills\n\n- [javascript-development](..\u002Fjavascript-development\u002FSKILL.md): Use it when the workflow also needs modern JavaScript and TypeScript application code.\n- [react-development](..\u002Freact-development\u002FSKILL.md): Use it when the workflow also needs React component architecture and client or server boundaries.\n- [web-testing](..\u002Fweb-testing\u002FSKILL.md): Use it when the workflow also needs browser and end-to-end testing evidence.\n- [frontend-design](..\u002Ffrontend-design\u002FSKILL.md): Use it when the workflow also needs UI composition and front-end design direction.\n","# Vite Development\n\n> Optimized for Vite 8+, React 19+, TypeScript 5.5+, Vitest 2+, and modern ESM-first frontend builds.\n\nExpert guidance for using Vite 8.0.10 as the build tool for React and other web applications with modern frontend development patterns. Documentation grounded in the official Vite docs at https:\u002F\u002Fvite.dev\u002F.\n\n- Leverage native parallel subagent dispatch and 200k+ context windows where available.\n\n\n## Component Review Rubric Reference\n\nApply the shared [Component Review Rubric](..\u002Ffrontend-design\u002FSKILL.md#component-review-rubric) before approving Vite components, then run the Vite-specific checks below.\n\n\u003C!-- MCP:START -->\n\n\u003C!-- PORTABILITY:START -->\n## Cross-Client Portability\n\nThis skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.\n\n- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the\n  workflow in project instructions when folder discovery is unavailable.\n- Claude Code: keep the folder in a local skills directory or a compatible plugin source.\n- Codex: install or sync the folder into\n  `$CODEX_HOME\u002Fskills\u002Fvite-development` and restart Codex after major changes.\n\n\u003C!-- PORTABILITY:END -->\n\n## MCP Availability And Fallback\n\nPreferred MCP Server: None required\n\n- Fallback prompt: \"Use the Vite Development skill without MCP. Rely on its local instructions, bundled resources, standard shell or editor tools, and direct verification. Show the evidence used before concluding.\"\n- Do not claim an MCP operation was used when the active host does not expose it.\n- Treat local files, tests, rendered outputs, logs, or screenshots as the fallback evidence path.\n\n\u003C!-- MCP:END -->\n\n## Anti-Patterns\n\n- Hard-coding environment-specific URLs: Builds become fragile as soon as the app moves between local, staging, and production.\n- Treating plugin order as incidental: Vite plugins often transform the same files, so ordering bugs are easy to create.\n- Assuming fast HMR guarantees good production output: Bundle quality and runtime behavior still need explicit review.\n\n## Verification Protocol\n\nBefore claiming \"skill applied successfully\":\n\n1. Pass\u002Ffail: The Vite Development guidance is tied to a concrete route, component, screen, or design artifact.\n2. Pass\u002Ffail: Component states cover loading, empty, error, success, and responsive breakpoints where applicable.\n3. Pass\u002Ffail: Accessibility, visual hierarchy, and interaction behavior are reviewed against the shared component rubric.\n4. Pressure-test scenario: Review the component on a narrow mobile viewport, keyboard-only path, and slow-loading state.\n5. Success metric: Zero generic UI approval; every approval cites rendered behavior or source evidence.\n\n## Before and After Example\n\n```ts\n\u002F\u002F Before\nexport default {\n  server: { proxy: { '\u002Fapi': 'http:\u002F\u002Flocalhost:3000' } },\n};\n\n\u002F\u002F After\nimport { defineConfig, loadEnv } from 'vite';\n\nexport default defineConfig(({ mode }) => {\n  const env = loadEnv(mode, process.cwd(), '');\n  return {\n    server: {\n      proxy: {\n        '\u002Fapi': {\n          target: env.VITE_API_BASE_URL,\n          changeOrigin: true,\n        },\n      },\n    },\n  };\n});\n```\n\nMakes the proxy configuration mode-aware and driven by typed environment input instead of hard-coded URLs.\n\n## Activation Conditions\n\nUse symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.\n\n**Project Setup & Configuration:**\n- Initializing new Vite projects\n- Configuring `vite.config.js` with plugins\n- Setting up development server with custom options\n- Configuring build optimization and bundling\n\n**Performance & Optimization:**\n- Optimizing bundle size and code splitting\n- Configuring lazy loading and dynamic imports\n- Setting up asset optimization (images, CSS)\n- Enabling CSS code splitting and module resolution\n\n**Development Experience:**\n- Configuring Hot Module Replacement (HMR)\n- Setting up proxy for API calls in dev\n- Environment variable handling\n- Source map configuration\n\n**Plugin Ecosystem:**\n- Using official Vite plugins (React, Vue)\n- Community plugins for specific needs\n- Writing custom Vite plugins\n- Configuring plugin options and hooks\n\n---\n\n## Part 1: Project Configuration\n\n### Basic Vite Config\n\n```javascript\n\u002F\u002F vite.config.js\nimport { defineConfig } from 'vite';\nimport react from '@vitejs\u002Fplugin-react';\n\nexport default defineConfig({\n  plugins: [react()],\n  server: {\n    port: 5173,\n    open: true,\n  },\n  build: {\n    outDir: 'dist',\n    sourcemap: true,\n    rollupOptions: {\n      output: {\n        manualChunks: {\n          'react-vendor': ['react', 'react-dom'],\n          'api-client': ['.\u002Fsrc\u002Fapi\u002Fclient'],\n        },\n      },\n    },\n  },\n});\n```\n\n### Environment-Specific Config\n\n```javascript\n\u002F\u002F vite.config.js\nimport { defineConfig, loadEnv } from 'vite';\n\nexport default defineConfig(({ mode }) => {\n  const env = loadEnv(mode, process.cwd());\n\n  return {\n    base: mode === 'production' ? '\u002Fapp-base-path\u002F' : '\u002F',\n    server: {\n      proxy: {\n        '\u002Fapi': {\n          target: env.VITE_API_URL || 'http:\u002F\u002Flocalhost:8080',\n          changeOrigin: true,\n        },\n      },\n    },\n    define: {\n      __APP_VERSION__: JSON.stringify(process.env.npm_package_version),\n    },\n  };\n});\n```\n\n---\n\n## Part 2: Build Optimization\n\n### Code Splitting\n\n```javascript\n\u002F\u002F vite.config.js\nexport default defineConfig({\n  build: {\n    rollupOptions: {\n      output: {\n        manualChunks(id) {\n          if (id.includes('node_modules')) {\n            \u002F\u002F React and ReactDOM\n            if (id.includes('react') || id.includes('react-dom')) {\n              return 'react-vendor';\n            }\n            \u002F\u002F Other large libraries\n            if (id.includes('axios')) {\n              return 'api-lib';\n            }\n            return 'vendor';\n          }\n        },\n      },\n    },\n  },\n});\n```\n\n### Lazy Loading Routes\n\n```javascript\n\u002F\u002F Lazy loading route components\nconst RecipeDetail = lazy(() => import('.\u002Fpages\u002FRecipeDetail'));\nconst RecipeList = lazy(() => import('.\u002Fpages\u002FRecipeList'));\n\nfunction App() {\n  return (\n    \u003CSuspense fallback={\u003CLoading \u002F>}>\n      \u003CRoutes>\n        \u003CRoute path=\"\u002Frecipes\u002F:id\" element={\u003CRecipeDetail \u002F>} \u002F>\n        \u003CRoute path=\"\u002Frecipes\" element={\u003CRecipeList \u002F>} \u002F>\n      \u003C\u002FRoutes>\n    \u003C\u002FSuspense>\n  );\n}\n```\n\n---\n\n## Part 3: Development Server\n\n### Proxy Configuration\n\n```javascript\n\u002F\u002F vite.config.js\nexport default defineConfig({\n  server: {\n    proxy: {\n      '\u002Fapi': {\n        target: 'http:\u002F\u002Flocalhost:8080',\n        changeOrigin: true,\n        rewrite: (path) => path.replace(\u002F^\\\u002Fapi\u002F, ''),\n      },\n      '\u002Fauth': {\n        target: 'http:\u002F\u002Flocalhost:8080',\n        changeOrigin: true,\n      },\n    },\n  },\n});\n```\n\n### HMR Configuration\n\n```javascript\n\u002F\u002F vite.config.js\nexport default defineConfig({\n  server: {\n    hmr: {\n      overlay: true,\n    },\n    watch: {\n      usePolling: true,\n      interval: 100,\n    },\n  },\n});\n```\n\n---\n\n## Part 4: Assets and Plugins\n\n### Image Optimization\n\n```javascript\n\u002F\u002F vite.config.js\nimport { defineConfig } from 'vite';\nimport viteImagemin from 'vite-plugin-imagemin';\n\nexport default defineConfig({\n  plugins: [\n    viteImagemin({\n      gifsicle: { optimizationLevel: 7 },\n      optipng: { optimizationLevel: 7 },\n      mozjpeg: { quality: 80 },\n      pngquant: { quality: [0.65, 0.9], speed: 4 },\n      svgo: {\n        plugins: [\n          {\n            name: 'removeViewBox',\n            active: false,\n          },\n        ],\n      },\n    }),\n  ],\n});\n```\n\n---\n\n## Vite Development Best Practices\n\n### Configuration\n- [ ] Use `defineConfig` for type-safe configuration\n- [ ] Separate dev and production concerns\n- [ ] Enable sourcemaps for debugging\n- [ ] Configure proper base path for deployment\n- [ ] Set up proxy for API during development\n\n### Build Optimization\n- [ ] Implement code splitting for vendors\n- [ ] Use lazy loading for heavy routes\u002Fcomponents\n- [ ] Configure manual chunks for better caching\n- [ ] Optimize assets (images, fonts)\n- [ ] Enable minification for production builds\n\n### Performance\n- [ ] Monitor bundle size with Vite bundle analyzer\n- [ ] Use tree-shaking to remove unused code\n- [ ] Configure dynamic imports for better time-to-interactive\n- [ ] Enable CSS code splitting for faster page loads\n- [ ] Use compression middleware for production\n\n### Development\n- [ ] Configure HMR for faster iteration\n- [ ] Set up environment variables for different environments\n- [ ] Use proxy for local API development\n- [ ] Enable source maps for better debugging\n- [ ] Configure clear port and open options\n\n## Common Pitfalls\n\n- Hard-coding environment-specific URLs: Builds become fragile as soon as the app moves between local, staging, and production.\n- Treating plugin order as incidental: Vite plugins can transform the same files, so ordering bugs are easy to create.\n- Ignoring bundle inspection: Fast local HMR does not guarantee the production output is well-shaped.\n\n## Modern Component and Testing Examples\n\n### Server Components\n```tsx\nexport async function OrdersPanel() {\n  const orders = await getOrders();\n  return \u003COrdersTable orders={orders} \u002F>;\n}\n```\n\n### Error Boundaries\n```tsx\nimport { ErrorBoundary } from 'react-error-boundary';\n\n\u003CErrorBoundary fallbackRender={() => \u003Cp>Could not load dashboard.\u003C\u002Fp>}>\n  \u003CDashboard \u002F>\n\u003C\u002FErrorBoundary>\n```\n\n### Accessibility Testing Tools\n```tsx\nimport { axe } from 'jest-axe';\n\ntest('dialog passes axe checks', async () => {\n  const { container } = render(\u003CAccountDialog open \u002F>);\n  expect(await axe(container)).toHaveNoViolations();\n});\n```\n\n## References & Resources\n\n### Documentation\n- [Vite 2026 Config Reference](.\u002Freferences\u002Fvite-2026-config-reference.md) — Comprehensive Vite configuration guide\n- [Vite Official Excerpts - HMR Config](.\u002Freferences\u002Fvite-official-excerpts-hmr-config.md) — Hot Module Replacement configuration\n\n### Examples\n- [Vite Config Examples](.\u002Fexamples\u002Fvite-config-examples.md) — Example Vite configurations for different use cases\n\n### Scripts\n- [Vite Plugin Template](.\u002Fscripts\u002Fvite-plugin-template.ts) — Template for creating custom Vite plugins\n\n### Official Documentation\n- [Vite Documentation](https:\u002F\u002Fvite.dev\u002F)\n- [Vite Plugins](https:\u002F\u002Fvite.dev\u002Fplugins\u002F)\n- [Rollup Options](https:\u002F\u002Fvite.dev\u002Fconfig\u002Fbuild-options.html#build-rollupoptions)\n\n\n---\n\n## Related Skills\n\n- [javascript-development](..\u002Fjavascript-development\u002FSKILL.md): Use it when the workflow also needs modern JavaScript and TypeScript application code.\n- [react-development](..\u002Freact-development\u002FSKILL.md): Use it when the workflow also needs React component architecture and client or server boundaries.\n- [web-testing](..\u002Fweb-testing\u002FSKILL.md): Use it when the workflow also needs browser and end-to-end testing evidence.\n- [frontend-design](..\u002Ffrontend-design\u002FSKILL.md): Use it when the workflow also needs UI composition and front-end design direction.\n",{"name":5,"tags":25,"version":31,"description":7,"last_updated":32},[26,27,28,29,30],"vite","development","testing","quality","automation","2.0",1788825600000,"master","fd76f882a04e445e899d5cfb2732f2105ea054ee","skills\u002Fagent-skills\u002Fvite-development",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill vite-development",{"tool":49,"command":50},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill vite-development",{"tool":52,"command":53},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill vite-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fvite-development\u002FSKILL.md",true,[57,63],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"CHANGELOG.md","REFERENCE","参考文档",6922,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fvite-development\u002FCHANGELOG.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",1070,[69,77,84,91,98,105],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":76},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":76},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":76},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]