Individual skill
regulex-plus
Visualize a JavaScript regular expression as a railroad diagram (PNG/SVG) or a Mermaid flowchart by shelling out to the `regulex-plus` CLI. Use whenever the user asks to explain, debug, understand, optimize, or document a regex — especially complex patterns with quantifiers, lookarounds, alternations, or CJK/Chinese characters — and also proactively after you yourself generate or modify a non-trivial regex, so the user can verify it visually. Pick Mermaid for embedding in docs / PRs / chats that render Mermaid natively (GitHub, Notion, Obsidian, mermaid.live); pick PNG for inline image preview anywhere; pick SVG for editable vector documents.
SKILL.md
Source commit 46a9042dc2d725b9e7b39b5144c7b11768afa81f
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3
- Repository last updated
- May 30, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agent Repository topic
- chinese Repository topic
- cjk Repository topic
- claude-code Repository topic
- claude-skill Repository topic
- cli Repository topic
- playwright Repository topic
- railroad-diagram Repository topic
- regex Repository topic
- regex-visualizer Repository topic
- docs Derived category
- productivity Derived category
- productivity-notes Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 207 bytesLICENSEasset · 1,069 bytesREADME.en.mddoc · 3,292 bytesREADME.mddoc · 3,343 bytesSKILL.mdcore · 7,405 bytesSKILL.mdcore · 7,405 bytesSKILL.mdcore · 7,405 bytesSKILL.mdcore · 7,405 bytesbin/regulex-plus.mjsruns · 7,739 bytesdocs/index.htmlasset · 183,357 bytespackage-lock.jsonasset · 608,515 bytespackage.jsonruns · 3,015 bytesprettier.config.jsruns · 164 bytessrc/AST.tsruns · 12,083 bytessrc/Kit.tsruns · 27,141 bytessrc/Parsec.tsruns · 35,488 bytessrc/Unicode.tsruns · 112,569 bytessrc/UnicodeProperty.tsruns · 7,524 bytessrc/grammar/Base.tsruns · 21,140 bytessrc/grammar/JSRE.tsruns · 5,692 bytessrc/grammar/index.tsruns · 47 bytessrc/index.tsruns · 172 bytessrc/tools/buildUnicode.tsruns · 5,771 bytessrc/tools/fetchUnicodeProperty.jsruns · 1,053 bytessrc/web/EventEmitter.tsruns · 3,163 bytessrc/web/HTML.tsruns · 3,377 bytessrc/web/RegexEditor.tsruns · 4,384 bytessrc/web/TextEditor.tsruns · 4,693 bytessrc/web/index.htmlasset · 3,756 bytessrc/web/main.tsruns · 529 bytessrc/web/style/RegexEditor.local.cssasset · 959 bytessrc/web/style/RegexEditor.local.css.d.tsruns · 272 bytessrc/web/style/main.cssasset · 3,219 bytessrc/web/style/main.css.d.tsruns · 497 bytestest/Demo.tsruns · 421 bytestest/KitSpec.tsruns · 8,812 bytestest/ParsecSpec.tsruns · 8,723 bytestest/benchmark/Charset.tsruns · 996 bytestest/benchmark/Parsec.tsruns · 1,989 bytestest/grammar/BaseGen.tsruns · 19,602 bytestest/grammar/JSRESpec.tsruns · 2,057 bytestest/utils.tsruns · 5,773 bytestsconfig.jsonasset · 359 byteswebpack.config.tsruns · 3,104 bytes
Read excerpt
# regulex-plus
Render any JavaScript regex as a railroad diagram saved to a local image file. Wraps the regulex-plus web visualizer in a headless-browser CLI, so it works in any Node environment without manual screenshots.
## When to use
Invoke this skill when **any** of the following holds:
- The user asks to **explain / understand / 解释 / 看懂** a regex.
- The user is **debugging or optimizing** a regex and would benefit from a structural view.
- The regex contains **CJK characters / 中文** — regulex-plus has native CJK width handling that generic visualizers lack.
- The regex has **alternations, nested groups, lookarounds, backreferences, or non-trivial quantifiers** that are hard to read inline.
- You (Claude) just **generated or rewrote a regex** in a code change — offer the user a visual to confirm intent.