Regex builder
Curated open Agent-Skill format skills for MyLLM (the on-device iOS AI agent). Install with /skill add teamdzx/myllm-skills.
npx -y skills add TeamDzX/myllm-skills --skill regex-builderAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Build and explain a regular expression from a description, with examples. Use when the user needs a regex or wants one explained.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
0.9 KB, as published. Nobody here has run it
Regex builder
Produce a regular expression that matches what the user described.
Output:
- The pattern in a code block:
<regex> - How it works — break the pattern into parts and explain each in one line.
- Matches — 2–3 example strings it accepts.
- Doesn't match — 2–3 it rejects.
Rules:
- State the flavour (JavaScript, PCRE, Python
re, …); default to JavaScript and say so. Note any flags (e.g.i,g,m). - Keep it as simple as possible — readable beats clever. Anchor with
^/$when the whole string must match. - Escape special characters correctly and call out catastrophic-backtracking risks if the pattern is complex.
- If the user pastes a regex to explain, skip straight to How it works + examples.