tidb
AI agent workflows for building and testing the TiDB database
All Skills in This Repository (10)
Pure Emerald Level Indicatorstidb-test-guidelines
Provide guidelines for writing and placing tests in the TiDB codebase.
tidb-test-diff-triage
Diagnose unexpected TiDB test diffs by ruling out failpoint setup and bisecting merged commits.
tidb-issue-metadata-guard
Standardizes TiDB GitHub issue creation and editing with templates, labels, and structured descriptions.
tidb-failpoint-test-runner
Determines failpoint enablement requirements before running TiDB package tests.
tidb-realtikv-runner
Runs TiDB realtikvtest suites against a local TiUP playground with readiness checks and cleanup.
tidb-verify-profile
Selects appropriate local validation scope for TiDB code changes using tiered verification profiles.
tidb-pr-metadata-guard
Preserves TiDB pull request template structure while editing mutable PR metadata fields.
tidb-integrationtest-recorder
Records TiDB integration test results and keeps regenerated result diffs minimal.
tidb-change-instruction-critic
Validates prescribed code change instructions against TiDB correctness and compatibility constraints before implementation.
tidb-bazel-prepare-gate
Determines whether make bazel_prepare is required before TiDB build or test commands.
Frequently Asked Questions
FAQPage SchemaHow to install TiDB agent skills?โผ
Run `npx skills add pingcap/tidb --all -g -y` in your terminal to install all skills in this suite globally.
What do the TiDB agent skills do?โผ
They teach your AI agent how to build, test, and submit changes to the TiDB database correctly, covering Bazel builds, failpoint tests, and PR metadata rules.
How do agents decide which TiDB tests to run?โผ
The skills map each changed code path to the smallest required test set, so the agent runs targeted unit or integration tests instead of slow full-suite runs.
Do these skills work with Claude Code and other agents?โผ
Yes. They follow the standard SKILL.md format and work in Claude Code, OpenClaw, Cursor, and other compatible AI coding agents.
Can agents create TiDB pull requests automatically?โผ
Yes. Dedicated skills keep PR titles, templates, labels, and linked issues consistent with TiDB repository requirements when the agent creates or edits PRs.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core