mthds-check
Original:🇺🇸 English
Translated
Check and validate MTHDS bundles for issues. Use when user says "validate this", "check my workflow", "check my method", "does this .mthds make sense?", "review this pipeline", "any issues?", "is this correct?". Reports problems without modifying files. Read-only analysis.
3installs
Sourcemthds-ai/skills
Added on
NPX Install
npx skill4agent add mthds-ai/skills mthds-checkTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Check MTHDS bundles
Validate and review MTHDS bundles based on the MTHDS standard without making changes.
Process
Step 0 — CLI Check (mandatory, do this FIRST)
Run .
mthds-agent --version- If it succeeds: proceed to the next step.
- If it fails or the command is not found: STOP. Do not proceed with this skill. Tell the user:
TheCLI is required but not installed. Install it with:mthds-agentnpm install -g mthdsThen re-run this skill.
Do not write files manually, do not scan for existing methods, do not do any other work. The CLI is required for validation, formatting, and execution — without it the output will be broken.
.mthds-
Read the .mthds file — Load and parse the method
-
Run CLI validation (usepointing to the bundle's own directory to avoid namespace collisions):
-Lbashmthds-agent pipelex validate pipe <file>.mthds -L <bundle-directory>/ -
Parse the JSON output:
- If — all pipes validated, report clean status
success: true - If error — see Error Handling Reference for error types and recovery
- If
-
Cross-domain validation — when the bundle references pipes from other domains, use(see Error Handling — Cross-Domain)
--library-dir -
Analyze for additional issues (manual review beyond CLI validation):
- Unused concepts (defined but never referenced)
- Unreachable pipes (not in main_pipe execution path)
- Missing descriptions on pipes or concepts
- Inconsistent naming conventions
- Potential prompt issues (missing variables, unclear instructions)
-
Report findings by severity:
- Errors: Validation failures from CLI (with and
error_type)pipe_code - Warnings: Issues that may cause problems (e.g., model availability)
- Suggestions: Improvements for maintainability
- Errors: Validation failures from CLI (with
-
Do NOT make changes — This skill is read-only
What Gets Checked
- TOML syntax validity
- Concept definitions and references
- Pipe type configurations
- Input/output type matching
- Variable references in prompts
- Cross-domain references
- Naming convention compliance
- Model preset resolution (dry run)
Reference
- Error Handling — read when CLI returns an error to determine recovery
- MTHDS Agent Guide — read for CLI command syntax or output format details
- MTHDS Language Reference — read when reviewing .mthds TOML syntax
- Native Content Types — read when checking references in prompts to verify the attribute exists on the content type
$var.field