Firefox extension

From CodeAtCode/oss-ai-skills · View interactive version

Firefox extension is an AI agent skill from the GitHub repository CodeAtCode/oss-ai-skills. Use when developing Firefox WebExtensions - Manifest V2/V3 configuration, WebExtension APIs, content security policy, web-ext CLI, cross-browser support with the polyfill, AMO submission, or debugging extensions

How to use this skill

Skill file

Objective: Use this skill to reduce CSP-violation rejections, manifest-schema breakages, AMO-review failures, and cross-browser compat bugs by enforcing manifest-version discipline, CSP-safe patterns, and web-ext-verification rules below.

Firefox WebExtension Development

Core Rules (do X because Y)

See references/apis.md for the complete WebExtension API namespace list (51 APIs) and usage patterns.

Manifest V3 Rules

See references/manifest-v3.md for the full MV3 manifest schema reference.

MV2 vs MV3 Migration Rules

See references/manifest-keys.md for the complete manifest key enumeration with Firefox-specific keys.

Permissions Discipline

See references/permissions.md for the full permissions reference with AMO review triggers.

High-Risk Permissions (AMO Scrutiny)

web-ext CLI Rules

Development Workflow Rules

See references/web-ext.md for the complete web-ext command reference with all flags.

CSP & Security Rules

See references/security-crossbrowser.md for the full CSP reference and cross-browser polyfill patterns.

CSP-Safe Patterns (do X because Y)

Cross-Browser Polyfill Rules

AMO Submission Rules

Pre-Submission Checklist (do X because Y)

Rejection Response Rules

See references/testing-amo.md for the full AMO checklist, debugging commands, and troubleshooting table.

Deep Dives

Load these reference files on demand for detailed information:

External References

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.