Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →

rstackjs/agent-skills

23 skills7.7k installs2k starsGitHub

Install

npx skills add https://github.com/rstackjs/agent-skills

Skills in this repo

1Rsbuild Best PracticesRsbuild best practices covers configuration patterns (rsbuild.config.ts, defineConfig, explicit entry points), CLI workflows (rsbuild, rsbuild build, rsbuild preview, rsbuild inspect), and optimization strategies including dynamic imports, bundle size reduction, and asset management. Developers use this when writing or reviewing Rsbuild projects, setting up type checking with @rsbuild/plugin-type-check or tsc, managing public vs. source-managed assets, and debugging config resolution or plugin behavior via DEBUG=rsbuild. Key workflows include inspecting final configs, profiling with Node CPU profiling and RSPACK_PROFILE=OVERVIEW, and ensuring production source maps are not published.1.8kinstalls2Rstest Best Practicesrstest-best-practices is a skill from rstackjs/agent-skills that codifies rules for Rstest test projects built on `@rstest/core`. It recommends `rstest.config.ts` with `defineConfig`, explicit imports from `@rstest/core` over `globals: true`, and adapters such as `@rstest/adapter-rsbuild` with `extends: withRsbuildConfig()` for Rsbuild repos or Rslib integrations. Coverage spans CLI workflow, test writing, mocking, snapshot testing, DOM testing, multi-project setup, CI integration, performance tuning, and debugging. Developers reach for rstest-best-practices when authoring new Rstest suites, reviewing teammate tests, or troubleshooting flaky Rstest runs in Rsbuild-based frontends.874installs3Rslib Best Practicesrslib-best-practices is a build-time guidance skill for Rslib library projects powered by Rsbuild and Rspack. It instructs agents to use rslib.config.ts with defineConfig, prioritize lib-specific settings, and fall back to Rsbuild source, output, and tools blocks when needed. Advanced cases route through tools.rspack or tools.bundlerChain for native Rspack configuration. Developers reach for rslib-best-practices when writing, reviewing, or troubleshooting Rslib configs, dependency handling, build optimization, and .d.ts declaration output for npm-ready packages.722installs4Rspack Best Practicesrspack-best-practices in rstackjs/agent-skills codifies rules for writing and reviewing Rspack projects. Configuration guidance recommends rspack.config.ts with defineConfig, explicit entry values for multi-page apps, narrow rule conditions using test, include, exclude, and resourceQuery, and preferring built-in Rspack plugins over community JavaScript alternatives when features are equivalent. The CLI section standardizes on rspack dev for local development, rspack build for production, and rspack preview only for local production previews when @rspack/cli is installed. The skill also covers type checking, CSS pipelines, asset handling, bundle optimization, and profiling during reviews or troubleshooting. Developers reach for rspack-best-practices when migrating Webpack projects, tuning production bundles, or auditing rspack.config.ts for maintainability.484installs5Rspack V2 Upgraderspack-v2-upgrade is an rstackjs/agent-skills workflow for upgrading Rspack 1.x projects to Rspack v2. The process starts by reading package.json to identify Rspack packages, then locates the config file—commonly rspack.config.ts, rspack.config.js, rspack.config.mjs, or rspack.config.cjs. It uses the official migration guide at rspack.rs/guide/migration/rspack_1.x as the single source of truth, comparing the current config against documented breaking changes and affected plugins. The skill plans required dependency bumps and config edits before applying them. Developers reach for rspack-v2-upgrade when a project pins Rspack 1.x and needs a structured v2 migration instead of ad-hoc config guessing.431installs6Rsbuild V2 Upgradersbuild-v2-upgrade is an rstackjs agent skill for upgrading Rsbuild 1.x projects to Rsbuild v2 without guesswork. The workflow starts by reading package.json to list Rsbuild core and plugin packages, then locates rsbuild.config.(ts|js|mjs|cjs). It directs agents to the official v1-to-v2 guide at rsbuild.rs as the source of truth, compares the current config against documented breaking changes, and plans a migration path listing only changes that apply to the project's plugins. Developers reach for rsbuild-v2-upgrade when a monorepo or SPA hits Rsbuild v2 release notes, CI breaks after bumping @rsbuild/core, or plugin APIs changed between major versions. The skill is narrowly scoped to migration—not greenfield Rsbuild setup—so agents avoid rewriting unrelated application code.396installs7Rspress Best Practicesrspress-best-practices: A skill for development. This provides functionality for development workflows.349installs8Rspress Description Generatorrspress-description-generator: A skill for development. This provides functionality for development workflows.326installs9Rsdoctor Analysisrsdoctor-analysis: A skill for development. This provides functionality for development workflows.325installs10Migrate To Rstestmigrate-to-rstest: A skill for development. This provides functionality for development workflows.303installs11Rspress Custom Themerspress-custom-theme: A skill for development. This provides functionality for development workflows.266installs12Migrate To Rsbuildmigrate-to-rsbuild: A skill for development. This provides functionality for development workflows.241installs13Rspack Tracingrspack-tracing: A skill for development. This provides functionality for development workflows.202installs14Rspack Debuggingrspack-debugging: A skill for development. This provides functionality for development workflows.199installs15Storybook Rsbuildstorybook-rsbuild: A skill for development. This provides functionality for development workflows.143installs16Migrate To Rslibmigrate-to-rslib is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.133installs17Rspack Split Chunksrspack-split-chunks is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.113installs18Rspress V2 Upgraderspress-v2-upgrade is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.112installs19Rslib Modern Packagerslib-modern-package is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.58installs20Rstest Debuggingrstest-debugging is a Claude Code skill for testing & qa. It helps solo builders move faster with AI-assisted coding.58installs21Pr Creatorpr-creator is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.54installs22Migrate To Rslintmigrate-to-rslint is a Claude Code skill for code review & quality. It helps solo builders move faster with AI-assisted coding.42installs23Create Draft Release Notescreate-draft-release-notes is a Claude Code skill in the Productivity & Planning category.32installs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.

rstackjs/agent-skills · 23 skills · Skillselion