| name | review-module-loading |
| description | Review changes to module loading, bootstrap, toy manifest, library resolution, or gamepad polling. Use when a PR touches src/js/bootstrap/, src/js/loader.ts, src/js/router.ts, src/js/toy-view.ts, src/data/toys.json, or gamepad polling code. |
Review Module Loading and Bootstrap
Use this skill when reviewing or authoring changes to src/js/bootstrap/*, src/js/loader.ts, src/js/library-view.js, src/js/toy-view.ts, src/js/milkdrop/catalog-store*.ts, src/data/toys.json, index.html, or gamepad polling code.
Why this exists
~11% of fix commits (125 sampled) are module-loading regressions: toy bundle loading failures, manifest resolution drift, library boot order, and gamepad/input polling lifecycle — the #5 category. This skill prevents those at review time.
Pre-merge checklist
1. All toys load
2. Bootstrap order is explicit
3. Gamepad/input lifecycle
4. Library/manifest consistency
5. Index.html entry points
What to reject in review
- New
import() calls in bootstrap that don't handle load failure
- Toy manifest changes without regenerating
toys.json
- Gamepad polling that starts before user gesture
- Implicit ordering assumptions between bootstrap phases
Related skills