Repository navigation
Description
Summary
Add the Modern Web Guidance plugin from the Google Chrome team to the shared claude-code/.devcontainer/init-plugins.sh template so every project picks it up at postCreateCommand. Apply to both the default and sandbox consumer wiring (same template — single change, both variants benefit). While we're in the area, add a short Bundled Claude Code plugins section to claude-code/README.md that lists each marketplace/plugin shipped in init-plugins.sh with a one-line rationale, so the list is documented rather than implicit.
Background
Per the upstream install instructions:
/plugin marketplace add GoogleChrome/modern-web-guidance
/plugin install modern-web-guidance@googlechrome
/reload-plugins
The plugin provides expert-vetted skills for building accessible, performant, and secure modern web experiences (new UX, modernizing legacy code, WebAuthn/CSP, LCP/long-task optimization, etc.). It's a natural fit alongside the existing frontend-design@claude-plugins-official plugin already in the template.
Proposed change
1. claude-code/.devcontainer/init-plugins.sh
Append to the MARKETPLACES array:
MARKETPLACES=(
"anthropics/claude-plugins-official"
"umputun/ralphex"
"GoogleChrome/modern-web-guidance"
)Append to the PLUGINS array:
PLUGINS=(
# ... existing entries ...
"modern-web-guidance@modern-web-guidance"
)Note on the
@<marketplace>suffix: the marketplace name inclaude plugin install <plugin>@<marketplace>is the marketplace's registered name, which is usually the second path segment of the GitHub slug (here:modern-web-guidance). The user-facing docs on developer.chrome.com show@googlechrome— that needs to be verified against the actual marketplace metadata before merging (see acceptance criteria below).
2. claude-code/README.md — new section: "Bundled Claude Code plugins"
A short table or list under the What's Included or Project Setup Guide area, e.g.:
| Marketplace | Plugin | Purpose |
|---|---|---|
anthropics/claude-plugins-official |
frontend-design |
Production-grade UI/UX scaffolding |
anthropics/claude-plugins-official |
code-review |
Multi-agent PR review |
anthropics/claude-plugins-official |
typescript-lsp |
TS language-server tooling |
anthropics/claude-plugins-official |
code-simplifier |
Refactors for clarity/consistency |
anthropics/claude-plugins-official |
playwright |
Browser MCP (system chromium via patch-playwright-mcp) |
anthropics/claude-plugins-official |
superpowers |
Workflow skills (TDD, debugging, planning) |
anthropics/claude-plugins-official |
explanatory-output-style |
Educational output mode |
anthropics/claude-plugins-official |
claude-md-management |
Audits/updates CLAUDE.md |
anthropics/claude-plugins-official |
claude-code-setup |
Settings/permissions/automation helpers |
anthropics/claude-plugins-official |
posthog |
PostHog product-analytics & LLM-traces skills |
umputun/ralphex |
ralphex |
Autonomous plan execution |
GoogleChrome/modern-web-guidance |
modern-web-guidance |
Accessible/performant/secure modern web patterns |
The section should also briefly explain how to remove a plugin (edit init-plugins.sh in the consumer project — it's a template, not image-baked) and link to the upstream developer.chrome.com/docs/modern-web-guidance page for the new plugin.
Sandbox compatibility
The sandbox firewall (/.devcontainer/claude-sandbox/init-firewall.sh) already allows GitHub's IP ranges via https://api.github.com/meta, which covers github.com and raw.githubusercontent.com. Plugin marketplace add + install for a GitHub-hosted plugin should therefore work in the sandbox with no firewall changes. This should be verified empirically as part of the acceptance criteria below.
Acceptance criteria
-
claude plugin marketplace add GoogleChrome/modern-web-guidancesucceeds in a freshdefaultcontainer. -
claude plugin install modern-web-guidance@<correct-marketplace-name>succeeds — confirm the correct marketplace name (modern-web-guidancevsgooglechrome) by runningclaude plugin marketplace listafter the add step, and updateinit-plugins.shaccordingly. - Same two commands succeed inside a fresh
sandboxcontainer with the default firewall allowlist. - At least one skill from the plugin is invocable from Claude Code after
postCreateCommandcompletes (e.g. aweb-*skill appears in the available-skills list on a fresh session). -
claude-code/README.mdincludes the new "Bundled Claude Code plugins" section.
References
- Plugin homepage: https://developer.chrome.com/docs/modern-web-guidance
- Marketplace repo: https://github.com/GoogleChrome/modern-web-guidance
- Existing plugin wiring:
claude-code/.devcontainer/init-plugins.sh
Activity
feat(claude-code): add modern-web-guidance plugin and document bundle…