Agent Skills
A collection of Agent Skills for Rstack.
AI-powered skills for debugging, tracing, upgrading, and analyzing Rstack projects.
Table of contents
Usage
We recommend installing this repository as an Agent Plugin. The Rstack Agent Plugin follows the open, vendor-neutral Agent Plugins 1.0 standard and works with compatible agent clients, including VS Code, GitHub Copilot, Codex, Cursor, and more.
Codex
codex plugin marketplace add rstackjs/agent-skills
codex plugin add rstack@rstack
VS Code
Run Chat: Install Plugin From Source, then enter:
https://github.com/rstackjs/agent-skills
Cursor
git clone https://github.com/rstackjs/agent-skills.git ~/.cursor/plugins/local/rstack
GitHub Copilot
copilot plugin marketplace add rstackjs/agent-skills
copilot plugin install rstack@rstack
Claude Code
claude plugin marketplace add rstackjs/agent-skills
claude plugin install rstack@rstack
pnpm
With pnpm 12.11.0 or later, install the skills as a project dependency and choose which ones to link:
pnpm add -D @rstackjs/skills
pnpm approve
Commit the approval settings in pnpm-workspace.yaml so future installs link the same skills. See pnpm agent skills for details.
Individual skills
Install any skill with:
npx skills add rstackjs/agent-skills --skill <skill-name>
Rspack skills
rspack-best-practices
npx skills add rstackjs/agent-skills --skill rspack-best-practices
Configure, review, or troubleshoot Rspack builds, including loaders, CSS, assets, type checking, bundle optimization, and profiling.
rspack-v2-upgrade
npx skills add rstackjs/agent-skills --skill rspack-v2-upgrade
Use when upgrading a Rspack 1.x project to v2, including dependency and configuration updates.
rspack-debugging
npx skills add rstackjs/agent-skills --skill rspack-debugging
Debug native Rspack crashes, segmentation faults, deadlocks, or stuck builds with LLDB and matching debug symbols.
rspack-tracing
npx skills add rstackjs/agent-skills --skill rspack-tracing
Capture or analyze Rspack build traces to locate slow compiler phases, plugins, loaders, or the last events before a build failure.
rspack-split-chunks
npx skills add rstackjs/agent-skills --skill rspack-split-chunks
Diagnose or tune Rspack splitChunks for duplicate modules, route over-fetching, cache groups, caching, or oversized chunks.
Rsbuild skills
rsbuild-best-practices
npx skills add rstackjs/agent-skills --skill rsbuild-best-practices
Configure, review, or troubleshoot Rsbuild applications, including build/dev commands, assets, type checking, and bundle optimization.
rsbuild-v2-upgrade
npx skills add rstackjs/agent-skills --skill rsbuild-v2-upgrade
Use when upgrading a Rsbuild 1.x project to v2, including dependency and configuration updates.
migrate-to-rsbuild
npx skills add rstackjs/agent-skills --skill migrate-to-rsbuild
Migrate webpack, Vite, create-react-app (CRA/CRACO), or Vue CLI projects to Rsbuild.
Rslib skills
rslib-best-practices
npx skills add rstackjs/agent-skills --skill rslib-best-practices
Configure, review, or troubleshoot Rslib library builds, output formats, declarations, dependency handling, and integrations.
rslib-modern-package
npx skills add rstackjs/agent-skills --skill rslib-modern-package