跳到正文
Skillpedia
界面(UI/UX)48k · #4815

hig-components-search

它能做什么

这个工具可以帮你查找如何按照 Apple 的设计指南制作搜索栏、页面指示器和路径控件的资料。它会说明这些控件应该放在哪里,以及如何工作才对用户友好。

适用场景

  • ✓设计带有搜索栏的应用时。
  • ✓制作带有翻页导航的照片库时。
  • ✓开发需要显示文件夹层级位置的功能时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-components-search/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-components-search/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请告诉我怎样制作一个搜索栏,能在用户输入时实时显示结果,并符合 Apple 的 HIG。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会查阅 Apple 设计指南中关于导航组件的内容,重点说明搜索框、页面指示器和路径控件应该如何设计,才能做到直观、高效。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Apple HIG: Navigation Components

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

  1. Search: discoverable with instant feedback. Place search fields where users expect them (top of list, toolbar/navigation bar). Show results as the user types.

  2. Page controls: position in a flat page sequence. For discrete, equally weighted pages (onboarding, photo gallery). Show current page and total count.

  3. Path controls: file hierarchy navigation. macOS path controls display location within a directory structure and allow jumping to any ancestor.

  4. Search scopes narrow large result sets. Provide scope buttons so users can filter without complex queries.

  5. Clear empty states for search. Helpful message suggesting corrections or alternatives, not a blank screen.

  6. Page controls are not for hierarchical navigation. Flat, linear sequences only. Use navigation controllers, tab bars, or sidebars for hierarchy.

  7. Keep path controls concise. Show meaningful segments only. Users can click any segment to navigate directly.

  8. Support keyboard for search. Command-F and system search shortcuts should activate search.

Reference Index

Reference Topic Key content
search-fields.md Search fields Scopes, tokens, instant results, placement
page-controls.md Page controls Dot indicators, flat page sequences
path-controls.md Path controls Breadcrumbs, ancestor navigation

Output Format

  1. Component recommendation -- search field, page control, or path control, and why.
  2. Behavior specification -- interaction model (search-as-you-type, swipe for pages, click-to-navigate for paths).
  3. Platform differences across iOS, iPadOS, macOS, visionOS.

Questions to Ask

  1. What type of content is being searched or navigated?
  2. Which platforms?
  3. How large is the dataset?
  4. Is search the primary interaction?

Related Skills

  • hig-components-menus -- Toolbars and menu bars hosting search and navigation controls
  • hig-components-controls -- Text fields, pickers, segmented controls in search interfaces
  • hig-components-dialogs -- Popovers and sheets for expanded search or filtering
  • hig-patterns -- Navigation patterns and information architecture
  • hig-foundations -- Typography and layout for navigation components

Built by Raintree Technology · More developer tools

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Use @hig-components-search for this task: Apple HIG guidance for navigation-related components including search fields, page controls, and path controls.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

什么是“路径控件”(path controls)?

它们类似“面包屑”,用来显示你在文件夹层级中的位置(比如在 macOS 上),并方便你快速返回上级文件夹。

什么是“页面指示器”(page controls)?

这是显示你当前处于一系列页面中哪一页的标记(通常是圆点),比如相册或教程中的翻页提示。

AI 能帮我直接写代码吗?

不能,这个工具只负责讲解设计指南。你需要利用这些信息自己写代码,或者请其他 AI 来提供编程帮助。

详情

作者的原始描述

Apple HIG guidance for navigation-related components including search fields, page controls, and path controls.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4815
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能