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
安装命令
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
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/arch-webext-vue

默认分支

main

最新提交

4f463c7

Tree SHA

73bcd03