hig-components-controls
选择 Apple HIG 控件
选择错误的输入控件可能会让 Apple 应用工作流变得混乱。此技能会将常见的数据输入需求映射到 Apple HIG 控件指南。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "hig-components-controls" from https://skillstore.io/skills/sickn33-hig-components-controls.md and its manifest at https://skillstore.io/api/skills/sickn33-hig-components-controls/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“hig-components-controls”。 我需要一个用于在设置中开启或关闭通知的控件。
预期结果:
使用 switch toggle。它能清晰显示二元状态,在设置中立即生效,并且需要附近有清晰的标签。
正在使用“hig-components-controls”。 我在 iOS 视图中有八个排序选项。
预期结果:
避免使用 segmented control。使用 picker 或 menu,因为八个选项会让分段难以浏览和点按。
正在使用“hig-components-controls”。 用户必须输入 1 到 100 之间的价格。
预期结果:
当需要精确输入时,使用 text field。添加数字键盘、验证,以及可选的 stepper 用于重复调整。
安全审计
安全All 14 static alerts are false positives caused by design prose, Markdown formatting, or attribution links. The skill contains no executable commands, required network requests, system reconnaissance, or prompt injection language. Its behavior is limited to recommending Apple selection and input controls.
风险因素
⚙️ 外部命令 (1)
🌐 网络访问 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/sickn33-hig-components-controls/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/sickn33-hig-components-controls?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/sickn33-hig-components-controls?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-hig-components-controls/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/sickn33-hig-components-controls.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
sickn33. (2026). hig-components-controls security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-hig-components-controls/audits/5BibTeX 引用
@techreport{sickn33-sickn33-hig-components-controls-2026,
author = {sickn33},
title = {hig-components-controls security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-hig-components-controls/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "hig-components-controls security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-hig-components-controls/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-hig-components-controls:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
为设置选择控件
根据状态、范围和即时生效要求选择开关、复选框、滑块或步进器。
审查表单交互模式
检查文本字段、选择器、标签和验证行为是否符合 Apple 平台预期。
记录控件使用规则
为选项数量、状态显示、验证时机和平台限制创建一致的指南。
试试这些提示
使用此技能为一个用于开启或关闭同步的布尔设置推荐最佳 Apple HIG 控件。包含应避免的替代方案。
使用此技能比较 picker、segmented control 和 pop-up button,用于在 iOS 上从十二个类别中选择一个。
使用此技能审查一个包含文本字段、日期选择器、开关和验证消息的个人资料表单。识别 HIG 问题。
使用此技能为 iOS、macOS 和 watchOS 设置提出控件选择。说明状态、无障碍、验证和平台差异。
最佳实践
- 在请求控件推荐前,说明数据类型、选项数量、平台和工作流。
- 当熟悉的控件可能不适合选项数量或交互模型时,请询问替代方案。
- 在每个设计请求中包含无障碍要求、验证时机和状态行为。
避免
- 不要在未说明数据、平台和选项数量的情况下要求它选择控件。
- 不要将 segmented controls 用于长列表或不相关的目标位置。
- 不要将仪表或评分指示器视为输入控件,除非设计使用的是交互式变体。
常见问题
此技能涵盖哪些控件?
它会编写 UI 代码吗?
它能帮助处理无障碍问题吗?
它引用哪些平台?
我应该如何表述请求?
它能替代 Apple 文档吗?
开发者详情
作者
sickn33许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
88a8e9a07f4c54ab105c1c41b6267c287146b07b
维护新鲜度
2026/7/26
使用量
7 次下载 · 106 次浏览
文件结构