Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问clear审计提醒

readthedocs-build-failure-triage阅读文档构建失败分类

Agent Skill

readthedocs-build-failure-triage 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

282

周安装

12

GitHub Stars

4

下载量

99
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:readthedocs-build-failure-triage(阅读文档构建失败分类)
来源仓库:https://github.com/readthedocs/skills
仓库路径:skills/readthedocs-build-failure-triage
安装命令:
npx skills add https://github.com/readthedocs/skills --skill readthedocs-build-failure-triage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/readthedocs/skills --skill readthedocs-build-failure-triage

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态或代码变更进行整理时使用。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或命令执行。
  • 注意该技能可能涉及敏感操作,需谨慎评估使用场景。

SKILL.md

Read the Docs Build Failure Triage

Use RTD build metadata plus raw build logs to identify the failure category and recommend fixes. This is a diagnostic workflow, not just API wrapping.

Required inputs

  • RTD host in RTD_HOST

- Community: https://app.readthedocs.org - Business: https://app.readthedocs.com

  • API token available in RTD_TOKEN (preferred) or provided by the user
  • Project slug
  • Build logs (raw text) or a build URL the user can open

Quick workflow

  1. Fetch the latest build metadata.
  2. Open the build page and view raw logs.
  3. Identify the failure category and apply fixes.
  4. If warnings are hidden, enable sphinx.fail_on_warning to make them visible.

Get build metadata

Latest build:

curl -s -H "Authorization: Token $RTD_TOKEN" \
  "${RTD_HOST}/api/v3/projects/project-slug/builds/?limit=1"

Specific build:

curl -s -H "Authorization: Token $RTD_TOKEN" \
  "${RTD_HOST}/api/v3/projects/project-slug/builds/123456/"

Use the urls.build value from the API to open the build page. From there, use the "View raw" link to copy the full log.

Get the raw log directly

Read the Docs exposes raw build logs via the API v2 text endpoint:

GET ${RTD_HOST}/api/v2/build/{build_id}.txt

Example:

curl -s -H "Authorization: Token $RTD_TOKEN" \
  "${RTD_HOST}/api/v2/build/123456.txt"

Common failure categories and fixes

Dependency install failures

Symptoms: pip install errors, missing packages, resolver conflicts.

Actions:

  • Verify python.install requirements path in .readthedocs.yaml.
  • Pin versions for brittle deps and add missing build tools.
  • For Sphinx autodoc failures, install the project with python.install:

- method: pip - path:.

Missing config file or wrong path

Symptoms: conf.py not found, mkdocs.yml not found.

Actions:

  • Check sphinx.configuration or mkdocs.configuration paths.
  • Confirm repo layout matches configured paths.

Build tool mismatch

Symptoms: Sphinx config but MkDocs project (or vice versa).

Actions:

  • Confirm .readthedocs.yaml uses the right tool block.
  • Ensure dependencies align with the tool (Sphinx vs MkDocs).

Warnings treated as failures

Symptoms: build fails after enabling warnings-as-errors.

Actions:

  • Fix the warning in logs, or temporarily disable sphinx.fail_on_warning.
  • Use warnings to prioritize broken references/imports.

Resource limits or timeouts

Symptoms: build timeouts, memory errors, OOM kills.

Actions:

  • Reduce build scope or switch to incremental tooling.
  • Split large docs builds or trim heavy extensions.
  • For Business, request more resources if needed.

Version-specific failures

Symptoms: only a tag/branch fails.

Actions:

  • Check version-specific dependencies or config drift.
  • Verify default_branch and version slugs.
  • If a version is obsolete, consider hiding it.

Notes from RTD docs

  • Use build logs to make warnings visible and fix underlying issues.
  • Read the Docs can disable builds after too many consecutive failures.
  • Build notifications (email/webhooks) help catch failures quickly.

Docs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

github-copilot

30.1%
按下载量换算30

Codex

20.52%
按下载量换算20

continue

17.97%
按下载量换算18

Claude Code

10.95%
按下载量换算11

mcpjam

7.12%
按下载量换算7

roo

3.15%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills