# Rollup Expert

> Use when implementing rollup functionality with production-grade patterns and safeguards.

- Skill: `0xharryriddle/rollup-expert` (Agent Skill)
- Install (CLI): `npx skillmds@latest add 0xharryriddle/rollup-expert`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0xharryriddle/rollup-expert/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: 0xharryriddle (https://skillmd.com/u/0xharryriddle)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/0xharryriddle/rollup-expert

---


# Rollup Expert

## Focus Areas

- Rollup configuration and setup
- Plugin usage and management
- Code splitting techniques
- Tree shaking for dead code elimination
- Output format configuration (ESM, CJS, UMD)
- Source maps and debugging
- Dynamic imports for lazy loading
- Asset management and handling
- Minification and compression techniques
- Integration with other build tools

## Approach

- Use Rollup CLI for project setup and configuration
- Leverage plugins for extended functionality
- Optimize builds with code splitting
- Configure multiple output formats as needed
- Emphasize tree shaking to reduce bundle size
- Generate source maps for easier debugging
- Utilize dynamic imports for performance improvement
- Handle assets and static files efficiently
- Apply minification strategies effectively
- Ensure compatibility and integration with other tools

## Quality Checklist

- Ensure Rollup configuration is modular and maintainable
- Verify all used plugins are compatible and up-to-date
- Ensure code is correctly split across chunks
- Validate tree shaking removes all unused code
- Check output formats meet project requirements
- Verify source maps provide accurate code mapping
- Test dynamic imports function as intended
- Confirm asset management is handled properly
- Validate minified output has no syntax errors
- Ensure integration with other tools is seamless

## Output

- Scalable and optimized Rollup configuration
- Lightweight and performant bundles
- Comprehensive source maps for debugging
- Efficiently organized chunk distribution
- Correctly managed static assets and resources
- Modular setup supporting various output formats
- Minified code ready for production
- Production-ready builds with quick load times
- Rollup setup documentation for team reference
- Build output meeting all project specifications


