[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EG2S9R7CPK41K2XBEEH8N8":3,"skill-same:01M6EG2S9R7CPK41K2XBEEH8N8":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EG2S9R7CPK41K2XBEEH8N8","rspack",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Frspack\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Rspack\n\n## Overview\n\nRspack is a Rust-based JavaScript bundler fully compatible with webpack — same config format, same loaders, same plugins, 5-10x faster builds. Created by ByteDance, it's a drop-in webpack replacement: rename your config file, install Rspack, and your existing webpack project builds in a fraction of the time. No config rewrite, no loader migration, no plugin hunting.\n\n## When to Use\n\n- Webpack builds taking too long (>30 seconds)\n- Want faster builds without rewriting config (unlike Vite migration)\n- Large enterprise projects with heavy webpack configs\n- Need webpack compatibility (loaders, plugins, config) with better performance\n- Migration from Create React App or webpack-based setups\n\n## Instructions\n\n### New Project\n\n```bash\nnpm create rspack@latest my-app\ncd my-app\nnpm start\n```\n\n### Migrate from Webpack\n\n```bash\n# Install Rspack\nnpm install -D @rspack\u002Fcore @rspack\u002Fcli\n\n# Remove webpack\nnpm uninstall webpack webpack-cli webpack-dev-server\n```\n\n```javascript\n\u002F\u002F rspack.config.js — Almost identical to webpack.config.js\nconst { defineConfig } = require(\"@rspack\u002Fcli\");\nconst { HtmlRspackPlugin } = require(\"@rspack\u002Fcore\");\n\nmodule.exports = defineConfig({\n  entry: \".\u002Fsrc\u002Findex.tsx\",\n  output: {\n    path: \".\u002Fdist\",\n    filename: \"[name].[contenthash].js\",\n    clean: true,\n  },\n  resolve: {\n    extensions: [\".ts\", \".tsx\", \".js\", \".jsx\"],\n    alias: { \"@\": \".\u002Fsrc\" },\n  },\n  module: {\n    rules: [\n      {\n        test: \u002F\\.(ts|tsx)$\u002F,\n        use: {\n          loader: \"builtin:swc-loader\",  \u002F\u002F Built-in SWC — no babel needed\n          options: {\n            jsc: {\n              parser: { syntax: \"typescript\", tsx: true },\n              transform: { react: { runtime: \"automatic\" } },\n            },\n          },\n        },\n      },\n      {\n        test: \u002F\\.css$\u002F,\n        type: \"css\",  \u002F\u002F Built-in CSS support\n      },\n      {\n        test: \u002F\\.module\\.css$\u002F,\n        type: \"css\u002Fmodule\",  \u002F\u002F CSS Modules built-in\n      },\n      {\n        test: \u002F\\.(png|jpg|svg|gif)$\u002F,\n        type: \"asset\",  \u002F\u002F Built-in asset handling\n      },\n    ],\n  },\n  plugins: [\n    new HtmlRspackPlugin({ template: \".\u002Findex.html\" }),\n  ],\n  devServer: {\n    port: 3000,\n    hot: true,\n  },\n});\n```\n\n### Key Differences from Webpack\n\n```javascript\n\u002F\u002F What's built-in (no extra loaders\u002Fplugins needed):\n\u002F\u002F ✅ TypeScript\u002FJSX via SWC — builtin:swc-loader\n\u002F\u002F ✅ CSS\u002FCSS Modules — type: \"css\" \u002F \"css\u002Fmodule\"\n\u002F\u002F ✅ Asset handling — type: \"asset\"\n\u002F\u002F ✅ HTML generation — HtmlRspackPlugin\n\u002F\u002F ✅ Code splitting — same as webpack\n\u002F\u002F ✅ Tree shaking — built-in\n\u002F\u002F ✅ Hot Module Replacement — built-in\n\n\u002F\u002F What still uses webpack loaders:\n\u002F\u002F ✅ sass-loader, less-loader — work as-is\n\u002F\u002F ✅ postcss-loader — works as-is\n\u002F\u002F ✅ Most webpack loaders — compatible\n```\n\n### With React and Tailwind\n\n```javascript\n\u002F\u002F rspack.config.js — React + Tailwind CSS project\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: \u002F\\.(ts|tsx)$\u002F,\n        use: {\n          loader: \"builtin:swc-loader\",\n          options: {\n            jsc: {\n              parser: { syntax: \"typescript\", tsx: true },\n              transform: { react: { runtime: \"automatic\" } },\n            },\n          },\n        },\n      },\n      {\n        test: \u002F\\.css$\u002F,\n        use: [\"postcss-loader\"],  \u002F\u002F PostCSS processes Tailwind\n        type: \"css\",\n      },\n    ],\n  },\n};\n```\n\n## Examples\n\n### Example 1: Migrate a webpack project to Rspack\n\n**User prompt:** \"Our webpack build takes 60 seconds. Speed it up without rewriting the config.\"\n\nThe agent will install Rspack, adapt the existing webpack.config.js (minimal changes), replace babel-loader with builtin:swc-loader, and benchmark the improvement.\n\n### Example 2: Set up a new React project with Rspack\n\n**User prompt:** \"Create a new React + TypeScript project with fast builds.\"\n\nThe agent will scaffold an Rspack project with SWC for TypeScript\u002FJSX, CSS Modules, asset handling, and dev server with HMR.\n\n## Guidelines\n\n- **Drop-in webpack replacement** — same config format, most loaders work\n- **`builtin:swc-loader`** — replaces babel-loader, 20x faster transpilation\n- **`type: \"css\"`** — no css-loader\u002Fstyle-loader needed\n- **`type: \"asset\"`** — no file-loader\u002Furl-loader needed\n- **Most webpack plugins work** — check @rspack\u002Fcompat for compatibility layer\n- **HMR is built-in** — faster than webpack's HMR\n- **Tree shaking built-in** — no extra config needed\n- **5-10x faster** — Rust parallelism beats single-threaded JS\n- **Production-ready** — used by ByteDance at scale\n- **`@rspack\u002Fcli`** — provides `rspack serve` and `rspack build` commands\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Frspack",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill rspack",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill rspack",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill rspack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Frspack\u002FSKILL.md",true,[],[46,55,64,73,79,85],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[52,53,54],"model","model hierarchy","model hierarchy skill",{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[61,62,63],"MCP","zoom","zoom mcp",{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[70,71,72,62],"sdk","zoom apps sdk","apps",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[75],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[87]]