Provides comprehensive guidance for Rspack bundler including configuration, plugins, loaders, optimization, and Webpack compatibility. Use when the user asks about Rspack, needs to configure Rspack, optimize build performance, or migrate from Webpack.
View on GitHubpartme-ai/full-stack-skills
development-skills-utils
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/partme-ai/full-stack-skills/blob/main/skills/rspack/SKILL.md -a claude-code --skill rspackInstallation paths:
.claude/skills/rspack/## When to use this skill Use this skill whenever the user wants to: - Set up Rspack in a new or existing project - Configure Rspack for different environments - Use built-in plugins or create custom plugins - Migrate from Webpack to Rspack - Optimize build performance - Understand Rspack configuration options - Use Rspack CLI or JavaScript API - Write custom loaders - Understand plugin API and hooks - Configure entry points and output - Set up code splitting and optimization - Configure development server - Handle assets and resources - Use TypeScript with Rspack - Troubleshoot Rspack issues ## How to use this skill This skill is organized to match the Rspack official documentation structure (https://rspack.rs/zh/guide/start/introduction, https://rspack.rs/zh/config/, https://rspack.rs/zh/plugins/, https://rspack.rs/zh/api/). When working with Rspack: 1. **Identify the topic** from the user's request: - Getting started/快速上手 → `examples/guide/start/` - Configuration/配置 → `examples/config/` - Plugins/插件 → `examples/plugins/` - API → `examples/api/` 2. **Load the appropriate example file** from the `examples/` directory: **Guide (指南)** - `examples/guide/`: - `examples/guide/compatibility/plugin.md` - `examples/guide/features/asset-base-path.md` - `examples/guide/features/asset-module.md` - `examples/guide/features/builtin-lightningcss-loader.md` - `examples/guide/features/builtin-swc-loader.md` - `examples/guide/features/dev-server.md` - `examples/guide/features/esm.md` - `examples/guide/features/layer.md` - `examples/guide/features/lazy-compilation.md` - `examples/guide/features/loader.md` - `examples/guide/features/module-federation.md` - `examples/guide/features/module-resolution.md` - `examples/guide/features/plugin.md` - `examples/guide/features/web-workers.md` - `examples/guide/migration/cra.md` - `examples/guide/migration/rspack_0.x.md` - `examples/guide/migration/storybook.md` - `exampl