Skip to content

Build-tool plugin for Chrome extensions with true HMR for popup, options, side panel, and content scripts.

CCM score
67 of 100
skills.sh installs
5.1K
GitHub stars
348
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Vite-based development for popup, options, side panel, content scripts, and service worker builds
  • Includes defineManifest for type-safe, dynamic manifests and ?script and ?script&module imports for programmatic injection
  • Provides true HMR for content scripts while skipping main world scripts and auto-reloading on service worker changes
  • Designed for teams building Chrome extensions with React, Vue, Svelte, Solid, or vanilla TypeScript on Vite

Install

$ npx -y skills add samber/cc-skills --skill crxjs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CRXJS

CRXJS is a Chrome extension development tool that provides true HMR for popup, options, content scripts, and side panels. It reads your manifest to auto-generate the extension output, handles content script injection, and manages the service worker build. Under the hood it is a Vite plugin (@crxjs/vite-plugin).

Current status

  • Package: @crxjs/vite-plugin (v2.x stable, latest v2.4.0 as of March 2026)
  • Scaffolding: npm create crxjs@latest (always use @latest)
  • Maintained by: @Toumash and @FliPPeDround (since mid-2025)
  • GitHub: github.com/crxjs/chrome-extension-tools (~4k stars)
  • Vite compatibility: v3 through v8-beta

Quick start

# Scaffold new project (picks framework interactively)
npm create crxjs@latest

# Or add to existing Vite project
npm install @crxjs/vite-plugin -D

Vite config by framework

CRXJS is added as a Vite plugin. The setup varies slightly per framework.

React

// vite.config.ts
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { crx } from "@crxjs/vite-plugin";
import manifest from "./manifest.json";

Details

Repository
github.com/samber/cc-skills
Categories
Frontend & UI Code, Skill & Plugin Building
First seen
Jul 14, 2026

Questions

What does the crxjs skill help with?

The crxjs skill guides development of Chrome extensions built with CRXJS, the Vite plugin @crxjs/vite-plugin. It covers true HMR for popup, options, content scripts and side panels, manifest-driven builds, and defineManifest for type-safe manifests. It works with React, Vue, Svelte, Solid or vanilla setups.

How do I install the crxjs skill?

Run npx -y skills add samber/cc-skills --skill crxjs -y in your project. Once installed, the agent can set up or extend a CRXJS-based Chrome extension project.

Where does crxjs fit in the Frontend & UI Code category?

crxjs is listed in the Frontend & UI Code category on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It stands out by focusing on Chrome extension hot reload and content script configuration with CRXJS.

Does crxjs cover general Chrome extension architecture?

No, the skill itself points to the separate chrome-extension skill from samber/cc-skills for messaging, CSP, storage and permissions. The crxjs skill focuses on the CRXJS build tooling and HMR setup.

More from samber/cc-skills

All 20

Similar to Crxjs

More Frontend & UI Code