alt-text-writer
Write or audit alt text for marketing site images — front-loaded subject, 125-char cap, empty for decorative, product line named, baked-in text transcribed verbatim. Use when adding or reviewing site imagery.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- alt-text-writer
- description
- Write or audit alt text for marketing site images — front-loaded subject, 125-char cap, empty for decorative, product line named, baked-in text transcribed verbatim. Use when adding or reviewing site imagery.
02 资源文件 2
- 参考文档grading.json1.0 KB
- 参考文档meta.json205 B
03 SKILL.md 正文
Alt text for marketing site images. Every image resolves through this sequence — classify, then write to the branch's rule.
1. Can you see the image?
If no image data or description is available — a broken link, a filename alone, a placeholder — stop and ask the user for a description of what the image shows. Do not infer subject matter from filename, surrounding copy, or component name. A wrong guess ships to production; a question doesn't.
2. Classify
- Decorative (spacer, background texture, purely ornamental — removing it costs the page no information): alt="". Stop here.
- Product shot (the image's job is to show a specific product): go to 3, apply the product-line rule.
- Content image (everything else — lifestyle, team photo, diagram, screenshot): go to 3.
3. Write the text
- Open on the subject. The first word is the noun itself — the person, product, or scene — not a lead-in. Screen readers already announce "image"; a prefix like "image of" or "picture of" duplicates that announcement and burns the front-loaded slot on nothing. Write the subject where that prefix would have gone.
- Product shots name the product line. State the exact line name as it appears in the product catalog, not a generic descriptor ("Aria desk lamp in walnut," not "desk lamp on a table").
- Baked-in text is transcribed verbatim. If the image contains rendered text — a badge, a headline graphic, a sign — quote it exactly as it reads, character for character, in addition to describing the image if space allows.
- Cap at 125 characters. Count the characters in the string you're about to output; if it's over 125, cut modifiers before you cut the subject or the transcribed text.
Completion check
Before returning the alt text, confirm: subject is the first word, character count is ≤125, "image of"/"picture of" does not appear, product line is named if this is a product shot, and any in-image text is quoted verbatim. If any of these fails, rewrite — don't ship a partial fix.
04 同仓库更多 Skills
review-adversarial-first
Operator-invoked adversarial review: 3 refute-by-default lenses plus a deterministic judge against a PR, branch, or path, then a decision on whether /ce-code-review's topic fan-out runs. Off the default merge path since the 2026-10-17 merge-and-end ruling; run only when asked for by name.
memory-mine
Run one deterministic, budgeted directed-capture batch for an explicit Claude Code project store. Use manual workspace mode only when cross-agent cass sessions are intentionally in scope.
papers
Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.
papers
Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.
wsl-cdp
Drive the user's real, logged-in Windows browser (Chrome, Edge, or Brave) from a Claude Code session running inside WSL2, over the Chrome DevTools Protocol - read authenticated dashboards and consoles, take real screenshots, open and read pages with the user's sessions. Use when a task needs the user's existing web logins and the session runs in WSL2, where the Claude in Chrome extension cannot work. Not for native-Windows or macOS Claude Code (use the official Claude in Chrome extension), not for anonymous scraping or CI (use headless Playwright inside WSL), not for getting past login walls (those are handed to the human).
token-eater
[BETA] Spend a subscription's idle, about-to-expire credits on safe, machine-verified cleanup. You pick the service (Grok / Codex / Claude) and a token-heavy maintenance skill (de-monolithize, de-slop, simplify, dead-code); that service runs the whole skill -> gate -> self-review -> draft-PR loop on its own credits, in an isolated worktree. token-eater verifies the gate and never merges. Manual invocation only during beta.