Token导航 LogoToken导航

Agent Skill · 研究检索

vscode-extension-publisher(VS Code extension publisher 搜索)

vscode-extension-publisher 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

vscode-extension-publisher 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 45,877。

总安装 823周安装 35GitHub Stars 68下载 288核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vscode-extension-publisher(VS Code extension publisher 搜索)
来源仓库:https://github.com/luongnv89/skills
仓库路径:skills/vscode-extension-publisher
安装命令:
npx skills add https://github.com/luongnv89/skills --skill vscode-extension-publisher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/luongnv89/skills --skill vscode-extension-publisher

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选 VS Code 扩展相关信息。适合在开发或部署阶段快速定位可用扩展。vscode-extension-publisher 属于研究检索类 Skill,可作为该场景下的辅助能力补充。通过关键词匹配提供候选扩展列表及简要说明。安装前建议核实维护状态与潜在的网络访问行为。

可结合来源仓库进一步验证扩展功能与使用方式。

来源仓库内路径:skills/vscode-extension-publisher

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/luongnv89/skills --skill vscode-extension-publ…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

vscode-extension-publisher 怎么安装?

在终端执行 npx skills add https://github.com/luongnv89/skills --skill vscode-extension-publisher。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

vscode-extension-publisher 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

vscode-extension-publisher 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

vscode-extension-publisher 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

vscode-extension-publisher 用的人多吗?

公开数据是累计安装 823 次,近一周安装 35 次,下载 288 次,GitHub 68 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

vscode-extension-publisher 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
vscode-extension-publisher

VS Code extension publisher 搜索 · 本页

82368接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

VS Code Extension Publisher

Guides users through setting up, packaging, and publishing VS Code extensions to the Visual Studio Marketplace, including PAT/publisher setup, pre-flight validation, and CI/CD automation.

Repo Sync Before Edits (mandatory)

Before creating/updating/deleting files in an existing repository, sync the current branch with remote:

branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"

If the working tree is not clean, stash first, sync, then restore:

git stash push -u -m "pre-sync"
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin && git pull --rebase origin "$branch"
git stash pop

If origin is missing, pull is unavailable, or rebase/stash conflicts occur, stop and ask the user before continuing.

Instructions

Step 1: Run Pre-flight Checks

Before anything else, validate the environment and project.

Run the bundled preflight script:

bash scripts/preflight-check.sh

This checks:

  • Node.js and npm are installed
  • @vscode/vsce is installed globally (installs it if missing)
  • package.json exists and has required fields
  • No SVG icons (marketplace restriction)

If the script is not available, manually verify:

  1. Node.js installed: node --version (requires v18+)
  2. npm installed: npm --version
  3. vsce installed: vsce --version — if missing, run npm install -g @vscode/vsce
  4. package.json exists in the extension root directory

Step 2: Validate package.json

The following fields are required for publishing:

FieldDescriptionExample
nameExtension identifier (lowercase, no spaces)"my-extension"
displayNameHuman-readable name"My Extension"
descriptionShort description"Adds cool features"
versionSemver version"1.0.0"
publisherYour publisher ID"my-publisher"
engines.vscodeMinimum VS Code version"^1.80.0"
categoriesMarketplace categories["Other"]

Recommended fields for better marketplace presence:

FieldDescription
iconPath to PNG icon (min 128x128px, no SVG)
repositoryGitHub repo URL
licenseLicense identifier (e.g., "MIT")
keywordsSearch keywords (max 30)
galleryBanner.colorHex color for marketplace banner
galleryBanner.theme"dark" or "light"

If any required field is missing, help the user add it to package.json.

Step 3: Setup Azure DevOps PAT (if needed)

If the user has never published before, guide them through PAT creation:

  1. Go to https://dev.azure.com — sign in (or create a free account)
  2. Click User Settings (gear icon) > Personal Access Tokens
  3. Click + New Token with these settings:

