{"exhaustive":{"nbHits":false,"typo":false},"exhaustiveNbHits":false,"exhaustiveTypo":false,"hits":[{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"qainsights"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"<em>Modern</em> <em>Web</em> <em>Guidance</em> 1.0: The <em>web</em> platform expertise your coding agent is missing"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://developer.chrome.com/blog/<em>modern</em>-<em>web</em>-<em>guidance</em>-v1"}},"_tags":["story","author_qainsights","story_50460398"],"author":"qainsights","children":[50460991,50461001,50462189,50462222,50477238],"created_at":"2026-11-11T23:22:29Z","created_at_i":1794439349,"num_comments":9,"objectID":"50460398","points":34,"story_id":50460398,"title":"Modern Web Guidance 1.0: The web platform expertise your coding agent is missing","updated_at":"2026-11-16T15:01:30Z","url":"https://developer.chrome.com/blog/modern-web-guidance-v1"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"klueinc"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Maybe Don't Rely on Google's \"<em>Modern</em> <em>Web</em> <em>Guidance</em>\""},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://adrianroselli.com/2026/05/maybe-dont-rely-on-googles-<em>modern</em>-<em>web</em>-<em>guidance</em>.html"}},"_tags":["story","author_klueinc","story_48390505"],"author":"klueinc","created_at":"2026-06-03T21:39:54Z","created_at_i":1780522794,"num_comments":0,"objectID":"48390505","points":12,"story_id":48390505,"title":"Maybe Don't Rely on Google's \"Modern Web Guidance\"","updated_at":"2026-06-04T12:31:46Z","url":"https://adrianroselli.com/2026/05/maybe-dont-rely-on-googles-modern-web-guidance.html"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"moebrowne"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Maybe Don't Rely on Google's \"<em>Modern</em> <em>Web</em> <em>Guidance</em>\""},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://adrianroselli.com/2026/05/maybe-dont-rely-on-googles-<em>modern</em>-<em>web</em>-<em>guidance</em>.html"}},"_tags":["story","author_moebrowne","story_48277141"],"author":"moebrowne","created_at":"2026-05-26T09:12:58Z","created_at_i":1779786778,"num_comments":0,"objectID":"48277141","points":5,"story_id":48277141,"title":"Maybe Don't Rely on Google's \"Modern Web Guidance\"","updated_at":"2026-05-26T12:11:24Z","url":"https://adrianroselli.com/2026/05/maybe-dont-rely-on-googles-modern-web-guidance.html"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"rbanffy"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"<em>Modern</em> <em>Web</em> <em>Guidance</em> \u2013 Chrome for Developers"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["story","author_rbanffy","story_48207921"],"author":"rbanffy","created_at":"2026-05-20T13:58:49Z","created_at_i":1779285529,"num_comments":0,"objectID":"48207921","points":5,"story_id":48207921,"title":"Modern Web Guidance \u2013 Chrome for Developers","updated_at":"2026-06-10T23:11:41Z","url":"https://developer.chrome.com/docs/modern-web-guidance"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ulrischa"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Show HN: Semantic-skill-kit:agent skills adapted from Google <em>Modern</em> <em>Web</em> <em>Guidance</em>"},"url":{"matchLevel":"none","matchedWords":[],"value":"https://github.com/ulrischa/semantic-skill-kit"}},"_tags":["story","author_ulrischa","story_49758031","show_hn"],"author":"ulrischa","created_at":"2026-09-18T18:08:38Z","created_at_i":1789754918,"num_comments":0,"objectID":"49758031","points":3,"story_id":49758031,"title":"Show HN: Semantic-skill-kit:agent skills adapted from Google Modern Web Guidance","updated_at":"2026-09-20T07:32:53Z","url":"https://github.com/ulrischa/semantic-skill-kit"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"ibobev"},"title":{"fullyHighlighted":true,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"<em>Modern</em> <em>Web</em> <em>Guidance</em>"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://master.dev/blog/<em>modern</em>-<em>web</em>-<em>guidance</em>/"}},"_tags":["story","author_ibobev","story_48697124"],"author":"ibobev","created_at":"2026-06-27T10:55:08Z","created_at_i":1782557708,"num_comments":0,"objectID":"48697124","points":3,"story_id":48697124,"title":"Modern Web Guidance","updated_at":"2026-06-28T17:18:49Z","url":"https://master.dev/blog/modern-web-guidance/"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"pramodbiligiri"},"title":{"fullyHighlighted":true,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"<em>Modern</em> <em>Web</em> <em>Guidance</em>"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["story","author_pramodbiligiri","story_48292183"],"author":"pramodbiligiri","created_at":"2026-05-27T10:36:38Z","created_at_i":1779878198,"num_comments":0,"objectID":"48292183","points":1,"story_id":48292183,"title":"Modern Web Guidance","updated_at":"2026-06-10T23:11:41Z","url":"https://developer.chrome.com/docs/modern-web-guidance"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"spking"},"title":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Build with <em>Modern</em> <em>Web</em> <em>Guidance</em>"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["story","author_spking","story_48267553"],"author":"spking","created_at":"2026-05-25T14:50:50Z","created_at_i":1779720650,"num_comments":0,"objectID":"48267553","points":1,"story_id":48267553,"title":"Build with Modern Web Guidance","updated_at":"2026-06-10T23:11:41Z","url":"https://developer.chrome.com/docs/modern-web-guidance"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"paulirish"},"story_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Browsers natively handle a lot of what used to take 50 lines of JS (or a dependency): `CSS.highlights` for text range highlighting without &lt;span&gt;s everywhere, `&lt;dialog&gt;` and showModal() give you backdrops and ideal focus management, `field-sizing` to auto-grow textareas as the user types.. (Something yesterday's ftrain post touched on [0])<p>Models know about some of these by name, but consistently won't default to using the platform-native solution and instead prefer the incumbent &lt;div&gt;+JS based pattern.  We started an effort in Chrome to supplement coding agents with this key domain knowledge and we're shipping our 1.0 today, in collaboration with Firefox, MDN, and Edge.<p>200+ guides (~1.7MB) of curated, hand-crafted implementation best-practices from <em>web</em> experts, updated as the <em>web</em> evolves.  (Open source, obv, so.. we'll welcome your bikeshedding ;) Readable versions here: [1]<p>I've spent the last 9 months obsessing over how to ship this as an agent skill + (Agentic RAG) CLI without blowing up your context window. (Or cedeing activation mechanics to MCP dynamic tool search). The skill description is minmaxed for activating on relevant frontend tasks. The RAG work I'm pretty proud of\u2026 originally a 500mb native stack down to a ~7MB pure-JS package, ~10ms search on your CPU.<p>We just introduced a deterministic 'legacy-scan' (trained on 30k github repos) to identify old 'n dusted patterns that your agent can modernize. (92% avg precision on held-out repos.)<p>People make a lot of claims about what coding agents are good/bad at. We wanted receipts, so we invested heavily in eval infra [2] to help us hill-climb, but also to identify when knowledge is common enough we can prune our guides. (Ofc, some of the things we thought AI didn't know turned out to be wrong :)  We run codex/claude/agy against 200 tasks without the skill and then with.. In total ~1,700 playwright/AST-based assertions. Agents go from 55% pass unguided to 92% guided.<p>Try it out:<p><pre><code>    DISABLE_TELEMETRY=1 npx <em>modern</em>-<em>web</em>-<em>guidance</em>@latest install\n    DISABLE_TELEMETRY=1 npx <em>modern</em>-<em>web</em>-<em>guidance</em>@latest search &quot;animate dialog modal&quot;\n    DISABLE_TELEMETRY=1 npx <em>modern</em>-<em>web</em>-<em>guidance</em>@latest legacy-scan ./src\n</code></pre>\nIf you spot something wrong or weird, give us a holler!<p>Longer write-up on the 1.0:  <a href=\"https://developer.chrome.com/blog/modern-web-guidance-v1\" rel=\"nofollow\">https://developer.chrome.com/blog/<em>modern</em>-<em>web</em>-<em>guidance</em>-v1</a><p>---<p>0: <a href=\"https://news.ycombinator.com/item?id=50416456\">https://news.ycombinator.com/item?id=50416456</a><p>1: <a href=\"https://developer.chrome.com/docs/modern-web-guidance/guides\" rel=\"nofollow\">https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>/guides</a><p>2: <a href=\"https://googlechrome.github.io/modern-web-guidance-src/\" rel=\"nofollow\">https://googlechrome.github.io/<em>modern</em>-<em>web</em>-<em>guidance</em>-src/</a>"},"title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["story","author_paulirish","story_50443812","show_hn"],"author":"paulirish","children":[50444183,50444390,50444534,50444594,50444758,50444880,50445022,50445033,50445133,50445138,50445194,50445255,50445346,50445385,50445723,50445920,50446127,50446132,50446217,50446257,50446404,50446628,50446677,50446794,50446852,50447665,50447679,50447844,50448322,50448407,50448799,50448857,50449154,50449175,50449302,50449398,50449401,50449422,50449548,50449573,50449844,50449999,50450060,50450604,50450750,50450822,50451294,50451386,50451561,50451620,50451858,50452710,50452927,50453175,50453278,50453534,50455205,50458112,50460222,50461186],"created_at":"2026-11-10T18:01:15Z","created_at_i":1794333675,"num_comments":146,"objectID":"50443812","points":449,"story_id":50443812,"story_text":"Browsers natively handle a lot of what used to take 50 lines of JS (or a dependency): `CSS.highlights` for text range highlighting without &lt;span&gt;s everywhere, `&lt;dialog&gt;` and showModal() give you backdrops and ideal focus management, `field-sizing` to auto-grow textareas as the user types.. (Something yesterday&#x27;s ftrain post touched on [0])<p>Models know about some of these by name, but consistently won&#x27;t default to using the platform-native solution and instead prefer the incumbent &lt;div&gt;+JS based pattern.  We started an effort in Chrome to supplement coding agents with this key domain knowledge and we&#x27;re shipping our 1.0 today, in collaboration with Firefox, MDN, and Edge.<p>200+ guides (~1.7MB) of curated, hand-crafted implementation best-practices from web experts, updated as the web evolves.  (Open source, obv, so.. we&#x27;ll welcome your bikeshedding ;) Readable versions here: [1]<p>I&#x27;ve spent the last 9 months obsessing over how to ship this as an agent skill + (Agentic RAG) CLI without blowing up your context window. (Or cedeing activation mechanics to MCP dynamic tool search). The skill description is minmaxed for activating on relevant frontend tasks. The RAG work I&#x27;m pretty proud of\u2026 originally a 500mb native stack down to a ~7MB pure-JS package, ~10ms search on your CPU.<p>We just introduced a deterministic &#x27;legacy-scan&#x27; (trained on 30k github repos) to identify old &#x27;n dusted patterns that your agent can modernize. (92% avg precision on held-out repos.)<p>People make a lot of claims about what coding agents are good&#x2F;bad at. We wanted receipts, so we invested heavily in eval infra [2] to help us hill-climb, but also to identify when knowledge is common enough we can prune our guides. (Ofc, some of the things we thought AI didn&#x27;t know turned out to be wrong :)  We run codex&#x2F;claude&#x2F;agy against 200 tasks without the skill and then with.. In total ~1,700 playwright&#x2F;AST-based assertions. Agents go from 55% pass unguided to 92% guided.<p>Try it out:<p><pre><code>    DISABLE_TELEMETRY=1 npx modern-web-guidance@latest install\n    DISABLE_TELEMETRY=1 npx modern-web-guidance@latest search &quot;animate dialog modal&quot;\n    DISABLE_TELEMETRY=1 npx modern-web-guidance@latest legacy-scan .&#x2F;src\n</code></pre>\nIf you spot something wrong or weird, give us a holler!<p>Longer write-up on the 1.0:  <a href=\"https:&#x2F;&#x2F;developer.chrome.com&#x2F;blog&#x2F;modern-web-guidance-v1\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.chrome.com&#x2F;blog&#x2F;modern-web-guidance-v1</a><p>---<p>0: <a href=\"https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50416456\">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50416456</a><p>1: <a href=\"https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides</a><p>2: <a href=\"https:&#x2F;&#x2F;googlechrome.github.io&#x2F;modern-web-guidance-src&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;googlechrome.github.io&#x2F;modern-web-guidance-src&#x2F;</a>","title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","updated_at":"2026-11-24T19:18:37Z","url":"https://github.com/GoogleChrome/modern-web-guidance"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"LordDragonfang"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Edge <i>is</i> Chrom[ium], so that's not very meaningful. It's good that Firefox is at the table, but that table has three seats for Chromium to only one for Firefox, and a de-facto 3/5 majority[1]. And without Safari at the table, you're missing the single most important mobile browser engine (all browsers on iOS, including Chrome).<p>[1] <a href=\"https://github.com/GoogleChrome/modern-web-guidance-src/blob/main/GOVERNANCE.md#owners-group\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>-src/blob...</a>"},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_LordDragonfang","story_50443812"],"author":"LordDragonfang","children":[50471189],"comment_text":"Edge <i>is</i> Chrom[ium], so that&#x27;s not very meaningful. It&#x27;s good that Firefox is at the table, but that table has three seats for Chromium to only one for Firefox, and a de-facto 3&#x2F;5 majority[1]. And without Safari at the table, you&#x27;re missing the single most important mobile browser engine (all browsers on iOS, including Chrome).<p>[1] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob&#x2F;main&#x2F;GOVERNANCE.md#owners-group\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob...</a>","created_at":"2026-11-12T17:27:08Z","created_at_i":1794504428,"objectID":"50470884","parent_id":50444860,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-12T17:46:48Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"atopal"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Unless you have specified something else, <em>Modern</em> <em>Web</em> <em>Guidance</em> assumes that you are  targeting Baseline Widely Available, meaning all major browsers going back 2.5 years. Everything has to either be a progressive enhancement or have a fallback that works in those browsers. Otherwise you have to explicitly ask for that feature. This is a policy that was worked out with Microsoft Edge and Mozilla Firefox, who are also contributing to the skill."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_atopal","story_50443812"],"author":"atopal","comment_text":"Unless you have specified something else, Modern Web Guidance assumes that you are  targeting Baseline Widely Available, meaning all major browsers going back 2.5 years. Everything has to either be a progressive enhancement or have a fallback that works in those browsers. Otherwise you have to explicitly ask for that feature. This is a policy that was worked out with Microsoft Edge and Mozilla Firefox, who are also contributing to the skill.","created_at":"2026-11-11T13:03:03Z","created_at_i":1794402183,"objectID":"50452911","parent_id":50451814,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-11T18:38:42Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"atopal"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Not only is it asking the agent, the guides themselves spell out how to make a fallback work in unsupported browsers. That's not just Firefox and Safari, if it's a Chrome only feature older versions of Chrome might not support it either. Here's an example: <a href=\"https://github.com/GoogleChrome/modern-web-guidance-src/blob/main/guides/css/child-state-based-styling/guide.md#fallback-strategies\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>-src/blob...</a><p>Unless you have specified something different, by default the skill assumes you are targeting Baseline Widely Available, which means everything has to work in all major browsers from at least 2.5 years ago."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_atopal","story_50443812"],"author":"atopal","comment_text":"Not only is it asking the agent, the guides themselves spell out how to make a fallback work in unsupported browsers. That&#x27;s not just Firefox and Safari, if it&#x27;s a Chrome only feature older versions of Chrome might not support it either. Here&#x27;s an example: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob&#x2F;main&#x2F;guides&#x2F;css&#x2F;child-state-based-styling&#x2F;guide.md#fallback-strategies\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob...</a><p>Unless you have specified something different, by default the skill assumes you are targeting Baseline Widely Available, which means everything has to work in all major browsers from at least 2.5 years ago.","created_at":"2026-11-11T12:58:51Z","created_at_i":1794401931,"objectID":"50452863","parent_id":50452815,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-15T10:52:56Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"philipwalton"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Thanks for filing! Yes, the <em>modern</em>-<em>web</em>-<em>guidance</em>-src repo is the right place:\n<a href=\"https://github.com/GoogleChrome/modern-web-guidance-src\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>-src</a><p>&gt; Btw, I think it would be very helpful to automatically provide versions of this depending on what browsers you're targeting.<p>This should work today (though not exactly in the way you describe). The skill tells the agent how to interpret guides based on browser support signals it gets from context (e.g. the prompt itself, or AGENTS.md).<p>You can see those instructions here: <a href=\"https://github.com/GoogleChrome/modern-web-guidance-src/blob/v1.0.0/guides/modern-web-guidance/SKILL.md#interpreting-browser-support--fallbacks\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>-src/blob...</a>"},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_philipwalton","story_50443812"],"author":"philipwalton","children":[50449326,50449626],"comment_text":"Thanks for filing! Yes, the modern-web-guidance-src repo is the right place:\n<a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src</a><p>&gt; Btw, I think it would be very helpful to automatically provide versions of this depending on what browsers you&#x27;re targeting.<p>This should work today (though not exactly in the way you describe). The skill tells the agent how to interpret guides based on browser support signals it gets from context (e.g. the prompt itself, or AGENTS.md).<p>You can see those instructions here: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob&#x2F;v1.0.0&#x2F;guides&#x2F;modern-web-guidance&#x2F;SKILL.md#interpreting-browser-support--fallbacks\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob...</a>","created_at":"2026-11-11T02:51:38Z","created_at_i":1794365498,"objectID":"50449244","parent_id":50449154,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-11T20:44:14Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"bakkoting"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"&gt; If you spot something wrong or weird, give us a holler!<p>But how? Hopefully filing an issue on the <em>modern</em>-<em>web</em>-<em>guidance</em>-src repo is the right place? Anyway I filed one for using fromBase64 and toBase64 instead of atob and btoa.<p>But since you're all in on agents anyway you should consider having one look through at least all of the JS, DOM, and HTML spec commits in the last 3-5 years and automatically triaging any that are clear improvements and are not used by agents. Would be pretty straightforward.<p>---<p>Btw, I think it would be very helpful to automatically provide versions of this depending on what browsers you're targeting. I don't want to use anything that hasn't been available in all evergreen browsers for at least a year, for example; I think most developers have a similar standard, or at the very least don't want to use the bleeding edge. And while it is _possible_ to get that from your repo, it takes some effort, either writing a script or letting the agent use its own judgement for every feature. That's work you could do on your end and save the rest of us from needing to."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_bakkoting","story_50443812"],"author":"bakkoting","children":[50449244],"comment_text":"&gt; If you spot something wrong or weird, give us a holler!<p>But how? Hopefully filing an issue on the modern-web-guidance-src repo is the right place? Anyway I filed one for using fromBase64 and toBase64 instead of atob and btoa.<p>But since you&#x27;re all in on agents anyway you should consider having one look through at least all of the JS, DOM, and HTML spec commits in the last 3-5 years and automatically triaging any that are clear improvements and are not used by agents. Would be pretty straightforward.<p>---<p>Btw, I think it would be very helpful to automatically provide versions of this depending on what browsers you&#x27;re targeting. I don&#x27;t want to use anything that hasn&#x27;t been available in all evergreen browsers for at least a year, for example; I think most developers have a similar standard, or at the very least don&#x27;t want to use the bleeding edge. And while it is _possible_ to get that from your repo, it takes some effort, either writing a script or letting the agent use its own judgement for every feature. That&#x27;s work you could do on your end and save the rest of us from needing to.","created_at":"2026-11-11T02:37:25Z","created_at_i":1794364645,"objectID":"50449154","parent_id":50443812,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-11T12:00:14Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"lelandfe"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"The default behavior for this &quot;<em>web</em> best practices&quot; tool which steers people away from &quot;legacy patterns&quot; has agents using Limited Availability features with complex and nuanced[0] fallbacks?<p>This would be deeply surprising to me, and I am the target audience for this repo. I'd expect the default here to be Widely Available <i>only</i> with some opt-in for the courageous. I don't know that I'd even enable it.<p>[0] <a href=\"https://github.com/GoogleChrome/modern-web-guidance/blob/4dd968349e54ca45a05dd5c818fb035c9054b022/skills/modern-web-guidance/guides/performance/detect-initial-visibility-state.md#fallback-strategies\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>/blob/4dd...</a>"},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_lelandfe","story_50443812"],"author":"lelandfe","children":[50449329],"comment_text":"The default behavior for this &quot;web best practices&quot; tool which steers people away from &quot;legacy patterns&quot; has agents using Limited Availability features with complex and nuanced[0] fallbacks?<p>This would be deeply surprising to me, and I am the target audience for this repo. I&#x27;d expect the default here to be Widely Available <i>only</i> with some opt-in for the courageous. I don&#x27;t know that I&#x27;d even enable it.<p>[0] <a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance&#x2F;blob&#x2F;4dd968349e54ca45a05dd5c818fb035c9054b022&#x2F;skills&#x2F;modern-web-guidance&#x2F;guides&#x2F;performance&#x2F;detect-initial-visibility-state.md#fallback-strategies\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance&#x2F;blob&#x2F;4dd...</a>","created_at":"2026-11-11T00:24:35Z","created_at_i":1794356675,"objectID":"50448247","parent_id":50446275,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-12T17:09:46Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"philipwalton"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"The details/summary features are covered in the accordion guide here: <a href=\"https://developer.chrome.com/docs/modern-web-guidance/guides/ui-components/accordion\" rel=\"nofollow\">https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>/guides...</a><p>If you scan to the bottom of the guide under the &quot;Fallback strategies&quot; section, you can see the recommendations for how to deal with the aspects of details/summary that aren't Baseline widely available (e.g. mutually exclusive details)."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_philipwalton","story_50443812"],"author":"philipwalton","comment_text":"The details&#x2F;summary features are covered in the accordion guide here: <a href=\"https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides&#x2F;ui-components&#x2F;accordion\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides...</a><p>If you scan to the bottom of the guide under the &quot;Fallback strategies&quot; section, you can see the recommendations for how to deal with the aspects of details&#x2F;summary that aren&#x27;t Baseline widely available (e.g. mutually exclusive details).","created_at":"2026-11-10T23:33:03Z","created_at_i":1794353583,"objectID":"50447828","parent_id":50446767,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-11T11:26:11Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"surround"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"The line between <i>documenting</i> and <i>instructing</i> is blurry in many cases. For example, these statements are meant to document best practices to the agent, but they sound like instructions:<p>&quot;DO use fetchLater()...&quot;<p>&quot;Your own code MUST call fetchLater() directly...&quot;<p><a href=\"https://github.com/GoogleChrome/modern-web-guidance/blob/main/skills/modern-web-guidance/guides/performance/full-session-analytics.md#L52-L65\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>/blob/mai...</a><p>But yes, the skills do document compatibility and fallbacks well."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_surround","story_50443812"],"author":"surround","children":[50446715],"comment_text":"The line between <i>documenting</i> and <i>instructing</i> is blurry in many cases. For example, these statements are meant to document best practices to the agent, but they sound like instructions:<p>&quot;DO use fetchLater()...&quot;<p>&quot;Your own code MUST call fetchLater() directly...&quot;<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance&#x2F;blob&#x2F;main&#x2F;skills&#x2F;modern-web-guidance&#x2F;guides&#x2F;performance&#x2F;full-session-analytics.md#L52-L65\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance&#x2F;blob&#x2F;mai...</a><p>But yes, the skills do document compatibility and fallbacks well.","created_at":"2026-11-10T21:14:45Z","created_at_i":1794345285,"objectID":"50446395","parent_id":50446275,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-11T07:05:11Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"paulirish"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Gemini <em>web</em>?  Probably simonw's strat from the top comment.<p>There's a plugin for Antigravity that's listed on initial setup (yay bundleware! :)  but... yeah if you're using consumer gemini, i'd switch to the Tasks mode because it's more agentic nature helps.<p>In fact I just did this and it works. :p  It regular Gemini, it said it did but kinda liked :)   So there it'd be<p>&gt; Create a perfect HTML contact form with address fields. Check <a href=\"https://developer.chrome.com/docs/modern-web-guidance/guides.md.txt\" rel=\"nofollow\">https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>/guides...</a> \u2014 read completely, don't stop at truncation."},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_paulirish","story_50443812"],"author":"paulirish","comment_text":"Gemini web?  Probably simonw&#x27;s strat from the top comment.<p>There&#x27;s a plugin for Antigravity that&#x27;s listed on initial setup (yay bundleware! :)  but... yeah if you&#x27;re using consumer gemini, i&#x27;d switch to the Tasks mode because it&#x27;s more agentic nature helps.<p>In fact I just did this and it works. :p  It regular Gemini, it said it did but kinda liked :)   So there it&#x27;d be<p>&gt; Create a perfect HTML contact form with address fields. Check <a href=\"https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides.md.txt\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides...</a> \u2014 read completely, don&#x27;t stop at truncation.","created_at":"2026-11-10T20:32:51Z","created_at_i":1794342771,"objectID":"50445909","parent_id":50444880,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-10T22:33:28Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"kinlan"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"<a href=\"https://developer.chrome.com/docs/modern-web-guidance/guides.md.txt\" rel=\"nofollow\">https://developer.chrome.com/docs/<em>modern</em>-<em>web</em>-<em>guidance</em>/guides...</a><p>(we could make this clearer though)"},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_kinlan","story_50443812"],"author":"kinlan","children":[50445078,50445411,50445908],"comment_text":"<a href=\"https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides.md.txt\" rel=\"nofollow\">https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;modern-web-guidance&#x2F;guides...</a><p>(we could make this clearer though)","created_at":"2026-11-10T19:18:03Z","created_at_i":1794338283,"objectID":"50444904","parent_id":50444594,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-12T17:15:21Z"},{"_highlightResult":{"author":{"matchLevel":"none","matchedWords":[],"value":"super256"},"comment_text":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"Calm your pitchfork, Mozilla and Edge are both part of <em>Modern</em> <em>Web</em> <em>Guidance</em>.<p><a href=\"https://github.com/GoogleChrome/modern-web-guidance-src/blob/main/GOVERNANCE.md\" rel=\"nofollow\">https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>-src/blob...</a>"},"story_title":{"fullyHighlighted":false,"matchLevel":"partial","matchedWords":["modern","web"],"value":"Show HN: Get your coding agent off ~2019 JavaScript, onto <em>modern</em> <em>web</em> primitives"},"story_url":{"fullyHighlighted":false,"matchLevel":"full","matchedWords":["modern","web","guidance"],"value":"https://github.com/GoogleChrome/<em>modern</em>-<em>web</em>-<em>guidance</em>"}},"_tags":["comment","author_super256","story_50443812"],"author":"super256","children":[50470744],"comment_text":"Calm your pitchfork, Mozilla and Edge are both part of Modern Web Guidance.<p><a href=\"https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob&#x2F;main&#x2F;GOVERNANCE.md\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;GoogleChrome&#x2F;modern-web-guidance-src&#x2F;blob...</a>","created_at":"2026-11-10T19:17:31Z","created_at_i":1794338251,"objectID":"50444896","parent_id":50444758,"story_id":50443812,"story_title":"Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives","story_url":"https://github.com/GoogleChrome/modern-web-guidance","updated_at":"2026-11-12T17:19:03Z"}],"hitsPerPage":20,"nbHits":105,"nbPages":6,"page":0,"params":"query=modern+web+guidance&advancedSyntax=true&analyticsTags=backend","processingTimeMS":14,"processingTimingsMS":{"_request":{"queue":11,"roundTrip":21},"fetch":{"query":9,"scanning":3,"total":13},"total":14},"query":"modern web guidance","serverTimeMS":26}
