home / skills / partme-ai / full-stack-skills / parcel
This skill provides quick, practical guidance for using the Parcel bundler, from zero-configuration setup to production builds.
npx playbooks add skill partme-ai/full-stack-skills --skill parcelReview the files below or copy the command above to add this skill to your agents.
---
name: parcel
description: Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.
license: Complete terms in LICENSE.txt
---
## When to use this skill
Use this skill whenever the user wants to:
- [待完善:根据具体工具添加使用场景]
## How to use this skill
[待完善:根据具体工具添加使用指南]
## Best Practices
[待完善:根据具体工具添加最佳实践]
## Keywords
[待完善:根据具体工具添加关键词]
This skill provides comprehensive, practical guidance for using the Parcel bundler. It covers zero-configuration setup, asset handling, hot module replacement, and production build optimizations. The guidance focuses on fast iteration, minimal config, and common troubleshooting. Use it to get a working Parcel build quickly or to improve an existing setup.
The skill inspects project needs and recommends the simplest Parcel workflow that meets them: zero-config for basic apps, project-level configuration for advanced cases, or plugin usage for custom asset handling. It explains how Parcel detects entry points, transforms assets, serves with HMR during development, and generates optimized bundles for production. It also outlines configuration file options, CLI commands, and common environment variables.
Do I always need a config file for Parcel?
No. Parcel is designed to work without a config for most projects. Add .parcelrc only for custom pipelines or to change default transformers.
How do I enable hot module replacement?
HMR is enabled by default when running parcel serve. Ensure your modules accept HMR updates (e.g., export/accept API) or rely on frameworks that handle it automatically.