Auto-generated tile from GitHub (10 skills)
92
94%
Does it follow best practices?
Impact
92%
1.16xAverage score across 44 eval scenarios
Advisory
Suggest reviewing before use
A developer tools startup publishes weekly blog posts and social media content featuring code examples from their product. Their content team wants to automate snippet image generation as part of the CI pipeline so that rendered images are always consistent with the current codebase — no manual screenshots ever.
The pipeline needs to support two modes: a standard "docs" mode with conservative styling, and a one-off override mode that lets any individual pipeline run choose a different format or theme without touching the config file. The team also needs the pipeline to fail loudly if a render job silently produces an empty or corrupt file.
Set up a CI shell script (ci-render.sh) that configures the environment with appropriate defaults, performs a render of the provided code sample, applies a one-off format override for a second render, and verifies both outputs are valid. Leave a human-readable log (ci-render-log.txt) recording every command and its outcome.
Produce the following files:
ci-render.sh — the CI shell scriptci-render-log.txt — a log of commands run, environment variables set, and output files produced with confirmation they exist and are non-zero in sizeThe following file is the code sample to render. Extract it before beginning.
=============== FILE: sample/highlight.py =============== def fibonacci(n: int) -> list[int]: """Return the first n Fibonacci numbers.""" seq = [0, 1] while len(seq) < n: seq.append(seq[-1] + seq[-2]) return seq[:n]
if name == "main": print(fibonacci(10)) =============== END FILE ===============
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
scenario-42
scenario-43
scenario-44
skills
documentation
fastify
init
linting-neostandard-eslint9
node
nodejs-core
rules
oauth
octocat
snipgrapher