Skip to content

ai: add release notes SKILL#22712

Open
Oreoxmt wants to merge 1 commit intopingcap:masterfrom
Oreoxmt:skill/release-notes
Open

ai: add release notes SKILL#22712
Oreoxmt wants to merge 1 commit intopingcap:masterfrom
Oreoxmt:skill/release-notes

Conversation

@Oreoxmt
Copy link
Copy Markdown
Collaborator

@Oreoxmt Oreoxmt commented Apr 8, 2026

First-time contributors' checklist

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@Oreoxmt Oreoxmt added the translation/no-need No need to translate this PR. label Apr 8, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 8, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign breezewish for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 8, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 8, 2026

@Oreoxmt: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-verify eda001b link true /test pull-verify

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive AI skill for writing, reviewing, and translating TiDB release notes, including detailed reference guides for bug fixes, improvements, and compatibility changes. The documentation establishes strict style rules for both English and Chinese content, such as specific opening verbs, inline code conventions, and bilingual alignment workflows. The review feedback focuses on improving the clarity and directness of these instructions by adhering to the style guide's preference for active voice and second-person address.


- Each English section must have an exact Chinese counterpart.
- Example: If the English file has `### Behavior changes`, the Chinese file must have `### 行为变更`.
- Missing sections are considered defects. See SKILL.md for section heading mappings.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice to improve clarity and follow the style guide's preference for direct instructions.

Suggested change
- Missing sections are considered defects. See SKILL.md for section heading mappings.
- Treat missing sections as defects. See SKILL.md for section heading mappings.
References
  1. Avoid passive voice overuse. (link)

- Improvement: `[Action verb] [what was improved, added, or supported] [#NNNNN](https://github.com/pingcap/tidb/issues/NNNNN) @[contributor](https://github.com/contributor)`
4. Draft the Chinese entry with the matching pattern
5. Verify issue numbers match exactly between English and Chinese
6. Verify anchor suffix format if doc links are included
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice and address the user directly as 'you' to maintain consistency with the style guide.

Suggested change
6. Verify anchor suffix format if doc links are included
6. Verify the anchor suffix format if you include documentation links
References
  1. Write in second person ('you') when addressing users. (link)
  2. Avoid passive voice overuse. (link)


## English style rules

Lead with a fix verb phrase. The accepted patterns, listed roughly by frequency in published v6.1+ notes:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Rephrase to use active voice for a more direct and professional tone.

Suggested change
Lead with a fix verb phrase. The accepted patterns, listed roughly by frequency in published v6.1+ notes:
Lead with a fix verb phrase. Use the following accepted patterns, which are listed roughly by frequency in published v6.1+ notes:
References
  1. Avoid passive voice overuse. (link)

* `修复 [X] 的问题` (most common)
* `修复 [X] 可能 [崩溃/panic/卡住/报错] 的问题` (non-deterministic failures)
* `修复 [X] 导致 [Y] 的问题` (cause-effect issues)
* `禁止 [X]` (used when the fix introduces a restriction rather than a repair; rare)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice in the parenthetical instruction to follow the style guide.

Suggested change
* `禁止 [X]` (used when the fix introduces a restriction rather than a repair; rare)
* 禁止 [X] (Use this when the fix introduces a restriction rather than a repair; rare)
References
  1. Avoid passive voice overuse. (link)


## Behavior changes

Each behavior change is written as a paragraph, not a table row. A complete entry must include:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice to provide clear, direct instructions to the user.

Suggested change
Each behavior change is written as a paragraph, not a table row. A complete entry must include:
Write each behavior change as a paragraph, not a table row. A complete entry must include:
References
  1. Avoid passive voice overuse. (link)

3. The reason for the change (optional but recommended for significant changes)
4. A documentation link: "For more information, see [documentation](/path.md#anchor)." / "更多信息,请参考[用户文档](/path.md#锚点)。"

Omitting either the old behavior or the new behavior is considered a defect.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Rephrase to active voice to improve the strength of the instruction.

Suggested change
Omitting either the old behavior or the new behavior is considered a defect.
Treat the omission of either the old behavior or the new behavior as a defect.
References
  1. Avoid passive voice overuse. (link)


### Anchor suffix convention

For variables introduced in this version, the documentation anchor includes a version suffix:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice and address the user directly to follow the style guide.

Suggested change
For variables introduced in this version, the documentation anchor includes a version suffix:
For variables that you introduce in this version, include a version suffix in the documentation anchor:
References
  1. Write in second person ('you') when addressing users. (link)
  2. Avoid passive voice overuse. (link)

- Entry [#NNNNN](https://github.com/pingcap/tidb/issues/NNNNN) @[contributor](https://github.com/contributor)
```

Component groups use `+`, and individual entries use `-`. Tools are nested one level deeper under `+ Tools`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice for the instruction regarding nesting tools.

Suggested change
Component groups use `+`, and individual entries use `-`. Tools are nested one level deeper under `+ Tools`.
Component groups use `+`, and individual entries use `-`. Nest tools one level deeper under `+ Tools`.
References
  1. Avoid passive voice overuse. (link)


State the user benefit explicitly. Explain why the change matters in terms of performance, stability, or capability. For example, instead of "Not use the stale read request's `start_ts` to update `max_ts`," write "Avoid excessive commit request retrying by not using the Stale Read request's `start_ts` to update `max_ts`."

Metric claims are encouraged when sourced, such as "up to 10 times performance improvement" or "improves performance by up to 62.5%."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Use active voice and address the user directly to encourage best practices.

Suggested change
Metric claims are encouraged when sourced, such as "up to 10 times performance improvement" or "improves performance by up to 62.5%."
Encourage metric claims when you have a source, such as "up to 10 times performance improvement" or "improves performance by up to 62.5%."
References
  1. Write in second person ('you') when addressing users. (link)
  2. Avoid passive voice overuse. (link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant