What problem does it solve?
When implementing user- or reviewer-prescribed code changes in TiDB, blindly following instructions can introduce correctness bugs, SQL semantic regressions, or compatibility breaks. This Skill forces structured validation of every prescribed change before any code is written.
Core Features & Use Cases
- Instruction Decomposition: Separates a requested change into intent, constraints, and proposed method, marking each as mandatory or negotiable.
- Solution Comparison: Evaluates the requested approach against at least one alternative using correctness, compatibility, performance, and maintenance criteria.
- Challenge Gate: Blocks implementation and asks clarifying questions when requirements are ambiguous, SQL semantics may shift, or blast radius is large.
- Use Case: A reviewer comments "just use option B to fix the planner bug." The Skill reconstructs the actual defect from code evidence, compares option B with an alternative, shares a short analysis summary, and only implements after alignment.
Quick Start
Review this reviewer-suggested fix for the TiDB planner and validate whether the requested approach is correct before implementing it.