
vite-patterns
Vite build tool patterns including config, plugins, HMR, env variables
by affaan-mFree
Description
vite-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out build tool and dev server patterns for Vite 8 and later. Its coverage includes configuring vite.config files, environment variables and .env files, proxying the dev server to API backends, optimising build output with chunks, minification and assets, publishing libraries in library mode, dependency pre-bundling, CommonJS and ESM interop, and choosing and ordering plugins. It also covers debugging hot module replacement, dev server and build errors, and common production pitfalls. The skill applies when a person edits vite.config, sets up environment files, configures a proxy, tunes the build or publishes a library. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- vite.config and plugin ordering
- Environment variables and dev proxy
- Library mode and build optimisation
- Pre-bundling and HMR debugging
Ratings & Reviews
No ratings yet
Be the first to rate vite-patterns.
People also visit

webapp-testing
Test local web applications using Playwright for UI verification and debugging

click-path-audit
Trace every user-facing button/touchpoint through its full state change sequence

make-interfaces-feel-better
Apply concrete design-engineering details that make interfaces feel polished
vite-patterns FAQ
What does the vite-patterns skill do?
It guides an agent in configuring and troubleshooting Vite 8+ projects, including config, env files, proxies, builds and libraries.
Which Vite version does it target?
Vite 8 and later.
Does it cover library publishing?
Yes, through library mode with build.lib.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill vite-patterns
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best vite-patterns alternatives?
Popular alternatives to vite-patterns include webapp-testing, artifacts-builder and bun-runtime. See all vite-patterns alternatives







