agentleFS
casooncasoon/ai-agent-config/skills/alt-text-generator/SKILL.md

alt-text-generator

Skill1 starsChanged 46 days agoMITView on GitHub

Erzeugt sachliche, kontextpassende Alt-Texte und erkennt dekorative Bilder (leeres alt). Nutzen, wenn Alt-Texte für Bilder gebraucht werden.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Alt-Text-Generator

Erzeugt sachliche, kontextpassende Alt-Texte und erkennt dekorative Bilder, die alt="" bekommen.

Wann verwenden

  • Bilder brauchen alt-Texte oder vorhandene sollen geprüft werden.
  • Entscheidung nötig, ob ein Bild informativ oder dekorativ ist.

Input

  • Bild (oder Beschreibung) plus Kontext: Wo steht es? Welche Funktion? Ist es ein Link/Button?

Prüf-Vorgehen

  1. Funktion klären: informativ, dekorativ, funktional (Link/Button) oder Text-im-Bild?
  2. Dekorativ (rein schmückend, Info steht im Text daneben) → alt="".
  3. Informativ → beschreibe, was im Kontext relevant ist, knapp und sachlich.
  4. Funktional (Bild in Link/Button) → beschreibe das Ziel/die Aktion, nicht das Bild.
  5. Text-im-Bild → den Text 1:1 in alt.
  6. Logo → Firmenname (in Link zur Startseite: Firmenname genügt).

Output

Je Bild:

  • Ort: Datei/Selektor.
  • Empfehlung: alt="…" (oder alt="" bei dekorativ).
  • Begründung: knapp, warum dieser Text.
  • Priorität: hoch (funktional/informativ ohne alt) / niedrig (Feinschliff).

Gotchas

  • Kein „Bild von …" / „Grafik zeigt …" — Screenreader sagen die Rolle bereits an.
  • Kontext entscheidet: dasselbe Bild braucht in Artikel und Teaser oft unterschiedliches alt.
  • Fehlendes alt (Attribut ganz weg) ≠ alt="" — ohne Attribut liest der Screenreader oft den Dateinamen vor.
  • Bei funktionalen Bildern beschreibt alt das Ziel, nicht das Motiv.
  • Redundanz vermeiden: steht die Info schon als Fließtext daneben, ist das Bild oft dekorativ.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.