A new analysis of Google Chrome's open-source Modern Web Guidance repository reveals a persistent problem: AI coding agents frequently default to outdated patterns like jQuery when simpler native browser APIs would suffice.
The repo, which has garnered 686 stars on GitHub, is designed to help developers—and increasingly, AI agents—author, calibrate, and evaluate modern web code. However, reviewers found that many AI-generated solutions in the repo rely on bloated libraries for basic tasks such as creating a modal dialog, a widget that modern CSS and JavaScript can handle natively.
"The goal is to steer AI agents toward modern, native solutions, but the models keep falling back to patterns from a decade ago," noted Alex and Sam in a review of the repository. "We're seeing jQuery for a simple modal, when a few lines of vanilla JS would do the job."
The discussion highlights a broader challenge in AI-assisted development: models trained on vast internet codebases absorb both good and bad practices, often defaulting to the most common—not most modern—pattern. The Modern Web Guidance repo aims to be a curated source of best practices that can recalibrate AI agents toward leaner, more performant code.