Skip to content

Keep your coding agent up to date with the latest web best practices

Release v0.0.146

github-actions[bot]91eec75eef1d
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index bc93e96..550d7d8 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -8,7 +8,7 @@
"name": "modern-web-guidance",
"source": "./",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.145"
+ "version": "0.0.146"
}
]
}
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 18e6362..babf978 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.145",
+ "version": "0.0.146",
"author": {
"name": "Google Chrome"
}
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json
index 18e6362..babf978 100644
--- a/.cursor-plugin/plugin.json
+++ b/.cursor-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.145",
+ "version": "0.0.146",
"author": {
"name": "Google Chrome"
}
diff --git a/README.md b/README.md
index 5c9c4b4..ab5ae03 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Here's a tiny sampling of the **123 use-case-centric guides**:
* **Accessibility & Security**: accessible error announcements, keyboard focus management.
* **Built-in AI**: Leveraging local, on-device client models (native Language Detection, Summarization, and Translation APIs).
-#### Full Skill Coverage (v0.0.145)
+#### Full Skill Coverage (v0.0.146)
<details>
<summary>Includes expert guidance across <strong>98 modern web features</strong></summary>
diff --git a/gemini-extension.json b/gemini-extension.json
index 18e6362..babf978 100644
--- a/gemini-extension.json
+++ b/gemini-extension.json
@@ -1,7 +1,7 @@
{
"name": "modern-web-guidance",
"description": "Keep your coding agent up to date with the latest web best practices",
- "version": "0.0.145",
+ "version": "0.0.146",
"author": {
"name": "Google Chrome"
}
diff --git a/package.json b/package.json
index 2ff3eac..d94ed43 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"displayName": "Modern Web Guidance",
"description": "Keep your agent up to date on the latest web best practices.",
"license": "Apache-2.0",
- "version": "0.0.145",
+ "version": "0.0.146",
"publisher": "GoogleChrome",
"engines": {
"vscode": "^1.90.0",
diff --git a/skills/modern-web-guidance/guides/webmcp/webmcp.md b/skills/modern-web-guidance/guides/webmcp/webmcp.md
index 560b8df..cae1dc0 100644
--- a/skills/modern-web-guidance/guides/webmcp/webmcp.md
+++ b/skills/modern-web-guidance/guides/webmcp/webmcp.md
@@ -20,10 +20,9 @@ Currently, WebMCP **only supports Tools**. It does not support the "Resources" o
* **Reliability**: Validate constraints in code and return descriptive errors for retries. Handle rate limiting gracefully. Ensure the function returns *after* UI state updates for consistency.
* **Tool Strategy**: Tools should be atomic, composable, and distinct. Do not force flow control instructions ("Don't call B after A") — let the agent decide. Register/unregister tools dynamically depending on the current page context. Use `annotations: { readOnlyHint: true }` (placed after `execute`) for tools that do not modify state to inform the agent of safe execution.
* **Clean Up**: Always use `AbortSignal` to unregister tools when pages transition or resources are released to avoid leaks and collisions. Do not use `unregisterTool`.
+* **Web Development Best Practices**: WebMCP tools run as client-side JavaScript in the browser tab. They must adhere to regular web development best practices (e.g., keeping secrets out of client-side code, accessing backend databases through secure API layers, and using Web Workers, WASM, or WebGPU for heavy compute).
### When to Discourage WebMCP
-
-* **Direct Database/Secure Access**: If the operation requires intensive compute, direct access to secure databases, or requires API keys that shouldn't be exposed to the client. In these cases, the client-side tool's executor function should make a standard HTTP request (e.g., via `fetch()`) to a backend API endpoint, rather than attempting to perform these actions directly on the client.
* **High-Risk Actions without Guardrails**: Avoid auto-submitting tools for destructive or irreversible actions (e.g., deleting data) unless the UI requires manual user confirmation outside the agent's control.
* **Hyper-Dynamic State**: If data changes faster than the agent can react, it may work with stale context.