embed-snippet-generator

Installation
SKILL.md

embed-snippet-generator

Build a provider catalog + snippet generator so non-technical users can drop a correct third-party embed (scheduling, forms, chat, analytics, payments, reviews…) into a website builder's custom code / code embed field — and, more importantly, verify those snippets actually render instead of trusting that they compile.

Activate: "add a code-embed / widget picker," "generate a Stripe/Calendly/chat snippet," "let users paste third-party embeds," or "are our embed snippets correct and up to date?"

When to use

  • Triggers: 'embed snippet', 'code embed picker', 'custom code field', 'widget catalog', 'does this embed still work', 'snippet renders blank'.
  • Two embed surfaces (site-wide code vs a sandboxed per-section embed) with different tag and character-limit rules; a provider catalog and generator UI; headless reproduction of the host's real sandbox, not just a validator.
  • Gotchas: a placeholder ID that 404s is not a broken template; provider format drift (re-check current official docs before a fix); logos from a build-time manifest (avoids the SSR onError race); protocol-relative // fails in a null-origin srcdoc iframe; per-account host subdomains; char-limit compliance; no 'verified' badge.

The one lesson that matters

Installs
3
GitHub Stars
1
First Seen
Jul 29, 2026