This Skill Forces AI To Use Modern Web Features @ProgramWithErik
This Skill Forces AI To Use Modern Web Features  @ProgramWithErik
Uploaded November 2026 | Updated December 2026, 3 hours ago
Your AI coding agent probably isn't using the latest CSS and HTML features. Modern Web Guidance is a free set of agent skills from Google that adds web platform best practices and browser compatibility data straight into your agent, so it reaches for the modern way first.

In this video I try it on Trailhead Outfitters, a Vue 3 + Vite storefront that Claude Opus 5.5 built in Kiro CLI with no skills. I install Modern Web Guidance, look at what's inside, and try the `search` and `retrieve` commands. Then I run `legacy-scan` on the app. It found two things: staggered hero animations that can use the new `sibling-index()` function, and a toggle that can use the native `switch` attribute. Then I ask Kiro to modernize the app. It asks how to handle older browsers, adds the changes with polyfills where they're needed, and adds `prefers-reduced-motion` support along the way.

Browser support is configurable. By default it targets Baseline Widely available, which means features that have worked in every major browser for about two and a half years. You can raise that to a newer Baseline year if you want newer features with fallbacks.

Thanks to Web Dev Simplified for the idea. His video is linked below.

In my last video I talked about Frontend development and the future , check it out!

youtube.com/watch?v=WHxsWhXeyXM

Follow me on socials!

X: https://x.com/ErikCH
LinkedIn: linkedin.com/in/erikhanchett
Bluesky : https://bsky.app/profile/erikch.bsky.social
Website: programwitherik.com
https://www.kiro.dev - my favorite harness!

Would you use this in your project? Let me know in the comments.

πŸ”— Links

- Modern Web Guidance docs: developer.chrome.com/docs/modern-web-guidance
- Get started: developer.chrome.com/docs/modern-web-guidance/get-started
- Modern Web Guidance 1.0 announcement: developer.chrome.com/blog/modern-web-guidance-v1
- Modern Web Guidance on GitHub: github.com/GoogleChrome/modern-web-guidance
- Baseline: https://web.dev/baseline
- Web Dev Simplified, "Google Just Fixed AI Slop - At Least For Web Devs": youtube.com/watch?v=ty277pJL9ec
- Kiro: https://kiro.dev
- Kiro skills docs: https://kiro.dev/docs/skills/
- Kiro Crew: https://kiro.dev/docs/crew/
- Demo app: REPLACE_WITH_REPO_LINK

πŸ› οΈ Commands used in this video

```
npx modern-web-guidance@latest install
npx modern-web-guidance@latest search "animation"
npx modern-web-guidance@latest retrieve "scrollytelling"
npx modern-web-guidance@latest legacy-scan src
kiro-cli chat --model claude-opus-5.5
```

⏱️ Timestamps

- 0:00 What is Modern Web Guidance?
- 0:22 Why your AI skips modern CSS and HTML
- 0:51 Install it with one command
- 0:57 Browser support and Baseline
- 1:26 The demo app: Trailhead Outfitters
- 1:52 Before and after
- 2:10 The prompt I gave Opus 5.5 in Kiro CLI
- 2:54 Installing the skill in Kiro
- 3:19 What's inside the skill
- 4:07 search and retrieve
- 4:51 Running legacy-scan on the before app
- 5:31 Asking Kiro to modernize the app
- 5:51 Polyfills for older browsers
- 6:01 The changes: sibling-index() and the native switch
- 6:44 The switch polyfill
- 7:01 My take
This Skill Forces AI To Use Modern Web FeaturesNuxt vs TanStack Start: There Can Only Be One #typescript #programming #javascript #reactjs  #codingThe Future Of Vue , Amplify and More!How To Create A Nuxt.js Stripe Custom Checkout Page in 23 minutes!Vue Server Components Changes Everything About Nuxt and Vue!Vue.js Render Functions - What Are They Good For? (VueConf 2021 Talk Recap)Learn The New Notion API in 35 Minutes | Create A Random Quote Generator With Notion API and FastifyAre Frontend Developers Cooked?The Future Of Tailwind UI Component Frameworks? A look at shadcn/ui.Why You Dont Need The Vue.js 3 Composition API! Composition API vs Options API Vue.js 3 comparisionAdd Authentication And Google Login To Your Website In Minutes (2nd part)Zod Form Validation Is The Best Vue Form Validator (and React) Out There
Program With Erik |

This Skill Forces AI To Use Modern Web Features

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER