Token导航 LogoToken导航

Agent Skill · 待分类

site-architecture(网站架构)

site-architecture 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

site-architecture 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在待分类类的 11,209 个 Skill 里排第 2,887。

总安装 1,317周安装 56GitHub Stars 103下载 461核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:site-architecture(网站架构)
来源仓库:https://github.com/borghei/claude-skills
仓库路径:skills/site-architecture
安装命令:
npx skills add https://github.com/borghei/claude-skills --skill site-architecture
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/borghei/claude-skills --skill site-architecture

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

site-architecture 设计网站 URL 层级与内部链接策略。优化导航结构与主题集群布局以提升爬虫效率。提供架构审计与重构方案降低维护成本。改版前应评估历史链接权重与迁移路径。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/site-architecture

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/borghei/claude-skills --skill site-architectur…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

site-architecture 怎么安装?

在终端执行 npx skills add https://github.com/borghei/claude-skills --skill site-architecture。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

site-architecture 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

site-architecture 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

site-architecture 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

site-architecture 用的人多吗?

公开数据是累计安装 1,317 次,近一周安装 56 次,下载 461 次,GitHub 103 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

site-architecture 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
site-architecture

网站架构 · 本页

1,317103需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Site Architecture & Internal Linking

Production-grade website architecture framework covering URL hierarchy design, internal linking strategy, navigation optimization, silo structure, and crawl equity management. Handles architecture audits, new site planning, and restructuring existing sites.


Table of Contents


Operating Modes

Mode 1: Audit Current Architecture

Existing site needs structural assessment. Analyze depth distribution, orphan pages, link equity flow, and navigation effectiveness.

Mode 2: Plan New Architecture

Building from scratch or full redesign. Map business goals to site sections, design URL hierarchy, plan navigation, and define content silos.

Mode 3: Internal Linking Optimization

Structure is fine but link equity flow needs improvement. Identify hub pages, map spoke content, fix orphans, and optimize anchor text.

Mode 4: URL Restructuring

Changing URLs on an existing site. Plan the new structure, build redirect maps, and manage the migration.


URL Structure Design

Depth Guidelines

DepthExampleUse WhenSEO Impact
1 level (flat)/cold-email-tipsBlog posts, standalone pagesBest crawl equity per page
2 levels/email-marketing/cold-email-tipsCategory is a rankable page itselfGood, category page accumulates authority
3 levels/solutions/marketing/email-automationProduct families, nested servicesAcceptable if each level has content
4+ levels/a/b/c/d/pageNeverDiluted equity, poor UX, crawl issues

Decision rule: If the intermediate directory URL (/email-marketing/) will NOT be a real page with its own content and ranking target, do not create the directory. Flat is better than empty hierarchy.

URL Construction Rules

RuleGoodBadWhy
Use hyphens/seo-audit/seo_auditUnderscores are not word separators for Google
Be descriptive/pricing/pricing-pageRedundant suffixes add nothing
Keep short/guides/technical-seo/guides/technical-seo-audit-checklist-complete-guideReadability matters
Include keyword/guides/seo-audit/guides/article?id=4827Descriptive URLs rank better
Be consistent with trailing slashesPick one: /about or /about/Mix of bothInconsistency creates duplicate content
Use lowercase/about-us/About-UsCase sensitivity varies by server

URL Patterns by Site Type

Site TypePatternExample
SaaS/features/[feature], /solutions/[use-case], /integrations/[partner]/features/analytics, /solutions/marketing, /integrations/slack
E-commerce/[category]/[subcategory]/[product]/mens/shoes/running-shoes-pro
Blog/Content/blog/[slug] or /blog/[category]/[slug]/blog/seo-audit-guide
Local business/[service]/[location]/plumbing/austin-tx
Documentation/docs/[section]/[page]/docs/api/authentication
Marketplace/[category]/[listing]/designers/john-smith

Navigation Architecture

Navigation Zones

Every site has 6 navigation zones. Each serves a different purpose and carries different SEO weight.

ZoneItemsSEO WeightDesign Rule
Primary nav5-8 items maxHigh (sitewide equity)Only pages you want to rank for. Never "Resources" without a landing page.
Secondary nav3-7 per sectionMediumSub-navigation within a section/silo
BreadcrumbsDynamicHigh (upward equity)Every non-homepage page. Each segment must be a real link.
Footer nav8-15 items maxLow-MediumKey pages only. Not a dumping ground for every page.
Contextual (in-content)3-5 per pageHighestMost powerful signal. Natural editorial links within body content.
Sidebar5-10 itemsLow-MediumRelated content, category listing

Primary Navigation Design

