slug-keywords
できること
このスキルは、コンテンツページのウェブアドレスを確認し、トピックを平易な言葉で表すスラッグを提案します。URLの構造を作ったり直したりするサイト運営者やライター向けです。
使う場面
- ✓ブログ記事や商品ページのウェブアドレスを改善するようエージェントに頼むとき。
- ✓URLが数字やランダムな文字列だけで、分かりやすいスラッグが欲しいとき。
- ✓新しいサイトのURLの構造を計画しているとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/slug-keywords/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のブログのURLは数字のランダムな並びです。各記事に、キーワードを含む分かりやすいスラッグを提案してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、ページのトピックを読み、小文字でハイフンで区切ったスラッグに主なキーワードを入れて書きます。既存のURLを変える場合は、古いアドレスからの301リダイレクトを勧め、内部リンクとサイトマップも更新します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
URLのキーワードはランキングに役立ちますか?
このスキルは、弱いランキングの信号だとしていますが、クリックの前に利用者が関連性を判断する助けになるとしています。
スラッグはどのくらいの長さが適切ですか?
このスキルは、意味のある言葉3から5語程度を勧め、キーワードの詰め込みは避けるよう警告しています。
既存のURLを変える場合はどうしますか?
このスキルは、古いアドレスから新しいアドレスへ301リダイレクトを設定するよう勧めています。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 75k
- ランキング
- #3027
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
competitive-platform-analysis
280k競合他社を把握するのに役立ちます。より深い分析を行う前に、競合企業を特定し、分類し、絞り込みます。
competitive-report-structure
280k包括的な競合レポートを作成します。情報をまとめて業界全体の状況や提言を示し、チームの認識をそろえるのに役立ちます。
lead-intelligence
280kエージェントが重要な人物を見つけて連絡を取るのを支援します。見込み客を分析し、アプローチを提案し、メールやSNSを通じたアウトリーチを管理します。