AGENT SKILL

rollup-expert

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

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
rollup-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
description
Use when implementing rollup functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

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

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3