Google Launches Modern Web Guidance Skills for AI Coding Agents

Google releases a verified skill set that stops AI agents from generating outdated web patterns and deprecated APIs, with installers for Claude Code, Cursor, Copilot CLI, Antigravity, and Vercel's ski

cpaua2 min583

Google has released Modern Web Guidance, a curated skill pack that equips AI coding agents with up-to-date web-platform knowledge, browser-compatibility data, and expert-verified best practices. The goal is to prevent agents from producing code that relies on deprecated APIs or obsolete patterns — a common problem when models train on years-old web tutorials.

Installation across agent CLIs

The package ships with ready-made installers for every major agent interface:

  • Universal CLI: npx modern-web-guidance@latest install
  • Vercel skills: npx skills add GoogleChrome/modern-web-guidance
  • Claude Code: claude plugin marketplace add GoogleChrome/modern-web-guidance followed by claude plugin install modern-web-guidance@googlechrome
  • Copilot CLI: /plugin marketplace add GoogleChrome/modern-web-guidance then /plugin install modern-web-guidance@googlechrome
  • Antigravity CLI: agy plugin install https://github.com/GoogleChrome/modern-web-guidance

All commands pull the same skill definitions from the GoogleChrome/modern-web-guidance repository.

What the skills cover: UI patterns, modernization, security, performance

The skill set is organized around four practical domains. In new user experiences, agents learn to build an accordion stats component with smooth open/close animation, a tab bar that uses CSS Anchor Positioning for a sliding highlight, and a dashboard card that adapts via container queries. For modernizing legacy code, the skills guide migration from hand-rolled modals to the <dialog> element with modern CSS animations, and from custom tooltips to the Popover API paired with Anchor Positioning. The security module covers passkey-based login flows using current WebAuthn features, a starter Content Security Policy that doesn't break the app, and automated security audits with suggested fixes. Finally, the performance skills address hover-based preloading, long-task reduction to improve INP, and LCP optimization.

Hands-on codelab for agent-guided development

Google provides a step-by-step codelab titled "Introduction to Modern Web Guidance." Developers audit a legacy web application, then use the skill pack to instruct agents on applying modern recommendations. The lab covers targeting Baseline browser versions, optimizing Core Web Vitals, and turning generic AI output into high-quality web solutions.

Pairing with Chrome DevTools for agents

The skills integrate with Chrome DevTools for agents, enabling real-time performance audits, accessibility tree inspection, and console-log capture. Agents can then apply precise code fixes that align with modern web standards.

Sources

Modern Web Guidance | Chrome for Developers

Share

Author

cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Related news

Comments

To leave a comment, log in
Loading...

Weekly digest

The best of vibe coding, AI agents and open source — once a week, no spam.