Token导航 LogoToken导航

Agent Skill · 开发

docs-review(文档审查)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

docs-review 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 11,127。

总安装 1,928周安装 78GitHub Stars 4,692下载 605核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cloudflare/cloudflare-docs --skill docs-review

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

docs-review 审核文档变更的正确性、风格和结构一致性。依据 AGENTS.md 和 style-guide 作为主要参考标准。若用户未明确要求修改,则以建议形式提交而非直接推送更改。区分操作者身份:非 PR 作者时应避免直接修改原始文件。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/docs-review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/cloudflare/cloudflare-docs --skill docs-review;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

docs-review 怎么安装?

在终端执行 npx skills add https://github.com/cloudflare/cloudflare-docs --skill docs-review。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

docs-review 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

docs-review 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

docs-review 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

docs-review 用的人多吗?

公开数据是累计安装 1,928 次,近一周安装 78 次,下载 605 次,GitHub 4,692 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

docs-review 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 4,692 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
docs-review

文档审查 · 本页

1,9284,692需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Review documentation changes for correctness, style, and structure. Use AGENTS.md and the style guide at src/content/docs/style-guide/ as primary references.

When to Suggest vs. When to Edit

Decision logic

  1. Explicit instruction wins. If the user says "suggest", "only make suggestions", or "do not make changes" — post suggestions via gh CLI, never push commits. If they say "fix", "address this", or "update" — edit files directly and commit.
  2. Different actor = suggest. If the person invoking the review is not the PR author (and no explicit fix instruction was given), post suggestions so the author retains control.
  3. Same actor or ambiguous = fix by default. When the invoker is the PR author (or it is unclear), default to editing files directly. MDX syntax errors, broken code, invalid frontmatter, wrong component usage, and other obvious errors should always be fixed, not suggested.

Quick reference

InstructionAction
"review", "suggest changes", "provide suggestions"Post suggestions only via gh CLI — do not push commits
"only make suggestions", "do not make changes"Post suggestions only — never edit files or push
"fix", "address this", "update"Always edit files directly and commit changes
"review and fix"Fix low-severity issues directly; suggest high-impact changes
Invoked by someone other than PR authorPost suggestions unless explicitly told to fix
Invoked by PR author (or unclear)Fix directly — especially MDX syntax, code errors, and build breakers

When in doubt, fix obvious errors (build breakers, MDX syntax, wrong imports, broken code) and suggest subjective changes (wording, restructuring, style preferences).

Posting GitHub Suggestions

Use the GitHub REST API via gh api to post line-level suggestions on PRs. This is the only way to propose changes when operating in suggestion-only mode.

Prerequisites

Determine the PR number and the latest commit SHA before posting:

PR_NUMBER=$(gh pr view --json number -q '.number')
COMMIT_SHA=$(gh pr view --json commits -q '.commits[-1].oid')

Single-line suggestion

Replace one line in the diff. Use subject_type: "line".

gh api repos/{owner}/{repo}/pulls/${PR_NUMBER}/comments \
  -f body='Tighten the phrasing:

Workers use an event-driven architecture. Each incoming request triggers a fetch handler.

  -f commit_id="${COMMIT_SHA}" \
  -f path="src/content/docs/workers/get-started/index.mdx" \
  -F line=42 \
  -f side="RIGHT" \
  -f subject_type="line"

Multi-line suggestion

Replace a range of lines. Add start_line and start_side.

gh api repos/{owner}/{repo}/pulls/${PR_NUMBER}/comments \
  -f body='Simplify this paragraph:

Bindings provide direct, in-process access to Cloudflare services like R2, KV, and D1. They require no network hop, no authentication token, and add no extra latency.

  -f commit_id="${COMMIT_SHA}" \
  -f path="src/content/docs/workers/runtime-apis/bindings.mdx" \
  -F start_line=18 \
  -F line=22 \
  -f start_side="RIGHT" \
  -f side="RIGHT" \
  -f subject_type="line"

Comment without suggestion

For feedback that does not map to a specific replacement, post a plain review comment (no suggestion block):

gh api repos/{owner}/{repo}/pulls/${PR_NUMBER}/comments \
  -f body="This claim needs a source. Link to the relevant API reference or remove it." \
  -f commit_id="${COMMIT_SHA}" \
  -f path="src/content/docs/workers/observability/index.mdx" \
  -F line=55 \
  -f side="RIGHT" \
  -f subject_type="line"

Rules for suggestion blocks

  • The content inside a suggestion fenced block replaces the target line(s) exactly. Include the full replacement text with correct indentation.
  • For single-line: set line to the diff line number. Do not set start_line.
  • For multi-line: set start_line to the first line and line to the last line of the range being replaced.
  • Always set side to "RIGHT" (the new file side of the diff).
  • Always set subject_type to "line".
  • Line numbers refer to the new file in the diff (the right side), not the old file.
  • Use -F (not -f) for numeric fields (line, start_line) so gh sends them as integers.
  • Keep the prose before the suggestion block to one sentence. Do not over-explain.

Batching with a review object

When posting 3+ suggestions, use a single review with multiple comments to avoid notification spam:

gh api repos/{owner}/{repo}/pulls/${PR_NUMBER}/reviews \
  --input - <<EOF
{
  "event": "COMMENT",
  "body": "A few suggestions for this PR.",
  "commit_id": "${COMMIT_SHA}",
  "comments": [
    {
      "path": "src/content/docs/workers/get-started/index.mdx",
      "line": 42,
      "side": "RIGHT",
      "body": "Tighten:\n\n\`\`\`suggestion\nWorkers use an event-driven model.\n\`\`\`"
    },
    {
      "path": "src/content/docs/workers/get-started/index.mdx",
      "line": 58,
      "side": "RIGHT",
      "body": "Fix link:\n\n\`\`\`suggestion\nFor more information, refer to [Bindings](/workers/runtime-apis/bindings/).\n\`\`\`"
    }
  ]
}
EOF

