Repository navigation
feat(claude-code): add devcontainer-upstream-sync skill - #95
Merged
Merged
Conversation
Teaches Claude Code to audit a downstream project's .devcontainer/ and bundled .claude/skills/ against this repo, adopt missed changes, draft upstream issues for shared bugs, and self-update. Same copy-paste distribution channel as sandbox-fetch-docs and sandbox-playwright — infrastructure files (Dockerfile, compose, devcontainer.json) keep the existing template flow; the skill rides alongside them. README adds the recommended-skill section and the structure-tree entry.
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.
Summary
Add a
devcontainer-upstream-syncskill to theclaude-codetemplate thatteaches Claude Code to keep a downstream project's
.devcontainer/andbundled
.claude/skills/in step with this repo: audit drift againstupstream, adopt missed changes, draft upstream issues for shared bugs, and
self-update when this skill's
version:bumps.Why
Two recent friction points showed the gap:
init-firewall.shagainst upstream and a hand-rolled report.
postStartCommanddrift (Playwright MCP plugin can't launch a browser inclaude-code-sandbox, and the existing ARM64 patch is broken inclaude-codetoo #85/Bakepatch-playwright-mcp.shinto the image so consumer projects don't carry a copy #87/refactor(claude-code): bake patch-playwright-mcp into the image (#87) #88) was missed for~10 days in a downstream project because no automated audit existed.
What's in the skill
upstream path and a bucket:
framework-track(must match upstream),starter-customize(template, drift expected),exemplar(canonical ata different upstream path, e.g.
init-firewall.sh).VS Code extensions, runArgs hostname, postStart/postCreate chains,
allowlist contents — never auto-stripped.
Distribution
Same copy-paste model as
sandbox-fetch-docs/sandbox-playwright. Noplugin manifest needed — the upstream's deliverable spans Dockerfile,
compose, devcontainer.json, and skills, and the existing template-copy
flow already handles all of those.
Test plan
report covers every manifest row.
version:locally; verify Workflow 4 detects it andoffers to update.