Build chrome extension

From FerroxLabs/murage · View interactive version

Build chrome extension is an AI agent skill from the GitHub repository FerroxLabs/murage. Step-by-step workflow for building, publishing, and iterating on a Chrome browser extension. Covers Manifest V3 architecture, UI development, Chrome Web Store publishing, user feedback loops, and growth strategies for building extensions that users love and recommend. Use when the user wants to buil

How to use this skill

Skill file

Build Chrome Extension

Estimated time: 3-6 weeks

Chrome extensions are one of the fastest paths from idea to shipped product. With over 3 billion Chrome users, even a niche extension can find a meaningful audience. This workflow takes you from idea validation through Manifest V3 architecture, UI development, Chrome Web Store publishing, and post-launch iteration based on user feedback.

The workflow emphasizes the Manifest V3 architecture (required for all new extensions) and the common patterns that make extensions successful: fast popup UI, efficient background processing with service workers, thoughtful permissions (request only what you need), and a smooth onboarding experience.

When to Use

Prerequisites

Before starting this workflow, ensure:

Steps

Step 1: Validate the Idea and Define MVP (uses: startup-advisor)

validate your extension idea. Search the Chrome Web Store for competing extensions: what do they do well, what do their reviews complain about? Define your unique angle. Use the User Story Writer skill to write user stories for the MVP feature set. Keep the MVP ruthlessly small -- one core feature done well beats five half-built features. Define what "done" looks like for your first Chrome Web Store submission.

Step 2: Set Up the Extension Architecture (uses: typescript-guru)

set up a TypeScript project for the extension. Use the Design Patterns skill to architect the extension with proper separation of concerns. Set up the Manifest V3 structure: manifest.json with minimum required permissions, service worker for background tasks, content scripts (if needed), and popup/options pages. Use a build tool (webpack, Vite, or Plasmo) for TypeScript compilation and hot reload during development.

Step 3: Build the Core Feature (uses: react-architect)

Use the React Architect skill (if using React for popup/options pages) to build the extension UI. Use the CSS Master skill for styling -- extensions have unique CSS constraints (popup size limits, content script style isolation). Implement the core feature end-to-end: user interaction in popup or content script, background processing in the service worker, Chrome storage for persistence, and Chrome messaging for communication between contexts. Focus on performance -- popup should open in under 100ms.

Step 4: Test the Extension (uses: unit-test-writer)

write unit tests for business logic (anything that does not depend on Chrome APIs). Use the E2E Test Architect skill to set up Playwright or Puppeteer for extension testing. Test the critical paths: installation, first use, core feature, options changes, and error scenarios. Manually test on Chrome stable, beta, and at least one Chromium-based browser (Edge, Brave). Test with other popular extensions to check for conflicts.

Step 5: Security Review (uses: security-auditor)

review the extension for security vulnerabilities. Chrome Web Store review is strict about security -- extensions with vulnerabilities or excessive permissions are rejected. Audit: permission scope (remove any unused permissions), content security policy, XSS in popup/options pages, data handling (especially if storing sensitive data), external API calls (HTTPS only), and dynamic code execution (prohibited in Manifest V3). Ensure compliance with Chrome Web Store program policies.

Step 6: Publish to Chrome Web Store (uses: seo-optimizer)

optimize your Chrome Web Store listing. The listing is your storefront: craft a compelling title (keyword-rich but not spammy), detailed description with feature highlights and use cases, high-quality screenshots showing the extension in action, and a promotional tile. Write a clear privacy policy. Submit for review (typically 1-3 business days). Prepare for potential rejection feedback and iterate.

Step 7: Iterate Based on User Feedback (uses: user-story-writer)

translate user feedback into actionable improvements. Monitor Chrome Web Store reviews, set up a feedback channel (email, Discord, or GitHub Issues), and add lightweight analytics to understand feature usage. Prioritize bugs and UX issues that cause 1-star reviews. Plan feature additions based on user requests and competitive analysis. Release updates every 2-4 weeks to maintain momentum and show users the extension is actively maintained.

Decision Points

Failure Handling

Expected Outcome

When this workflow is complete, the user will have:

  1. Extension passes Chrome Web Store review on first or second submission
  2. Star rating is 4.0 or above within the first month
  3. Daily active users show consistent growth
  4. Core feature usage rate exceeds 60% of installs (users who install actually use it)
  5. Support requests decrease over time as UX improves
  6. Extension loads and responds in under 100ms for popup interactions

Output Format

BUILD CHROME EXTENSION TRACKER
==============================

[ ] Step 1: Validate the Idea and Define MVP
    Status: [pending/in-progress/complete]
[ ] Step 2: Set Up the Extension Architecture
    Status: [pending/in-progress/complete]
[ ] Step 3: Build the Core Feature
    Status: [pending/in-progress/complete]
[ ] Step 4: Test the Extension
    Status: [pending/in-progress/complete]
[ ] Step 5: Security Review
    Status: [pending/in-progress/complete]
[ ] Step 6: Publish to Chrome Web Store
    Status: [pending/in-progress/complete]
[ ] Step 7: Iterate Based on User Feedback
    Status: [pending/in-progress/complete]

Timeline: ______ weeks
Overall Status: [IN PROGRESS / COMPLETE]

Adaptation notes:

Edge Cases

Example

Input: "I want to build chrome extension and need a structured plan to follow step by step."

Output:

Step 1 (startup-advisor-user-story-writer): Validate the Idea and Define MVP -- produces concrete deliverables for this phase.

Step 2 (typescript-guru-design-patterns): Set Up the Extension Architecture -- produces concrete deliverables for this phase.

Step 3 (react-architect-css-master): Build the Core Feature -- produces concrete deliverables for this phase.

Step 4 (unit-test-writer-e2e-test-architect): Test the Extension -- produces concrete deliverables for this phase.

Step 5 (security-auditor): Security Review -- produces concrete deliverables for this phase.

Step 6 (seo-optimizer): Publish to Chrome Web Store -- produces concrete deliverables for this phase.

Step 7 (user-story-writer): Iterate Based on User Feedback -- produces concrete deliverables for this phase.

Result: User has a complete build chrome extension plan with all deliverables produced, validated, and ready for implementation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.