Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Vite

$ vite Official Low Risk
Evan You / VoidZero · Code & DevOps · MIT · macos / linux / windows

Standard frontend build tool combining native ESM dev serving with optimized Rollup production builds. Supports --logLevel silent|error|warn, --clearScreen false, and NO_COLOR=1 for CI/agent builds, while vite dev runs as a persistent server daemon.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install vite
CLI vs MCP Decision CLI Only

Local frontend bundler and dev server executed directly in Node.js project workspaces.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

vite build is non-interactive with --logLevel, --clearScreen false, and NO_COLOR=1, though it lacks --json output and vite dev is a blocking daemon.

  • Supports --logLevel and --clearScreen false
  • No --json build summary flag
Trust & Safety 21 / 25

Build artifacts stay scoped to dist/, though loading vite.config.* executes local JS/TS config code.

  • Predictable dist/ output and zero remote write operations
Setup & Portability 13 / 15

Standard npm/Homebrew package across macOS, Linux, and Windows wherever Node.js is installed.

  • Cross-platform npm package and Homebrew formula
Utility & Efficiency 14 / 15

Dominant modern frontend toolchain for React, Vue, Svelte, and library builds.

  • Unified fast dev server and Rollup production bundler
Maintenance & Lineage 9 / 10

Maintained by Evan You, VoidZero, and the Vite team under MIT license.

  • Official vitejs/vite repository
Docs & Verifiability 8 / 10

Clear CLI guide at vite.dev/guide/cli.html and helpful --help per subcommand.

  • Official Vite CLI documentation

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No authentication required; reads local project vite.config.* and .env* files.

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Vite (vite) Agent Rules
- Use `vite build --clearScreen false` with `NO_COLOR=1` to verify frontend builds.
- Run `vite dev` or `vite preview` ONLY as background daemon processes; never invoke them synchronously in a blocking command.

Agent-Ready Command Recipes

Safe Read-Only Queries

Check Vite CLI version and help
vite --version && vite build --help

Reports the installed Vite version and production build options without touching dist/.

Controlled Writes & Previews

Run a clean production build
NO_COLOR=1 vite build --logLevel warn --clearScreen false

Builds production assets into dist/ without clearing terminal scrollback or ANSI color noise.

Strengths for Agents

  • + vite build provides fast, zero-prompt production bundle verification with --clearScreen false.
  • + De facto standard frontend CLI with crisp documentation and wide framework adoption.

Caveats & Pitfalls

  • ! Default vite / vite dev starts a persistent dev server that hangs synchronous agent turns if not backgrounded.
  • ! Build diagnostics and asset tables are plain text rather than JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI