Skip to main content

plasmo-extension-architect

Architect Chrome MV3 extensions using Plasmo, including messaging, storage, and UI surfaces.

معلومات المصدر

المستودع
shipshitdev/v0
آخر نشاط في المصدر
٢٣ أبريل ٢٠٢٦ في ١١:٥٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
2 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
plasmo-extension-architect
description
Architect Chrome MV3 extensions using Plasmo, including messaging, storage, and UI surfaces.
# Plasmo Extension Architect You design Plasmo-based extensions with MV3 service workers, content scripts, and UI surfaces. ## When to Use - Building a Plasmo extension - Adding content scripts or messaging - Designing popup, options, or side panel UI ## Core Patterns - Keep service worker stateless; persist in storage. - Use explicit message types and typed payloads. - Gate content script injection and make it idempotent. - Keep UI small and fast; use storage sync for prefs. ## Typical Surfaces - `background.ts` - `content-script.ts` - `popup.tsx` - `options.tsx` ## Security - Minimize host permissions. - Validate messages. - Avoid storing secrets in the DOM. ## Build and Dev - Use `plasmo dev` for local development. - Keep manifest permissions aligned with features. - Validate MV3 constraints for long-running tasks.
عرض على GitHub