360 Secure SkillHub
360 安全技能中心

Header

该 Skill 是一个前端页眉与导航设计速查工具:通过 shell 脚本按命令输出介绍、导航模式、粘性头部、响应式菜单、语义 HTML、CSS 布局、无障碍与示例等参考文本,适合在动手设计或实现页眉导航时查阅。

ckchzh
ckchzh
热度 58.99
最近更新 2026-05-11 17:34:47
分类:知识依赖:代码执行应用场景:概念解释 / UI 原型

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add header
Metadata
name
header
version
1.0.0
description
Header design reference — navigation patterns, sticky headers, responsive menus, accessibility. Use when designing website headers or implementing navigation components.
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills
tags
["header","navigation","web","ui","navbar","responsive","frontend","menu"]
category
frontend

Header — Web Header & Navigation Design Reference

Quick-reference skill for designing and implementing web page headers, navigation bars, and responsive menu systems.

When to Use

  • Designing a website header with primary navigation
  • Implementing sticky/fixed header behavior with scroll effects
  • Building responsive hamburger menus and mobile navigation
  • Making headers accessible with proper ARIA roles
  • Choosing the right navigation pattern for the site type

Commands

intro

scripts/script.sh intro

Overview of header design — purpose, anatomy, and core principles.

patterns

scripts/script.sh patterns

Navigation patterns — horizontal nav, mega menu, sidebar, breadcrumbs.

sticky

scripts/script.sh sticky

Sticky and fixed header techniques — scroll behavior, shrinking, reveal-on-scroll.

responsive

scripts/script.sh responsive

Responsive navigation — hamburger menus, off-canvas, priority+ pattern.

html

scripts/script.sh html

Semantic HTML for headers — proper landmarks, ARIA roles, skip navigation.

css

scripts/script.sh css

CSS patterns for headers — flexbox layouts, dropdowns, transitions.

accessibility

scripts/script.sh accessibility

Accessibility — keyboard navigation, focus management, screen reader support.

examples

scripts/script.sh examples

Real-world header examples and implementation patterns.

help

scripts/script.sh help

version

scripts/script.sh version

Configuration

Variable Description
HEADER_DIR Data directory (default: ~/.header/)

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com