Skip to content

NetFabric/intelligentium / plugins/vscode/.apm/skills/vscode-extension

vscode-extension

Verified

Build, maintain, debug, and review Visual Studio Code extensions. Use when: extension manifest, activation, commands, views, tree views, webviews, notifications, settings, language providers, tasks, debuggers, custom editors, authentication, Accounts, sign-in, account management, session lifecycle, Workspace Trust, desktop or web compatibility, testing, CI, packaging, Marketplace publishing. DO NOT USE FOR: general web applications or Copilot agent customization; use the relevant web-development or agent-authoring guidance.

VS Code Extension

Extension workflow

  1. Inspect the manifest, activation and registration code, project instructions, tests, CI, and release workflow before changing behavior. Start with project analysis.
  2. Reuse the extension's existing architecture and UX. Prefer VS Code native APIs; use a webview only when native APIs cannot support the interaction.
  3. Keep the extension host, webview, and external process boundaries explicit. Preserve Workspace Trust, cancellation, disposal, and error reporting.
  4. Test the changed surface at the right level, then validate the package and release path when relevant.

Core checks

AreaCheck
ManifestKeep contributed commands, menus, views, settings, activation, and engine compatibility in sync with runtime registrations.
UXUse focused commands and native pickers, notifications, views, and progress. Keep custom UI accessible, theme-aware, and contextual.
CodeLensUse a CodeLens for a concise action tied to a nearby declaration. Keep discovery read-only; run edits through a registered command, validate current document state, and apply a minimal WorkspaceEdit that preserves surrounding text and comments. Test placement, selection, cancellation, and preservation.
Host behaviorHandle no workspace, multi-root, trusted/untrusted, local/remote, and cancellation states where applicable.
SafetyValidate input at boundaries; do not run workspace code or network work during discovery, completion, or activation without a clear need.
QualitySeparate unit, Extension Host, and browser tests; run the smallest relevant checks and build/package validation.

References

FileLoad when
project-analysis.mdExploring an existing extension and planning a change.
ui-and-interaction.mdChoosing native UI, commands, notifications, settings, or customizations.
progress-and-cancellation.mdReporting long-running work, handling cancellation, and cleaning up operations.
webviews-and-security.mdImplementing a webview or handling trust, remote workspaces, credentials, or process execution.
authentication-and-accounts.mdIntegrating Accounts, sign-in, account selection, session changes, credential transport, or an authentication provider.
testing-ci-publishing.mdAdding tests, configuring CI, packaging, or publishing.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 319kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 319kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 319kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 197kUpdated Claude CodeCodexVerifiedInstall