/agentic-awesome-skills:safari-extension-expertfrom agentic-awesome-skills
Builds, ports, and debugs Safari Web Extensions (Manifest V3) with native Swift app bridges for macOS and iOS. Covers permissions, background execution, and native messaging.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
SafariWebExtensionHandler).manifest.json, host permissions, background execution lifetime, and Xcode target entitlements for Safari compatibility.Identify target platforms (macOS, iOS, iPadOS, visionOS), minimum Safari and OS versions, whether an existing WebExtension codebase is being converted via xcrun safari-web-extension-converter, and whether the extension requires native messaging or shared App Group storage. Inspect manifest.json, background/content scripts, and Xcode extension target Info.plist / entitlements before editing.
background is optional (content-script-only or popup-only extensions do not need a background worker); when declared, it must be non-persistent ("background": { "service_worker": "background.js", "type": "module" }, or non-persistent "scripts" or "page"). Safari suspends idle background contexts aggressively, so persist state in browser.storage.local / browser.storage.session rather than module globals.browser.* APIs (or a small runtime abstraction) and check platform-specific manifest compatibility carefully: Safari supports chrome_url_overrides.newtab on macOS, but does not support bookmarks or history URL overrides (nor newtab on iOS), and Chrome-only APIs such as offscreen or sidePanel behave differently or are unavailable in Safari.host_permissions to the narrowest required origins or rely on activeTab. Safari prompts users explicitly per website (and per tab on iOS) and treats <all_urls> or *://*/* with high user friction and App Store review scrutiny.web_accessible_resources narrowly, and validate every message crossing the content-script ↔ background boundary.browser.runtime.sendNativeMessage(applicationId, payload) for request/response native calls (with "nativeMessaging" in permissions) and handle rejected promises explicitly when the containing app is unavailable, sandboxed, or missing permissions.SafariWebExtensionHandler.beginRequest(with:), validate expected keys/types before running native work, and share persistent files or UserDefaults between the host app and extension target using a matching App Group entitlement on both targets.NSExtensionPrincipalClass and bundle identifiers aligned between the containing app (com.example.app) and the extension (com.example.app.Extension).browser.runtime) before building in Xcode.xcrun safari-web-extension-converter (for ports), verify signing and App Group entitlements on both targets, enable Unsigned Extensions only during authorized local Safari Develop-menu testing, and verify per-site permission prompts, background suspension/wake-up, and SafariWebExtensionHandler round-trips on the target Safari version.Validate a Safari MV3
manifest.jsonagainst portability mistakes (persistent: true, unsupportedchrome_url_overrideskeys or iOSnewtab,<all_urls>) while allowing valid manifests without abackgroundkey or with macOSnewtab, and test asendNativeMessagebridge wrapper across success and unavailable-host paths.
Run the worked Safari WebExtension contract test with Node.js's built-in test runner (node --test).
xcrun safari-web-extension-converter, code signing, App Group entitlement checks, and testing live Safari/iOS behavior require macOS and Xcode.SFSafariExtensionHandler without MV3 WebExtension APIs) follow an older native-only architecture; Apple recommends Safari Web Extensions for new cross-browser work.Request the minimum permissions and host_permissions needed. Never embed API secrets or signing credentials in extension JS bundles or manifest.json. Obtain authorization before modifying Xcode signing identities, provisioning profiles, or App Store Connect submissions.
declarativeNetRequest, Chrome APIs), see Chrome Extension Developer.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (sickn33/agentic-awesome-skills) — no native marketplace selected
npx claudepluginhub p/sickn33-antigravity-awesome-skills3,195 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job