use-modern-browser-apis
SKILL.md
Using Modern Browser APIs
We prefer native, modern browser APIs — standardized, widely supported, and high-leverage — to heavy external libraries or custom fallbacks. Use them to simplify logic, improve performance, and reduce bundle size where appropriate.
Philosophy
- PREFER browser-native capabilities over third-party dependencies
- PROGRESSIVE ENHANCE: Always provide sensible fallbacks for APIs that aren’t available in all clients
- ASYNC & SECURE: Use promise-based and secure context APIs for non-blocking, safe access
Core & Widely Supported APIs
These APIs are stable, broadly implemented, and useful in everyday applications.