← ClaudeAtlas

regtraxlisted

INVOKE THIS SKILL when: visualizing regex patterns, debugging regular expressions, explaining regex to users, building regex from natural language, testing regex patterns interactively, or when railroad diagrams would help understand complex patterns. Generates animated railroad diagrams in the browser with live testing.
jord0-cmd/jord0.skills · ★ 0 · AI & Automation · score 73
Install: claude install-skill jord0-cmd/jord0.skills
# REGTRAX — Regex Railroad Visualizer > "Don't just write Regex. Replay it." **Author:** jord0 | **Version:** 1.0 --- ## Prerequisites - Python 3 (for `http.server`) - Modern browser (Chrome, Firefox, Safari, Edge) --- ## Usage Describe what you want to match, or paste a regex you want to understand. REGTRAX generates an animated railroad diagram and serves it in your browser. ``` Match email addresses that end in .gov or .mil ``` ``` Debug this regex: ^(\d{4}-\d{2}-\d{2})\s(INFO|WARN|ERROR)\s(\w+):\s(.+)$ ``` ``` Explain this pattern — I inherited it and nobody knows what it does ``` ### What You See A dark-themed railroad diagram with colour-coded nodes: cyan for literals, amber for character classes, violet for quantifiers, emerald for groups, rose for anchors. Type a test string and watch a photon walk the track — green on match, red on failure with the exact derailment point highlighted. --- ## When to Invoke - User asks for help writing a regex - User wants to understand/debug an existing regex - User says "regex", "pattern", "match", "railroad", "visualize" - User provides a natural language description of what to match - User has a regex that isn't working and wants to see why --- ## Capability Lookup | Task | REGTRAX Does | |------|-------------| | Natural language → regex | Write the pattern + explanation | | Explain existing regex | Parse it, describe each part | | Debug failing regex | Visualize where the match fails | | Test regex interactively