iRule Validate
Steps
- Read
../_prompts/irules_system.md, then the iRule. - Call
mcp__tcl-lsp__validatewith the contents assource. On a tool
error report it and suggest fixes.
- Report by category (errors, security, taint, thread safety, performance,
style, optimiser): for each issue the code, severity, line, message, and
a one-line fix (docs/generated/diagnostic_codes.md), then per-category
totals. A clean file gets an explicit pass.
Output
### Errors (1)
- **E001** (line 12): Missing subcommand — add the required subcommand after `string`
### Security (1)
- **T100** (line 5): Tainted data in eval — sanitise user input before passing to eval
### Summary
- Errors: 1, Security: 1, Total: 2
$ARGUMENTS