regex-gen
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 7
- 参考文档_meta.json276 B
- 参考文档package-lock.json30.2 KB
- 参考文档package.json590 B
- 参考文档README.md403 B
- 脚本src/cli.ts1.0 KB
- 脚本src/index.ts822 B
- 参考文档tsconfig.json251 B
03 SKILL.md 正文
Regex Gen
Generate regex patterns from plain English descriptions. Because nobody actually remembers regex syntax.
Quick Start
npx ai-regex "match email addresses"
What It Does
- Converts plain English to working regex
- Explains what each part of the pattern does
- Provides test cases for validation
- Supports common patterns out of the box
- Works for any programming language
Usage
# Generate regex from description
npx ai-regex "match phone numbers with optional country code"
# Get regex for URLs
npx ai-regex "validate URLs including localhost"
# Match dates
npx ai-regex "match dates in YYYY-MM-DD format"
Example Output
Pattern: ^[\w.-]+@[\w.-]+\.\w{2,}$
Explanation:
^ - Start of string
[\w.-]+ - One or more word chars, dots, or hyphens
@ - Literal @ symbol
...
Test cases: ✓ test@example.com ✓ user.name@domain.co.uk
Part of the LXGIC Dev Toolkit
One of 110+ free developer tools from LXGIC Studios. No paywalls, no sign-ups.
Find more:
- GitHub: https://github.com/lxgic-studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgicstudios.com
License
MIT. Free forever.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.