用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/phoroth/AGENTIC --skill vscode-extension-guide-en命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Development skill from AGENTIC (https://github.com/phoroth/AGENTIC)
Development skill from AGENTIC (https://github.com/phoroth/AGENTIC)
Generate clean, human-sounding, SEO-optimized WordPress blog posts with optional Yoast metadata, JSON-LD schema markup, and image SEO planning. Supports modular batch output.
基于 SOC 职业分类
正在显示 SKILL.md
| name | vscode-extension-guide-en |
| description | Guide for VS Code extension development from scaffolding to Marketplace publication |
| category | core-dev |
| risk | safe |
| source | community |
| source_repo | lewiswigmore/agent-skills |
| source_type | community |
| date_added | 2026-04-12 |
| author | lewiswigmore |
| tags | ["vscode","extension","ide","typescript","marketplace"] |
| tools | ["claude","cursor","copilot","codex","gemini"] |
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.
npm install -g yo generator-code
yo code
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
npm run compile # Build once
npm run watch # Watch mode (F5 to launch debug)
npx @vscode/vsce package # Creates .vsix
The full skill includes detailed reference documents on:
For the complete guide with all reference documents:
npx skills add lewiswigmore/agent-skills --skill vscode-extension-guide-en
.vscodeignoreactivationEvents are auto-detected for contributed commands and viewsProblem: 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.
@test-driven-development - Write tests before implementing extension features@debugging-strategies - Systematic troubleshooting for extension issues