fix-codegen-sql

Analyze structured test results and fix SQL code generation failures.

2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/keturk/datrix --skill fix-codegen-sql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-codegen-sql
Source: https://github.com/keturk/datrix/tree/main/claude-config/.claude/skills/fix-codegen-sql
Command: npx skills add https://github.com/keturk/datrix --skill fix-codegen-sql

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill automates the diagnosis and fixing of failures, errors, and warnings in SQL code generation processes, reducing manual troubleshooting time and improving efficiency.

Core Features & Use Cases

  • Automated Diagnostic and Fixing: Identifies and corrects common issues in SQL code generation, such as syntax errors or schema discrepancies.
  • Use Case: When an SQL code generation task fails, this skill can be used to automatically generate and apply fixes based on structured test results, streamlining the correction process.

Quick Start

Run the fix-codegen-sql skill with the path to your test results JSON file, e.g., '/fix-codegen-sql path/to/index.json'.

Frequently Asked Questions about fix-codegen-sql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate fixing SQL code generation failures from test results?

You can automate fixing SQL code generation failures by running a skill that processes structured test result JSON files to identify and correct generator source code errors. It analyzes the test outputs to automatically generate and apply the necessary fixes.

What is the best way to resolve schema discrepancies and syntax errors in SQL codegen?

Resolving schema discrepancies and syntax errors in SQL codegen is best handled by automated diagnostic tools that analyze structured test results to identify the root cause and apply corrections to the generator source code automatically.

How do I use structured test results to fix SQL codegen bugs?

To use structured test results for fixing SQL codegen bugs, provide the path to your test results JSON file when running the automation skill. It processes the structured failure data to diagnose and patch the underlying generator source code.

Can I automatically correct SQL code generation warnings and errors during debugging?

Yes, you can automatically correct SQL code generation warnings and errors during debugging. The automation skill identifies common issues like syntax errors from test results and applies fixes directly to the generator source code to streamline development.

Do I need a specific file format to automate SQL codegen failure analysis?

Yes, you need your test results structured in a JSON file format to automate SQL codegen failure analysis. Providing the path to this JSON file allows the skill to process the diagnostic data and automatically fix the generator source code.

Are there limitations to automating SQL codegen bug fixes with test analysis?

Automating SQL codegen bug fixes with test analysis is limited to issues identifiable through structured test results, such as syntax errors and schema discrepancies. It is designed for development environments and may not cover unstructured or undocumented generation failures.