Skip to content

Add Modern Web Guidance plugin to claude-code images + document baked-in plugins #102

Closed

Description

@gatezh

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 in claude 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-guidance succeeds in a fresh default container.
  • claude plugin install modern-web-guidance@<correct-marketplace-name> succeeds — confirm the correct marketplace name (modern-web-guidance vs googlechrome) by running claude plugin marketplace list after the add step, and update init-plugins.sh accordingly.
  • Same two commands succeed inside a fresh sandbox container with the default firewall allowlist.
  • At least one skill from the plugin is invocable from Claude Code after postCreateCommand completes (e.g. a web-* skill appears in the available-skills list on a fresh session).
  • claude-code/README.md includes the new "Bundled Claude Code plugins" section.

References

Activity

  1. added a commit that references this issue on May 20, 2026
    7236567
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions