# CodeShot

用 AI 助手把代码做成清晰易读的图片，用于帖子、文档和幻灯片。支持 20 种语言的语法高亮，自动遮盖密钥和密码，输出链接预览、方形、竖版和幻灯片尺寸以及带 PDF 的轮播，并生成包含代码的替代文本。

规范页面: https://skillrove.dev/skills/codeshot
版本: 1.0.0
内容包标价: USD 4.99 单独购买
安装助手: Codex, Claude Code, Cursor
输出: 适用于帖子、文档和幻灯片的代码图片、轮播与替代文本

## 主要能力

- 支持 20 种语言的语法高亮和五种主题，所有代码颜色对比度不低于 4.5:1；可添加窗口外框、行高亮、聚焦、diff 和行内注释。
- 渲染前遮盖 API 密钥、令牌、URL 密码和你指定的内容，并检查代码在信息流显示宽度下是否清晰，必要时自动换行以放大文字。
- 输出 2 倍 PNG 和 SVG、链接预览、方形、竖版和幻灯片尺寸，轮播的 PNG 幻灯片与 PDF，以及包含代码内容的替代文本。

适合用途: 适合在帖子、发布说明、文档和演讲中分享代码的开发者、开发者布道师和技术写作者。

功能范围: 语法高亮基于常见语言的规则，并非编译器。不运行代码，不负责发布；密钥检测覆盖常见格式，但无法保证发现所有敏感信息。

## 已说明的交付内容与要求

- images/ id .png at 2× and a scalable SVG
- images/ id -og.png, -square.png, -portrait.png or -slide.png
- carousel/ slides and carousel.pdf for LinkedIn
- alt.md with the code as image descriptions
- report.md with masked secrets and readability checks
- Offline studio to edit code, themes and highlights

运行要求: Node.js 20+ · no API key

可操作示例: https://skillrove.dev/skillrove/samples/codeshot/v1.0.0/index.html

Tallybird, Inkwell Notes and their code are fictional; the key and password in the settings example are made up. CodeShot renders code you provide; it does not run it or post anywhere. Secret detection covers common key formats and assignments, not every secret, so review images before posting.

## 安装前的问题

### 如何获取 CodeShot？

单独购买此内容包的标价为 4.99 美元。高级内容包下载需要已确认的购买或有效会员。助手订阅、模型访问权限与外部服务额度独立计算。

- [比较权益与价格](https://skillrove.dev/pricing)

### 哪些助手可以使用这项技能？

此版本列出的预期安装助手为 Codex, Claude Code, Cursor。运行前请检查内容包的依赖与权限。标签不代表每项工作流已在所有助手中测试。

- [Codex 安装说明](https://skillrove.dev/skills/agent/codex)
- [Claude Code 安装说明](https://skillrove.dev/skills/agent/claude-code)
- [Cursor 安装说明](https://skillrove.dev/skills/agent/cursor)

### 此工作流可以生成哪些文件？

版本 1.0.0 的说明列出：images/ id .png at 2× and a scalable SVG；images/ id -og.png, -square.png, -portrait.png or -slide.png；carousel/ slides and carousel.pdf for LinkedIn；alt.md with the code as image descriptions；report.md with masked secrets and readability checks；Offline studio to edit code, themes and highlights。部分文件或导出为可选项，请按内容包的要求配置并检查最终结果。

- [查看完整交付内容](https://skillrove.dev/skills/codeshot#skill-what-you-get)
- [检查可操作示例](https://skillrove.dev/skillrove/samples/codeshot/v1.0.0/index.html)

### 使用结果前需要检查什么？

Tallybird, Inkwell Notes and their code are fictional; the key and password in the settings example are made up. CodeShot renders code you provide; it does not run it or post anywhere. Secret detection covers common key formats and assignments, not every secret, so review images before posting.

- [阅读安装指南](https://skillrove.dev/guides/how-to-install-a-claude-skill)
- [查看第三方声明](https://skillrove.dev/third-party-notices)

## 来源与访问

这些信息来自 Skillrove 公开目录与当前版本说明。助手标签说明预期安装环境，不代表所有模型均已通过验证。使用受内容包许可证约束；模型账号、服务额度与凭据独立提供。公开说明不授予下载权限。

[安装指南](https://skillrove.dev/install/agent.md) · [客服](https://skillrove.dev/contact)