Rules:

  • 5-8 items maximum. Cognitive overload starts at 9+ items.
  • Every nav item links to a page you actively want to rank.
  • Dropdown menus are fine, but the parent item must be a clickable, crawlable link (not just a hover trigger).
  • Do not put utility pages (Contact, Privacy, Terms) in primary nav -- they belong in the footer.
  • Mobile nav must expose the same structure as desktop nav (no hidden critical pages).

Breadcrumb Implementation

Add breadcrumbs to every non-homepage page. They serve three functions:

  1. UX: Show users their location in the hierarchy
  2. SEO: Create sitewide upward internal links to hub/category pages
  3. Rich results: Enable BreadcrumbList schema for SERP breadcrumbs

Format: Home > Category > Subcategory > Current Page

Rules:

  • Every breadcrumb segment must be a real, crawlable link
  • Never use breadcrumbs as styled text without links
  • Add BreadcrumbList schema markup alongside visible breadcrumbs
  • Breadcrumb hierarchy should match URL hierarchy

Silo Structure and Topic Clusters

Hub-and-Spoke Model

A silo is a self-contained cluster of content about one topic, where all pages link to each other and to a central hub page.

                    ┌──────────────────┐
                    │     HUB PAGE     │
                    │   /seo/          │
                    │   (Pillar content)│
                    └────────┬─────────┘
            ┌────────────────┼────────────────┐
       ┌────┴────┐      ┌───┴────┐      ┌────┴────┐
       │ SPOKE 1 │      │ SPOKE 2│      │ SPOKE 3 │
       │technical│      │on-page │      │  link   │
       │  seo    │      │  seo   │      │building │
       └────┬────┘      └───┬────┘      └────┬────┘
            │                │                │
       Cross-links     Cross-links      Cross-links
       between         between          between
       related         related          related
       spokes          spokes           spokes

Building Topic Clusters

Step 1: Identify 3-7 core topics for your site (these become your silos)

Step 2: For each topic, create one pillar page (the hub) that covers the topic broadly

Step 3: Create spoke content for each major sub-question or sub-topic

Step 4: Implement linking:

  • Hub links DOWN to every spoke
  • Every spoke links UP to the hub (with keyword-rich anchor text)
  • Spokes link ACROSS to related spokes within the same silo
  • Cross-silo links are fine when contextually genuine

Step 5: Build the content before building the links. Links to non-existent content are useless.

Silo Depth Guidelines

Silo SizeRecommended DepthStructure
3-5 spokesFlatHub + spokes, all at same level
6-15 spokesShallow nestedHub > Sub-hubs > Spokes
16-50 spokesTwo-levelHub > Category sub-hubs > Individual spokes
50+ spokesPaginatedHub > Category sub-hubs > Paginated spoke listings

Internal Linking Strategy

Link Equity Power Stack

Not all internal links carry equal weight. From most to least powerful:

RankLink TypeWeightWhen to Use
1In-content contextual linkHighestNatural editorial links within body copy
2Hub page linkHighPillar page linking to all its spokes
3Navigation linkMediumSitewide, consistent, but diluted by ubiquity
4Breadcrumb linkMediumUpward equity flow, consistent
5Footer linkLowSitewide, Google discounts these
6Sidebar linkLowOften not in main content flow

Anchor Text Strategy

TypeExampleUsageSignal Strength
Partial match"effective cold email strategies"Primary approach (60-70% of links)Strong
Exact match"cold email templates"Use sparingly (10-15% of links)Strong but risky if overused
Branded"our email guide"Natural variation (10-15%)Moderate
Descriptive"this comprehensive guide"Natural variation (5-10%)Weak but natural
Generic"click here", "learn more"Avoid (< 5%)None -- wasted signal
Naked URLhttps://example.com/guideNever for internal linksNone

Orphan Page Detection and Resolution

An orphan page is indexed in Google but has zero inbound internal links. It is invisible to the site's link graph.

Detection method:

  1. Export all indexed URLs (GSC Coverage or site: query)
  2. Export all internal link targets (crawl tool or link extraction)
  3. Pages in set A but not set B are orphans

Resolution actions:

Orphan TypeAction
Valuable content, belongs in a siloAdd contextual links from 3+ related pages
Old content, still relevantLink from hub page and 1-2 spokes
Outdated content, no valueRedirect to relevant page or noindex
Utility page (shouldn't be indexed)Add noindex

Internal Linking Audit Checklist

CheckPass Criteria
Every content page has 3-5 outbound internal linksNo page links only to itself or navigation
Every target page has 3+ inbound internal linksNo orphans in the indexed set
Hub pages link to all their spokesComplete coverage
Anchor text is descriptive and variedNo > 30% exact match for any keyword
No broken internal links0 broken links
Link depth from homepage < 4 clicks95%+ of pages within 3 clicks

Crawl Equity Management

Homepage Equity Distribution

The homepage is your highest-equity page. Use it wisely.

Homepage Link TargetPriority
Hub/pillar pages (top of each silo)Highest -- link from homepage content area
Key product/service pagesHigh -- link from homepage or primary nav
Top-performing contentMedium -- link if contextually relevant
Utility pages (contact, about)Low -- footer links only
Blog indexMedium -- primary or secondary nav

Crawl Budget Allocation

Page Category% of Crawl BudgetOptimization
Money pages (product, pricing, features)20-30%Internal link from homepage + nav
Pillar content (hub pages)20-30%Extensive internal linking
Spoke content (blog, guides)30-40%Linked from hubs + contextual
Utility pages (about, contact, legal)5-10%Footer links only, minimal crawl
Tag/archive/pagination< 5%Noindex if thin, limit crawling

Architecture Audit Framework

Audit Scorecard

DimensionWeightCheck
Crawl depth20%95%+ pages within 3 clicks of homepage
Orphan pages20%0 orphan pages in indexed set
URL cleanliness15%Clean, descriptive, consistent URLs
Navigation completeness15%All key pages accessible via primary/secondary nav
Internal link coverage15%Every page has 3+ inbound internal links
Silo coherence10%Topic clusters are well-defined with clear hub-spoke relationships
Breadcrumb implementation5%Present on all non-homepage pages with schema

Red Flag Indicators

SignalSeverityAction
Pages > 3 clicks from homepageHighCreate shortcuts via nav or hub page links
Hub page has no content (just links)HighAdd pillar content to all hub pages
Generic anchor text dominant (> 30%)MediumRewrite anchor text to be descriptive
No breadcrumbs on deep pagesMediumImplement breadcrumbs with BreadcrumbList schema
Sitemap includes noindex pagesMediumFilter sitemap to only indexable pages
Primary nav links to utility pagesLowMove Contact/Privacy to footer
Footer contains 50+ linksLowReduce to 8-15 key pages

Restructuring Playbook

When to Restructure

SignalRestructure?Alternative
Complete URL overhaul neededYes--
Adding 3 new sectionsPartial -- new sections only--
Fixing orphan pagesNoAdd internal links, no URL changes needed
Improving navNoUpdate navigation, keep URLs
Moving to new CMSYes (usually)Keep URL structure if CMS supports it

Restructuring Steps

  1. Crawl current site -- Export all URLs, internal links, and rankings
  2. Map current to new -- Create 1:1 URL redirect mapping
  3. Build redirect rules -- 301 redirects for every changed URL
  4. Chain existing redirects -- Update old redirects to point to final destination
  5. Update internal links -- Point to new URLs (do not rely on redirects for internal links)
  6. Update sitemap -- Reflect new URL structure
  7. Monitor for 60 days -- Watch for crawl errors, ranking changes, traffic impact

Architecture Patterns by Site Type

SaaS Website

/                           Homepage
├── /features/              Features hub
│   ├── /features/analytics Analytics feature
│   └── /features/reporting Reporting feature
├── /solutions/             Solutions hub (by use case)
│   ├── /solutions/marketing Marketing use case
│   └── /solutions/sales    Sales use case
├── /integrations/          Integrations hub
│   ├── /integrations/slack Slack integration
│   └── /integrations/salesforce Salesforce integration
├── /pricing                Pricing page
├── /blog/                  Blog index
│   ├── /blog/seo-guide     Blog post
│   └── /blog/growth-tips   Blog post
├── /docs/                  Documentation
└── /about                  About page

E-commerce Site

/                           Homepage
├── /[category]/            Category page (with content)
│   ├── /[category]/[subcategory]/ Subcategory (with content)
│   │   └── /[category]/[subcategory]/[product] Product page
│   └── /[category]/[product]      Product (if no subcategory)
├── /brands/                Brand hub
│   └── /brands/[brand]     Brand page
├── /blog/                  Content hub
└── /sale/                  Promotions hub

Content/Media Site

/                           Homepage
├── /[topic]/               Topic hub (pillar content)
│   ├── /[topic]/[subtopic] Subtopic article
│   └── /[topic]/[guide]    In-depth guide
├── /authors/               Author hub
│   └── /authors/[name]     Author page
├── /tools/                 Free tools hub
│   └── /tools/[tool]       Individual tool
└── /newsletter             Newsletter signup

Common Mistakes

MistakeWhy It HurtsFix
Orphan pagesNo equity flows in, Google deprioritizesAdd contextual internal links from related content
URL changes without redirectsLost link equity and broken backlinksAlways 301 redirect old URLs
Deep nesting (4+ levels)Diluted crawl equity, confusing UXFlatten structure
Empty category pagesThin pages do not rankAdd pillar content to all category/hub pages
Homepage linking to nothingWastes highest-equity pageLink from home to all hub pages
Footer with 100+ linksDilutes equity across too many targetsLimit footer to 8-15 key pages
Navigation not matching user mental modelUsers leave, engagement dropsRun card-sort testing with real users
Dynamic parameter URLsCreates duplicate contentCanonicalize or block with robots.txt
Sitewide sidebar links to every postDiluted equity, adds noiseRemove or limit to "popular" posts

Output Artifacts

ArtifactFormatDescription
Architecture Audit ScorecardWeighted score tablePer-dimension scores with red flag indicators
Site Tree DiagramText-based hierarchyVisual URL structure with annotations
URL Specification TableTableURL pattern, title template, parent page, schema type per section
Internal Linking PlanHub-spoke mapTopic cluster map with anchor text guidelines and orphan fix list
Redirect MapBefore/after URL table1:1 mapping for URL restructuring with 301 implementation
Navigation SpecZone-by-zone designPrimary, secondary, breadcrumb, footer, and contextual nav plans

Related Skills

  • seo-audit -- For comprehensive SEO audits where architecture is one of several problem areas. Use seo-audit for the full picture, site-architecture for deep structural work.
  • schema-markup -- For adding BreadcrumbList and other structured data after architecture decisions are finalized.
  • programmatic-seo -- For hub-and-spoke structures at scale when generating hundreds of template-based pages.
  • content-creator -- For creating the pillar content that hub pages need to rank effectively.

Troubleshooting

ProblemLikely CauseFix
Orphan pages appearing in Google indexPages exist in sitemap or have external links but no internal links pointing to themAdd contextual internal links from 3+ related pages; update hub pages to include them
Crawl depth exceeds 4+ clicks for key pagesFlat navigation missing or hub pages not linking to spokesCreate shortcut links via primary nav, hub page content blocks, or featured sections
Category/hub pages ranking poorlyHub pages have no substantive content — just link listsAdd 800+ words of pillar content to every hub page; they must rank on their own merit
Redirect chains after site migrationOld redirects not updated to point to final destination; chains accumulate over multiple migrationsAudit all existing redirects; collapse chains so every redirect points directly to the final URL
Internal links using generic anchor text"Click here" and "learn more" anchor text dominating internal linksRewrite anchors to be descriptive with partial-match keywords; aim for 60-70% partial match
New sections not getting crawledNo internal links from existing high-authority pages to new sectionAdd contextual links from homepage and related hub pages; submit new section sitemap

Success Criteria

  • Crawl depth: 95%+ of indexable pages reachable within 3 clicks from homepage
  • Zero orphan pages: No indexed pages without at least 3 inbound internal links
  • URL cleanliness: 100% of URLs follow the established pattern — lowercase, hyphenated, descriptive, consistent trailing slash policy
  • Navigation coverage: All key revenue and pillar pages accessible via primary or secondary navigation
  • Internal link density: Every content page has 3-5 outbound contextual internal links with descriptive anchor text
  • Silo coherence: Each topic cluster has a defined hub page with bidirectional links to all spokes
  • Breadcrumb coverage: BreadcrumbList schema present on 100% of non-homepage pages

Scope & Limitations

In scope:

  • URL hierarchy design and restructuring
  • Navigation architecture (primary, secondary, breadcrumb, footer, contextual, sidebar)
  • Silo structure and topic cluster planning
  • Internal linking strategy and optimization
  • Crawl equity analysis and optimization
  • Architecture audits with scored reports
  • URL migration planning with redirect mapping

Out of scope:

  • Content creation for hub pages (use Content Production)
  • Schema markup implementation (use Schema Markup)
  • Technical SEO beyond architecture (use SEO Audit)
  • Visual design or UX design of navigation
  • CMS development or template coding
  • External link building

Known limitations:

  • Crawl equity distribution is estimated — Google does not publish exact PageRank flow data
  • Architecture changes on large sites (10K+ pages) require careful phased migration to avoid traffic loss
  • Navigation testing (card sorts, tree tests) requires user research tools and participants
  • Cross-silo linking recommendations are qualitative — no deterministic formula exists for optimal cross-linking density

Scripts

# Analyze sitemap for depth and structure issues
python scripts/sitemap_analyzer.py --file sitemap.xml --json

# Check URLs for redirect chains and patterns
python scripts/redirect_checker.py --file urls.txt --json

# Map internal link structure from a sitemap
python scripts/link_mapper.py --sitemap sitemap.xml --json

平台分布

Codex

34.09%
按下载量换算157

Claude

30.04%
按下载量换算138

Cursor

19.58%
按下载量换算90

Gemini CLI

8.78%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills