Asset Pipeline Verifier
Key Files
- •
src/assets/— MIDI files, images, andrhythm_songs.json - •
public/— static assets served directly by Vite - •
src/utils/imageGen.js— image generation and loading - •
src/utils/AudioManager.js— audio asset loading - •
vite.config.js— Vite asset handling configuration
Workflow
- •Identify asset loading patterns in
src/:import.meta.glob,new URL(... import.meta.url), and public path references. - •Cross-check
src/assets/rhythm_songs.jsonreferences against actual MIDI files insrc/assets/. - •Check for missing files or mismatched paths in
imageGen.jsandAudioManager.js. - •Confirm assets live in
public/(static) or are imported fromsrc/(bundled) as expected.
Command
- •Prefer the bundled script:
./.agents/skills/asset-pipeline-verifier/scripts/asset-scan.sh
Output
- •List suspect references and missing assets with file paths.
Related Skills
- •
perf-budget-enforcer— large assets impact bundle size budgets