arch-webext-vue

v2026.09.24

Build and run browser extensions with Vue 3 and Vite (Vitesse WebExtension template). Use when scaffolding or maintaining a Chrome/Firefox extension with popup, options, sidepanel, and content script UI.

GitHub
Install command
npx skhub add hairyf/arch-webext-vue
Markdown
SKILL.md

arch-webext-vue skills cover Vitesse WebExt: a Vite-powered WebExtension starter with Vue 3, TypeScript, UnoCSS, and webext-bridge. It uses multi-entry Vite for popup/options/sidepanel, separate configs for background and content script, dynamic manifest generation, and shared setup and storage patterns. Use these skills when creating or maintaining a browser extension with this stack.

The skill is based on vitesse-webext (antfu-collective/vitesse-webext), generated at 2026-01-30.

Core References

TopicDescriptionReference
OverviewFeatures, stack, when to usecore-overview
Project structureFolders, entry points, scriptscore-project-structure
ManifestDynamic manifest, MV3, Firefox vs Chromecore-manifest
CIGitHub Actions — lint, typecheck, build, test, optional E2Ecore-ci

Features

TopicDescriptionReference
Vite buildMulti-config, shared config, background/content, dev stubfeatures-vite-build
BackgroundEntry, webext-bridge, side panel, content script HMRfeatures-background
Content scriptEntry, Vue in shadow DOM, stylesfeatures-content-script
ViewsPopup, options, sidepanel—entry pattern, setupAppfeatures-views
StorageuseWebExtensionStorage, shared logicfeatures-storage
Cross-contextwebext-bridge messaging between contextsfeatures-cross-context
Dev workflowpnpm dev vs dev-firefox, load extension, stub HTMLfeatures-dev-workflow
Pack & releasepack:zip, crx, xpi, clear, start:chromium/firefoxfeatures-pack-release
TestingVitest unit tests, Playwright E2E, fixtures, extensionIdfeatures-testing
Types & envDEV, NAME, global/shim/modules.d.ts, env.tsfeatures-types-and-env
Components & iconsAuto-import components and icons, Iconifyfeatures-components-icons

Best Practices

TopicDescriptionReference
Setup patternssetupApp, common-setup, shared components/stylesbest-practices-setup-patterns
Type-safe messagingProtocolMap in shim.d.ts for webext-bridgebest-practices-type-safe-messaging
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/arch-webext-vue

Default branch

main

Latest commit

4f463c7

Tree SHA

73bcd03