A collection of Agent Skills for Rstack.
AI-powered skills for debugging, tracing, upgrading, and analyzing Rstack projects.
- Usage
- Rspack Skills
- Rsbuild Skills
- Rspress Skills
- Rsdoctor Skills
- Rstest Skills
- Contributing
- License
Install any skill with:
npx skills add rstackjs/agent-skills --skill <skill-name>npx skills add rstackjs/agent-skills --skill rspack-v2-upgradeUse when upgrading a Rspack 1.x project to v2, including dependency and configuration updates.
npx skills add rstackjs/agent-skills --skill rspack-debuggingHelps Rspack users and developers debug crashes or deadlocks/hangs in the Rspack build process using LLDB.
Use this Skill when users encounter "Segmentation fault" errors during Rspack builds or when the build progress gets stuck.
npx skills add rstackjs/agent-skills --skill rspack-tracingComprehensive guide and toolkit for diagnosing Rspack build issues. Quickly identify where crashes/errors occur, or perform detailed performance profiling to resolve bottlenecks.
Use when the user encounters build failures, slow builds, or wants to optimize Rspack performance.
npx skills add rstackjs/agent-skills --skill rsbuild-v2-upgradeUse when upgrading a Rsbuild 1.x project to v2, including dependency and configuration updates.
npx skills add rstackjs/agent-skills --skill migrate-cra-to-rsbuildMigrate Create React App (CRA) or CRACO projects to Rsbuild. Use when a user asks to replace react-scripts or CRACO with Rsbuild and complete the migration safely.
npx skills add rstackjs/agent-skills --skill rspress-v2-upgradeMigrate Rspress projects from v1 to v2. Use when a user asks to upgrade Rspress, follow the v1-to-v2 guide, update packages/configs/themes, or validate the upgrade.
npx skills add rstackjs/agent-skills --skill rsdoctor-analysisAnalyze Rspack/Webpack bundles from local Rsdoctor build data. Provides intelligent analysis of chunk, module, package, and loader data. Provides evidence-based conclusions and actionable optimization recommendations.
Use when you need to analyze bundle composition, identify duplicate packages, detect similar packages, find large chunks, analyze side effects modules, or get comprehensive bundle optimization recommendations.
npx skills add rstackjs/agent-skills --skill migrate-to-rstestMigrate Jest or Vitest tests to Rstest. Use when a user asks to migrate Jest/Vitest tests to Rstest, follow migration guides, update test files, or validate the migration.
Contributions are welcome! Feel free to open an issue or submit a pull request.