Use when creating or editing TiDB pull requests so PR title scope, PR template fields, hidden HTML comments, and bot-parsed checklist sections stay intact. Trigger on tasks involving PR creation, PR body updates, issue linking from a PR, test checklist updates, or investigating labels like do-not-merge/needs-tests-checked.
68
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill for TiDB GitHub pull request metadata updates. The goal is to preserve repository-required PR structure while editing only the mutable fields.
Before changing a PR body, read .github/pull_request_template.md.
.github/pull_request_template.md instead of writing the body from scratch.
pkg [, pkg2, pkg3]: what is changed or *: what is changed.pkg means the TiDB module area, not a literal Go package path. For example, changes under pkg/planner/core usually map to planner, not pkg/planner/core.gh pr create -T .github/pull_request_template.md.Issue Number:, Problem Summary:, the content under ### What changed and how does it work?, test checkbox states and concrete commands, and the release-note block.Tests <!-- At least one of them must be included. --> unchanged.No need to test nested block and its HTML comment unchanged.tidb-issue-metadata-guard to create or identify the issue first, then patch only the Issue Number: line in the PR body.gh.do-not-merge/needs-linked-issuedo-not-merge/needs-tests-checked.github/pull_request_template.md before changing anything else.Issue Number: line, and that line can reference one or more related issues with full keyword syntax such as close #<id> and ref #<id>.planner, executor, or *:, not raw Go package paths such as pkg/planner/core.Tests line still includes the template HTML comment verbatim.No need to test is checked with a reason.e70762e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.