CtrlK
BlogDocsLog inGet started
Tessl Logo

mcollina/snipgrapher

Configures and uses snipgrapher to generate polished code snippet images, including syntax-highlighted PNGs, SVGs, and WebP exports with custom themes, profiles, and styling options. Use when the user wants to create code screenshots, turn code into shareable images, generate pretty code snippets for docs or social posts, produce syntax-highlighted images from source files, or explicitly mentions snipgrapher. Supports single-file renders, batch jobs, watch mode, and reusable named profiles via the snipgrapher CLI or npx.

88

1.38x
Quality

95%

Does it follow best practices?

Impact

79%

1.38x

Average score across 5 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-2/

Automated Snippet Rendering in a Multi-Environment CI Pipeline

Problem/Feature Description

A platform engineering team runs a documentation build pipeline across three environments: development, staging, and production. Each environment needs slightly different snippet styling — development uses a dark theme with line numbers for readability, staging uses the same but with a watermark to prevent confusion with production assets, and production uses a light theme with no watermark for clean output.

The team wants to drive all environment-specific rendering settings through the CI environment itself, without having to maintain separate config files per environment. Individual developers should also be able to override specific settings locally for quick experiments without touching the shared config.

Write a document ci-setup.md that describes:

  1. How to configure the shared snipgrapher.config.json with base defaults
  2. Which environment variables to set in each CI environment to achieve the per-environment styling
  3. How a developer would override a single setting locally without changing the environment variables or config file

Also produce the shared snipgrapher.config.json file that would be committed to the repository.

evals

SKILL.md

tile.json