ai/claude/skills/irule-event/SKILL.md
Look up iRules event or command reference from authoritative LSP registry metadata. Shows which commands are valid in an event, or which events support a command. Use when looking up iRules events, checking F5 iRule command availability, querying iRule event-command compatibility, or finding which events support a specific iRules command.
npx skillsauth add bitwisecook/tcl-lsp irule-eventInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Look up event or command information from the iRules registry.
Read the domain knowledge from ai/prompts/irules_system.md
Determine what the user is asking about:
Run the appropriate lookup:
For events:
uv run --no-dev python ai/claude/tcl_ai.py event-info EVENT_NAME
For commands:
uv run --no-dev python ai/claude/tcl_ai.py command-info COMMAND_NAME
If the tool fails (e.g. unknown event/command name), report the error and suggest similar event/command names if possible
Present the registry metadata (authoritative facts), then provide practical guidance:
For events:
For commands:
The registry metadata is authoritative -- always present it as facts. Supplement with practical guidance, but clearly separate facts from advice.
$ARGUMENTS
development
Apply LSP optimiser suggestions to a Tcl file and explain why each optimisation is safe and beneficial. Covers constant folding, propagation, dead code elimination, strength reduction, and expression canonicalisation. Use when optimising Tcl code, improving .tcl file performance, refactoring Tcl scripts for efficiency, or applying language server optimisation suggestions.
development
Apply LSP optimiser suggestions to an F5 iRule and explain why each optimisation is safe and beneficial. Covers constant folding, propagation, dead code elimination, strength reduction, and expression canonicalisation. Use when optimising iRule code, improving iRule performance, applying F5 iRule optimisations, or refactoring iRules for efficiency.
development
Create Tk GUI code from a description with proper widget hierarchy. Generates the code, validates with the LSP analyser (including TK-specific checks), and iterates until clean. Use when creating Tk GUIs, generating Tcl/Tk code from descriptions, building Tk widget layouts, or scaffolding Tk applications.
development
Run full LSP validation on a Tcl file and produce a categorised report of all issues: errors, security, style, and optimiser suggestions. Use when validating Tcl code, linting .tcl files, checking Tcl script quality, or running static analysis on Tcl scripts.