irule-datagroup

Community

Optimize iRules with Data-Groups

Authorbitwisecook
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of identifying and extracting inline lookup patterns within Tcl iRules, converting them into efficient BIG-IP data-groups for improved performance and maintainability.

Core Features & Use Cases

  • Pattern Identification: Detects various lookup patterns like if/elseif chains and switch statements.
  • Data-Group Conversion: Generates both the iRule code using class match/class lookup and the corresponding tmsh data-group definitions.
  • Type Awareness: Infers and correctly handles string, IP/CIDR, and integer data-group types.
  • Use Case: Refactor a complex iRule with numerous hardcoded IP addresses into a single IP data-group, making it easier to manage and update network access rules.

Quick Start

Use the irule-datagroup skill to analyze the iRule file named 'my_irule.tcl' for data-group extraction opportunities.

Dependency Matrix

Required Modules

tcl_ai.py

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: irule-datagroup
Download link: https://github.com/bitwisecook/tcl-lsp/archive/main.zip#irule-datagroup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.