Generate a shareable code snippet

SkillMedia

Lets your agent create a shareable URL with a code snippet image for social posts or presentations.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Generate a shareable code snippet skill

About this capability

Generate a concise, shareable code snippet URL for code.franciscomoretti.com. Use when preparing a code image or short snippet for Twitter, X, social sharing, or a presentation.

What this skill tells your AI

The instructions your AI receives, as published by franciscomoretti/chat-js in .agents/skills/generate-code-snippet/SKILL.md and read by ahel’s review.

  • Keep the snippet to 15 lines unless requested otherwise.
  • Show one self-contained concept with real imports and a short opening comment.
  • Prefer tsx; use shell or json when appropriate.

Base64url-encode the snippet without padding, then construct:

https://code.franciscomoretti.com/#code=<base64url>&theme=sparka&darkMode=true&padding=64&language=<language>

Return the snippet in a fenced code block and the complete URL.

Signals

GitHub stars
1k
Forks
122
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
generate-code-snippet
Source
github.com/franciscomoretti/chat-js