본문으로 건너뛰기
Skillpedia
글쓰기48k · #6136

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/vscode-extension-guide-en/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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, 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.
자주 묻는 질문

‘스캐폴딩(scaffolding)’이란 무엇인가요?

기본 파일이 미리 갖춰진 폴더처럼 프로젝트의 초기 구조를 만드는 과정입니다.

VS Code 마켓플레이스란 무엇인가요?

개발자가 VS Code 확장 프로그램을 전 세계와 공유하는 온라인 상점입니다.

확장 프로그램의 크기가 왜 중요한가요?

작은 확장 프로그램은 더 빨리 불러와지고 자원을 적게 써서 사용자 경험을 개선합니다.

상세 정보

작성자의 원본 설명

Guide for VS Code extension development from scaffolding to Marketplace publication

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6136
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