← スキル一覧に戻る

vscode-extension-builder
by eyk
Instructions, prompts, and configurations to help me make the most of GitHub Copilot.
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: vscode-extension-builder description: Specialized knowledge for creating, configuring, testing, and publishing VS Code extensions. Use when creating a new VS Code extension from scratch, setting up extension infrastructure (package.json contributes, activation events, testing), configuring extension publishing (.vscodeignore, vsce, marketplace), debugging extension-specific issues (CI failures, marketplace rendering), or implementing extension best practices.
VS Code Extension Creator
Create, configure, test, and publish VS Code extensions with extension-specific best practices.
Core Workflow
- Initialize - Create package.json with extension manifest
- Implement - Write extension.ts with activate/deactivate
- Test - Set up @vscode/test-electron with CI
- Publish - Bump version, update CHANGELOG, push to main → automated publishing
Publishing Process
- Update CHANGELOG.md with new version section
- Bump version in package.json (semantic versioning)
- Commit and push to main
- GitHub Actions automatically:
- Creates Git tag
- Publishes to marketplace (if version not already published)
- Skips if tag exists (idempotent)
Critical Learnings
Activation Events
onCommand:extension.commandId (load when command executed) preferred over * (load on startup)
CI Test Workflow
Tests run on pull_request only, not on push to main (avoids redundant post-merge execution)
.vscodeignore
**/*.ts # Exclude TypeScript
!out/**/*.d.ts # Include declarations
Linux CI Testing
Requires xvfb-run -a npm test for GUI tests
Marketplace README
Use absolute GitHub URLs: https://raw.githubusercontent.com/user/repo/main/images/demo.png
Version Matching
@types/vscode version must match engines.vscode
References
- package.json - Extension manifest, contributes schema
- testing - @vscode/test-electron, CI setup
- publishing - vsce, .vscodeignore rules
- pitfalls - Common mistakes
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です