Loading...
Loading...
Fix issues in MTHDS bundles. Use when user says "fix this workflow", "fix this method", "repair validation errors", "the pipeline is broken", "fix the .mthds file", after /check found issues, or when validation reports errors. Automatically applies fixes and re-validates in a loop.
npx skill4agent add mthds-ai/skills fix-Lmthds-agent pipelex validate <file>.mthds -L <bundle-directory>/success: trueerror_type: "ValidateBundleError"validation_errorserror_type| Error Type | Fix Strategy |
|---|---|
| Add the missing variable(s) to the parent pipe's |
| Remove the unused variable(s) from the pipe's |
| Correct the concept type in |
| Change the |
| Add or remove |
| Restructure the method to break the cycle |
| Use PipeImgGen instead of PipeLLM for image generation |
| Ensure PipeImgGen input is text-based (use |
| Rename the pipe to valid snake_case |
| Add the concept definition to the bundle, or fix the typo |
| Rename |
# WRONG
inputs = {
a = "A",
b = "B"
}
# CORRECT
inputs = { a = "A", b = "B" }# CORRECT: main pipe first, then sub-pipes in execution order
[pipe.main_workflow]
type = "PipeSequence"
steps = [
{ pipe = "step_one", result = "intermediate" },
{ pipe = "step_two", result = "final" }
]
[pipe.step_one]
...
[pipe.step_two]
...descriptiontypeoutputmthds-agent pipelex validate <file>.mthds -L <bundle-directory>/success: truemissing_input_variableinput_stuff_spec_mismatch--log-level debugmthds-agent --log-level debug pipelex validate <file>.mthds -L <bundle-directory>/