Agent Skills
What are Agent Skills?
Agent Skills are packaged debugging workflows that AI coding tools (Claude Code, Codex, Cursor) can follow automatically. Instead of the agent inventing an ad-hoc debugging sequence every time, a skill encodes the right steps, the right order, and the right routing logic.
vite-browser is designed skill-first — the CLI provides the raw commands, but the skill router provides the intelligence layer that decides which commands to run and when.
Why it matters
Without a skill router, an AI agent debugging a broken Vite app will typically:
- Run too many commands too early
- Mix network and runtime evidence together
- Over-explain weak evidence
- Skip the first routing decision entirely
The skill router solves this by encoding a single decision tree:
| Symptom | Route to |
|---|---|
| Broad or unclear failure | core-debug |
| Recent edit or HMR breakage | runtime-diagnostics |
| Wrong data or failed requests | network-regression |
| Pre-merge/release verification | release-smoke |
Install
# Claude Code
npx skills add MapleCity1314/vite-browserThis installs the router skill plus four focused capability packs:
skills/SKILL.md ← router
skills/vite-browser-core-debug/SKILL.md
skills/vite-browser-runtime-diagnostics/SKILL.md
skills/vite-browser-network-regression/SKILL.md
skills/vite-browser-release-smoke/SKILL.mdHow the agent uses it
When a user says something like:
- "The page broke after a hot update"
- "Which recent change caused this error?"
- "The UI is showing wrong data"
- "Run a smoke check before we merge"
the agent reads the router skill, picks the matching pack, and follows its structured workflow — instead of guessing.
When to use the CLI directly
The CLI is the lower-level interface. Use it directly when:
- You want to manually inspect a single signal
- You are validating one specific command
- Your environment does not support packaged skills
For everything else, start from the skill router.
Next steps
- AI IDE Setup — Configure Claude Code, Codex, or Cursor
- Skill Packs — Detailed pack reference