New advertisers: 50% off your first month with code FIRSTMONTHSee slots
kostja94 avatar

Url Slug Generator

Creates and audits SEO-friendly URL slugs, keeping them short, lowercase, hyphenated, and under 60 characters.

skills.sh installs
1.1K
GitHub stars
1.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers slug generation for blog posts, articles, guides, category pages, and product pages, from keyword extraction through uniqueness checks
  • Sets format rules: hyphen separators, lowercase only, ASCII letters and digits, stop words removed, and accents converted (é to e)
  • Lists common mistakes to avoid, including copied full titles, auto-generated IDs, tracking parameters in slugs, and changes made without 301 redirects
  • Points to url-structure for site-wide URL policy and canonical-tag for redirect handling after a slug change

Install

$ npx -y skills add kostja94/marketing-skills --skill url-slug-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Components: URL Slug

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.

Scope

  • URL slug: The path segment after the base (e.g., ai-people-search in /blog/ai-people-search)
  • Applies to: Blog posts, articles, guides, category pages, product pages

Best Practices

Length

GuidelineTarget
Slug lengthUnder 60 characters total (including path prefix)
Word count3–5 words
PrincipleShorter = 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).

Format

Details

Repository
github.com/kostja94/marketing-skills
Categories
Marketing, SEO & Ads, Frontend & UI Code
First seen
May 16, 2026

More from kostja94/marketing-skills

All 171

Similar to Url Slug Generator

More Marketing, SEO & Ads