Skip to content
Skillpedia
SEO75k · #3027

slug-keywords

What it does

This skill reviews the web addresses of content pages and suggests slugs that describe the topic in plain words. It is for site owners and writers building or fixing a URL structure.

When to use it

  • ✓When you ask the agent to improve the web addresses of your blog posts or product pages.
  • ✓When your URLs contain only numbers or random strings and you want readable slugs.
  • ✓When you plan the URL structure for a new site.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/slug-keywords/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/slug-keywords/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My blog URLs are random numbers. Can you suggest clear, keyword-based slugs for each post?”

5 new skills a week. 1 minute to read.

How it works

The agent reads the page topics and writes lowercase, hyphen-separated slugs with the main keyword. Where existing URLs change, it recommends 301 redirects from the old addresses and updates internal links and the sitemap.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Include keywords in URL slugs

Descriptive URL slugs help users and search engines understand page content before visiting — a URL like /buy-running-shoes-women communicates topic intent that /products/4832 does not.

Quick Reference

  • URL slugs should contain the primary keyword of the page in lowercase, hyphen-separated words
  • Avoid numeric IDs (/page?id=12345), random strings, or meaningless paths (/p/a/) in public URLs
  • Keep slugs concise: 3–5 meaningful words is typical; avoid keyword stuffing
  • Google uses URL words as a weak ranking signal and users use them to assess page relevance before clicking

Check

Crawl the site and examine URL paths. Flag URLs that contain: numeric IDs only, random strings, session tokens, dates without a descriptive slug, or overly generic words (/page, /item, /post). Verify slugs are lowercase and hyphen-separated.

Fix

Rewrite slugs to include the page's primary keyword in natural language. Use lowercase letters and hyphens as word separators. Set up 301 redirects from old URLs to new slugs. Update internal links, sitemaps, and canonical tags.

Explain

Explain how keyword-rich URL slugs improve click-through rates in search results, serve as a weak relevance signal for search engines, and make URLs easier to share and understand.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Include keywords in URL slugs. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/slug-keywords

FAQ

Do keywords in URLs help ranking?

The skill calls it a weak ranking signal, but says the words help users judge relevance before they click.

How long should a slug be?

The skill suggests about three to five meaningful words and warns against keyword stuffing.

What if I change an existing URL?

The skill says to set up 301 redirects from the old address to the new one.

Details

Original description by the author

Use when applies to blog posts, product pages, and any content page with editable URL slugs. Use when building a URL strategy for a new site or auditing existing URLs for keyword inclusion.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#3027
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills