csharpfritz/squadui/github-actions-vscode-ci
Claude Code and agent skill by csharpfritz/squadui
- community
Checking that the SKILL.md file is still in the repository.
CI pipeline patterns for VS Code extensions using GitHub Actions
Install
npx vskill@latest install csharpfritz/squadui/github-actions-vscode-ciSKILL.md
Context
VS Code extensions have unique CI requirements compared to standard Node.js projects. The test runner (@vscode/test-electron) launches a real VS Code instance, which needs a display server on Linux CI runners.
Patterns
xvfb-run for VS Code Extension Tests
VS Code extension tests using @vscode/test-electron require a virtual framebuffer on headless Linux CI. Wrap the test command with xvfb-run -a to provide a virtual X display:
The -a flag auto-selects a free display number, avoiding conflicts.
Concurrency Control for PR Builds
Add a concurrency group keyed to github.ref so duplicate runs on the same branch cancel in-progress jobs:
This saves CI minutes when pushing multiple commits to a PR in quick succession.
npm ci Over npm install
Always use npm ci in CI pipelines. It installs from package-lock.json exactly, is faster, and ensures reproducible builds. It also removes node_modules first, preventing stale dependency issues.
Fail-Fast Pipeline Ordering
Order CI steps from fastest to slowest: lint → compile → test. Lint catches style issues in seconds; no point compiling if lint fails. Compilation catches type errors; no point running tests if types are broken.
Anti-Patterns
- Using `npm install` in CI — non-deterministic; may resolve different versions than lockfile.
- Running VS Code tests without xvfb — will fail silently or crash on headless Linux.
- `continue-on-error: true` on test steps — hides real failures; use
if: always()on artifact upload instead. - Missing concurrency control — wastes CI minutes running duplicate builds on rapid pushes.
Examples
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.ai-team/skills/github-actions-vscode-ci/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/csharpfritz/squadui/github-actions-vscode-ci)