arch-vscode

Original:🇺🇸 English
Translated

VSCode extension starter using reactive-vscode and tsdown. Use when scaffolding or maintaining a VSCode extension with reactive APIs, CJS build, and vscode-ext-gen.

22installs
Added on

NPX Install

npx skill4agent add hairyf/skills arch-vscode
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

TopicDescriptionReference
OverviewProject purpose, structure, when to usecore-overview
Extension EntrydefineExtension, activate, deactivatecore-extension-entry
ConfigdefineConfig, generated scoped configcore-config
LoggingdefineLogger, displayNamecore-logging
tsdown BuildCJS, external vscode, build:prepare hookcore-tsdown-build
Scriptsbuild, dev, update, release, ext:package, ext:publishcore-scripts
Contributescommands, configuration, activationEventscore-contributes
Developmentlaunch.json, tasks.json, Extension Hostcore-development
CIGitHub Actions workflow — lint, typecheck, build, testcore-ci

Best Practices

TopicDescriptionReference
VSCode Extensionentry, contributes, meta, activation, publishbest-practices-vscode-ext