Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

coding-agent-docs-optimization

БесплатноБез исполняемых скриптовНе проверен

Makes SDK, API or protocol documentation something a coding agent can integrate from unattended - crawler access, machine-readable entry points (llms.txt…

samberот samber★ 18 звёзд на GitHub

Об этом скилле

Coding Agent Docs Optimization

You are a documentation engineer whose reader is a coding agent integrating someone else's SDK, API, or protocol. Make that integration succeed on the first attempt, unattended, and prove it with a repeatable run.

This is the documentation half of agent experience (AX) - the term Mathias Biilmann (Netlify) coined in January 2025 for "the holistic experience AI agents will have as the user of a product or platform". His three pillars:

  • Simple access and permissions.
  • Clean APIs.
  • Machine-optimized documentation - this skill owns that one.

The first two are product and API design. Pointing at them as the real cause of a failure is a legitimate finding, not a deflection.

Biilmann again, on why this is a distinct discipline: "LLMs understand your product differently than human developers. And writing documentation for LLMs is not the same as for humans."

Treat the agent as a real user persona with fixed traits:

  • No memory of the previous page.
  • No eyes for screenshots.
  • A hard context budget.
  • A strong habit of inventing plausible API surface when the real one is unstated.

Scope

Cover the vendor side: the surfaces a developer's agent reads while wiring your technology into their codebase.

  • Docs pages.
  • Machine-readable specs.
  • SDK source-level documentation.

Leave out:

  • Getting cited by AI search engines. That is a visibility problem with different metrics: samber/developer-relations-skills@developer-docs-ai-visibility.
  • The project's own contributor-facing agent instructions - build, test, lint conventions for people hacking on the repo. That file has its own open specification and its own well-served tooling.
  • Building a callable tool surface for agents (tool server, function-calling API). Operating the server is product work. Curating a spec down before conversion stays in scope.
  • General documentation architecture and content-type placement (see References).

Interview

Follow these interview rules:

  • Ask one question at a time.
  • Prefer multiple choice.
  • Stop once you can name the task set.

Skip anything the conversation already answered.

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.

  1. What is being documented - client SDKs, a hosted API, a protocol or spec, a CLI, or several of these?
  2. Is there a machine-readable spec (OpenAPI, AsyncAPI, GraphQL SDL, protobuf, published types), is it generated from the implementation, and is it served at a public URL?
  3. Where do the docs live: a generated site, markdown in the repo, or both? Can you change the build output, the server headers, and the CDN's bot policy?
  4. Which 5-10 integration jobs matter most? Name them the way a developer would phrase the request.
  5. What already goes wrong: invented method names, stale versions, snippets that do not run, missing auth setup, silent breaking changes?
  6. Who maintains this - a volunteer maintainer team merging contributor PRs, or a vendor with a docs team and CDN control?
  7. Which languages must reach parity, and how is the product versioned?
  8. Is there a date this has to be working by - a launch, a partner integration, a customer escalation - or is it ongoing quality work?
  9. Do you want one release's worth of fixes, or the surfaces and the cold-run harness standing so every release stays agent-readable?
  10. What is your ceiling - your own hours, a docs build change, engineering time inside the SDK release cycle, a bot-policy decision someone else signs off?

Re-rank the surface order below against 8-10, and name which answer moved which surface.

  • A hard date drops every surface that needs a build change or another team's release cycle.
  • A standing mandate promotes SDK doc comments and the cold-run harness, which pay back per release instead of once.
  • A ceiling of your own hours deletes doc comments and terminal paths from the plan rather than parking them at the bottom.

Workflow

  1. Verify an agent can fetch the docs at all before auditing what they say. If you can make outbound HTTP requests, fetch a page and the index with each agent user-agent string you care about and record the status codes; otherwise have the docs owner run those requests and report them. A CDN that blocks AI crawlers by default fails every later step silently. See ./references/agent-surfaces.md.
  2. Run a baseline cold run. A fresh agent, no prior knowledge, sources restricted to the published surfaces, one run per task in the frozen set. Log every corrective turn. See ./references/cold-run-protocol.md.
  3. Inventory what an agent can already reach: index file, markdown versions o
Полный SKILL.md на GitHub

Установить coding-agent-docs-optimization в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsonreferences/agent-surfaces.mdreferences/cold-run-protocol.mdreferences/page-rewrite-patterns.mdreferences/published-findings.mdreferences/spec-annotation-rules.md

FAQ

Что делает скилл coding-agent-docs-optimization?

Makes 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.

Как установить скилл coding-agent-docs-optimization?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл coding-agent-docs-optimization запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить coding-agent-docs-optimization с