ARG Browser Extension
A complete engineering playbook for Manifest V3 browser extensions on Chrome, Firefox and Safari. Extensions built with it stay easy to change after hundreds of features, including extensions that run AI models entirely on the device.
Installation
npx skills add ARG-Software/arg-agent-skills --skill arg-browser-extension
What it does
- Business rules live in their own layers, and browser APIs (tabs, storage, scripting, messaging, network events) stay behind small adapters. Supporting a new browser means writing one thin adapter class, not rewriting the extension.
- Every layer rule is an architecture test that runs in CI. A shortcut such as a UI component calling a browser API directly fails the build before it reaches the main branch.
- Reusable helpers live in one dependency-free library folder, so logic is never copied between files. Configuration, timeouts and limits live in one config module instead of being scattered across the code.
- Work follows the ARG workflow: one branch per feature or fix, a reviewed pull request with a Conventional Commit title, CI before merge, and automatic versioned releases with generated changelogs.
Used when
The skill applies when starting or scaffolding a new extension, adding a feature or fixing a bug, calling a browser API, adding support for another browser, running AI on the device, reviewing layer boundaries, setting up CI, environment variables and releases, or preparing a branch and pull request.
This skill is the playbook behind ARG Architect, our production Manifest V3 extension. ARG Architect audits websites for security, performance and AI readiness, and runs a multilingual AI model entirely in the browser without sending data to a server. The same structure, tests and release process that keep that codebase maintainable are packaged here, so your coding agent applies them from the first commit.