Keep your coding agent up to date with the latest web best practices
Release v0.0.75
github-actions[bot]9e3eb390ce20
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 6489550..e9bc30a 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -8,7 +8,7 @@"name": "modern-web-guidance","source": "./","description": "Google Chrome's agent skills collection",- "version": "0.0.74"+ "version": "0.0.75"}]}diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 6413c53..c64d9ee 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "modern-web-guidance","description": "Google Chrome's agent skills collection",- "version": "0.0.74",+ "version": "0.0.75","author": {"name": "Google Chrome"}diff --git a/README.md b/README.mdindex b279c98..b644d04 100644--- a/README.md+++ b/README.md@@ -2,7 +2,7 @@This curated collection of skills, tools, and AI-ready documentation injects Chrome's web platform knowledge directly into your workflow, ensuring your coding agent builds apps that are modern, fast, and secure by default.-#### Skill Coverage in `v0.0.74`+#### Skill Coverage in `v0.0.75`<details><summary><strong>78 web features with implementation guidance from Chrome's experts</strong>: `::backdrop`, `:autofill`, `:has()`, `:not()`, `:user-valid and :user-invalid`, `@starting-style`, `<details>`, `<dialog closedby>`, `<dialog>`, `<link rel="expect">`, `<link rel="preload">`, `AbortController and AbortSignal`, `accent-color`, `Active view transition`, `Anchor positioning`, `blocking="render"`, `calc-size()`, `color-scheme`, `Container queries`, `content-visibility`, `Cross-document view transitions`, `Customizable <select>`, `Email, telephone, and URL <input> types`, `enterkeyhint`, `Fetch`, `Fetch priority`, `fetchLater`, `field-sizing`, `font-size-adjust`, `Form-associated WebMCP attributes`, `hidden="until-found"`, `image-set()`, `Individual transform properties`, `inert`, `inputmode`, `Interest invokers`, `interpolate-size`, `Intersection observer`, `Intl.DurationFormat`, `Invoker commands`, `Language detector`, `light-dark()`, `linear() easing`, `Long animation frames`, `Masks`, `moveBefore()`, `Mutually exclusive <details> elements`, `Navigation API`, `navigator.modelContext`, `overlay`, `Page visibility state`, `Popover`, `popover="hint"`, `prefers-color-scheme media query`, `prefers-contrast media query`, `prefers-reduced-motion media query`, `Registered custom properties`, `Scheduler API`, `Scroll snap`, `Scroll-driven animations`, `scroll-initial-target`, `scrollbar-color`, `scrollbar-width`, `scrollIntoView()`, `sibling-count() and sibling-index()`, `sin(), cos(), tan(), asin(), acos(), atan(), and atan2() (CSS)`, `Speculation rules`, `Summarizer`, `Temporal`, `text-box`, `text-wrap`, `text-wrap: balance`, `text-wrap: pretty`, `Top-level await`, `transition-behavior`, `Translator`, `View transitions`, `view-transition-class`</summary>diff --git a/gemini-extension.json b/gemini-extension.jsonindex 11c976c..20eac27 100644--- a/gemini-extension.json+++ b/gemini-extension.json@@ -1,7 +1,7 @@{"name": "modern-web-guidance","description": "Google Chrome's web development agent skills.",- "version": "0.0.74",+ "version": "0.0.75","author": {"name": "Google Chrome"}diff --git a/package.json b/package.jsonindex 035dae6..06aabc2 100644--- a/package.json+++ b/package.json@@ -2,7 +2,7 @@"name": "modern-web-guidance","displayName": "Modern Web Guidance","description": "Curated collection of agent skills for modern web development.",- "version": "0.0.74",+ "version": "0.0.75","publisher": "GoogleChrome","engines": {"vscode": "^1.90.0",diff --git a/skills/css/SKILL.md b/skills/css/SKILL.mdindex 9391476..6cba910 100644--- a/skills/css/SKILL.md+++ b/skills/css/SKILL.md@@ -93,7 +93,7 @@ Modern browser-native selectors reduce the need for preprocessors and complex st### DOs and DON'Ts- **DO** use native CSS nesting to group related styles (3 levels max).-- **DO** use `:has()` to style parents based on child state (e.g., `.form-group:has(:invalid)`). For more information, see the guides at `child-state-based-styling` (via `node <modern-web-directory>/modern-web.mjs retrieve "child-state-based-styling"`) and `content-based-styling` (via `node <modern-web-directory>/modern-web.mjs retrieve "content-based-styling"`).+- **DO** use `:has()` to style parents based on child state (e.g., `.form-group:has(:invalid)`). For more information, see the guides at `child-state-based-styling` (via `npx -p modern-web-guidance@latest -- modern-web retrieve "child-state-based-styling"`) and `content-based-styling` (via `npx -p modern-web-guidance@latest -- modern-web retrieve "content-based-styling"`).- **DON'T** nest `:has()` or use pseudo-elements inside `:has()` (browser API limitation).- **DO** use Attribute selectors (e.g., `[disabled]`) to style elements based on their state or metadata.- **DO** use `:where()` for baseline styles you want to be easily overridable (0 specificity).diff --git a/skills/modern-web/SKILL.md b/skills/modern-web/SKILL.mdindex 6ece263..afcd32f 100644--- a/skills/modern-web/SKILL.md+++ b/skills/modern-web/SKILL.md@@ -26,7 +26,7 @@ Must use this skill:Search with an action-oriented query summarizing what you want to achieve using the `search` command. Run `modern-web.mjs` directly with `node`.```sh-node <modern-web-directory>/modern-web.mjs search "<query>"+npx -p modern-web-guidance@latest -- modern-web search "<query>"```**Example Output**:@@ -48,7 +48,7 @@ node <modern-web-directory>/modern-web.mjs search "<query>"Once you have a relevant `id` from the search results, call this script using the `retrieve` command to get the full guide. You can pass multiple IDs separated by commas.```sh-node <modern-web-directory>/modern-web.mjs retrieve "<id>"+npx -p modern-web-guidance@latest -- modern-web retrieve "<id>"```diff --git a/skills/modern-web/guides/guides/css.md b/skills/modern-web/guides/guides/css.mdindex 795f627..a0195bd 100644--- a/skills/modern-web/guides/guides/css.md+++ b/skills/modern-web/guides/guides/css.md@@ -88,7 +88,7 @@ Modern browser-native selectors reduce the need for preprocessors and complex st### DOs and DON'Ts- **DO** use native CSS nesting to group related styles (3 levels max).-- **DO** use `:has()` to style parents based on child state (e.g., `.form-group:has(:invalid)`). For more information, see the guides at `child-state-based-styling` (via `node <modern-web-directory>/modern-web.mjs retrieve "child-state-based-styling"`) and `content-based-styling` (via `node <modern-web-directory>/modern-web.mjs retrieve "content-based-styling"`).+- **DO** use `:has()` to style parents based on child state (e.g., `.form-group:has(:invalid)`). For more information, see the guides at `child-state-based-styling` (via `npx -p modern-web-guidance@latest -- modern-web retrieve "child-state-based-styling"`) and `content-based-styling` (via `npx -p modern-web-guidance@latest -- modern-web retrieve "content-based-styling"`).- **DON'T** nest `:has()` or use pseudo-elements inside `:has()` (browser API limitation).- **DO** use Attribute selectors (e.g., `[disabled]`) to style elements based on their state or metadata.- **DO** use `:where()` for baseline styles you want to be easily overridable (0 specificity).