- Name: vsce-publish (or any descriptive name) - Organization: Select All accessible organizations - Expiration: Set a reasonable duration (max 1 year) - Scopes: Click Custom defined > Marketplace > check Manage

  1. Click Create and copy the token immediately (it won't be shown again)

Important: The PAT must have:

  • Organization: "All accessible organizations" (not a specific org)
  • Scope: Marketplace > Manage

Step 4: Create or Verify Publisher (if needed)

If the user doesn't have a publisher identity:

  1. Go to https://marketplace.visualstudio.com/manage
  2. Sign in with the same Microsoft account used for the PAT
  3. Click Create publisher
  4. Fill in:

- ID: Unique identifier (cannot be changed later!) - Name: Display name shown on marketplace

  1. Verify by running: vsce login <publisher-id>

- Enter the PAT when prompted

Make sure the publisher field in package.json matches the publisher ID exactly.

Step 5: Package the Extension

Create a .vsix package for testing before publishing:

vsce package

This generates a file like my-extension-0.0.1.vsix.

Test locally before publishing:

code --install-extension my-extension-0.0.1.vsix

If there are packaging errors:

  • Missing README.md: Create a README.md in the project root
  • SVG icon: Replace with a PNG file (min 128x128px)
  • Missing license: Add a LICENSE file or set "license" in package.json

Step 6: Publish to Marketplace

Once testing is satisfactory, publish:

vsce publish

Version bump options:

vsce publish patch    # 1.0.0 → 1.0.1
vsce publish minor    # 1.0.0 → 1.1.0
vsce publish major    # 1.0.0 → 2.0.0
vsce publish 1.2.3    # Set exact version

In git repos, vsce publish automatically creates a version commit and tag.

After publishing: The extension appears on the marketplace within ~5 minutes. Verify at: https://marketplace.visualstudio.com/items?itemName=<publisher>.<extension-name>

Step 7: Setup GitHub Actions CI/CD (Optional)

If the user wants automated publishing, generate a GitHub Actions workflow.

Copy the template from assets/github-actions-publish.yml to the project:

mkdir -p .github/workflows
cp assets/github-actions-publish.yml .github/workflows/publish.yml

Then guide the user to:

  1. Add the PAT as a GitHub secret named VSCE_PAT:

- Go to repo Settings > Secrets and variables > Actions - Click New repository secret - Name: VSCE_PAT, Value: the Azure DevOps PAT

  1. Publishing triggers on git tags matching v* (e.g., v1.0.0)
  2. To release: git tag v1.0.0 && git push origin v1.0.0

See references/publishing-guide.md for CI/CD customization options.

Step Completion Reports

After completing each major step, output a status report in this format:

◆ [Step Name] ([step N of M] — [context])
··································································
  [Check 1]:          √ pass
  [Check 2]:          √ pass (note if relevant)
  [Check 3]:          × fail — [reason]
  [Check 4]:          √ pass
  [Criteria]:         √ N/M met
  ____________________________
  Result:             PASS | FAIL | PARTIAL

Adapt the check names to match what the step actually validates. Use √ for pass, × for fail, and — to add brief context. The "Criteria" line summarizes how many acceptance criteria were met. The "Result" line gives the overall verdict.

Pre-flight phase checks: Node.js available, vsce installed, package.json valid

Auth Setup phase checks: PAT configured, Publisher verified

Package phase checks: Extension packaged, Size reasonable, Manifest correct

Publish phase checks: Upload success, Marketplace live, CI/CD configured

Examples

Example 1: First-Time Publishing

User says: "I want to publish my VS Code extension to the marketplace"

Actions:

  1. Run preflight checks to verify environment
  2. Validate package.json — fill in any missing required fields
  3. Walk through PAT creation on Azure DevOps
  4. Create publisher identity on marketplace
  5. Login with vsce login
  6. Package with vsce package and test locally
  7. Publish with vsce publish

Result: Extension live on VS Code Marketplace.

Example 2: Publish Update with Version Bump

User says: "publish a new minor version of my extension"

Actions:

  1. Run preflight checks
  2. Verify package.json is valid
  3. Run vsce publish minor

Result: Version bumped and published (e.g., 1.0.0 → 1.1.0).

Example 3: Setup CI/CD for Auto-Publishing

User says: "create a GitHub Actions workflow to auto-publish my extension"

Actions:

  1. Copy assets/github-actions-publish.yml to .github/workflows/publish.yml
  2. Guide user to add VSCE_PAT secret to GitHub repo
  3. Explain tagging workflow: git tag v1.0.0 && git push origin v1.0.0

Result: Extensions auto-publish on version tags.

Error Handling

401 Unauthorized / 403 Forbidden

Cause: PAT is invalid, expired, or has wrong scope. Solution:

  1. Regenerate PAT at https://dev.azure.com with:

- Organization: "All accessible organizations" - Scope: Marketplace > Manage

  1. Re-login: vsce login <publisher-id>

"Extension already exists"

Cause: Another publisher owns this extension name. Solution: Change the name field in package.json to something unique. The displayName can still be anything.

SVG Icon Error

Cause: Marketplace prohibits SVG icons for security reasons. Solution: Convert the icon to PNG format (minimum 128x128 pixels) and update the icon field in package.json.

Missing Fields in package.json

Cause: Required fields are absent. Solution: Run the preflight script to identify missing fields, then add them to package.json.

"Exceeded 30 tags"

Cause: Too many items in the keywords array. Solution: Reduce keywords to 30 or fewer entries.

vsce package fails with prepublish error

Cause: The vscode:prepublish script in package.json failed. Solution: Run the prepublish script manually to see the error:

npm run vscode:prepublish

Fix the underlying build issue before retrying.

平台分布

Codex

31.96%
按下载量换算92

Claude

28.68%
按下载量换算83

Cursor

19.32%
按下载量换算56

Gemini CLI

10.08%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills