Skip to content
Back to skills

Generate Code Snippet

ASecurity

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.

  • 1,200 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
ai-agentsshell

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add FranciscoMoretti/chat-js --skill generate-code-snippet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Generate Code Snippet?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Generate Code Snippet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/franciscomoretti-generate-code-snippet/badge)](https://www.skillsdirectory.com/skills/franciscomoretti-generate-code-snippet)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: generate-code-snippet
description: 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.
---

# 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:

```text
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.