Images And Diagrams
ASecurityVisuals in content — articles, tutorials, features, essays and newsletter issues on any subject: which visuals earn their place, photos of the real thing, licences and image credits, consent for identifiable people, alt text written from the image's purpose, honest charts, diagrams, tutorial screenshots, recordings and GIFs, images in email, and labelling edited or AI-generated images. Use on "add a photo", "image credit", "can I use this image", "chart for my article", "alt text", "diagram f...
- 3 stars
- 0 votes
- 0 copies
- 0 views
- Added November 23, 2026
Works with
Security analysis
100/100Pro scans all 5 files and shows the line behind each finding
npx -y skills add Timonwa/writing-skills --skill images-and-diagrams --agent claude-codeAre you the author of Images And Diagrams?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/timonwa-images-and-diagrams)---
name: images-and-diagrams
description: >-
Visuals in content — articles, tutorials, features, essays and newsletter issues on any subject: which visuals earn their place, photos of the real thing, licences and image credits, consent for identifiable people, alt text written from the image's purpose, honest charts, diagrams, tutorial screenshots, recordings and GIFs, images in email, and labelling edited or AI-generated images. Use on "add a photo", "image credit", "can I use this image", "chart for my article", "alt text", "diagram for this post", "GIFs in my newsletter".
---
# Images and diagrams in content
In a lot of content the image isn't support for the text — it's part of what the reader came for: the finished dish, the place, the person interviewed, the result, the evidence. Every visual still has a cost. It can't be searched or translated, it goes stale when what it shows changes, a reader on a screen reader gets only its alt text, and in an email it may never load at all. So each one has to earn its place.
## Voice and audience come from the writing's own guide
Before applying this skill, find the publication's `profile.md`, `writing-guide.md` and `brand.md`, and the samples in its `examples/`, and read them:
- **In a codebase:** the folder the project's `AGENTS.md` names, or, for a guide kept outside the repo, the folder the user's personal agent instructions name (such as `~/.claude/CLAUDE.md`); otherwise the project's `publications/` folder.
- **In a chat app:** the project's files (a Claude Project's knowledge, or the equivalent elsewhere), or files attached to the conversation.
- **Otherwise:** ask for them.
Its image policy — credits, photo rights, AI-generated images — comes from the writing guide, and its colours, fonts, image style and chart style from `brand.md`, never from this skill.
- Where `brand.md` or the guide settles something this skill also covers, it wins.
- Where there's no `brand.md`, use the defaults below and offer to record the choices in one with `cw:style-guide`.
- Where there's no guide at all, ask who the reader is and what the piece is for, and offer to build one with `cw:style-guide`.
When a guide changes: in a codebase, save the file where it was found; in a chat app, give the user the updated file to replace in the project. Never write inside the installed plugin.
## Ask first
Read the answers from the topic's `brief.md`, then `profile.md`'s Defaults, then the request; ask only what's missing. Ask with the app's question tool where it has one, so the choices can be picked; otherwise as a numbered list answered by number. Offer choices where the answers are known and a short typed answer otherwise; where the profile has a default, show it and ask whether to use it. Record each answer in the `brief.md` field it belongs to — the "What this topic becomes" table or a row of "The brief" — and any answer with no field under "Notes for whoever picks it up next", so the next skill doesn't ask again.
1. **Which formats are the visuals for?** blog post · newsletter issue · social posts — pick any; email changes the rules below. Default: the formats the brief lists.
2. **What should each visual show?** Short answer per visual · suggest where a visual earns its place.
3. **Where does each one come from?** your own photo · licensed stock (which licence) · Creative Commons · to be made (chart, diagram, screenshot) · AI-generated, labelled.
4. **Is anyone identifiable in them, and has each person consented?** yes, consent recorded · not yet · no people.
5. **For a chart, where is the data, and when is it from?** A file or link and a date; it goes in `sources.md`.
6. **Should one of them be the cover?** yes (which) · no, the cover is designed separately. Default: the profile's Cover image.
## Which visuals earn their place
Say in one sentence what the reader gets from the picture that they wouldn't from the paragraph. If you can't, write the paragraph.
- **A photo or illustration of the real thing** — the finished bake, the room, the person, the product in use. Readers study these. People tend to ignore generic stock photos but look closely at real people and real products ([NN/g](https://www.nngroup.com/articles/photos-as-web-content/)), so a real photo is content and a generic one is decoration.
- **A chart**, when the evidence is a pattern a sentence can't carry.
- **A diagram** — the one picture that makes the argument click.
- **A screenshot in a tutorial**, so a reader following along knows they're on track.
- **A recording or GIF**, when motion is the point — a technique, a drag, a sequence whose timing matters.
- **Never an image of text you could write** — a paragraph, a code block, an error message. Where an image of text is the point — a quote card, a screenshot of a post — its words go in the alt text ([W3C](https://www.w3.org/WAI/tutorials/images/textual/)).
- **Never decoration** — an image that carries nothing costs page weight and attention for no return.
## Alt text
- **Write it from the image's purpose in this piece**, not a neutral inventory. W3C's example for a family photo conveying a mood is "We're family-friendly" ([W3C](https://www.w3.org/WAI/tutorials/images/informative/)); for a bread recipe, "the crumb, open and even", not "a loaf of bread".
- **A decorative image gets an empty `alt=""`** so a screen reader skips it ([W3C](https://www.w3.org/WAI/tutorials/images/decorative/)); in a platform's editor, that's the "decorative" option or an empty field.
- **An image of text carries its words** in the alt text.
- **A complex image** — a chart, a detailed diagram — gets a short alt text with the takeaway, and the full detail in the text or a table beside it.
- **Keep it to about 125–150 characters**, with anything longer in the page itself. That's a working guideline, not a hard limit: screen readers read longer alt text, but checkers flag it and it's tiring to hear ([yatil.net](https://yatil.net/blog/there-is-no-character-limit-for-alt-text)).
- **Don't start with "image of" or "photo of"**, and don't repeat the caption.
## Rights, credits and honesty
- **Licence first.** Finding an image online doesn't give you the right to use it. Use your own, one licensed for this use, or one whose licence terms you follow.
- **Credit Creative Commons images in full** — title, author, source and licence. Credit the author, not the site you found it on, and never "Creative Commons", which isn't the author ([Creative Commons](https://wiki.creativecommons.org/wiki/Recommended_practices_for_attribution)).
- **Consent from identifiable people** before publishing a photo of them, and particular care with children — the publication's policy decides how consent is recorded.
- **Embeds and screenshots of other people's posts** are their words and images: attribute them, and check the platform's terms before reproducing one.
- **Keep every visual true.** An edit that changes what a photo shows, a composite, or an AI-generated image or chart is labelled as such. The SPJ code, revised in 2026, says never publish fabricated content that could be confused with reality, and clearly label illustrations and reenactments.
## Photos
- **Caption what the image needs** — who, where, when — and the credit where the licence or the guide asks for one. Don't repeat the caption in the alt text.
- **Compress and size for the column it sits in**; a photo straight off a phone is usually the heaviest thing on the page. As working targets (common practice): about 200 KB or less per photo on the web, exported at twice the displayed width, in WebP or AVIF where the platform serves them and JPEG otherwise.
## Charts
- **The title states the finding** — "Rents rose faster than wages every year since 2019", not "Rents and wages, 2019–2025".
- **Label lines and bars directly**, next to what they name, rather than in a legend the reader has to match by colour ([Datawrapper](https://www.datawrapper.de/blog/text-in-data-visualizations)).
- **Colours a colour-blind reader can tell apart** — vary them by lightness, and never pair red and green, or orange and green, at the same brightness ([Datawrapper](https://www.datawrapper.de/blog/colorblindness-part2)). Never rely on colour alone.
- **The publication's chart style** — series colours in the order `brand.md` gives, its label font and background. Check those colours still pass the two tests above; a brand palette that fails them gets a lighter or darker step, recorded back in `brand.md`. Parts of a chart the reader needs to read it need 3:1 contrast against what's next to them ([WCAG 1.4.11](https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html)).
- **Honest axes** — a bar chart starts at zero; a truncated axis is marked; charts the reader compares share a scale.
- **Source and date in the caption** — where the data came from, and when.
- **Legible at phone width** — labels, numbers and lines still readable on the narrowest screen the piece is read on.
- **The takeaway goes in the alt text**, and the numbers sit in a table beside the chart or linked from it, so a reader who can't see it gets the data.
## Diagrams and tutorial screenshots
- **A diagram makes one idea visible.** Its alt text describes the structure — what connects to what, in what order — not the drawing.
- **In a build-along tutorial, not a screenshot for every step.** Show where a reader is likely to get lost and what success looks like at the end of a stage; the steps stay in the text.
- **Scrub every screenshot** of personal data, account numbers and other people's names, and capture with demo data.
The capture, annotation and drawing craft is in [references/screenshots-and-diagrams.md](references/screenshots-and-diagrams.md), and the SVG markup in [references/svg-authoring.md](references/svg-authoring.md).
## Recordings, GIFs and video
- **Use motion only when motion is the point**, keep it short, and make it a single technique or task.
- **The text still carries it** — the steps or the point are written; the recording supplements.
- **Caption or transcribe any video with speech**, and never autoplay sound.
- **Put the important frame first in a GIF**: some versions of desktop Outlook show only the first frame ([Email on Acid](https://www.emailonacid.com/blog/article/email-development/gifs-and-outlook-what-can-we-do/)).
- **Weigh the size** — a GIF of a few seconds is often heavier than every other image on the page together; a short muted video can be lighter.
## In email
A newsletter's images arrive in mail clients, not a browser you control:
- **The issue makes sense before its images load**, and for readers who never load them. Anything an image says is said in the text too.
- **Alt text matters more, not less** — it's what shows in the image's place while it's blocked.
- **No text baked into an image** — it can't be read until it loads, can't be searched, and won't reflow on a phone.
- **Dark mode**: some clients invert colours, so a dark logo on a transparent background can vanish and a white box can appear around a light one. Test the issue in dark mode, and give images that need it a background or outline in the file itself ([Litmus](https://www.litmus.com/blog/the-ultimate-guide-to-dark-mode-for-email-marketers)).
- **Size for the column, at twice the pixels** — an image shown 600 px wide exported at 1,200 px and set to 600 in the markup, so it's sharp on high-density screens without overflowing on a phone.
- **The first frame of every GIF** carries the message, and the GIF stays under 1 MB ([Litmus](https://www.litmus.com/blog/a-guide-to-animated-gifs-in-email)).
- **JPEG, PNG and GIF are safe everywhere.** SVG and WebP images render in most clients, but Gmail converts them to PNG or JPEG and doesn't animate WebP; inline `<svg>` markup works in only about 40% of clients ([caniemail](https://www.caniemail.com/features/html-svg/)). Export diagrams to PNG for email.
## Keeping them true
- **A published tutorial's screenshots go stale** when the product changes. Record the version or date captured, and update or remove an image that no longer matches — with an update note.
- **A dated piece keeps its original photos**; a correction to a caption or a credit is marked like any other correction.
## Where the files go
Save every image, diagram source and chart's data in the topic's `images/` folder (`topics/<yyyy-mm>-<slug>/images/`), named for what each shows (`fee-comparison-chart.png`, not `image3.png`), and add a chart's data source to `sources.md`. In a chat app, hand them back named `<topic folder>--<file>`. Saving into `images/` needs no claim. Placing an image in a format file or filling its cover fields edits that file, so read `brief.md` first: if "Held by" names someone else and the status isn't `paused`, leave it and say so; otherwise set Held by and the date, and clear it when you stop.
**When an image is the cover** — the photo of the finished dish at the top of the post — set `cover_image` to its path in `images/` (or its hosted URL) and `cover_alt` to its alt text, in the front matter of `blog.md` and `newsletter.md`, whichever the brief lists ([templates](../style-guide/references/publication-template/topics/_template/)). Every other image goes in the body with its alt text beside it.
## Before it ships
- [ ] Every visual earns its place; no generic stock as content, no image of text that could be written.
- [ ] Every image is licensed and credited as its licence and the guide ask; identifiable people consented.
- [ ] Alt text serves the piece's purpose, decorative images have an empty `alt`, images of text carry their words, and alt text runs about 150 characters or less.
- [ ] Photos are compressed to the working size; a newsletter's images are JPEG, PNG or GIF, and its GIFs are under 1 MB.
- [ ] Charts state the finding, start at zero, label directly, survive colour blindness and a phone screen, and have a source, a date and their data as text.
- [ ] Edited, composite and AI-generated images are labelled.
- [ ] Screenshots are scrubbed and captured with demo data; a tutorial doesn't screenshot every step.
- [ ] For a newsletter: it reads with images off, survives dark mode, and every GIF works on its first frame.
- [ ] Every file, with its source and data, is saved in the topic's `images/`, and a cover is in `cover_image` and `cover_alt`.
A worked example — deciding, fixing, crediting and describing every visual in one piece — is in [references/worked-example.md](references/worked-example.md).
## Boundaries
- **Designing a cover image and the cards a link shows when it's shared** → `cw:cover-images`.
- **Code is never an image** — code in a piece follows `write:code-samples`.
- **Whether the piece needs a visual at all, and where it sits** → `cw:article-standards` and `cw:newsletter-standards`.
- **Visuals in documentation** → `tw:images-and-diagrams`.
- **A logo, brand icon or favicon set** is a different job, out of scope.
Files in this skill
- SKILL.md
- evals/evals.json
- references/screenshots-and-diagrams.md
- references/svg-authoring.md
- references/worked-example.md
Attribution
Related skills
View all in documentation →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.