What problem does it solve?
TiDB GitHub issues often end up with inconsistent titles, missing template sections, wrong labels, or descriptions that bury key reproduction details, making triage and search difficult. This Skill enforces the repository's issue workflow so every bug report or tracking issue stays consistent and searchable.
Core Features & Use Cases
- Template-driven issue creation: Starts new issues from the matching file under
.github/ISSUE_TEMPLATE/ and fills sections with concrete values instead of placeholders.
- Label hygiene: Applies
component/*, severity/*, and affected-version labels explicitly via gh, with fallback comment-based labeling when permissions are missing.
- Readable issue bodies: Keeps top-level repro summaries visible while folding long SQL, logs, and plans into
<details> blocks, and preserves untouched sections when editing existing issues.
- Use Case: When filing a TiDB wrong-result bug, the Skill searches existing issues first, drafts the body from the bug report template with minimal reproduction and version info, folds the full SQL into a details block, and applies
severity/major plus the right component label.
Quick Start
Use the tidb-issue-metadata-guard skill to create a TiDB bug report issue from the repository template with proper labels and a folded reproduction section.