url-slug-generator by kostja94/marketing-skills
npx skills add https://github.com/kostja94/marketing-skills --skill url-slug-generator指导为博客文章、文章和内容页面创建 SEO 友好的 URL 短链。对 1180 万条 Google 搜索结果的研究表明,较短的 URL 往往排名更高;排名第一的 URL 平均长度为 50-60 个字符。
调用时机:在首次使用时,如果合适,可以用 1-2 句话介绍此技能涵盖的内容,然后提供主要输出。在后续使用或用户要求跳过时,直接进入主要输出。
/blog/ai-people-search 中的 ai-people-search)| 指南 | 目标 |
|---|---|
| 短链长度 | 总长度(包括路径前缀)少于 60 个字符 |
| 单词数量 | 3–5 个单词 |
| 原则 | 越短 = 越易读、易分享、易记忆;在搜索结果页面中截断更少;参见 serp-features |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
示例:"The Complete Guide to AI Search Engine for Finding People" → ai-people-search(3 个单词)或 ai-search-finding-people(4 个单词),而非 ai-search-engine-finding-people-speed-discovery-outreach(9 个单词,51 个字符)。
| 规则 | 应做 | 避免 |
|---|---|---|
| 分隔符 | 连字符(-) | 下划线(_)、空格、句点 |
| 大小写 | 仅小写 | 混合大小写(会导致重复内容) |
| 字符 | 字母(a-z)、数字(0-9)、连字符 | 特殊字符 |
| 停用词 | 尽可能移除:the, a, and, or, to | 必要时保留:"how-to" |
| 规则 | 指南 |
|---|---|
| 主要关键词 | 包含在开头附近;每个 URL 一个焦点 |
| 描述性 | 仅从短链即可清楚页面内容 |
| 避免关键词堆砌 | 提及一次关键词即可 |
| 不含日期 | 除非是时间特定的内容(新闻、年度汇总),否则省略 |
| 场景 | 规则 |
|---|---|
| 带重音符号的字母 | 转换为 ASCII:é→e, ü→u, ñ→n, ç→c |
| 非拉丁文字 | 如果需要,使用 UTF-8 百分比编码;为兼容性首选 ASCII |
| 示例 | jalapeno 而非 jalapeño;cafe 而非 café |
/post/12847 — 始终自定义| 标题 / 主题 | ❌ 太长 | ✅ 推荐 |
|---|---|---|
| AI Search Engine for Finding People: Speed vs. Discovery | ai-search-engine-finding-people-speed-discovery-outreach | ai-people-search 或 ai-search-finding-people |
| The Ultimate SEO Checklist for 2025 | the-ultimate-seo-checklist-for-2025 | seo-checklist-2025 |
| How to Increase Website Traffic | how-to-increase-the-traffic-to-your-website | increase-website-traffic |
| Best Running Shoes for Marathon Training | best-running-shoes-for-marathon-training-in-2025 | best-running-shoes-2025 |
创建或审核短链时:
推荐的短链(3–5 个单词)
字符数(仅短链部分)
包含的主要关键词
备选方案(如果有多个有效选项)
每周安装量
190
代码仓库
GitHub 星标数
237
首次出现
2026 年 3 月 1 日
安全审计
安装于
kimi-cli175
cursor175
gemini-cli174
codex174
github-copilot174
opencode174
Guides creation of SEO-friendly URL slugs for blog posts, articles, and content pages. Research on 11.8M Google results shows shorter URLs tend to rank higher; position #1 URLs average 50–60 characters.
When invoking : On first use , if helpful, open with 1–2 sentences on what this skill covers, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
ai-people-search in /blog/ai-people-search)| Guideline | Target |
|---|---|
| Slug length | Under 60 characters total (including path prefix) |
| Word count | 3–5 words |
| Principle | Shorter = easier to read, share, remember; less truncation in SERPs; see serp-features |
Example : "The Complete Guide to AI Search Engine for Finding People" → ai-people-search (3 words) or ai-search-finding-people (4 words), not ai-search-engine-finding-people-speed-discovery-outreach (9 words, 51 chars).
| Rule | Do | Avoid |
|---|---|---|
| Separators | Hyphens (-) | Underscores (_), spaces, periods |
| Case | Lowercase only | Mixed case (causes duplicate content) |
| Characters | Letters (a-z), numbers (0-9), hyphens | Special chars |
| Stop words | Remove when possible: the, a, and, or, to | Keep when needed: "how-to" |
| Rule | Guideline |
|---|---|
| Primary keyword | Include near start; one focus per URL |
| Descriptive | Clear what page is about from slug alone |
| No keyword stuffing | One keyword mention is enough |
| No dates | Omit unless time-specific (news, annual roundups) |
| Scenario | Rule |
|---|---|
| Accented letters | Convert to ASCII: é→e, ü→u, ñ→n, ç→c |
| Non-Latin scripts | Use UTF-8 percent-encoding if required; prefer ASCII for compatibility |
| Example | jalapeno not jalapeño; cafe not café |
/post/12847 — always customize| Title / Topic | ❌ Too long | ✅ Recommended |
|---|---|---|
| AI Search Engine for Finding People: Speed vs. Discovery | ai-search-engine-finding-people-speed-discovery-outreach | ai-people-search or ai-search-finding-people |
| The Ultimate SEO Checklist for 2025 | the-ultimate-seo-checklist-for-2025 | seo-checklist-2025 |
| How to Increase Website Traffic | how-to-increase-the-traffic-to-your-website |
When creating or auditing a slug:
Recommended slug (3–5 words)
Character count (slug only)
Primary keyword included
Alternatives if multiple valid options
Reference : Alignify URL optimization
Weekly Installs
190
Repository
GitHub Stars
237
First Seen
Mar 1, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
kimi-cli175
cursor175
gemini-cli174
codex174
github-copilot174
opencode174
README 国际化工具:自动化翻译与多语言文档管理 | readme-i18n
32,900 周安装
increase-website-traffic |
| Best Running Shoes for Marathon Training | best-running-shoes-for-marathon-training-in-2025 | best-running-shoes-2025 |