irule-scaffold

Generate Tcl iRule skeletons with event handlers and log gating.

59|6|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/bitwisecook/tcl-lsp --skill irule-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: irule-scaffold
Source: https://github.com/bitwisecook/tcl-lsp/tree/main/ai/claude/skills/irule-scaffold
Command: npx skills add https://github.com/bitwisecook/tcl-lsp --skill irule-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the creation of Tcl iRule skeletons, providing a structured starting point for event-driven logic on F5 BIG-IP load balancers.

Core Features & Use Cases

  • Event-driven scaffolding: Generates a template based on specified iRule events.
  • Best practice enforcement: Includes log gating, local variable extraction for common HTTP events, and placeholder sections.
  • Use Case: Quickly generate a new iRule for handling CLIENT_ACCEPTED and HTTP_REQUEST events, complete with basic logging and variable extraction, so you can focus on the core logic.

Quick Start

Generate an iRule skeleton including the CLIENT_ACCEPTED and HTTP_REQUEST events.

Frequently Asked Questions about irule-scaffold

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

FAQPage Schema
How do I generate an F5 iRule skeleton for specific events?

To generate an F5 iRule skeleton, specify your desired event names like CLIENT_ACCEPTED or HTTP_REQUEST. The scaffolding tool then creates a structured Tcl template with event handlers, log gating, and local variable extraction for immediate development.

What is the best way to scaffold Tcl iRules for HTTP_REQUEST events?

The best way to scaffold Tcl iRules for HTTP_REQUEST events is using an event-driven generator that automatically includes local variable extraction and placeholder comments. This enforces best practices while letting you focus on writing the core load balancing logic.

Can I validate generated iRules using a Tcl diagnostics tool?

Yes, you can validate generated iRules using a Tcl AI diagnostics tool. After scaffolding the event handlers and placeholder logic, the tool checks the Tcl syntax to ensure your F5 BIG-IP configuration is structurally sound before deployment.

Do I need to manually add log gating when creating F5 BIG-IP iRules?

No, you do not need to manually add log gating when creating F5 BIG-IP iRules. The scaffolding process automatically includes log gating and placeholder comments within the generated event handlers to follow structured configuration best practices.

Does iRule scaffolding support events beyond standard HTTP load balancing?

Yes, iRule scaffolding supports events beyond standard HTTP load balancing. You can specify any valid F5 BIG-IP event name, such as CLIENT_ACCEPTED, to generate customized Tcl event handlers tailored to your specific network traffic processing requirements.

Why are local variables automatically extracted in my generated HTTP iRule?

Local variables are automatically extracted in your generated HTTP iRule to streamline event handling. This scaffolding feature provides immediate access to common HTTP request data, reducing boilerplate code so you can implement your F5 traffic logic faster.