Skip to content
SprecherEast
Issue 812

process: Review every image made for the site before it is published

Back to our plan
Done
processtoolinguxpriority: medium

Problem

In plain words: images made for the site (illustrations, graphics, edited photos) are published through the CMS, outside a code change, so the visual design review never runs on them. Flaws reach the live site: text hidden under an overlay the layout puts on the image, labels too small to read at card size, collisions, repeated text and clutter.

Summary of the owner's direction (2026-11-07, Claude Code session, chat): the review process should apply to every image and every event-related visual, before publishing and again on the live page, and he asked for it to be enforced, not left to memory.

Today (checked):

  • visual-design-review is written for diffs that touch CSS, markup or components. An image made in a browser session and uploaded to the CMS matches none of that, so nothing triggers it.
  • The eighteen-item baseline in docs/guidelines/ui-ux-design.md has an image item (preserve proportions, never obscure the subject) but nothing about images we create ourselves.
  • No hook or check sits between an agent and a media upload.

Proposed fix

  1. Scope. visual-design-review and the guideline cover any image created or edited for the site, not only code diffs. The guideline gets a section on images we make: keep empty whatever area the layout overlays, text legible at the size of the card it appears on, no text that repeats what the card or page already says, no decorative filler, the subject never covered, and a visual check at card size before publishing and on the live page after.
  2. Trigger. AGENTS.md's skills table says the review applies when an image is made or published for the site.
  3. Enforcement. A Claude Code hook stops a browser script that uploads media or sets an image on an event or post until the author has recorded that the review was done (a marker in the script), and shows the checklist when it stops. A hook can only confirm the step was claimed; the skill carries the substance.

Acceptance criteria

  • Not done: visual-design-review description and scope include images made for the site, with the review steps for them
  • Not done: ui-ux-design.md has the section, written as principles (no example-specific numbers)
  • Not done: AGENTS.md skills table updated
  • Not done: A hook blocks an unmarked media upload or image assignment from a browser script and allows a marked one; tests in rules.test.mjs
  • Not done: claude-code-setup.md describes the hook; generated rule copies refreshed (npm run agent-context -- --write)

Area

tooling, ux

Priority

priority: medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab