<< All versions
Skill v1.0.1
currentAutomated scan100/100chemaclass/chemaclass.com/add-image
+3 new
──Details
PublishedNovember 4, 2026 at 05:04 PM
Content Hashsha256:fde60d962ea1d2f2...
Git SHAa80b6eeed6b1
Bump Typepatch
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 23 lines · 1.8 KB
name: add-image description: "Use to add a cover, middle or footer image to a blog post. Arguments: <image-path> [post-date] [cover|middle|footer]" x-claude: allowed-tools: Read, Write, Edit, Glob, Bash(bash scripts/optimize-image.sh:), Bash(scripts/optimize-image.sh:), Bash(rm ), Bash(mkdir ), Bash(zola build) argument-hint: "<image-path> [post-date] [cover|middle|footer]" metadata: version: "1.0.1"
- Parse
<image-path> [post-slug-or-date] [placement].image-pathis required (absolute or repo-relative). Without a post, use the newest blog post. Without a placement (cover,middle,footer), ask. - Find the post in
content/blog/by date prefix or slug. TakeYYYY-MM-DDfrom the filename. - Always optimize; never copy a raw photo into the site:
mkdir -p static/images/blog/YYYY-MM-DD/bash scripts/optimize-image.sh <source> static/images/blog/YYYY-MM-DD/{placement}.webp --width <W> --quality 85- Width:
cover1600,middleandfooter1200. The cover width is a minimum, and the cover must be at least 820px tall (the template derives a 1440px hero for retina screens). Use a larger width for a very wide source. - Report the before and after sizes the script prints. Keep the source file.
- Update the EN and ES posts (all images
.webp; translate alt text per language). Replace the shared placeholder path/images/blog/placeholder.webpwith the real path for the slot:
cover: setstatic_thumbnail = "/images/blog/YYYY-MM-DD/cover.webp"in[extra]. Do not add a![cover]line; the template shows it.middle: insertnear the middle of the body, or ask where.footer: insertas the last content line.
- Run
zola buildto check the path.