Rspack best practices

From rstackjs/agent-skills · View interactive version

Rspack best practices is an AI agent skill from the GitHub repository rstackjs/agent-skills. Configure, review, or troubleshoot Rspack builds, including loaders, CSS, assets, type checking, bundle optimization, and profiling.

How to use this skill

Skill file

Rspack best practices

Apply these rules when writing or reviewing Rspack projects.

Configuration

CLI

If @rspack/cli is installed:

Type checking

CSS

Choose one strategy:

Optional:

Bundle size optimization

Asset management

Profiling

Security

Documentation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.