What problem does it solve?
This Skill automates the creation and validation of Tcl iRules, ensuring they are syntactically correct and adhere to best practices.
Core Features & Use Cases
- iRule Generation: Creates Tcl iRules based on user-provided descriptions.
- LSP Validation: Integrates with a Tcl Language Server Protocol (LSP) to check for errors and warnings.
- Iterative Refinement: Automatically attempts to fix identified issues up to a set number of iterations.
- Use Case: A network administrator needs a new iRule to handle specific traffic conditions. They describe the desired logic, and this Skill generates the Tcl code, validates it, and provides a clean, commented script.
Quick Start
Use the irule-create skill to generate a new iRule based on the description: "Log all incoming HTTP requests to the /api/v1 endpoint and redirect them to the /legacy endpoint if the user agent is 'OldBrowser'."