IndustryNEWS BRIEFING

How note inc. Raised AI Coding Agents' Web Standards Adherence to 94% with Modern Web Guidance

4 min read

88Z AI, 25 November — Japanese creator platform note inc. tested Google's Modern Web Guidance on clones of its production Next.js codebase: with explicit prompting, two coding agents rose from 60.8% and 75.8% web standards adherence to 94.0% and 90.0%. This guide covers installation, the native APIs that replaced custom code, and how note used AGENTS.md to coordinate with its own component library.

At a glance

  • Explicitly prompting with guidance lifts web standards adherence to over 90%
  • Replace complex JS logic with CSS scroll-driven animations, Popover API, and details element
  • Set priority rules in AGENTS.md where internal components take precedence over native elements
  • Install via npx commands and pre-search guide content to assess applicability

What Modern Web Guidance Is

Modern Web Guidance is a set of skills from Google's Chrome team that gives coding agents web platform expertise, best practices and browser compatibility data, steering them away from legacy patterns toward native capabilities of modern browsers. It works with any coding agent that supports skills. note inc., one of Japan's largest creator and media platforms with over 90 million monthly active users, builds its web apps with Next.js and React, already uses AI coding assistants, and maintains an internal React component library, note-ui (dialogs, tooltips, accordions, form fields). To measure the guidance's effect on its own codebase and how it fits with note-ui, the team ran a structured comparison.

Empirical Data and Key Technical Replacements

The study ran 180 times on clones of the production Next.js repository, testing two unnamed commercial frontier coding agents on six real UI tasks: a delete confirmation dialog, a scroll-shrinking header (120px to 64px), article page speed optimizations, a single-open FAQ accordion findable by in-page search, a rich user profile tooltip and a member sign-up form. The three conditions were no guidance, guidance available in the repository but not mentioned in the prompt, and an explicit prompt to consult it. Automated tests in headless Chromium and WebKit checked rendered DOM, layout and computed CSS against 19 criteria. Agent A went from 60.8% to 76.5% (unprompted) and 94.0% (explicit); Agent B from 75.8% to 86.2% and 90.0%, both with p-values below 0.001.

Concrete replacements: the shrinking header used CSS scroll-driven animation with animation-timeline: scroll() instead of a main-thread JS scroll listener; the tooltip used the Popover API's native top layer instead of hand-written positioning math; the FAQ used a details element with a name attribute plus hidden="until-found", so browser find-in-page (Ctrl+F) expands it; the LCP hero image used fetchpriority="high" without lazy loading, with content-visibility: auto for offscreen cards; and forms gained autocomplete tokens and semantic HTML. Across 431 pull requests after adoption, fetchpriority use rose 28% and autofill use 69%. The case study's CSS example also checks support with @supports, falls back to JS where unsupported, and switches to stepped animation for prefers-reduced-motion users.

Resolving Conflicts with Internal Component Libraries

A critical issue emerged: when unconditionally instructed to follow the guidance, AI agents preferred native HTML elements (such as native dialog or input) even when encapsulated note-ui components existed. To address this, the team established a clear priority hierarchy in their AGENTS.md file: first, if a corresponding component exists in note-ui, do not replace it with native elements solely because the guidance recommends it; second, consult Modern Web Guidance only when note-ui falls short, for writing HTML, CSS, or client-side JS; finally, when guidance conflicts with component capabilities, apply it only through supported props, such as using the component's built-in validation error mechanism instead of custom alert elements.

Installation and Exploration Methods

The recommended route is the CLI, which enables automatic updates: npx modern-web-guidance@latest install; Chrome extension developers can run npx modern-web-guidance@latest install --choose for an interactive wizard. Per-agent options: for Claude Code, run claude plugin marketplace add GoogleChrome/modern-web-guidance and then claude plugin install modern-web-guidance@googlechrome; for Codex, codex plugin marketplace add GoogleChrome/modern-web-guidance and then codex plugin add modern-web-guidance@googlechrome; for Gemini CLI, gemini extensions install https://github.com/GoogleChrome/modern-web-guidance --auto-update; with GitHub CLI, gh skill install GoogleChrome/modern-web-guidance, or npx skills add GoogleChrome/modern-web-guidance. The docs also cover Antigravity, WebStorm, Copilot CLI, Goose, Grok and Kimi Code, though most non-CLI options lack automatic updates.

You can browse the guide library before installing: npx modern-web-guidance@latest search "animate a dialog modal backdrop" returns a JSON list of guide ids and descriptions such as light-dismiss-a-dialog and animate-to-from-top-layer, and npx modern-web-guidance@latest retrieve "animate-to-from-top-layer" prints that guide's Markdown in the terminal.

Limitations and takeaways

These numbers come from note's own six tasks and two unnamed agents, and the case study says results vary with prompts and the features used, so treat them as one team's result rather than a general uplift. The reusable lessons: hand interaction and performance cases your design system does not cover to native platform features; state a clear precedence order in repository instructions such as AGENTS.md so general best practices do not override your components; and verify generated output in real browser runtimes. Sources: the web.dev case study by Syna Kim and note VP of Technology Takehiko Itabashi (November 10, 2026) and the developer.chrome.com/docs/modern-web-guidance/get-started installation docs; the repository is github.com/GoogleChrome/modern-web-guidance.

Sources & editorial note

This article is an AI-assisted synthesis by 88Z AI based on the public sources below. Product claims and availability are attributed to their publishers. It does not represent independent testing or first-hand reporting.

  1. @ChromiumDevSource published

Source dates above refer to the original announcements; the date under the headline is this article’s publication on 88Z AI.

All AI news

Related reading

All stories
88Z.ai