Troubleshoot Generated Code Skill

Trace generated code test failures back to Datrix codegen sources.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides in-depth diagnosis for issues in generated code, helping users trace problems back to their root cause.

Core Features & Use Cases

  • Diagnosis of Generated Code Failures: Investigates and documents failures in generated code tests.
  • Codegen Source Tracing: Traces errors back to Datrix codegen sources, including templates, generators, and .dtrx files.
  • Documentation and Reporting: Produces detailed, timestamped situation reports for further analysis.
  • Scope Management: Assesses the scope of investigations and recommends focused sessions to manage complexity.

Quick Start

Run the /troubleshoot-generated command with the log folder path(s) of the failed tests.

Frequently Asked Questions about Troubleshoot Generated Code Skill

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

FAQPage Schema
How do I diagnose failures in generated code tests?

Diagnosing generated code test failures involves tracing errors back to codegen sources like templates, generators, and .dtrx files to identify root causes and produce timestamped situation reports for analysis.

What is root cause analysis for Datrix codegen source tracing?

Root cause analysis for Datrix codegen source tracing is the process of investigating generated code test failures by examining templates, generators, and .dtrx files to pinpoint the exact origin of errors.

How do I troubleshoot unit and deploy test failures in Datrix-generated projects?

You troubleshoot unit and deploy test failures in Datrix-generated projects by providing failed test log folder paths to the diagnostic command, which analyzes structured output to trace errors back to codegen sources.

Do I need access to Datrix-generated projects to diagnose generated code issues?

Yes, you need access to Datrix-generated projects and their corresponding test results to effectively diagnose generated code issues and trace failures back to their codegen sources.

What are the limitations when diagnosing generated code failures?

A key limitation when diagnosing generated code failures is investigation scope; the Skill assesses complexity and recommends focused sessions to manage large-scale troubleshooting effectively.