vscode-extension-dev
Develop, build, and test VSCode extensions in this repo. Use when editing extension source code, compiling TypeScript, packaging .vsix files, or installing extensions for testing.
Works with
--- name: vscode-extension-dev description: Develop, build, and test VSCode extensions in this repo. Use when editing extension source code, compiling TypeScript, packaging .vsix files, or installing extensions for testing. license: MIT --- # VSCode Extension Development ## Extension locations Extensions live in `vscode_extensions/<name>/`. Each has: - `src/extension.ts` — main source code - `dist/extension.js` — compiled output (esbuild) - `install/<name>-<version>.vsix` — packaged extension - `package.json` — manifest with activation events, commands, config ## Build & install workflow **CRITICAL**: VSCode runs the **installed `.vsix`** from `~/.vscode/extensions/`, NOT the `dist/` in the repo. After every code change you MUST: 1. **Compile**: `cd vscode_extensions/<name> && npm run compile` 2. **Package**: `npx @vscode/vsce package --out install/<name>-<version>.vsix` 3. **Install**: `code --install-extension install/<name>-<version>.vsix --force` 4. **Tell user** to reload: `Cmd+Shift+P` → "Developer: Reload Window" Just running `npm run compile` is NOT enough — the user will still see old behavior. ## Verifying installed code To check what code is actually running: ```bash # Check installed extension has your changes grep "some_unique_string" ~/.vscode/extensions/<publisher>.<name>-<version>/dist/extension.js ``` ## Common pitfalls - **esbuild watch mode**: `npm run compile` may start a watcher that blocks. This is fine for compilation but you still need to package + install. - **Version conflicts**: If the installed `.vsix` version matches, VSCode may cache. Use `--force` flag on install. - **Extension host**: Changes only take effect after "Developer: Reload Window".
More Testing skills
tdd
mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
setup-pre-commit
mattpocock/skills
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

