What problem does it solve?
VS Code extension bugs and visual regressions cannot be proven with browser-only screenshots; PRs and bug investigations need authentic before/after evidence captured from the actual VS Code extension host, which is tedious and error-prone to do manually.
Core Features & Use Cases
- Automated VS Code capture: Launches an isolated Extension Development Host via
--extensionDevelopmentPath under Xvfb, opens the LikeC4 preview through the command palette, and screenshots the window with xdotool and ImageMagick.
- Before/after comparison workflow: Builds the extension from
origin/main and the PR branch, captures both states against the same minimal .c4 fixture, and verifies the images show the broken and fixed states.
- Safe PR publishing: Guides uploading screenshots via the
gh image extension or a dedicated orphan asset branch, with checks for secrets, usernames, and unrelated windows before publishing.
- Use Case: A contributor fixing an icon-color regression in the LikeC4 VS Code preview uses this Skill to produce verified before/after screenshots and embed them in the pull request body.
Quick Start
Capture before and after screenshots of the LikeC4 VS Code preview for my PR using the capture script under Xvfb and add them to the PR description.