snipgrapher by mcollina/skills
npx skills add https://github.com/mcollina/skills --skill snipgrapher在以下场景中使用此技能:
snipgrapher 来生成片段图像无需配置,立即将单个文件渲染为 PNG:
npx snipgrapher render file.ts -o output.png
对于持续使用,请先初始化项目配置,然后进行渲染:
npx snipgrapher init # 创建 snipgrapher.config.json
npx snipgrapher render file.ts --profile default -o output.png
渲染完成后,在确认任务成功之前,请验证输出文件存在且大小不为零:
ls -lh output.png # 确认文件存在且大小 > 0
按顺序阅读这些规则文件:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
npx 的命令模式如果渲染失败或产生意外输出,请检查以下常见原因:
--verbose(如果支持)重新运行以显示错误详细信息,并验证输入文件可读且非空npx snipgrapher init 以重新生成 snipgrapher.config.json每周安装量
176
代码仓库
GitHub 星标数
1.5K
首次出现
2026年2月22日
安全审计
安装于
codex170
gemini-cli169
cursor169
opencode169
cline169
github-copilot169
Use this skill when you need to:
snipgrapher from npm to generate snippet imagesRender a single file to a PNG immediately with no config required:
npx snipgrapher render file.ts -o output.png
For ongoing use, initialise a project config first, then render:
npx snipgrapher init # creates snipgrapher.config.json
npx snipgrapher render file.ts --profile default -o output.png
After rendering, verify the output exists and is non-zero in size before treating the job as successful:
ls -lh output.png # confirm file exists and size > 0
Read these rule files in order:
npxIf a render fails or produces an unexpected output, check for these common causes:
--verbose (if supported) to surface error details, and verify the input file is readable and non-emptynpx snipgrapher init to regenerate snipgrapher.config.json if the config file is missing or malformedWeekly Installs
176
Repository
GitHub Stars
1.5K
First Seen
Feb 22, 2026
Security Audits
Gen Agent Trust HubPassSocketWarnSnykPass
Installed on
codex170
gemini-cli169
cursor169
opencode169
cline169
github-copilot169
Lark Calendar CLI 工具:智能日程管理与会议预约自动化命令行解决方案
35,400 周安装
系统思维指南:6位产品领导者的框架与洞见,解决复杂问题的系统思维方法
1,100 周安装
创业构思指南:运用产品负责人框架生成与评估创业想法
1,100 周安装
AI产品战略指南:94位专家框架,助你制定AI产品决策与架构规划
1,100 周安装
Medusa 管理面板自定义开发指南:使用 Admin SDK 和 UI 组件构建扩展
1,100 周安装
Vue 3 专家技能包 | Composition API、Pinia、Nuxt 3 全栈开发指南
1,200 周安装
Atlassian MCP 服务器配置与使用指南:Jira JQL查询、Confluence CQL搜索与自动化工作流
1,100 周安装