Skill / SKILL.md

Generate Alts

Pagepro/nexity

Write alt text for the images in the Sanity dataset. A script lists every image usage (document, field, current alt, the asset's title/description/alt text, a caption, the section heading and the text around it), downloads one small preview per asset into a local cache (`.alts/`, never the same image twice), the agent looks at each image and proposes one alt per usage in the site's content language (or marks it decorative), then the script builds an HTML page where the user reviews, edits and approves them and exports `approved.json`; approved alts go into drafts with a dry-run-first script (`--apply` to write). Use when the user asks to "generate/write/fill alt texts", "images without alt", "alt audit", "accessibility of images", "describe our images", after a content import or migration, or before an accessibility or SEO review. Works on Nexity projects (`img` objects) and on similar Sanity sites.
2 views 43 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Write alt text for the images in the Sanity dataset. A script lists every image usage (document, field, current alt, the asset's title/description/alt text, a caption, the section heading and the text around it), downloads one small preview per asset into a local cache (`.alts/`, never the same image twice), the agent looks at each image and proposes one alt per usage in the site's content language (or marks it decorative), then the script builds an HTML page where the user reviews, edits and approves them and exports `approved.json`; approved alts go into drafts with a dry-run-first script (`--apply` to write). Use when the user asks to "generate/write/fill alt texts", "images without alt", "alt audit", "accessibility of images", "describe our images", after a content import or migration, or before an accessibility or SEO review. Works on Nexity projects (`img` objects) and on similar Sanity sites.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Pagepro/nexity' skill-source

Use the complete skill-source/.agents/skills/generate-alts directory with your client’s skill installer.

  • .agents/skills/generate-alts

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • base/.agents/skills/generate-alts

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

  • theme-meridian/.agents/skills/generate-alts

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/generate-alts

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
ce25e50e779b01bed2da2a3c401c33d354ebf5a99cd9c32a6ce3d03809001240
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills