salla-snippets-migration
Installation
SKILL.md
Migrating a Legacy HTML Snippet to Pure JS
Salla retired the backend converter that resolved {{namespace.key}} tokens server-side
before a page reached the browser. salla_snippets now only accepts pure JavaScript,
resolved client-side via salla.config.get(...). This skill converts legacy content —
it does not deploy it. It does not call the salla_snippets tool.
When to use / hand-offs
- Use this skill when snippet content contains HTML tags (
<script>,<style>,<div>,<link>, …) or a{{namespace.key}}token. - If content is already valid JS, there is nothing to migrate — go straight to salla-snippets Step 2.
- When conversion is done, hand back to
salla-snippetsStep 2 to actuallycreate/updateand run its validate-on-every-write loop (Step 6 below). This skill never touches the MCP tool.