When using --input - with a heredoc, do not pass -f/-F flags — all fields go in the JSON body. The JSON must include event, commit_id, body, and comments.

Review Process

1. Read the Full Diff

gh pr diff ${PR_NUMBER}

Read full files for context — code that looks wrong in a diff may be correct in context. Check what section the change sits in and what comes before/after.

2. Check Against Rules

See references/content-rules.md for the full checklist. Quick reference:

RuleDetail
Unescaped MDX characters{, }, <, > in prose must be escaped or in backticks
Component importsEvery component used must be imported from ~/components
Code block languagesMust be lowercase and in the supported set (see AGENTS.md)
Internal linksAbsolute paths, no file extensions, no https://developers.cloudflare.com
Heading hierarchySequential: H2 then H3 then H4 — never skip
Frontmattertitle required; pcx_content_type must be a valid value
Style guideActive voice, no contractions, "select" not "click", bold for UI elements
Workers codeMust use TypeScriptExample component, not bare js/ts fences
Config blocksMust use WranglerConfig component with TOML input
Code correctnessFor type checking, API usage, and binding patterns, load the code-review skill
AccuracyClaims must be substantiated — link to sources of truth, do not explain inline what other docs cover

3. Assess What to Flag

FlagDo not flag
Incorrect technical contentStyle preferences not in the style guide
Broken MDX (build will fail)Pre-existing issues in unchanged lines
Wrong API usage or types"Could be cleaner" when code is correct
Missing component usage (TypeScriptExample, WranglerConfig)Theoretical concerns without evidence
Inaccurate or unsubstantiated claimsMissing features outside the PR scope
Security or safety issues in examplesMinor wording differences that do not change meaning
Scope creep (changes to files outside the PR intent)

4. Prioritize

Review in severity order:

  1. Build breakers — unescaped MDX, missing imports, invalid frontmatter
  2. Incorrect content — wrong API, wrong behavior description, broken examples
  3. Missing best practices — no TypeScriptExample, hardcoded compat dates, bare code fences
  4. Style and structure — heading levels, link format, prose quality

Content Review Principles

These principles are derived from recurring review feedback on this repo:

  • Link to sources of truth. Do not re-explain concepts that have their own docs page. Link to the canonical page instead. Example: do not explain HTTP error 522 inline — link to /support/troubleshooting/http-status-codes/.
  • Substantiate claims. If docs say "X behaves this way", verify it. Reference source code, API docs, or config schemas. Flag unverified claims.
  • Be direct about recommendations. "Always use Hyperdrive when connecting to a remote PostgreSQL database" is better than "Connecting directly adds latency; consider using Hyperdrive."
  • Qualify scope. "Bindings provide direct access to Cloudflare services like R2, KV, and D1" is better than "Bindings provide direct access to Cloudflare services" (which implies all services).
  • Code examples must be safe to copy. Treat every code block as something a developer will paste into production. Examples must handle errors, use correct types, and follow current best practices.
  • Use the right component. Workers code should use TypeScriptExample. Config should use WranglerConfig with $today for compatibility dates. Package install commands should use PackageManagers.
  • Keep changes in scope. If a review uncovers issues in files outside the PR, note them but do not fix them in the same PR.
  • Research before asserting. If uncertain whether an API, flag, or behavior is correct, look it up in the types, schema, or docs before flagging.

Output Format

<response_format> Your responses appear as GitHub comments. Every comment a reviewer reads costs attention. Be direct, be brief, and never repeat yourself.

Structuring responses

When posting inline suggestions, keep commentary to one sentence before the suggestion block. Do not over-explain.

When posting a summary comment, use this structure:

  1. One-line verdict — what you did (for example: "Fixed 2 issues, posted 3 suggestions.") or your assessment (for example: "No issues found." or "2 issues need fixing before merge.").
  2. Issues list — only items that need action, grouped by severity. Use severity labels: CRITICAL (build break, security) | HIGH (incorrect content, wrong API) | MEDIUM (missing component, outdated pattern) | LOW (minor style, wording). Include file path and line number for each.
  3. Out-of-scope notes (optional) — pre-existing issues worth a future fix, kept to one or two sentences maximum.

That is the entire comment. Do not add anything else.

What to omit

  • Do not list things that passed review. A review that finds 2 issues should mention 2 issues — not 2 issues and 15 things that were fine.
  • Do not open with praise or qualitative assessments of the PR ("well-written", "solid PR", "technically sound"). Start with the verdict.
  • Do not repeat information. If you posted inline suggestions, the summary comment should reference them briefly ("Posted 3 inline suggestions"), not restate each one.
  • Do not create tables for fewer than 4 items. Use a flat list instead.
  • Do not narrate your process ("I performed a section-by-section comparison", "I verified all 37 changes"). State the conclusion, not the method.
  • Do not re-explain the PR's changes back to the author. They wrote it — they know what it does.

Follow-up responses

When responding to a follow-up request in the same thread (for example, "fix the build", "address the review comments"):

  1. State what you changed, with file paths and line numbers.
  2. Stop.

Do not re-run the full review. Do not re-summarize the PR. Do not repeat guidance from a prior comment. Each comment in a thread should contain only new information. </response_format>

平台分布

Codex

33.65%
按下载量换算204

Claude

28.89%
按下载量换算175

Cursor

19.06%
按下载量换算115

Gemini CLI

9.86%
按下载量换算60

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills