Site Architecture Skill 安全审计
作者说它能做什么(原文)
When the user wants to plan, map, or restructure their website's page hierarchy, navigation, URL structure, or internal linking. Also use when the user mentions "sitemap," "site map," "visual sitemap," "site structure," "page hierarchy," "information architecture," "IA," "navigation design," "URL structure," "breadcrumbs," "internal linking strategy," "website planning," "what pages do I need," "h
这次检查未发现明显风险
- 已检查文件
- 5
- 发现的风险
- 0
Skill 逻辑拆解
该技能用于规划网站页面层级、导航、URL 模式和内部链接;其主要输出是文本结构图、Mermaid 站点图、URL 映射、导航规范和内部链接方案。所提供文件中没有可执行脚本、安装步骤或账户操作指令。
查看原文
You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines.When creating a site architecture plan, provide these deliverables:### 1. Page Hierarchy (ASCII Tree)Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section.### 2. Visual Sitemap (Mermaid)Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful.### 4. Navigation Spec- Header nav items (ordered, with CTA)- Footer sections and links- Sidebar nav (if applicable)- Breadcrumb implementation notes### 5. Internal Linking Plan- Hub pages and their spokes- Cross-section link opportunities- Orphan page audit (if restructuring)- Recommended links per key page开始规划前,它会在项目中查找并读取产品营销背景文件,然后只询问尚未覆盖的信息。该读取限于列出的三个候选路径,并与网站规划目的直接相关;文本没有要求上传或对外发送内容。
查看原文
**Check for product marketing context first:**If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.Gather this context (ask if not provided):对于重构现有网站,该技能明确询问需要保留的旧 URL,并要求为变更后的 URL 设置 301 重定向,以降低断链和搜索排名损失。它提出规划建议,但没有指示直接修改或删除网站文件。
查看原文
### 2. Current State- New site or restructuring an existing one?- If restructuring: what's broken? (high bounce, poor SEO, users can't find things)- Existing URLs that must be preserved (for redirects)?### Common Mistakes- **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`.- **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible.- **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked.- **IDs in URLs** — `/product/12345` is not human-readable. Use slugs.- **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`.引用文件是用于页面层级、导航和 Mermaid 图的静态模板。主说明明确指向这些本地文件,且清单确认三项引用均存在;可见内容不要求联网、调用外部服务或提升权限。
查看原文
**For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md)**For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md)**For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md)文件引用关系图
3 处引用文件与检查记录5 个文件
检查范围与遗漏
逐文件查看涉及的内容
下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。
SKILL.md已纳入全文references/mermaid-templates.md已纳入全文references/navigation-patterns.md已纳入全文references/site-type-templates.md已纳入全文evals/evals.json已纳入全文
这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。
SKILL.md工作说明evals/evals.json配套文件references/mermaid-templates.md配套文件references/navigation-patterns.md配套文件references/site-type-templates.md配套文件
代码和说明中提到的操作
连接外部网站
<nav aria-label="Breadcrumb"> <ol itemscope itemtype="https://schema.org/BreadcrumbList"> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <ol itemscope itemtype="https://schema.org/BreadcrumbList"> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <a itemprop="item" href="/"><span itemprop="name">Home</span></a> </li> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <a itemprop="item" href="/features"><span itemprop="name">Features</span></a>- 读取了多少行
- 1,264
- 文件校验值(用于核对版本)
- cff3a09c1ba6e8c754dbcb45dfca79d8ab05a09e3c7189757a06292d8686b8de