@muzi3/dev-tools
开发小工具 skill 合集(正则生成与解析等),按需扩展。
Package details
Install @muzi3/dev-tools from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@muzi3/dev-tools- Package
@muzi3/dev-tools- Version
0.1.1- Published
- Aug 27, 2026
- Downloads
- 235/mo · 235/wk
- Author
- muzi3
- License
- MIT
- Types
- skill
- Size
- 7 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@muzi3/dev-tools
开发小工具 skill 合集,按需扩展。
包含的技能
| Skill | 说明 |
|---|---|
devtool-regex |
正则表达式的生成与解析:自然语言 → 正则(含正反例实跑验证),正则 → 人话(逐 token 分解 + 陷阱提示)。方言敏感,默认 JS,可指定 python/go/rust/PCRE |
安装
pi install npm:@muzi3/dev-tools
用法
触发词(devtool-regex skill):
- 生成:
写正则/生成正则/匹配邮箱/手机号/IP/URL/日期格式/regex - 解析:
解析正则/这个正则什么意思/解释这段正则
核心原则:任何正则输出前都会用真实引擎跑通正例+反例验证,不给未测试的正则。