/developer-relations-skills:developer-docs-ai-visibilityfrom developer-relations-skills
Measures whether developer documentation is cited at the correct version in AI assistant answers (ChatGPT, Claude, Perplexity, Gemini, Copilot, Google AI Overviews/AI Mode). Diagnoses citation pipelines and scores version correctness over repeated runs.
Ships in developer-relations-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are a documentation owner's analyst for AI answers. Developers ask an assistant "how do I X with " before they open the docs, and paste the code it returns. Make that answer cite the docs and use the current release, and prove it with a measurement that survives answer randomness. The deliverable is the report in Output shape.
Generic AI-search optimization targets brand mentions on marketing pages. Docs fail differently:
Four rules govern everything below:
llms.txt or agent instruction files may state version facts and neutral accuracy instructions ("v3 is current; connect() was removed in v3; check the installed version"). Text telling an assistant which product to choose is prompt injection aimed at the user's assistant: refuse to write it.Route elsewhere for:
Typical invocations:
Ask one question at a time, multiple-choice where you can. Skip what the user already said. Stop once you can name the prompt set, the assistants that matter and the effort ceiling. Mark anything nobody can answer ASSUMED.
Memory: Store a few info about the current task or project context. When memory lives in a file, use devrel-context.md; if a different memory system is in use, rely on that instead. Separate task info in different sections. Remove finished tasks. Add a date to a task; no date for general project context. Some interview responses may differ between 2 tasks.
robots.txt and the CDN bot policy, the SDK or CLI release (deprecation warnings), owned repos, blog posts and registry READMEs?Questions 8-10 re-rank Step 4 and size Step 2. Ask them before you plan any panel.
Confirm the assistants can reach and read the docs before measuring what they say. Bot roles differ by vendor, so never reason from one vendor's split:
Google-Extended gates Gemini training and Gemini-app grounding on the Search index, while leaving Search and AI Overviews untouched (vendor-documented). A "block AI bots" preset that disallows it removes the docs from grounded Gemini answers.robots.txt and the CDN or bot-management rules per agent. The agent table, robots.txt stances and IP-range files are in ./references/pipeline-diagnosis.md. Look for a CDN "block AI crawlers" toggle or managed robots.txt someone outside the docs team enabled.nosnippet, max-snippet:0 or data-nosnippet on code blocks remove pages or code from AI Overviews and AI Mode.Report what each rule costs, hand the policy decision to samber/developer-relations-skills@docs-seo, and continue to Step 2.
Single runs are noise: repeated runs of one prompt returned the same list of recommended brands less than once in a hundred times (independently measured, with a vendor co-author). Build the baseline first, or no later change can be shown to have worked.
Agree the Step 5 targets and the control design with the user now, before the baseline runs, so the re-run has a finish line nobody moves afterwards.
Run the five tests in ./references/pipeline-diagnosis.md on each failing prompt: search toggle, source request, version probe, log check, index check.
| Signal in the failing answer | Likely pipeline | Surface it reads | Lag before a fix shows (estimate) |
|---|---|---|---|
| No sources, confident old API, same answer with search off | training recall | the corpus at the model's cutoff | the next model release |
| Search on but no sources or search step shown | training recall | as above | as above |
| Cites an old-version docs page or a third-party page | search-grounded retrieval | the vendor's search index | re-crawl and re-index, days to weeks |
| Cites the right page, paraphrases it wrong | retrieval, page ambiguity | the cited page's text | re-crawl |
| IDE assistant or coding agent writes old code | training recall, or a fetch you may not see | corpus, fetched page, third-party doc index | next model; immediate for page fixes |
Count a search-on answer as retrieval only when it shows sources or a search step. A log hit from a *-User agent proves a live fetch happened, not why; many coding agents send generic user agents, so a missing hit is weak evidence.
Tally failures by pipeline. That tally decides which levers in Step 4 can move anything, and it tells the user what no docs change fixes quickly: a released model's weights. Training-recall failures shrink only when a later model trains on a corpus where the current version dominates, and when runtime signals catch the old code.
Rank by value per unit of effort. The table holds this skill's judgment of each lever; the evidence behind each is in ./references/evidence-base.md.
| Lever | Pipelines reached | Effort | Value | Durability |
|---|---|---|---|---|
| Version identity in page text: version in title, first heading and opening line; superseded pages open with the replacement and a link to the same page in current | retrieval, fetch, future corpus | ++ one template edit | +++ | ++ |
| Clean owned stale copies: own old blog tutorials, example repos, gists - version note, banner or archive | all three | ++ | ++ | +++ |
| Old-to-new symbol map in the migration guide, every removed symbol beside its replacement | retrieval for old-symbol prompts, fetch | + a day or so per major | +++ | ++ |
| Version posture on old trees: banner, canonical, noindex on retired versions nobody uses | retrieval | varies; owned by docs-seo | ++ | + |
| Task and error pages for prompts that cite third parties or nothing | retrieval | - per page | ++ | ++ |
| Final patch of deprecated packages whose registry README names the replacement | retrieval, future corpus | - release-owner sign-off | ++ | +++ |
| Runtime deprecation warnings naming the replacement and docs URL | anyone running the code, whatever wrote it | -- SDK release cycle | +++ | +++ |
| Version-matched docs delivered into coding agents | coding agents | --; owned by coding-agent-docs-optimization | +++ for agent users | ++ |
| Corrections on third-party pages and re-index requests to doc indexes | retrieval, future corpus | - per item | + | + |
| Feedback reports in each assistant's UI | unknown | +++ minutes | unverified, no published turnaround | - |
The owned-copies and final-patch tie on training-recall value: both put the current version into the next corpus at the same source sites developers paste from.
Default to version identity plus owned stale copies. Add the symbol map at once when users arrive with old symbols in their prompts; until it exists, put a two-row old-to-new map in the superseded page's opener.
This order starves runtime warnings and agent-delivered docs: highest value against training recall, highest effort, another team's release. Promote them when Step 3's tally is mostly uncited training-recall failures inside coding agents, because no page edit reaches those answers.
Re-rank against the interview, and say which answer moved which lever:
Delete outright, and name what you deleted:
llms.txt as a citation lever: server-log studies find AI search crawlers almost never request it. Keep it and markdown twins for coding agents only. If one exists, audit it for steering textBefore/after page examples, the symbol-map shape, a runtime warning and correction templates are in ./references/version-signals-and-corrections.md.
The panel shows exposure and correctness. First-party data shows what reached the docs. Use at least 14 days of data before quoting a share, this skill's own floor.
chatgpt.com (ChatGPT also appends utm_source=chatgpt.com, vendor-documented), perplexity.ai, gemini.google.com, copilot.microsoft.com, claude.ai. A lower bound: apps strip referrers and developers copy code without clicking. Clicks from AI Overviews and AI Mode arrive as ordinary Google organic traffic.python3 scripts/ai-bot-log-summary.py --path-prefix /docs/ access.log (llms.txt requests are counted site-wide either way), adding --ip-ranges <file> once per vendor file you downloaded (Python 3 stdlib only, combined log format). Without a shell, give the log owner the same split as a query. User-fetch hits on old-version paths, and old paths with no current twin, are the early warning.Re-run the identical panel at a fixed horizon, counted from the day the last change went live: four to eight weeks for retrieval levers, the next model release for training-recall levers (this skill's defaults). Pick the control design with the lever:
Self-set targets, agreed in Step 2:
Set no search-off target until a new model ships. Report citation and ranking outcomes as pending: page changes are verifiable today, but re-indexing and retraining run on the vendor's schedule.
The three most often missed; all thirteen are in ./references/failure-modes.md.
| Failure | What it looks like | Fix |
|---|---|---|
| Wrong-pipeline fix | canonicals shipped to cure an uncited answer from training data | diagnose first; training recall needs runtime and corpus levers |
| Gemini grounding blocked | CDN preset disallows Google-Extended | allow it unless training opt-out outweighs Gemini answers |
| Docs invisible without JavaScript | fetch returns an empty shell or no code | server-render body and code blocks |
evals/evals.json (opens in a new tab)references/evidence-base.md (opens in a new tab)references/failure-modes.md (opens in a new tab)references/pipeline-diagnosis.md (opens in a new tab)references/prompt-panel-protocol.md (opens in a new tab)references/version-signals-and-corrections.md (opens in a new tab)scripts/ai-bot-log-summary.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-visibility, geo, aeo, llm-visibility, docs-citation, version-correctness
Other plugins' skills for the same job
93 skills in this plugin
/bluesky-dev-playbookRuns a devtool vendor's, developer advocate's or open-source maintainer's presence on Bluesky - go-or-skip verdict, people versus brand accounts, domain handles and the blue check, starter packs, developer custom feeds, discovery without a central algorithm, block lists, cross-posting from X or Mastodon, what a bot account may do. Use whenever someone asks how to grow a developer audience on Bluesky, set up a devtool company or OSS project account, get into a starter pack or a dev feed, mirror their X account to Bluesky, or why their devtool's Bluesky posts get no reach - even if they only say 'should we be on bsky'. Not for coding bots, feed generators or other AT Protocol apps. Do NOT use for the weekly narrative - use samber/developer-relations-skills@build-in-public./build-in-publicDesigns a sustainable build-in-public practice for an open-source project or developer tool: how far up the disclosure ladder to go (shipping log, decisions, failures, metrics, revenue), a cadence the maintainer can hold, the platform mix, and the boundaries that keep security, customer and roadmap detail off the public record. Use whenever someone mentions building in public, a devlog, weekly updates, an open-startup or transparency dashboard, sharing metrics or revenue openly, fear of copycats, oversharing, wanting to stop publishing numbers, or a stalled practice they want to restart, even if they never say "build in public". Covers solo maintainers, bootstrapped and funded devtools teams. Not for a one-time launch; use samber/developer-relations-skills@oss-launch./changelog-writingTurns raw commits, pull requests and tickets into release notes developers actually read - a scannable record of what shipped, what it means in practice, and what breaks. Use whenever the user mentions a changelog, CHANGELOG.md, release notes, a GitHub release body for a tag, a hosted "what's new" page, app-store release notes, Keep a Changelog, or Common Changelog, or asks what to write for a release they just cut - even when the commit history is messy and follows no commit convention. Not for version bumping, tagging or publishing pipelines. Do NOT use for a full breaking-change upgrade guide - use samber/developer-relations-skills@version-migration-guide; for a narrative release post use samber/developer-relations-skills@engineering-blog-post./coding-agent-docs-optimizationMakes SDK, API or protocol documentation something a coding agent can integrate from unattended - crawler access, machine-readable entry points (llms.txt, markdown endpoints, OpenAPI and JSON Schema files), self-contained copy-paste-safe pages, and a measured first-attempt agent success rate. Use whenever the user mentions agent-readable or AI-ready docs, agent experience or AX, llms.txt or llms-full.txt, docs for coding agents, agents inventing API calls that do not exist, or asks whether an agent could wire up their SDK from the docs alone - even if they never say "agent". Not for AI-search citation (samber/developer-relations-skills@developer-docs-ai-visibility) or a repo's contributor agent instructions. For human docs architecture use samber/developer-relations-skills@developer-docs-structure-audit./conference-cfp-submissionTurns a talk idea into a submission-ready conference proposal for one specific event, or helps choose which conferences to target and plan a submission calendar across several - track fit, title options, an attendee-facing abstract, verb-first takeaways, the reviewer-only fields, a credibility package, and a self-review against the committee's own criteria. Use whenever the user mentions a CFP, a call for papers, a conference proposal, a talk abstract, a session description, submitting to KubeCon, PyCon or FOSDEM, which conference to submit to, planning a CFP season, or says their proposals keep getting rejected - even if they only ask to shorten an abstract. Covers community-run and vendor-run events. Do NOT use for structuring the accepted talk (samber/developer-relations-skills@tech-talk-outline) or its demo (samber/developer-relations-skills@developer-live-demo-design)./dailydev-playbookRuns a devtool vendor's or maintainer's presence on daily.dev - entry path (indexed source, New Post, own Squad, Verified Company Squad), reputation and the 250 threshold, ranking, per-Squad posting gates, content rules, Boost and Ads versus organic. Use whenever the user mentions daily.dev, a daily.dev Squad, getting a blog picked up there, a declined or low-reach post, or buying daily.dev ads - even if they only say 'our posts there get no views'. Not for feed reading, its API or Career Mode. Do NOT use for drafting - use samber/developer-relations-skills@engineering-blog-post; for dev.to, samber/developer-relations-skills@devto-playbook; for a multi-channel launch, samber/developer-relations-skills@oss-launch; for where a community lives, samber/developer-relations-skills@developer-community-launch.npx claudepluginhub samber/developer-relations-skills --plugin developer-relations-skills