omk-test-debug-loop

Classify failing command output and generate root-cause fix plans.

130|14|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/dmae97/oh-my-kimi --skill omk-test-debug-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omk-test-debug-loop
Source: https://github.com/dmae97/oh-my-kimi/tree/main/templates/skills/agents/omk-test-debug-loop
Command: npx skills add https://github.com/dmae97/oh-my-kimi --skill omk-test-debug-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you recover from failing lint, typecheck, test, or build commands by turning noisy failures into a small, verifiable sequence of targeted fixes.

Core Features & Use Cases

  • Failure classification: Categorizes errors (syntax, type, dependency, runtime, assertion, environment, or flaky) to prevent guessing.
  • Root-cause-driven changes: Guides you to identify the smallest related file set and fix the underlying cause rather than patching symptoms.
  • Repeated verification: Re-runs the failing command and optionally runs adjacent checks while applying strict rules that protect test integrity and type correctness.

Quick Start

Use this when your CI or local command fails by having the AI capture the exact failing command and output, classify the failure, propose the smallest root-cause fix, and provide a structured report for the re-run result.

Frequently Asked Questions about omk-test-debug-loop

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

FAQPage Schema
How do I fix failing lint, typecheck, or build commands without breaking tests?

Fix failing lint, typecheck, or build commands by capturing the exact command output, classifying the failure type, and applying a minimal root-cause fix. Re-run the failing command to verify the change while maintaining strict test and type integrity.

What is the best way to debug test failures and identify the root cause?

Debug test failures by converting command output into a classified failure category like syntax, type, dependency, or flaky. This classification prevents guessing and guides you to identify the smallest related file set for a targeted root-cause fix.

How do I triage CI build failures when the command output is noisy?

Triage CI build failures by capturing the exact failing command output and transforming it into a classified, structured report. This process isolates the underlying error and generates a verifiable sequence of targeted fixes rather than patching symptoms.

Can I use automated debugging for iterative development with minimal code changes?

Yes, automated debugging suits iterative development requiring minimal changes by selecting the smallest related file set. After applying a fix, it re-runs the failing command and adjacent checks, stopping with a blocker report if repeated failures occur.

Why does my debugging loop keep failing after applying fixes to the failing command?

Your debugging loop may repeatedly fail because symptom patches are applied instead of root-cause fixes. Classify the exact error, target the smallest file set, re-run the command, and stop with a blocker report if failures persist to avoid endless loops.

Does this debugging approach work for both local development and CI triage?

Yes, this debugging approach works for both local development and CI triage. It requires capturing the exact failing command and output, classifying the failure, and providing a structured report for the re-run result to verify the fix.