← 返回
未分类 中文

navigation-menu-generator

When the user wants to design, optimize, or audit site navigation menus. Also use when the user mentions "navigation," "nav menu," "header menu," "site struc...
用于设计、优化或审计网站导航菜单;在用户提到“导航”“导航菜单”“头部菜单”“网站结构”等时也适用。
kostja94 kostja94 来源
未分类 clawhub v1.0.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 492
下载
💾 0
安装
2
版本
#latest

概述

Components: Navigation Menu

Guides navigation menu design for SEO, UX, and accessibility. Navigation helps users find content and signals site structure to search engines.

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.

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for key pages and audience.

Identify:

  1. Site structure: Main sections, hierarchy
  2. Primary goals: Conversion paths, key pages
  3. Platform: Web, mobile, both

Structure & Organization

Menu Size

  • Primary nav: 7-9 items; avoid overwhelming users
  • Sub-navigation: Up to 2 levels; deeper topics in sub-menus
  • Pattern: Horizontal top nav or vertical side nav; avoid novel patterns

Hierarchy

  • Reflect sitemap structure; need not match exactly
  • Prioritize what visitors need most
  • Logical grouping by topic or task

SEO Best Practices

PracticePurpose
-------------------
Semantic HTML
Descriptive anchor textTarget keywords; avoid "Click here"
Text linksPrefer text over images; crawlers need readable links
Initial renderAll nav HTML in first paint; no JS-only menus for critical links. See rendering-strategies
Visible linksPrefer visible over hidden; helps crawlers understand structure

Crawlability

  • Sub-menus: Ensure HTML is in DOM (e.g., CSS-hidden, not JS-injected)
  • Footer nav: Include secondary links
  • Breadcrumbs: See breadcrumb-generator for implementation

UX Guidelines

Visibility & Location

  • Desktop: Visible nav; avoid hiding behind hamburger when space allows
  • Expected placement: Primary nav in header; footer nav at bottom
  • Current location: Indicate active page/section in menu

Accessibility

RequirementPractice
-----------------------
LabelsClear, intuitive wording
Contrast4.5:1 for link text
Touch targets>=44x44px; adequate spacing
KeyboardFull keyboard navigation; focus visible
Screen readersProper ARIA; skip links for long menus

Design

  • Simple, clear; avoid covering entire screen with open menus on desktop
  • Consistent across pages
  • Mobile: Hamburger acceptable; ensure menu is usable when open

Output Format

  • Structure (primary items, sub-items)
  • Anchor text suggestions
  • HTML/ARIA notes
  • SEO checklist
  • Accessibility checklist

Related Skills

  • website-structure: Plan structure and nav hierarchy; nav reflects planned sections
  • xml-sitemap: Nav should reflect discoverable pages
  • internal-links: Nav is primary internal linking
  • site-crawlability: Nav affects crawl paths
  • category-page-generator: Category hierarchy in nav
  • footer-generator: Footer nav complements header nav
  • logo-generator: Logo typically sits in header with nav
  • breadcrumb-generator: Breadcrumb navigation; BreadcrumbList schema
  • rendering-strategies: Nav in first paint; no JS-only menus

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-05-03 05:35 安全 安全
  • v1.0.0
    2026-03-30 19:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 430 📥 116,944
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 331 📥 93,802
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 217 📥 47,601