Skip to content
Kitbay
Skill

tidb-change-instruction-critic

Apache-2.0Updated on Nov 11, 202640,730GitHub stars

A contributor skill in the TiDB repository that has the agent assess a fix proposed by a user or reviewer before carrying it out.

What the skill teaches

A contributor skill in the TiDB repository that has the agent assess a fix proposed by a user or reviewer before carrying it out. The suggested method is treated as a hypothesis to test against the intended outcome and existing contracts, while explicit requirements stay fixed and SQL behaviour is not changed for convenience. The agent first investigates the problem in code, tests and review context, then weighs correctness, compatibility, performance, maintainability and how the change can be checked, choosing the option that meets the contract. It asks a short question only for unresolved requirements or tradeoffs the user must decide, otherwise proceeds, keeps the diff focused and reports behaviour, evidence and remaining risks.

Capabilities

  • Test a proposed fix against the intended outcome
  • Weigh correctness, compatibility and performance
  • Ask only about unresolved requirements
  • Report behaviour, evidence and remaining risks