vscode-extension-guide-en
Guide for VS Code extension development from scaffolding to Marketplace publication
Best use case
vscode-extension-guide-en is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Guide for VS Code extension development from scaffolding to Marketplace publication
Teams using vscode-extension-guide-en should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/vscode-extension-guide-en/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How vscode-extension-guide-en Compares
| Feature / Agent | vscode-extension-guide-en | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Guide for VS Code extension development from scaffolding to Marketplace publication
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
SKILL.md Source
# VS Code Extension Guide (English) ## Overview An English guide for building VS Code extensions, covering the full lifecycle from scaffolding to Marketplace publication. Includes reference material on webview patterns, CSP security, TreeView, testing, packaging and troubleshooting. Updated for VS Code 1.74+ APIs. Adapted from aktsmm/agent-skills (CC BY-NC-SA 4.0), translated to English with corrections for current VS Code APIs. ## When to Use This Skill - Use when creating a new VS Code extension from scratch - Use when adding commands, keybindings or settings to an extension - Use when building TreeView or Webview UI in an extension - Use when publishing an extension to the VS Code Marketplace - Use when troubleshooting extension activation or packaging issues ## How It Works ### Quick Start ```bash npm install -g yo generator-code yo code ``` ### Project Structure ``` my-extension/ ├── package.json # Extension manifest ├── src/extension.ts # Entry point ├── out/ # Compiled JS ├── images/icon.png # 128x128 PNG for Marketplace └── .vscodeignore # Exclude files from VSIX ``` ### Building and Packaging ```bash npm run compile # Build once npm run watch # Watch mode (F5 to launch debug) npx @vscode/vsce package # Creates .vsix ``` ## Reference Topics The full skill includes detailed reference documents on: - **Webview patterns** with CSP security and message passing - **TreeView** data providers and drag-and-drop - **Testing** setup with @vscode/test-electron - **Publishing** to the VS Code Marketplace - **AI customization** for extension projects - **Code review prompts** for extension code - **Troubleshooting** common extension issues ## Install the Full Skill For the complete guide with all reference documents: ```bash npx skills add lewiswigmore/agent-skills --skill vscode-extension-guide-en ``` ## Best Practices - Unify package name, setting keys, command IDs and view IDs before publishing - Keep package size under 5MB using `.vscodeignore` - Since VS Code 1.74, `activationEvents` are auto-detected for contributed commands and views - Always test with the Extension Development Host (F5) before packaging ## Common Pitfalls - **Problem:** Extension not loading **Solution:** Check `activationEvents`. Since VS Code 1.74, these are auto-detected for contributed commands/views. - **Problem:** Command not found **Solution:** Match the command ID exactly between package.json and your code. - **Problem:** Webview content not displaying **Solution:** Check your Content Security Policy. Use the webview's `cspSource` property. ## Related Skills - `@test-driven-development` - Write tests before implementing extension features - `@debugging-strategies` - Systematic troubleshooting for extension issues ## Limitations - Use this skill only when the task clearly matches the scope described above. - Do not treat the output as a substitute for environment-specific validation, testing, or expert review. - Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related Skills
microsoft-azure-webjobs-extensions-authentication-events-dotnet
Microsoft Entra Authentication Events SDK for .NET. Azure Functions triggers for custom authentication extensions.
frontend-dev-guidelines
You are a senior frontend engineer operating under strict architectural and performance standards. Use when creating components or pages, adding new features, or fetching or mutating data.
environment-setup-guide
Guide developers through setting up development environments with proper tools, dependencies, and configurations
claude-code-guide
To provide a comprehensive reference for configuring and using Claude Code (the agentic coding tool) to its full potential. This skill synthesizes best practices, configuration templates, and advanced usage patterns.
chrome-extension-developer
Expert in building Chrome Extensions using Manifest V3. Covers background scripts, service workers, content scripts, and cross-context communication.
cc-skill-project-guidelines-example
Project Guidelines Skill (Example)
browser-extension-builder
Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing.
brand-guidelines
Write copy following Sentry brand guidelines. Use when writing UI text, error messages, empty states, onboarding flows, 404 pages, documentation, marketing copy, or any user-facing content. Covers both Plain Speech (default) and Sentry Voice tones.
brand-guidelines-community
To access Anthropic's official brand identity and style resources, use this skill.
brand-guidelines-anthropic
To access Anthropic's official brand identity and style resources, use this skill.
blog-writing-guide
This skill enforces Sentry's blog writing standards across every post — whether you're helping an engineer write their first blog post or a marketer draft a product announcement.
backend-dev-guidelines
You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.