vscode-extension-guide-en
하는 일
이 가이드는 VS Code 코드 편집기의 확장 프로그램을 시작부터 게시까지 만드는 방법을 가르칩니다. 보안, 사용자 화면, 흔한 문제를 해결하는 방법 등을 다룹니다.
사용하는 경우
- ✓새 VS Code 확장 프로그램을 만들 때.
- ✓명령이나 메뉴 같은 새 기능을 추가할 때.
- ✓다른 사람이 쓸 수 있도록 확장 프로그램을 게시할 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/vscode-extension-guide-en/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“간단한 VS Code 확장 프로그램은 어떻게 만드나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
프로젝트를 시작하는 명령을 제공하고 기본 파일 구조를 보여 줍니다. 간단한 명령으로 코드를 컴파일하고 테스트할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
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
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:
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,
activationEventsare 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
cspSourceproperty.
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.
자주 묻는 질문
‘스캐폴딩(scaffolding)’이란 무엇인가요?
기본 파일이 미리 갖춰진 폴더처럼 프로젝트의 초기 구조를 만드는 과정입니다.
VS Code 마켓플레이스란 무엇인가요?
개발자가 VS Code 확장 프로그램을 전 세계와 공유하는 온라인 상점입니다.
확장 프로그램의 크기가 왜 중요한가요?
작은 확장 프로그램은 더 빨리 불러와지고 자원을 적게 써서 사용자 경험을 개선합니다.
상세 정보
작성자의 원본 설명
Guide for VS Code extension development from scaffolding to Marketplace publication
인기도
- GitHub 스타
- 48k
- 순위
- #6136
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.