rsdoctor-analysis

Analyze rsdoctor-data.json to deliver bundle optimization recommendations across chunks, modules, and assets.

86|1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/rstackjs/agent-skills --skill rsdoctor-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rsdoctor-analysis
Source: https://github.com/rstackjs/agent-skills/tree/main/skills/rsdoctor-analysis
Command: npx skills add https://github.com/rstackjs/agent-skills --skill rsdoctor-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires commander, and includes scripts (resource) components.

## What problem does it solve? This skill helps developers quickly interpret rsdoctor-data.json to identify costly chunks, heavy modules, and suboptimal assets, enabling data-driven optimization without code changes.

## Core Features & Use Cases

  • Automatic analysis of rsdoctor-data.json to surface top bottlenecks in chunks, modules, and assets.
  • Guidance for targeted optimizations such as splitting chunks, removing duplicates, and optimizing assets.
  • Real-world scenario: after a build, use this skill to generate a prioritized list of improvements for a large React app.

### Quick Start

  • Run the rsdoctor analysis against your data file using the built-in CLI:
  • node scripts/rsdoctor.js bundle optimize --data-file ./dist/rsdoctor-data.json
  • node scripts/rsdoctor.js build summary --data-file ./dist/rsdoctor-data.json

Frequently Asked Questions about rsdoctor-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze my webpack bundle to find optimization opportunities?

Analyze bundle size and composition using rsdoctor-data.json to identify costly chunks, heavy modules, and suboptimal assets. This Skill surfaces top bottlenecks across your build data, enabling targeted optimizations like chunk splitting and duplicate removal without code changes.

What does rsdoctor analysis reveal about my build?

Rsdoctor analysis examines chunks, modules, packages, loaders, and assets in your build to deliver evidence-based recommendations. It processes rsdoctor-data.json output to prioritize which optimizations will have the most impact on your bundle size and performance.

Do I need rsdoctor CLI installed to use this analysis?

Yes, you need the rsdoctor CLI to generate rsdoctor-data.json with JSON output format. This Skill analyzes that data file, so having rsdoctor configured in your build pipeline is a prerequisite.

Can I get bundle optimization recommendations without modifying code?

Yes. This Skill generates actionable recommendations by analyzing your rsdoctor-data.json file, identifying inefficiencies in chunks, modules, and assets. You receive a prioritized list of improvements to guide your optimization strategy.

What's the best way to optimize a React app's bundle after a build?

After building, run rsdoctor analysis on your rsdoctor-data.json to surface the costliest chunks and modules. This Skill ranks bottlenecks by impact, helping you focus on high-value optimizations like removing duplicates and splitting large chunks first.

What limitations should I know about bundle analysis?

Analysis accuracy depends on valid rsdoctor-data.json output from your build. The Skill works across rspack and webpack ecosystems but requires the data file to be generated correctly with JSON format during the build process.