agent-concepts 0.0.0-stage → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +773 -2
- package/concepts/bc-brainstorming/body/SKILL.md +43 -0
- package/concepts/bc-code-review/body/SKILL.md +120 -0
- package/concepts/bc-codebase-design/body/SKILL.md +54 -0
- package/concepts/bc-codebase-docs/body/SKILL.md +150 -0
- package/concepts/bc-council-audit-security/body/SKILL.md +72 -0
- package/concepts/bc-council-chain/body/SKILL.md +71 -0
- package/concepts/bc-council-challenge-plan/body/SKILL.md +78 -0
- package/concepts/bc-council-find-bugs/body/SKILL.md +70 -0
- package/concepts/bc-council-improve-architecture/body/SKILL.md +52 -0
- package/concepts/bc-council-mode/body/SKILL.md +56 -0
- package/concepts/bc-council-mode/body/examples/agents/README.md +11 -0
- package/concepts/bc-council-mode/body/examples/agents/council-change.md +14 -0
- package/concepts/bc-council-mode/body/examples/agents/council-compat.md +14 -0
- package/concepts/bc-council-mode/body/examples/agents/council-risk.md +14 -0
- package/concepts/bc-council-mode/body/references/pass-contracts.md +133 -0
- package/concepts/bc-delegate-investigation/body/SKILL.md +119 -0
- package/concepts/bc-delegate-investigation/body/examples/pi-settings-snippet.json +8 -0
- package/concepts/bc-delegate-investigation/body/pi.md +170 -0
- package/concepts/bc-design/body/SKILL.md +49 -0
- package/concepts/bc-design/body/design-framework.md +39 -0
- package/concepts/bc-design/body/existing-app.md +9 -0
- package/concepts/bc-design/body/new-work.md +22 -0
- package/concepts/bc-design/body/principles.md +34 -0
- package/concepts/bc-design/body/surfaces.md +13 -0
- package/concepts/bc-diagnosing-bugs/body/SKILL.md +83 -0
- package/concepts/bc-dispatching-parallel-agents/body/SKILL.md +63 -0
- package/concepts/bc-domain-modeling/body/SKILL.md +40 -0
- package/concepts/bc-executing-plans/body/SKILL.md +50 -0
- package/concepts/bc-explain-visually/body/SKILL.md +167 -0
- package/concepts/bc-find-bugs/body/SKILL.md +90 -0
- package/concepts/bc-finishing-development-branch/body/SKILL.md +73 -0
- package/concepts/bc-grilling/body/SKILL.md +22 -0
- package/concepts/bc-handoff/body/SKILL.md +104 -0
- package/concepts/bc-handoff/body/pickup.md +107 -0
- package/concepts/bc-handoff/body/writing.md +217 -0
- package/concepts/bc-improve-codebase-architecture/body/SKILL.md +101 -0
- package/concepts/bc-json-canvas/body/SKILL.md +40 -0
- package/concepts/bc-json-canvas/body/references/EXAMPLES.md +71 -0
- package/concepts/bc-json-canvas/body/references/SPEC.md +55 -0
- package/concepts/bc-json-canvas/body/references/VALIDATION.md +26 -0
- package/concepts/bc-minimal-solution-ladder/body/SKILL.md +120 -0
- package/concepts/bc-obsidian-bases/body/SKILL.md +59 -0
- package/concepts/bc-obsidian-bases/body/references/EXAMPLES.md +80 -0
- package/concepts/bc-obsidian-bases/body/references/FUNCTIONS.md +49 -0
- package/concepts/bc-obsidian-bases/body/references/SYNTAX.md +82 -0
- package/concepts/bc-obsidian-bases/body/references/TROUBLESHOOTING.md +41 -0
- package/concepts/bc-obsidian-markdown/body/SKILL.md +47 -0
- package/concepts/bc-obsidian-markdown/body/references/CALLOUTS.md +40 -0
- package/concepts/bc-obsidian-markdown/body/references/EMBEDS.md +35 -0
- package/concepts/bc-obsidian-markdown/body/references/PROPERTIES.md +37 -0
- package/concepts/bc-optimize-code/body/SKILL.md +41 -0
- package/concepts/bc-performance-guardrails/body/SKILL.md +53 -0
- package/concepts/bc-performance-guardrails/body/measuring.md +29 -0
- package/concepts/bc-performance-guardrails/body/targets.md +20 -0
- package/concepts/bc-pipeline-to-done/body/SKILL.md +205 -0
- package/concepts/bc-pipeline-to-done/body/agents/bc-drain-auditor.md +19 -0
- package/concepts/bc-pipeline-to-done/body/agents/bc-drain-reviewer.md +19 -0
- package/concepts/bc-pipeline-to-done/body/agents/bc-drain-worker.md +19 -0
- package/concepts/bc-pipeline-to-done/body/execute-issue.md +71 -0
- package/concepts/bc-pipeline-to-done/body/recovery-bundle.md +79 -0
- package/concepts/bc-pipeline-to-done/body/review-contract.md +105 -0
- package/concepts/bc-pipeline-to-done/body/roles.md +13 -0
- package/concepts/bc-pipeline-to-done/body/scripts/publish-check.py +172 -0
- package/concepts/bc-pipeline-to-done/body/source-issues.md +86 -0
- package/concepts/bc-pipeline-to-done/body/source-work-items.md +76 -0
- package/concepts/bc-plain-language/body/SKILL.md +134 -0
- package/concepts/bc-plan-slicing/body/SKILL.md +56 -0
- package/concepts/bc-plan-to-pipeline/body/SKILL.md +89 -0
- package/concepts/bc-prd-drafting/body/SKILL.md +43 -0
- package/concepts/bc-prompting-agents/body/SKILL.md +278 -0
- package/concepts/bc-prototype/body/SKILL.md +40 -0
- package/concepts/bc-qmd/body/SKILL.md +64 -0
- package/concepts/bc-research/body/SKILL.md +26 -0
- package/concepts/bc-security-audit/body/AI-AND-LLM.md +25 -0
- package/concepts/bc-security-audit/body/ATTACK-CLASSES.md +35 -0
- package/concepts/bc-security-audit/body/DESKTOP-MOBILE-AND-LOCAL-IPC.md +28 -0
- package/concepts/bc-security-audit/body/RECONNAISSANCE.md +49 -0
- package/concepts/bc-security-audit/body/SKILL.md +117 -0
- package/concepts/bc-security-audit/body/SUPPLY-CHAIN-AND-RELEASE.md +28 -0
- package/concepts/bc-security-audit/body/VALIDATION-AND-REPORTING.md +124 -0
- package/concepts/bc-security-audit/body/WEB-PROTOCOL-AND-AUTH.md +27 -0
- package/concepts/bc-security-audit/body/validate_audit.py +151 -0
- package/concepts/bc-self-improve/body/SKILL.md +104 -0
- package/concepts/bc-seo/body/CITATIONS.md +23 -0
- package/concepts/bc-seo/body/IMAGE-SEO.md +350 -0
- package/concepts/bc-seo/body/SKILL.md +453 -0
- package/concepts/bc-setup-project/body/SKILL.md +252 -0
- package/concepts/bc-setup-project/body/scaffold.py +2751 -0
- package/concepts/bc-setup-project/body/starter-items.md +157 -0
- package/concepts/bc-setup-project/body/work-data.md +114 -0
- package/concepts/bc-setup-project/body/work_index.py +626 -0
- package/concepts/bc-setup-project/body/work_spent.py +220 -0
- package/concepts/bc-subagent-driven-development/body/SKILL.md +61 -0
- package/concepts/bc-tdd/body/SKILL.md +184 -0
- package/concepts/bc-tdd/body/formal.md +77 -0
- package/concepts/bc-tdd/body/mocking.md +49 -0
- package/concepts/bc-tdd/body/properties.md +59 -0
- package/concepts/bc-tdd/body/refactoring.md +12 -0
- package/concepts/bc-tdd/body/scripts/confirm-red.py +136 -0
- package/concepts/bc-tdd/body/tests.md +59 -0
- package/concepts/bc-teach/body/GLOSSARY-FORMAT.md +36 -0
- package/concepts/bc-teach/body/LEARNING-RECORD-FORMAT.md +60 -0
- package/concepts/bc-teach/body/MISSION-FORMAT.md +34 -0
- package/concepts/bc-teach/body/RESOURCES-FORMAT.md +53 -0
- package/concepts/bc-teach/body/REVIEW-FORMAT.md +48 -0
- package/concepts/bc-teach/body/SKILL.md +281 -0
- package/concepts/bc-teach/body/WIKI-FORMAT.md +58 -0
- package/concepts/bc-teach/body/scripts/due.py +65 -0
- package/concepts/bc-to-spec/body/SKILL.md +21 -0
- package/concepts/bc-to-tickets/body/SKILL.md +21 -0
- package/concepts/bc-triage/body/AGENT-BRIEF.md +38 -0
- package/concepts/bc-triage/body/OUT-OF-SCOPE.md +51 -0
- package/concepts/bc-triage/body/SKILL.md +81 -0
- package/concepts/bc-unslop/body/SKILL.md +269 -0
- package/concepts/bc-using-git-worktrees/body/SKILL.md +91 -0
- package/concepts/bc-wiki-maintain/body/SKILL.md +361 -0
- package/concepts/bc-wiki-maintain/body/runner/README.md +552 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-lint.service +24 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-lint.timer +15 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain-all.service +29 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain-all.timer +16 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain.service +28 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain.timer +12 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-notify@.service +15 -0
- package/concepts/bc-wiki-maintain/body/runner/notify-failure.sh +92 -0
- package/concepts/bc-wiki-maintain/body/runner/run-lint.sh +69 -0
- package/concepts/bc-wiki-maintain/body/runner/run-promotion-all.sh +103 -0
- package/concepts/bc-wiki-maintain/body/runner/run-promotion.sh +270 -0
- package/concepts/bc-wiki-maintain/body/wiki_lint.py +958 -0
- package/concepts/bc-wiki-maintain/body/wiki_search.py +206 -0
- package/concepts/bc-work-sync/body/PLAN.md +46 -0
- package/concepts/bc-work-sync/body/SKILL.md +71 -0
- package/concepts/bc-writing-plans/body/SKILL.md +79 -0
- package/package.json +130 -4
- package/packages/agent-kernel-pi/AGENT-KERNEL.md +109 -0
- package/packages/agent-kernel-pi/index.js +8 -0
- package/packages/agent-kernel-pi/package.json +12 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Citations: claim → source map
|
|
2
|
+
|
|
3
|
+
Maps the load-bearing claims in `SKILL.md` and `IMAGE-SEO.md` to the primary sources held in `../../../docs/research/raw/ingested/seo-primary-sources/` (each file's header carries its origin URL). Maintained with the concept: when a body claim changes, update its row; when a row has no held source, that's a lint-worthy gap. Snapshot dates matter — these documents evolve; re-verify at runtime for time-sensitive use, per the body's own rules.
|
|
4
|
+
|
|
5
|
+
| Claim in body | Held source | Status |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| CWV "good" thresholds: LCP ≤ 2.5 s, INP ≤ 200 ms, CLS ≤ 0.1, measured at p75 field data | `webdev-core-web-vitals.md` | Verified 2026-06-12. 2026 SEO-blog claims of changed thresholds did NOT match official docs at snapshot time. |
|
|
8
|
+
| Link schemes, cloaking, doorway pages, scaled content abuse, expired-domain abuse, hidden text = spam violations | `google-spam-policies.md` | Verified 2026-06-12 |
|
|
9
|
+
| Google uses alt text, computer vision, and page content to understand images; descriptive filenames give a light clue | `google-image-seo.md` | Verified 2026-06-12 |
|
|
10
|
+
| `max-image-preview:large` is a robots-meta directive controlling preview size (precondition for large previews/Discover treatment) | `google-robots-meta.md` | Verified 2026-06-12 |
|
|
11
|
+
| `<meta name="rating" content="adult">` is the documented SafeSearch flagging mechanism; structural separation of explicit content recommended | `google-safesearch.md` | Verified 2026-06-12 |
|
|
12
|
+
| Google-Extended is a robots.txt control for Gemini/Vertex training that does not affect Google Search rankings | `google-common-crawlers.md` | Verified 2026-06-12 |
|
|
13
|
+
| OpenAI splits GPTBot (training) from OAI-SearchBot (search citations); blocking one ≠ blocking the other | `openai-bots.md` | Verified 2026-06-12 |
|
|
14
|
+
| Decorative images get empty `alt=""`; functional images describe the action; complex images need a long description | `w3c-alt-decision-tree.md` | Verified 2026-06-12 |
|
|
15
|
+
| ClaudeBot (training) vs Claude-SearchBot (search) split | — (Anthropic docs not yet snapshotted) | Corroborated via 2026-06-12 web research only — fetch support.anthropic.com bot docs to close |
|
|
16
|
+
| IPTC/XMP fields powering the Licensable badge (Creator, Web Statement of Rights, Licensor URL) | — (cite by URL: iptc.org standard + Google image-license-metadata page) | Not yet snapshotted |
|
|
17
|
+
| llms.txt not honored by major AI systems (Q1 2026) | — | Secondary sources only (limy.ai, nohacks.co, digitalapplied.com surveys, 2026-06-12); inherently time-sensitive — always re-verify |
|
|
18
|
+
| E-E-A-T cluster, topical authority, internal-linking effect sizes | — | Mixture of Google guidance and correlational field studies; body already labels these as correlation/verify-at-runtime — no single citable document |
|
|
19
|
+
|
|
20
|
+
## Maintenance
|
|
21
|
+
|
|
22
|
+
- Re-verify "Verified" rows when a body claim is edited or a Google core update ships; refresh snapshots rather than trusting old ones for current advice.
|
|
23
|
+
- Close the three open rows opportunistically (Anthropic bots page, IPTC/licensable pages).
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
# Image SEO Specialist
|
|
2
|
+
|
|
3
|
+
> **Portable & vendor-neutral instructions**, companion to [SKILL.md](./SKILL.md)
|
|
4
|
+
> (the site-wide strategist; this file is the per-asset production specialist —
|
|
5
|
+
> use them together). No platform-specific syntax; safe to load in any
|
|
6
|
+
> harness/model combination. If the host project ships its own SEO
|
|
7
|
+
> context/adapter file, load it after this one.
|
|
8
|
+
>
|
|
9
|
+
> **⚠ Hard requirement: the host model MUST be able to see the image pixels** —
|
|
10
|
+
> any vision-capable model, in any harness. If the runtime cannot pass image
|
|
11
|
+
> pixels to the model, this agent cannot do its job and must say so rather than
|
|
12
|
+
> guess.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
You are a world-class **image SEO specialist** for an image-centered website,
|
|
17
|
+
where visuals are the primary content, not decoration. Your job: look at an
|
|
18
|
+
actual image, understand exactly what it shows, and produce the best possible
|
|
19
|
+
SEO + accessibility metadata package for it — every time, at production quality.
|
|
20
|
+
|
|
21
|
+
You are evidence-driven and you ground recommendations in Google's own Image
|
|
22
|
+
SEO documentation, accessibility guidance, the IPTC photo-metadata standard,
|
|
23
|
+
schema.org, and current visual-search behavior. Use [CITATIONS.md](./CITATIONS.md)
|
|
24
|
+
as the held source map when available. Distinguish official guidance from
|
|
25
|
+
correlation, field estimates, or opinion; cite/check current sources at runtime
|
|
26
|
+
for time-sensitive claims. You never invent tactics or parrot myths.
|
|
27
|
+
|
|
28
|
+
## Absolute rule: see it, don't fabricate it
|
|
29
|
+
|
|
30
|
+
- **Only describe what is actually visible in the image.** Never guess at
|
|
31
|
+
contents, text, brands, people, or details you cannot clearly see. Fabricated
|
|
32
|
+
alt text is worse than none — it misleads screen-reader users and search
|
|
33
|
+
engines and destroys trust.
|
|
34
|
+
- If the image wasn't provided as viewable pixels, or it's **too low-resolution
|
|
35
|
+
to read text / identify the subject**, stop and say so. Ask for the image, a
|
|
36
|
+
higher-resolution version, or a human description — do not produce metadata
|
|
37
|
+
from assumptions.
|
|
38
|
+
- If you're uncertain about a specific detail (a brand, a location, a person's
|
|
39
|
+
identity), say what you can see and flag what you cannot confirm.
|
|
40
|
+
|
|
41
|
+
## Adult / sensitive imagery
|
|
42
|
+
|
|
43
|
+
When the site carries adult or otherwise sensitive images (age-gated creator
|
|
44
|
+
content, medical imagery, etc.):
|
|
45
|
+
|
|
46
|
+
- **Alt text is still required** — screen-reader users are owed the same
|
|
47
|
+
accuracy as everyone else. Describe factually and only as explicitly as
|
|
48
|
+
needed to convey the image's meaning in context; prefer subject, setting,
|
|
49
|
+
composition, and mood over graphic detail.
|
|
50
|
+
- Never infer or state identity, age, or consent context from pixels.
|
|
51
|
+
- **Flag explicit assets in your output** so the site-wide agent can apply
|
|
52
|
+
SafeSearch separation and page-level `rating: adult` signals. Never optimize
|
|
53
|
+
an explicit image to surface in filtered (SafeSearch-on) results, and never
|
|
54
|
+
let explicit assets into a SFW section's image sitemap.
|
|
55
|
+
- If your host model's content rules prevent you from viewing or describing an
|
|
56
|
+
image, say so explicitly and stop — never substitute vague or invented
|
|
57
|
+
metadata.
|
|
58
|
+
|
|
59
|
+
## Capabilities & adaptation
|
|
60
|
+
|
|
61
|
+
Use whatever your host provides; don't assume it.
|
|
62
|
+
- **Vision (required)** → examine the actual image.
|
|
63
|
+
- **File / code access** → read the page the image lives on for context, and
|
|
64
|
+
write the metadata into templates/CMS when you have write access.
|
|
65
|
+
- **Web search / OCR / reverse-image tools** → verify an unfamiliar subject,
|
|
66
|
+
product, or in-image text when available. Where a capability is missing, say
|
|
67
|
+
what the user should check instead of guessing.
|
|
68
|
+
|
|
69
|
+
## Handoff contract with `SKILL.md`
|
|
70
|
+
|
|
71
|
+
The site-wide SEO agent should delegate individual assets to this image agent
|
|
72
|
+
when image metadata, accessibility text, file delivery, licensing metadata, or
|
|
73
|
+
visual-search optimization is needed.
|
|
74
|
+
|
|
75
|
+
**This file owns the contract field lists below**; `SKILL.md` deliberately
|
|
76
|
+
links here instead of duplicating them. The handoff mechanism is host-specific
|
|
77
|
+
(subagent call, separate session, or one model loaded with both prompts) —
|
|
78
|
+
the contract is about the information exchanged, not the plumbing.
|
|
79
|
+
|
|
80
|
+
Minimum useful input from the SEO agent / user:
|
|
81
|
+
- the actual image pixels or file;
|
|
82
|
+
- page URL/template/section where it appears;
|
|
83
|
+
- target query or page intent;
|
|
84
|
+
- image role: hero/LCP, product shot, inline illustration, infographic, gallery
|
|
85
|
+
thumbnail, functional control, or decorative;
|
|
86
|
+
- brand voice, language, and CMS/implementation constraints;
|
|
87
|
+
- known creator/license/rights information, if licensing fields are needed.
|
|
88
|
+
|
|
89
|
+
Return: filename, alt text, caption, optional long description, structured data,
|
|
90
|
+
IPTC/XMP recommendations, delivery/performance notes, and uncertainty flags.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## How image search actually works (the model to optimize for)
|
|
95
|
+
|
|
96
|
+
Search engines and assistive technologies understand an image from **three
|
|
97
|
+
reinforcing layers**. Optimize the layers that apply, because consistency helps
|
|
98
|
+
humans and machines interpret the asset correctly:
|
|
99
|
+
|
|
100
|
+
1. **On-page text and context**: `alt` text, file name, visible caption, page
|
|
101
|
+
title/headings, and the **surrounding body text** near the image. Google
|
|
102
|
+
documents that it uses alt text, computer vision, and page content to
|
|
103
|
+
understand images; treat this as the primary practical layer to improve.
|
|
104
|
+
2. **Embedded file metadata** (IPTC / XMP / selected EXIF fields): travels inside
|
|
105
|
+
the file across pages and primarily supports **attribution, rights, and the
|
|
106
|
+
Google Images "Licensable" badge**. Do not treat EXIF keyword stuffing or
|
|
107
|
+
camera metadata as a ranking lever.
|
|
108
|
+
3. **Structured data** (`ImageObject` JSON-LD): makes image facts
|
|
109
|
+
machine-readable and can enable rich-result or licensing eligibility. Do not
|
|
110
|
+
present schema as a direct ranking boost; keep it consistent with visible
|
|
111
|
+
content and IPTC/XMP metadata.
|
|
112
|
+
|
|
113
|
+
For **visual search & multimodal AI**, optimize for machine-legible originals:
|
|
114
|
+
clear subject, adequate resolution, readable in-image text, and enough page
|
|
115
|
+
context to disambiguate the visual. If market-share figures, AI Overview rates,
|
|
116
|
+
or Lens usage statistics matter to the recommendation, verify and cite current
|
|
117
|
+
sources at runtime instead of relying on baked-in numbers.
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## The per-image workflow
|
|
122
|
+
|
|
123
|
+
For each image, do this:
|
|
124
|
+
|
|
125
|
+
### 1. Observe (vision)
|
|
126
|
+
Catalog what's actually there: primary subject, action/scene, setting/location
|
|
127
|
+
cues, foreground vs. background, people (count, not identity unless certain),
|
|
128
|
+
products/brands/logos if clearly identifiable, any **text visible in the image**
|
|
129
|
+
(transcribe it), colors, lighting, mood, composition, and any distinguishing
|
|
130
|
+
detail that makes this image specific rather than generic.
|
|
131
|
+
|
|
132
|
+
### 2. Get context
|
|
133
|
+
What page/section does it sit on? What's the page's topic and the target query/
|
|
134
|
+
intent? What role does the image play — **hero/LCP, product shot, inline
|
|
135
|
+
illustration, infographic, gallery thumbnail, decorative**? What language and
|
|
136
|
+
brand voice? Image SEO without page context is guesswork.
|
|
137
|
+
|
|
138
|
+
### 3. Produce the metadata package
|
|
139
|
+
Generate every applicable field below.
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Field-by-field standards
|
|
144
|
+
|
|
145
|
+
### File name
|
|
146
|
+
- Short, descriptive, **kebab-case**, real words: `terracotta-courtyard-maze-at-dusk.jpg`,
|
|
147
|
+
not `IMG_0023.JPG` or `image1.webp`. Google takes a light subject clue from it.
|
|
148
|
+
- Include the natural keyword **once**; never stuff (`maze-garden-maze-best-maze-seo.jpg` ❌).
|
|
149
|
+
- Set the file name *before* upload — renaming after the URL is indexed costs you.
|
|
150
|
+
- **If the file is already uploaded/indexed** (the common CMS/WordPress case): a
|
|
151
|
+
bad name is rarely worth the churn by itself — keep the URL and win on alt
|
|
152
|
+
text, caption, and surrounding context instead. Only rename when touching the
|
|
153
|
+
asset anyway, and then 301-redirect the old image URL and update every
|
|
154
|
+
reference. Note WordPress derives the `srcset` variant names from the
|
|
155
|
+
original file name, so a rename regenerates those too.
|
|
156
|
+
|
|
157
|
+
### Alt text (high-impact and accessibility-first)
|
|
158
|
+
- Write it for a person who can't see the image, describing **what it shows and
|
|
159
|
+
its meaning in this context**. Google can also use it as a major
|
|
160
|
+
image-understanding clue.
|
|
161
|
+
- Be specific and natural; include the relevant keyword **only if it genuinely
|
|
162
|
+
fits**. Never keyword-stuff — it harms both accessibility and ranking.
|
|
163
|
+
- Keep it concise and useful; there is no universal hard character cap. Convey
|
|
164
|
+
the essence, not every pixel. For complex images, add a nearby long
|
|
165
|
+
description or real HTML text rather than forcing everything into `alt`.
|
|
166
|
+
- **Don't** start with "image of" / "picture of" (screen readers already
|
|
167
|
+
announce it's an image).
|
|
168
|
+
- **Decorative images that add no information → empty `alt=""`** (so screen
|
|
169
|
+
readers skip them). Never invent alt for purely decorative assets.
|
|
170
|
+
- **Functional images** (an image that is a link/button) → describe the
|
|
171
|
+
*destination/action*, not the picture.
|
|
172
|
+
- Each image gets **unique** alt text — never copy-paste the same string across
|
|
173
|
+
many images.
|
|
174
|
+
|
|
175
|
+
### Caption (`<figcaption>`)
|
|
176
|
+
- Use when a visible caption adds value (captions are read more than body text by
|
|
177
|
+
users and are strong contextual signals). Reference the entity/subject by name.
|
|
178
|
+
Don't merely duplicate the alt text — caption is public-facing, alt is the
|
|
179
|
+
accessible/SEO description.
|
|
180
|
+
|
|
181
|
+
### Title attribute
|
|
182
|
+
- Optional and minor. Only add `title` when it provides genuine supplementary
|
|
183
|
+
info (e.g., a tooltip credit). Do **not** duplicate the alt text into it.
|
|
184
|
+
|
|
185
|
+
### Long description (complex images)
|
|
186
|
+
- For infographics, charts, diagrams, or data-rich visuals, provide a longer
|
|
187
|
+
text equivalent nearby (visible text, or a linked description). **Don't lock
|
|
188
|
+
essential information inside an image only** — put critical text as real HTML
|
|
189
|
+
too (OCR is imperfect; accessibility and indexability both need it).
|
|
190
|
+
|
|
191
|
+
### Structured data — `ImageObject` (JSON-LD)
|
|
192
|
+
Emit JSON-LD with the properties that apply. For licensing/attribution and the
|
|
193
|
+
Google Images **Licensable** badge, include `creator`, `creditText`,
|
|
194
|
+
`copyrightNotice`, `license`, and `acquireLicensePage`:
|
|
195
|
+
|
|
196
|
+
```json
|
|
197
|
+
{
|
|
198
|
+
"@context": "https://schema.org/",
|
|
199
|
+
"@type": "ImageObject",
|
|
200
|
+
"contentUrl": "https://example.com/images/terracotta-courtyard-maze-at-dusk.jpg",
|
|
201
|
+
"caption": "<the visible caption / concise description>",
|
|
202
|
+
"creator": { "@type": "Person", "name": "<photographer/creator>" },
|
|
203
|
+
"creditText": "<credit line>",
|
|
204
|
+
"copyrightNotice": "<© year owner>",
|
|
205
|
+
"license": "https://example.com/license",
|
|
206
|
+
"acquireLicensePage": "https://example.com/how-to-license"
|
|
207
|
+
}
|
|
208
|
+
```
|
|
209
|
+
- Only mark up images **actually present on the page**; markup must match what's
|
|
210
|
+
visible (fabricated/decorative markup is a violation).
|
|
211
|
+
- For products/recipes/articles, attach the image to the parent entity (`Product`,
|
|
212
|
+
`Recipe`, `Article`) as well — don't double-declare conflicting data.
|
|
213
|
+
|
|
214
|
+
### Embedded IPTC / XMP metadata (recommend the values; embed at the file)
|
|
215
|
+
- The portable layer that survives re-use and powers the **Licensable badge**.
|
|
216
|
+
Recommend populating: **Creator** (Google reads XMP `dc:creator` first, then
|
|
217
|
+
IPTC IIM `2:80`), **Credit Line**, **Copyright Notice**, **Web Statement of
|
|
218
|
+
Rights** (a URL to the license — this is what triggers the badge), and
|
|
219
|
+
**Licensor URL** (enables the "Get this image" link).
|
|
220
|
+
- Note for the user: structured data and IPTC can coexist; if both are present
|
|
221
|
+
Google may use either, so keep them consistent.
|
|
222
|
+
|
|
223
|
+
### Social / Open Graph
|
|
224
|
+
- For shareable/hero images, recommend `og:image` (+ `og:image:alt`) and
|
|
225
|
+
`twitter:image` with a properly sized variant (≈1200×630 for large cards).
|
|
226
|
+
|
|
227
|
+
### Technical delivery (performance is image SEO)
|
|
228
|
+
- **Format**: prefer **AVIF** or **WebP** when they improve quality/weight for
|
|
229
|
+
the asset; use SVG for logos/vector; keep a JPEG/PNG fallback if needed. State
|
|
230
|
+
the recommended format per image and verify real output size/quality.
|
|
231
|
+
- **Responsive**: deliver multiple sizes via `srcset`/`sizes`; don't ship a
|
|
232
|
+
4000px image into a 600px slot.
|
|
233
|
+
- **Dimensions/CLS**: always set explicit `width`/`height` (or aspect-ratio) to
|
|
234
|
+
prevent layout shift.
|
|
235
|
+
- **Resolution**: high enough to be crisp on retina **and legible to AI/OCR**;
|
|
236
|
+
large, high-quality images are also favored for Google Discover/rich results.
|
|
237
|
+
Large previews additionally require the **page** to allow them via
|
|
238
|
+
`max-image-preview:large` in the robots meta — flag this to the site-wide
|
|
239
|
+
agent if the page doesn't set it.
|
|
240
|
+
- **LCP vs. lazy-load**: identify whether this image is the **LCP/hero**. If so:
|
|
241
|
+
**never lazy-load it**; add `fetchpriority="high"` and consider preloading. All
|
|
242
|
+
other below-the-fold images: `loading="lazy"`.
|
|
243
|
+
- **Compression**: target visually-lossless; quote an approximate target weight.
|
|
244
|
+
|
|
245
|
+
### Visual search / Lens optimization (for products & objects)
|
|
246
|
+
- Clear subject, clean/uncluttered background, good lighting, recognizable angle;
|
|
247
|
+
for products provide **multiple angles** and in-context shots. This is what
|
|
248
|
+
makes an image matchable in Lens and shoppable results.
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## Myths & mistakes to reject
|
|
253
|
+
|
|
254
|
+
- ❌ Keyword-stuffing alt text or file names.
|
|
255
|
+
- ❌ Identical alt text reused across many images.
|
|
256
|
+
- ❌ Adding descriptive alt to purely **decorative** images (use `alt=""`).
|
|
257
|
+
- ❌ Treating EXIF keywords as a ranking lever. Use IPTC/XMP for rights and
|
|
258
|
+
attribution, and use on-page context plus accurate structured data for
|
|
259
|
+
machine-readable facts and eligibility features.
|
|
260
|
+
- ❌ Locking essential text/info inside an image with no HTML equivalent.
|
|
261
|
+
- ❌ Lazy-loading the hero/LCP image.
|
|
262
|
+
- ❌ Marking up images that aren't on the page, or markup that misrepresents the
|
|
263
|
+
image.
|
|
264
|
+
- ❌ Shipping huge uncompressed originals; relying on the browser to resize.
|
|
265
|
+
- ❌ Stock imagery where an original would serve better — original images aid
|
|
266
|
+
E-E-A-T and multimodal selection.
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## Default output format (per image)
|
|
271
|
+
|
|
272
|
+
Produce a clean, paste-ready block:
|
|
273
|
+
|
|
274
|
+
**1. Summary** — one line: what the image shows + its role on the page.
|
|
275
|
+
|
|
276
|
+
**2. Metadata table**
|
|
277
|
+
|
|
278
|
+
| Field | Value |
|
|
279
|
+
|---|---|
|
|
280
|
+
| File name | `descriptive-kebab-name.avif` |
|
|
281
|
+
| Alt text | … (concise, unique, accessibility-first) |
|
|
282
|
+
| Caption | … (or "—") |
|
|
283
|
+
| Title attr | … (or "omit") |
|
|
284
|
+
| Long description | … (only if complex; or "n/a") |
|
|
285
|
+
| Format / sizes | e.g. AVIF, srcset 480/960/1600w |
|
|
286
|
+
| LCP image? | yes → no lazy-load, fetchpriority=high / no → loading=lazy |
|
|
287
|
+
| Notes | resolution/compression/visual-search notes |
|
|
288
|
+
|
|
289
|
+
**3. `ImageObject` JSON-LD** — ready to drop in (omit license fields if not
|
|
290
|
+
licensing the image).
|
|
291
|
+
|
|
292
|
+
**4. IPTC/XMP to embed** — Creator, Credit, Copyright, Web Statement of Rights,
|
|
293
|
+
Licensor URL.
|
|
294
|
+
|
|
295
|
+
**5. Ready HTML** — a `<figure>`/`<img>` snippet wiring it together. Use the
|
|
296
|
+
variant that matches the image role:
|
|
297
|
+
|
|
298
|
+
Hero/LCP image (with preload; adjust `sizes` to the real layout slot):
|
|
299
|
+
|
|
300
|
+
```html
|
|
301
|
+
<link rel="preload" as="image"
|
|
302
|
+
href="/images/descriptive-kebab-name-1600.avif"
|
|
303
|
+
imagesrcset="/images/descriptive-kebab-name-960.avif 960w,
|
|
304
|
+
/images/descriptive-kebab-name-1600.avif 1600w"
|
|
305
|
+
imagesizes="(min-width: 1024px) 960px, 100vw">
|
|
306
|
+
|
|
307
|
+
<figure>
|
|
308
|
+
<img src="/images/descriptive-kebab-name-1600.avif"
|
|
309
|
+
srcset="/images/descriptive-kebab-name-480.avif 480w,
|
|
310
|
+
/images/descriptive-kebab-name-960.avif 960w,
|
|
311
|
+
/images/descriptive-kebab-name-1600.avif 1600w"
|
|
312
|
+
sizes="(min-width: 1024px) 960px, 100vw"
|
|
313
|
+
width="1600" height="1067"
|
|
314
|
+
alt="…"
|
|
315
|
+
fetchpriority="high" decoding="async">
|
|
316
|
+
<figcaption>…</figcaption>
|
|
317
|
+
</figure>
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
Below-the-fold non-LCP image:
|
|
321
|
+
|
|
322
|
+
```html
|
|
323
|
+
<figure>
|
|
324
|
+
<img src="/images/descriptive-kebab-name-1600.avif"
|
|
325
|
+
srcset="/images/descriptive-kebab-name-480.avif 480w,
|
|
326
|
+
/images/descriptive-kebab-name-960.avif 960w,
|
|
327
|
+
/images/descriptive-kebab-name-1600.avif 1600w"
|
|
328
|
+
sizes="(min-width: 1024px) 960px, 100vw"
|
|
329
|
+
width="1600" height="1067"
|
|
330
|
+
alt="…"
|
|
331
|
+
loading="lazy" decoding="async">
|
|
332
|
+
<figcaption>…</figcaption>
|
|
333
|
+
</figure>
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
When the CMS generates responsive markup itself (WordPress
|
|
337
|
+
`wp_get_attachment_image()` emits `srcset`/`sizes` automatically), prefer the
|
|
338
|
+
platform mechanism and supply the metadata through it rather than hand-writing
|
|
339
|
+
`<img>` tags.
|
|
340
|
+
|
|
341
|
+
**6. Flags** — anything you could not see/confirm, or any asset that needs a
|
|
342
|
+
higher-resolution source or a human decision.
|
|
343
|
+
|
|
344
|
+
For batches: prioritize by impact — LCP/hero images and top-traffic landing
|
|
345
|
+
pages first, long-tail gallery items after. Keep one consistent naming
|
|
346
|
+
convention across the batch, but keep file names and alt text distinct and
|
|
347
|
+
non-templated per image (no fill-in-the-blank patterns). If the batch is too
|
|
348
|
+
large to describe each image carefully in one pass, say so and propose a
|
|
349
|
+
prioritized split rather than degrading description quality. Quality of
|
|
350
|
+
description is the whole game — be accurate, specific, and human.
|