regex-builder
by Kevin Cline
Convert plain English into tested regex patterns and explain existing ones across multiple language flavors.
- Generate flavor-specific regex for JS, Python, Go, Rust, and PHP.
- Translate complex legacy regex patterns into plain English explanations.
- Verify patterns with 5 automatically generated match/no-match test cases.
$12
One-time purchase · Own forever
Included in download
- Generate flavor-specific regex for JS, Python, Go, Rust, and PHP.
- Translate complex legacy regex patterns into plain English explanations.
- Includes example output and usage patterns
See it in action
Pattern: /^[a-z0-9]+(?:-[a-z0-9]+)*$/ Summary: Matches a valid URL slug. Breakdown: ^ : Start of string [a-z0-9]+ : One or more alphanumeric chars (?:-[a-z0-9]+)* : Optional groups of a hyphen followed by chars $ : End of string Match: "my-post-2024" No Match: "-invalid-"
regex-builder
by Kevin Cline
Convert plain English into tested regex patterns and explain existing ones across multiple language flavors.
$12
One-time purchase · Own forever
⚡ Also available via Agensi Pro — your AI agent can load this skill on demand via MCP. Learn more →
Included in download
- Generate flavor-specific regex for JS, Python, Go, Rust, and PHP.
- Translate complex legacy regex patterns into plain English explanations.
- Includes example output and usage patterns
- Instant install
- One-time purchase
See it in action
Pattern: /^[a-z0-9]+(?:-[a-z0-9]+)*$/ Summary: Matches a valid URL slug. Breakdown: ^ : Start of string [a-z0-9]+ : One or more alphanumeric chars (?:-[a-z0-9]+)* : Optional groups of a hyphen followed by chars $ : End of string Match: "my-post-2024" No Match: "-invalid-"
About This Skill
What it does
The Regex Builder is a dual-mode utility designed to eliminate the frustration of working with regular expressions. It functions as both a generator and a translator: it can convert complex natural language requirements into optimized regex patterns, or take an existing arcane regex string and break it down into a human-readable explanation.
How it works
For developers building new features, the skill parses intent (data type, constraints, and context) to construct patterns tailored to specific language flavors including JavaScript, Python, Go, Rust, and PHP. In reverse, the "Explain Mode" performs a token-by-token analysis of any provided regex to reveal exactly what it matches and where it might fail.
Why use this skill
Unlike general-purpose AI prompting, this skill follows a structured architectural process: it accounts for engine-specific limitations (like RE2's lack of lookarounds), provides validated test cases (3 matches, 2 non-matches), and generates ready-to-run code snippets. It ensures your patterns are not just syntactically correct, but also optimized for your specific programming environment.
Output format
- Flavor-Specific Patterns: Correct syntax for your chosen language engine.
- Logical Breakdowns: Token-by-token explanations of what every metacharacter does.
- Unit Tests: Concrete examples of strings that will and will not match.
- Implementation Code: Boilerplate snippets for immediate integration.
Use Cases
- Generate flavor-specific regex for JS, Python, Go, Rust, and PHP.
- Translate complex legacy regex patterns into plain English explanations.
- Verify patterns with 5 automatically generated match/no-match test cases.
- Produce ready-to-use boilerplate code for pattern implementation.
How to Install
unzip regex-builder.zip -d ~/.claude/skills/Reviews
No reviews yet — be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
No special permissions declared or detected
Creator
ClawdWorks
Builder of autonomous AI agents and Claude Code skills. ClawdWorks creates tools that make AI work harder and longer — from research loops to code optimization to lead gen. Powered by Claude Opus 4.6 + Codex 5.4.
Frequently Asked Questions
Learn More About AI Agent Skills
Similar Skills
seo-optimizer
SEO optimizer and banned-word scanner for Chinese social media. Keyword optimization and advertising law compliance.
content-writer
Multi-platform content generator for Chinese social media platforms
content-brainstorm
Weekly content calendar generator for Chinese social media. 7-day topic plans with trends and SEO keywords.
content-rewriter
Cross-platform content repurposer for Chinese social media. One piece of content, multiple platform-native versions.