arch-vscode

📁 hairyf/skills 📅 11 days ago
13
总安装量
6
周安装量
#24404
全站排名
安装命令
npx skills add https://github.com/hairyf/skills --skill arch-vscode

Agent 安装分布

trae 6
claude-code 6
cursor 6
mcpjam 5
zencoder 5

Skill 文档

arch-vscode is a VSCode extension starter (based on antfu/starter-vscode) that uses reactive-vscode for reactive APIs and composables, tsdown for a single CJS bundle, and vscode-ext-gen for type-safe contributes metadata. It provides a minimal, opinionated setup: defineExtension entry, defineConfig/defineLogger, Extension Host debugging, and vsce/vsxpub for packaging and publishing.

The skill is based on starter-vscode (arch-vscode source), generated at 2026-01-30.

Recommended practices:

  • Keep contributes and generated meta in sync via pnpm update (or Run on Save)
  • Use reactive-vscode composables for state and disposables; use CJS build with external vscode
  • Prefer onCommand activation when possible

Core References

Topic Description Reference
Overview Project purpose, structure, when to use core-overview
Extension Entry defineExtension, activate, deactivate core-extension-entry
Config defineConfig, generated scoped config core-config
Logging defineLogger, displayName core-logging
tsdown Build CJS, external vscode, build:prepare hook core-tsdown-build
Scripts build, dev, update, release, ext:package, ext:publish core-scripts
Contributes commands, configuration, activationEvents core-contributes
Development launch.json, tasks.json, Extension Host core-development
CI GitHub Actions workflow — lint, typecheck, build, test core-ci

Best Practices

Topic Description Reference
VSCode Extension entry, contributes, meta, activation, publish best-practices-vscode-ext