From mcollina-skills-1
Generates syntax-highlighted code snippet images as PNGs, SVGs, WebPs using snipgrapher CLI with custom themes, profiles, single renders, batch jobs, and watch mode for docs or social posts.
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin mcollina-skills-1This skill uses the workspace's default tool permissions.
Use this skill when you need to:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
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 malformed