CtrlK
BlogDocsLog inGet started
Tessl Logo

generate-code-snippet

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.

72

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Generate a shareable code snippet

  • 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.

Repository
FranciscoMoretti/chat-js
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.