ios-perceived-performance
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ios-perceived-performance":https://skillpi.com/zh/skills/deepskill-05b6b7ccb459bf4610dc1dd5dff8f60329647f86685ef8e8f7ea71d97487313e。安装前核对上游来源和版本:https://github.com/Livsy90/iOS-Performance-Agent-Skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
适用于产品层面的 iOS 响应性与加载/反馈流程评审,涵盖感知延迟、首次反馈时间、渐进式渲染、加载状态、骨架屏与占位符、乐观更新与回滚、高风险操作、UI 连续性以及响应性验证。非用户感知速度的问题(如底层 CPU、内存、渲染、Swift 并发或启动诊断)请勿使用。
介绍来源: third_party · Livsy90 · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ios-perceived-performance
description: Use this skill for product-level iOS responsiveness and loading/feedback flows, including perceived latency, time to first feedback, progressive rendering, loading states, skeletons, placeholders, optimistic updates, rollback behavior, high-stakes actions, UI continuity, and responsiveness validation. Do not use it for low-level CPU, memory, rendering, Swift Concurrency, or launch-performance diagnostics unless the task is about user-perceived speed.iOS Perceived Performance
Purpose
Use this skill to review whether an iOS screen or flow feels responsive to users, even when raw execution time does not change.
This skill focuses on user-visible feedback, loading behavior, staged content, continuity, optimistic UI, high-stakes actions, and validation of perceived responsiveness.
When to use this skill
Use this skill when the task involves:
- a screen that feels slow, stuck, blank, jumpy, or unresponsive;
- no visible feedback after a tap or gesture;
- delayed first meaningful content;
- loading states, placeholders, skeletons, empty states, retry states, or refresh states;
- progressive rendering, partial content, section-level loading, or stale-while-refreshing UI;
- optimistic updates, pending state, rollback, retries, or local/server reconciliation;
- high-stakes, irreversible, destructive, financial, legal, medical, identity, or security-sensitive actions;
- duplicate submissions or repeated taps during async work;
- perceived latency trade-offs where the product behavior matters as much as the raw duration;
- validation using recordings, UI tests, Instruments, MetricKit, production logs, or user-visible signals.
When not to use this skill
Do not use this skill for:
- low-level CPU, allocation, ARC, memory, runtime, or compiler-performance investigations;
- SwiftUI invalidation, identity, layout, or scrolling problems unless the question is about perceived responsiveness;
- Swift Concurrency internals unless task behavior affects visible UI feedback or staged loading;
- app launch performance unless the question is about first useful screen or first interaction from the user's point of view;
- visual redesign requests with no responsiveness, loading, or feedback concern;
- claims that require running the app when no runtime evidence is available.
Use ios-performance-profiling, swiftui-performance, swift-concurrency-performance, swift-runtime-performance, or ios-launch-performance when those domains are the primary problem.
Core model
Users do not experience CPU samples, network traces, database timings, or async task graphs directly.
They experience:
- whether the app reacts immediately;
- when useful content first appears;
- whether progress is clear;
- whether the screen stays stable while work continues;
- whether failures and retries are understandable;
- whether pending work feels trustworthy;
- whether actions can be repeated accidentally;
- whether the UI tells the truth about the server-authoritative outcome.
Start with the user-visible delay or uncertainty before proposing lower-level optimization.
Agent capability boundaries
The agent can usually inspect and improve:
- state models for loading, loaded, empty, error, refreshing, pending, syncing, and failed states;
- whether UI changes happen only after async work completes;
- whether user actions receive immediate visual feedback;
- whether refresh clears useful existing content unnecessarily;
- whether a screen can render critical content before secondary content;
- whether optimistic updates have pending, rollback, retry, and conflict behavior;
- whether high-stakes actions wait for confirmation before showing final success;
- whether duplicate submissions are prevented.
The agent can suggest, but cannot prove without runtime evidence:
- whether a screen feels fast enough;
- whether a skeleton improves perception;
- whether a deliberate delay is appropriate;
- whether Low Power Mode exposes low performance headroom;
- whether older devices perform acceptably;
- whether a product flow feels trustworthy to users.
Do not claim that manual or device-based validation was performed unless the user supplied evidence such as a recording, trace, test result, profiling output, or production signal.
Review workflow
- Identify the user-visible symptom: no feedback, blank screen, all-or-nothing loading, jumpy update, unclear progress, unsafe optimism, repeated submission, or distrust.
- Locate the state transition that creates the symptom.
- Decide whether the first useful improvement is product/UI feedback or low-level performance work.
- Check whether the UI acknowledges user actions immediately.
- Check whether critical content can appear before secondary content.
- Check whether refresh can preserve useful existing content.
- Check whether loading, empty, error, retry, refreshing, pending, synced, and failed states are distinct enough.
- Decide whether optimistic UI is safe, reversible, and honest.
- For high-stakes actions, prefer explicit progress and server-confirmed success over optimistic final states.
- Propose the smallest change that improves user-visible responsiveness.
- State what can be determined from code and what needs runtime validation.
- Recommend validation using evidence that reflects user experience.
Decision rules
- If the user sees no response after an action, add immediate feedback before optimizing the operation itself.
- If the screen is blank while work is happening, consider cached content, placeholders, skeletons, or progressive rendering.
- If the screen waits for unrelated data before showing anything, consider section-level loading or staged rendering.
- If refresh removes useful content, preserve stale content when it is safe and mark it as refreshing.
- If loading, empty, error, and retry states collapse into one state, separate them before tuning performance.
- If an action is low-risk and reversible, optimistic UI may improve perceived latency.
- If an action is financial, destructive, legal, medical, identity-related, security-sensitive, irreversible, or server-authoritative, do not show final success before confirmation.
- If duplicate submissions are possible, add pending state, disabled controls, idempotency, or request tracking.
- If a recommendation depends on product trust or user perception, describe it as a product hypothesis unless evidence exists.
- If a performance claim cannot be proven from code, include a validation plan instead of claiming success.
Gotchas
- Do not treat skeletons or placeholders as actual execution-time improvements.
- Do not hide errors behind indefinite loading states.
- Do not recommend optimistic success for high-stakes or irreversible actions.
- Do not suggest artificial delays as a default performance fix.
- Do not clear content during refresh unless stale content is unsafe or misleading.
- Do not split every screen into independent loading sections if partial content would confuse the user.
- Do not claim Low Power Mode simulates an older device. Use it only as a rough manual stress signal.
- Do not say “this feels faster” without evidence from a recording, trace, metric, test, or user-visible behavior.
- Do not make broad low-level optimization recommendations when the immediate problem is missing feedback or unclear state.
Evidence and validation
Prefer evidence that reflects what the user experiences:
- screen recording from action to first feedback and first meaningful content;
- tap-to-first-feedback timing;
- time to first meaningful content;
- time until primary interaction becomes available;
- repeated refresh attempts;
- slow-network testing;
- UI tests that capture state transitions;
- Instruments traces for hangs, hitches, layout, rendering, and main-thread work;
- MetricKit or Xcode Organizer responsiveness data;
- production logs around loading stages;
- user reports describing stuck, blank, jumpy, or misleading UI.
Use careful language when evidence is incomplete:
- “This should reduce blank-screen time.”
- “This gives the user earlier feedback.”
- “This needs validation on a release build.”
- “Validate with a screen recording, Instruments trace, UI test, or production signal.”
Avoid unsupported claims:
- “This fixes performance.”
- “This is now smooth.”
- “This will feel faster to users.”
- “This works well on older devices.”
Reference routing
Read these only when relevant:
references/progressive-rendering.md— read when a screen waits for all data before showing useful UI, can show critical content first, needs section-level loading, or clears existing content during refresh.references/loading-states.md— read when the task involves loading, empty, error, retry, refreshing, skeleton, placeholder, or progress states.references/optimistic-updates.md— read when the task involves optimistic UI, pending state, rollback, retries, conflict handling, local reconciliation, or server sync.references/high-stakes-actions.md— read when the action is financial, legal, destructive, irreversible, medical, identity-related, security-sensitive, or server-authoritative.references/validation-and-testing.md— read when the task asks how to validate perceived responsiveness, older-device behavior, Low Power Mode signals, release-build behavior, screen recordings, Instruments traces, MetricKit, or production evidence.
Output expectations
When reviewing a screen or flow, respond with:
## Finding
Describe the perceived performance issue.
## User impact
Explain what the user sees or feels: no feedback, blank screen, jumpy updates, delayed interaction, unclear progress, unsafe optimism, duplicate submission risk, or premature success.
## Evidence
Point to code, state model, flow behavior, trace, recording, metric, user report, or missing UI state.
## Recommended change
Suggest the smallest useful product/UI change first: immediate feedback, distinct loading state, progressive rendering, stale-while-refreshing content, optimistic update with rollback, explicit confirmation, duplicate-submission prevention, or validation.
## Implementation notes
Explain what can be changed in code and what depends on product, design, backend, or runtime evidence.
## Validation
State how to verify the improvement. Do not claim manual, device, or production validation was performed unless evidence is provided.
Prefer user-visible improvements over low-level optimization when the bottleneck is missing feedback, all-or-nothing rendering, unclear loading, unsafe optimistic behavior, or poor continuity.
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 聚焦 iOS 产品级感知性能,覆盖加载状态、骨架屏、乐观更新等高价值场景
- 明确区分用户可见反馈与底层性能,直击高频刚需痛点
亮点
- 触发条件清晰完整,涵盖多种用户感知延迟场景
- 排除范围明确,避免与其他性能诊断技能混淆
亮点
- 结构完整,包含工作流、决策规则、陷阱提醒和验证指南
- 提供标准化输出模板,便于执行和落地
待提升项
-
description写错位置 原报告严重程度:轻微
顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部
改进建议:将 description 内容移至顶层 frontmatter 中以符合规范
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
截图或屏幕采集
只采集明确选择的窗口或区域,避开密码、客户资料等敏感信息,分享前再次检查。
主文档提及 · 第 127, 144 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。