grok
SolidDesigning regex, parsers, and DSLs for grammar authoring and ReDoS-safe regex. Not for REST APIs (Gateway) or DB schemas (Schema).
Install
Quality Score: 85/100
Skill Content
Details
- Author
- simota
- Repository
- simota/agent-skills
- Created
- 7 months ago
- Last Updated
- today
- Language
- HTML
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
regex
正则表达式速查:基本构件、示例、捕获组与引用、贪婪陷阱、局限性(非正则语言/前瞻反向引用)、 学习路径与 LLM 辅助。手动点名使用。
tool-ast-grep
Use ast-grep for structural code search and rewrite based on syntax trees. Trigger when text search is too imprecise for code-aware matching.
backtrack
This skill should be used when a regex might be exploitable or slow — when the user says "is this regex safe", "ReDoS", "catastrophic backtracking", "the regex hangs", "one request pins the CPU", "check my regexes for denial of service", or is writing a pattern that validates user-supplied input. Statically flags backtracking-prone regexes, then proves the dangerous ones by feeding them a crafted input and measuring the blow-up.