Chrome Extension Boilerplate React Vite
Helps with React, Vite as part of building frontend UIs and user experiences workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add chrome-extension-boilerplate-react-vite npx -- -y @trustedskills/chrome-extension-boilerplate-react-vite
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"chrome-extension-boilerplate-react-vite": {
"command": "npx",
"args": [
"-y",
"@trustedskills/chrome-extension-boilerplate-react-vite"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The chrome-extension-boilerplate-react-vite skill provides a pre-configured foundation for building Chrome extensions using React and Vite. It streamlines the development lifecycle by offering a ready-to-use project structure that integrates modern build tools with browser extension APIs.
When to use it
- Rapid Prototyping: Quickly spin up a new extension idea without spending time on initial setup or configuration files.
- Modern Stack Adoption: Leverage the speed of Vite and component-based architecture of React for complex UIs within extensions.
- Standardized Development: Ensure team members start with consistent folder structures, dependency management, and coding conventions.
- Learning & Education: Use as a starting point to understand how to scaffold browser extensions in the current JavaScript ecosystem.
Key capabilities
- Pre-installed React environment for building dynamic extension interfaces.
- Vite integration for fast hot module replacement (HMR) during development.
- Ready-made scaffolding for Chrome Extension manifest and background scripts.
- Optimized build configuration tailored for browser packaging requirements.
Example prompts
- "Generate a new Chrome extension project using the React and Vite boilerplate to track my daily water intake."
- "Create a popup UI component in a fresh extension scaffold that displays real-time weather data."
- "Set up a development environment for a browser extension that injects custom CSS into target websites using this template."
Tips & gotchas
Ensure you have Node.js and npm installed locally before initializing the project, as the boilerplate relies on modern package managers. While the setup is robust, remember to manually configure specific manifest.json permissions required by your unique extension logic after scaffolding.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.