Repository navigation
feat(claude-code): add modern-web-guidance plugin and document bundled plugins - #103
Merged
Merged
Conversation
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the Modern Web Guidance plugin from the Google Chrome team to the shared
claude-code/.devcontainer/init-plugins.shtemplate, and documents every bundled plugin inclaude-code/README.md.Why
Closes #102. The plugin ships expert-vetted skills for accessible, performant, and secure modern web work (WebAuthn/CSP, LCP/long-task optimization, modernizing legacy code, etc.) — a natural fit alongside the existing
frontend-designplugin already in the template. The README previously had no list of which plugins the template installs, leaving consumers to read the script to find out.Changes
claude-code/.devcontainer/init-plugins.sh: appendGoogleChrome/modern-web-guidancetoMARKETPLACESandmodern-web-guidance@googlechrometoPLUGINS.claude-code/README.md: new#### Bundled pluginssubsection under### Optional: .devcontainer/init-plugins.shlisting all 12 plugins (marketplace, plugin, purpose) with the upstream Chrome docs link inline for the new entry, plus a one-line removal hint.Notes
googlechrome, notmodern-web-guidance. Issue Add Modern Web Guidance plugin to claude-code images + document baked-in plugins #102 flagged uncertainty here and proposedmodern-web-guidance@modern-web-guidancebased on a slug-based heuristic. Verified against the upstream.claude-plugin/marketplace.json, which declares"name": "googlechrome"— so the canonical install ismodern-web-guidance@googlechrome, matching what developer.chrome.com says. No container required to confirm.init-plugins.shis a per-project template, not image-baked, so each consumer's local copy needs a sync. Consumers using thedevcontainer-upstream-syncskill will pick this up on their next audit; others can copy the two appended lines manually.build-claude-code.ymlonly verifies image-baked binaries and the managed-settings hook — plugin installation runs at consumerpostCreateCommand, not at image build, so there's no plugin-install verification surface in CI for any plugin (existing or new). Consistent with howfrontend-design,superpowers, etc. are currently unverified at build time.bash -nandshellcheckboth pass clean on the updated script.Test plan
claude-code(default) devcontainer, runbash .devcontainer/init-plugins.shand confirm bothGoogleChrome/modern-web-guidanceis listed inclaude plugin marketplace listandmodern-web-guidanceis listed inclaude plugin list.claude-code-sandboxcontainer with the default firewall (api.github.com/metaranges) — confirm marketplace add and plugin install both succeed without firewall changes.web-*skill from the plugin appears in the available-skills list.