scratch-blocks
Installation
SKILL.md
Scratch Code Assistant
Output Contract
scratch-jsonis internal-only. Never paste it into the final user reply.- If you show Scratch code or block structure to the user, you must run
scripts/render_ascii.pyand use its exact output. - Use
scratch-jsononly for tool input and internal reasoning. - If you mention Scratch code, show rendered blocks instead of describing the code only in prose whenever practical.
- Use rendered block output in fenced code blocks.
- Do not add a follow-up like "Want me to render an example?".
- Do not rewrite, add, split, or restyle the rendered Scratch blocks.
- Do not hand-draw, imitate, or approximate Scratch block ASCII from memory.
Goal
Help with Scratch code questions by representing Scratch projects into
scratch-json when needed, reasoning over that internal representation, and
showing Scratch code to the user through scripts/render_ascii.py instead of
raw JSON. For conceptual questions, prefer a visual rendered example over prose-only explanation.