Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

run-vscode-extension-tests

Skill by neo4j

Runs and debugs the test suites for the neo4j-for-vscode extension, covering API, unit and webview tests. It also covers prerequisites, stubbing pitfalls, linter download caching and known flaky patterns. Intended for changes under packages/vscode-extension.

  • Score 67
  • 54 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install run-vscode-extension-tests

Built from the published package, never by AI.

git clone --depth 1 https://github.com/neo4j/cypher-language-support /tmp/cypher-language-support && mkdir -p ~/.claude/skills && cp -r /tmp/cypher-language-support/.claude/skills/run-vscode-extension-tests ~/.claude/skills/run-vscode-extension-tests

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install run-vscode-extension-tests in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill explains how to run and debug the test suites for the neo4j-for-vscode extension in the packages/vscode-extension folder. The API and unit tests use @vscode/test-electron, mocha and testcontainers, and start their own Neo4j 5 and 2025.x containers. The webview tests use wdio. The skill covers prerequisites, the two module graph stubbing gotcha, the linter download cache, and known flaky test patterns.

It is meant for contributors and agents working on changes to packages/vscode-extension. The source says to confirm with the user before launching the suites, because they open real VS Code windows and download a VS Code build on first run. Debug launch configurations are described for a person working in the IDE.

Written from the project's SKILL.md and checked against it.

What it can do

  • API and unit testsRuns the mocha suites via pnpm test:apiAndUnit against two Neo4j testcontainers.
  • Webview testsRuns the webview test suite with wdio via pnpm test:webviews.
  • Stubbing guidanceExplains why sinon stubs on src/ modules do not reach bundled command handlers.
  • Linter cache notesExplains where downloaded lint workers are stored and why the suite wipe does not clear them.
  • Flakiness patternsLists known flaky test patterns and the spy-based approach to avoid them.
  • Debug configurationsDescribes the Debug VSCode Tests and Debug VSCode Webview Tests launch configs for a person in the IDE.

What you need

  • Node.js below 24.16.0 (CI pins 24.15.0)
  • Docker or Rancher as a container manager
  • pnpm
  • Permission to open VS Code windows and download a VS Code build

Try asking

  • Run the API and unit tests for the VS Code extension.
  • Why are the webview tests failing in packages/vscode-extension?
  • Help me de-flake the lintSwitching spec tests.

Good to know

  • Confirm with the user before running the suites, since they open real VS Code windows.
  • The source says Node 24.16 hangs browser setup and breaks the webview tests.
  • Debug launch configurations are meant for a human at the IDE, not for agents.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/run-vscode-extension-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to run-vscode-extension-tests

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

run-vscode-extension-tests: common questions

Why do sinon stubs not work in the VS Code extension tests?

The extension under test is the bundled dist/extension.js, while spec files compile separately from src/. Commands run through executeCommand hit the real bundled handlers, so stubs on src/ modules do not reach them.

Which Node.js version should I use for these tests?

Node must be below 24.16.0, and CI pins 24.15.0. The source says 24.16 hangs playwright's browser-archive extraction and breaks the wdio webview tests.

Does running the suite clear the linter download cache?

No. Downloaded lint workers live in the real VS Code global storage, not in .vscode-test/user-data, so the suite's wipe does not force a cold download.

How do I install run-vscode-extension-tests?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is run-vscode-extension-tests free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is run-vscode-extension-tests safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to run-vscode-extension-tests?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

run-vscode-extension-tests Install

Add to stack

Loading.