When the user wants to optimize internal linking, fix orphan pages, or improve link structure. Also use when the user mentions "internal links," "internal linking," "anchor text," "link equity," "internal linking strategy," or "orphan pages." For IA, use website-structure.
Guides internal linking strategy for SEO: crawlability, link equity distribution, and user navigation.
When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.
Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for site structure and key pages.
Identify:
| Principle | Guideline | |-----------|-----------| | Depth | Important pages within 3 clicks from homepage | | Orphan pages | Avoid; ensure every page has at least one internal link; see site-crawlability for technical detection and crawl issues | | Hub-to-spoke | Link from hub/pillar pages to cluster articles; topic cluster structure | | Contextual | Place links in relevant body content, not just footers |
| Principle | Guideline | |-----------|-----------| | Descriptive | Use anchor text that describes the target page | | Variation | Avoid over-optimization; use natural variation | | Keyword | Include target keyword when natural |
| Location | Use | |----------|-----| | First paragraph | Primary link to related content | | Body | Contextual links throughout | | Related/Recommended | End-of-article links | | Navigation | Key site sections |
| Issue | Fix | |-------|-----| | Orphan pages | Add internal links from hub pages or navigation; site-crawlability for technical audit | | Too many links | Focus on most important; avoid link stuffing | | Generic anchors | Use descriptive "learn more about X" instead of "click here" | | Broken links | Audit and fix 404s; see site-crawlability for technical audit |
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/internal-links · pinned to the source commit
git clone https://github.com/kostja94/marketing-skills.git
cd marketing-skills
git checkout 70987bad4ebe9dce1f74858c1c64f3f8810f18e4
mkdir -p ".claude/skills/internal-links"
cp -r "skills/seo/on-page/internal-links" ".claude/skills/internal-links"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit 70987bad4ebe. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.