Review a TiDB documentation pull request or Markdown diff for factual accuracy, user usefulness, structure, completeness, version fit, links, and repo-style issues in pingcap/docs.
Use this skill when the task is to review a documentation PR, a Markdown diff, or changed documentation content in pingcap/docs.
Read only the files that matter for the current review:
.ai/shared/repo-conventions.md.ai/shared/writing-style.mddoc-review-prompt.txt when you need to mirror the repo's AI review behaviorresources/doc-templates/<relevant-template>.md if the doc type mattersAlso inspect the PR description, linked issues, nearby docs, and other relevant context when needed to understand what changed, why it changed, who it affects, and which versions or branches are in scope.
Review from the user's perspective, not only the author's.
Treat this skill as having two equally important responsibilities:
.ai/shared/writing-style.md.Do not treat writing-style review as optional after the technical review. Both are part of the default review scope. When the original English content does not meet the bar for technical writing quality, improve it so the content becomes more logical, clear, concise, and easy to understand, while preserving technical meaning and scope.
Ask:
Do not stop at wording fixes. Review for user impact, missing context, hidden confusion, and maintenance risk.
Check issues in this order:
When the PR is authored by an automated translation bot such as ti-chi-bot, prioritize review of English grammar, spelling, punctuation, clarity, and terminology consistency. Still flag factual, terminology, or user-facing accuracy issues when they are visible from the changed content.
Check whether:
summaryCheck whether:
Check whether:
Check whether:
Pay special attention to version-sensitive changes.
Check whether the document tells the user:
Also check whether:
Check whether:
Check whether:
Check whether:
Check whether:
gh pr view <pr>gh pr diff <pr>./scripts/markdownlint <files>