Snipgrapher - generate images from code snippets
Configure and use snipgrapher to generate polished code snippet images
Latest: v0.1.0
Initial release of snipgrapher skill.
- Generate polished code snippet images in SVG, PNG, or WebP formats from source code.
- Configure reusable rendering defaults and named profiles for consistent output.
- Supports batch rendering of snippet assets for documentation, social media, or changelogs.
- Provides setup, configuration, and rendering workflow guides.
- Designed for automation and reproducibility using CLI flags, config files, or environment variables.
When to use
Use this skill when you need to:
- Generate image snippets from source code
- Configure reusable snippet rendering defaults
- Batch-render snippet assets for docs, social posts, or changelogs
- Use published
snipgrapherfrom npm to generate snippet images
How to use
Read these rule files in order:
- rules/setup-and-configuration.md - Install, select executable, initialize config, and define profiles
- rules/rendering-workflows.md - Render single snippets, batch jobs, watch mode, and output practices
Core principles
- Configure first: establish a project config before repeated renders
- Reproducible output: prefer named profiles and explicit output paths
- Portable commands: use command patterns that work with installed binaries and
npx - Automation-friendly: rely on CLI flags/config/env precedence intentionally
