Skip to main content

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.

来源信息

仓库
FranciscoMoretti/chat-js
最近来源活动
2026年7月11日 10:31
检测到的 SKILL.md 语言
英语
星标
1,200
分支
124

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

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.
在 GitHub 查看