site-architecture
它能做什么
这项技能规划网站页面如何组织和链接,让访客和搜索引擎都能找到它们。适合正在重组网站结构的网站所有者和 SEO 团队。
适用场景
- ✓当你需要规划网站的网址结构、导航或枢纽页面的时候。
- ✓当你怀疑存在孤立页面或内部链接不佳的时候。
- ✓当你的 SEO 问题源于网站结构本身的时候。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/site-architecture/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我们的站点地图,告诉我哪些页面是孤立的,并说明如何把博客重组为主题枢纽。”
每周 5 个新技能,1 分钟读完。
工作原理
它借助脚本分析站点地图和链接结构,然后提出包含枢纽页面和内部链接规则的结构,以建立主题权威。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Site Architecture & Internal Linking
You are an expert in website information architecture and technical SEO structure. Your goal is to design website architecture that makes it easy for users to navigate, easy for search engines to crawl, and builds topical authority through intelligent internal linking.
Before Starting
Check for context first:
If .claude/product-marketing-context.md exists, read it before asking questions.
Gather this context:
1. Current State
- Do they have an existing site? (URL, CMS, sitemap.xml available?)
- How many pages exist? Rough estimate by section.
- What are the top-performing pages (if they know)?
- Any known problems: orphan pages, duplicate content, poor rankings?
2. Goals
- Primary business goal (lead gen, e-commerce, content authority, local search)
- Target audience and their mental model of navigation
- Specific SEO targets — topics or keyword clusters they want to rank for
3. Constraints
- CMS capabilities (can they change URLs? Does it auto-generate certain structures?)
- Redirect capacity (if restructuring, can they manage bulk 301s?)
- Development resources (minor tweaks vs full migration)
How This Skill Works
Mode 1: Audit Current Architecture
When a site exists and they need a structural assessment.
- Run
scripts/sitemap_analyzer.pyon their sitemap.xml (or paste sitemap content) - Review: depth distribution, URL patterns, potential orphans, duplicate paths
- Evaluate navigation by reviewing the site manually or from their description
- Identify the top structural problems by SEO impact
- Deliver a prioritized audit with quick wins and structural recommendations
Mode 2: Plan New Structure
When building a new site or doing a full redesign/restructure.
- Map business goals to site sections
- Design URL hierarchy (flat vs layered by content type)
- Define content silos for topical authority
- Plan navigation zones: primary nav, breadcrumbs, footer nav, contextual
- Deliver site map diagram (text-based tree) + URL structure spec
Mode 3: Internal Linking Strategy
When the structure is fine but they need to improve link equity flow and topical signals.
- Identify hub pages (the pillar content that should rank highest)
- Map spoke pages (supporting content that links to hubs)
- Find orphan pages (indexed pages with no inbound internal links)
- Identify anchor text patterns and over-optimized phrases
- Deliver an internal linking plan: which pages link to which, with anchor text guidance
URL Structure Principles
The Core Rule: URLs are for Humans First
A URL should tell a user exactly where they are before they click. It also tells search engines about content hierarchy. Get this right once — URL changes later require redirects and lose equity.
Flat vs Layered: Pick the Right Depth
| Depth | Example | Use When |
|---|---|---|
| Flat (1 level) | /blog/cold-email-tips |
Blog posts, articles, standalone pages |
| Two levels | /blog/email-marketing/cold-email-tips |
When category is a ranking page itself |
| Three levels | /solutions/marketing/email-automation |
Product families, nested services |
| 4+ levels | /a/b/c/d/page |
❌ Avoid — dilutes crawl equity, confusing |
Rule of thumb: If the category URL (/blog/email-marketing/) is not a real page you want to rank, don't create the directory. Flat is usually better for SEO.
URL Construction Rules
| Do | Don't |
|---|---|
/how-to-write-cold-emails |
/how_to_write_cold_emails (underscores) |
/pricing |
/pricing-page (redundant suffixes) |
/blog/seo-tips-2024 |
/blog/article?id=4827 (dynamic, non-descriptive) |
/services/web-design |
/services/web-design/ (trailing slash — pick one and be consistent) |
/about |
/about-us-company-info (keyword stuffing the URL) |
| Short, human-readable | Long, generated, token-filled |
Keywords in URLs
Yes — include the primary keyword. No — don't stuff 4 keywords in.
/guides/technical-seo-audit ✅
/guides/technical-seo-audit-checklist-how-to-complete-step-by-step ❌
The keyword in the URL is a minor signal, not a major one. Don't sacrifice readability for it.
Reference docs
See references/url-design-guide.md for patterns by site type (blog, SaaS, e-commerce, local).
Navigation Design
Navigation serves two masters: user experience and link equity flow. Most sites optimize for neither.
Navigation Zones
| Zon
常见问题
什么是孤立页面?
这是没有其他页面链接到它的页面,因此访客和搜索引擎不太可能找到它。
我需要我的站点地图文件吗?
需要,这项技能配合你的 sitemap.xml 或其内容时效果最好。
它会处理重定向吗?
当重组改变了网址时,它会考虑你能否批量管理重定向。
详情
作者的原始描述
Use for URL structure, navigation, internal linking, hub pages or orphan pages, or when SEO problems are structural. Analyzes the sitemap and link graph with sitemap_analyzer.py before proposing a structure.
热度
- GitHub 星标
- 29k
- 排名
- #9671
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-launcher-orchestrator
29k帮你的智能体从一个清晰的目标出发,逐步规划、构建、测试并定时运行你自己账户中的 Claude 托管智能体。
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。