← 返回 Skills 市场
darbling

Slug Generator

作者 darbling · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
60
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install slug-generator
功能描述
Generate URL-friendly slugs from text. 将任意文本转换为SEO友好的URL别名,支持中英文混合、自动去除特殊字符。适合博客、电商、CMS系统。URL slug maker, permalink generator, URL safe string.
安全使用建议
This skill appears safe and coherent for local use: it runs only a contained Python script and doesn't access network or secrets. Before using in production, note functional issues (incomplete hard-coded PINYIN_MAP, characters not in the map are dropped, and the CLI flag names in SKILL.md don't exactly match the script: use --upper or --title rather than --uppercase). If you need robust Chinese->pinyin conversion or full Unicode normalization, consider replacing the hand-rolled map with a maintained pinyin library and add tests for edge cases.
功能分析
Type: OpenClaw Skill Name: slug-generator Version: 1.0.0 The skill bundle is a straightforward utility for generating URL-friendly slugs from text, including basic Chinese-to-pinyin conversion. The Python script (scripts/slug.py) uses standard libraries for string manipulation and regex processing without any network access, file system interaction, or sensitive data exposure. No malicious intent or prompt injection risks were identified.
能力评估
Purpose & Capability
Name/description match the included code and runtime instructions. The Python script implements slug generation (including a hard-coded Chinese->pinyin map) and the SKILL.md shows examples consistent with that purpose.
Instruction Scope
Instructions are limited to running the local script and contain no file-system, network, or credential access. Minor documentation/flag mismatch: SKILL.md examples use '--uppercase' while the script accepts '--upper' and '--title'. Also the script's to_pinyin behavior drops characters not in the hard-coded map (functional limitation, not a security issue).
Install Mechanism
No install spec and no remote downloads. This is an instruction-only skill with a small bundled script, so nothing is written to disk beyond the included file.
Credentials
The skill requires no environment variables, credentials, or config paths — proportional to its stated purpose.
Persistence & Privilege
always is false and the skill does not attempt to persist configuration or modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install slug-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /slug-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Slug Generator. - Generate URL-friendly slugs from text, supporting both Chinese (with pinyin conversion) and English. - Automatically removes special and invalid characters. - Offers multiple output formats: lowercase, uppercase, and title case. - Custom separator support for flexible slug formatting. - Suitable for blogs, e-commerce, and CMS systems.
元数据
Slug slug-generator
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Slug Generator 是什么?

Generate URL-friendly slugs from text. 将任意文本转换为SEO友好的URL别名,支持中英文混合、自动去除特殊字符。适合博客、电商、CMS系统。URL slug maker, permalink generator, URL safe string. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 60 次。

如何安装 Slug Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install slug-generator」即可一键安装,无需额外配置。

Slug Generator 是免费的吗?

是的,Slug Generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Slug Generator 支持哪些平台?

Slug Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Slug Generator?

由 darbling(@darbling)开发并维护,当前版本 v1.0.0。

💬 留言讨论