lov-runtime-verification
БесплатноЗапускает вложенные скриптыНе проверенVerify client runtime fixes on actual desktop builds, physical iOS/Android devices, React Native/Flutter hosts, and deployed Web/PWA browsers with comparable…
от lovstudio★ 72 звезды на GitHubОб этом скилле
性能实测 · Performance Verification
验证具体客户端 App 的修复是否在真实宿主链路中减少了目标工作,同时保留正确性、恢复语义和用户体验。把源码边界、项目门禁、内部工作量、运行时指标、用户体验和宿主生命周期分别报告;缺少同负载前后对照时诚实停在较低终态。
Triggers
Activate when
- 用户说“帮我验证这个客户端性能修复是否真的生效”“在真机上复测后台恢复”“确认 Web/PWA 修复在真实浏览器生命周期中有效”。
- 用户要求验收 IPC/RPC 批量化、lazy hydration、轮询降载、缓存、进程/线程、内存、终端/session 回收或宿主生命周期修复。
- The user asks to verify a runtime fix on an actual Electron/Tauri/native desktop build, iOS/Android device, React Native/Flutter app, or deployed Web/PWA in a real browser.
Do not activate when
- 用户还没有修复、基线或可复现工作负载;先调用
lov-runtime-audit建立证据。 - 用户只要求跑一次单测、lint、编译或 Lighthouse,不要求真实 runtime 因果验收;使用项目原生校验流程或对应专项工具。
- The request only predicts performance from source, benchmarks hardware, or treats a simulator screenshot as proof of a physical-device lifecycle claim.
Invocation and shared dependencies
invocation: kit_only。本模块不能作为自带全部依赖的 standalone Skill 调用。KIT_DIR必须解析为含kit.yaml的 App Optimizer Kit 根目录;SKILL_DIR只指当前skills/runtime-verification模块。- 共享契约和脚本一律从
$KIT_DIR/references/*与$KIT_DIR/scripts/*读取,不复制、不猜测本地替代物。 - 至少需要
$KIT_DIR/references/evidence-contract.md、$KIT_DIR/references/runtime-playbook.md、$KIT_DIR/references/platform-adapters.md、$KIT_DIR/scripts/evidence_report.py和$KIT_DIR/scripts/profile_store.py;缺失时输出blocked并列出缺口。 - 机器可读证据使用
app-runtime-evidence/v1;旧的 Electron 专用 schema 只能作为待迁移输入,不能作为新报告格式。
Kit-only I/O contract
Inputs
要求至少提供或现场解析:
platform_family、runtime、App/version/build/commit、构建模式和发布渠道;框架与宿主分开记录,例如mobile + react-native + ios、mobile + flutter + android。- baseline 的 metric definition、unit、process/thread/page boundary、workload、scale、sample window、sampler 与 provenance。
- 包含修复的真实产物及宿主:正在运行的 desktop build、安装到目标物理设备的 mobile build,或实际部署并由指定浏览器加载的 Web/PWA URL。
- 可复现触发事件与预先声明的阈值,至少覆盖一个用户体验指标和一个内部工作量或运行时指标。
- 项目要求的 format/lint/typecheck/test/build、平台签名/安装门禁,以及修复相关的 lifecycle、resume/restore 与数据保护不变量。
只有补丁和测试、没有实际 patched runtime 时,最高只能是 implemented_not_runtime_verified。已有部分真实运行证据但关键体验 A/B、目标生命周期或生产观察缺失时,最高只能是 partially_verified。
Outputs
必须交付一个验收包,至少包含:
app-runtime-evidence/v1scope,含 platform family、framework/runtime、OS、hardware/browser、build identity 与宿主模式;- before/after 比较矩阵、provenance 和不可比项;
- 项目门禁、构建、签名、安装/部署与实际启动结果;
- 同一触发事件下的 IPC/network/DB/fs/subprocess/thread/resource 或 JS/native bridge 工作量;
- input latency、frame/jank、long task、event-loop/run-loop、CPU、RSS/footprint 或 energy 中至少一项用户/运行时结果;
- 相关宿主生命周期的冷/热启动、前后台、隐藏/恢复、进程重建、更新或离线恢复结果;
- residual hotspots、下一项判别性测量和唯一终态。
测试数量、编译成功、安装成功、页面可打开或一次低 CPU 截图都不能单独构成性能验收。
Platform and host contract
| Platform family | Runtime examples | Actual target required | Lifecycle seams to select from |
|---|---|---|---|
desktop |
Electron、Tauri、macOS/Windows/Linux native | 实际 dev/package build,核对 executable、process tree、cwd/version/commit;含 WebView 时同时固定 engine 版本 | cold/warm launch、window create/hide/show/close/reopen、background、sleep/wake、crash/relaunch、update |
mobile |
iOS/Android native、React Native、Flutter | 签名产物安装到目标物理设备,记录 device model、OS、artifact/build、native host 与 JS/Dart engine | install/upgrade、foreground/background、suspend/resume、memory pressure、OS process death、relaunch、offline/online |
web |
浏览器 Web App、PWA | 实际 deployed URL、浏览器/version/profile、deployment/build ID;PWA 还需固定 service worker 与 install mode | cold/warm navigation、route change、visible/hidden/frozen/restored、service-worker install/activate/update、cache cold/warm、offline/online、browser restart |
只测试与修复相关且预先声明的 seams,但不得用模拟器、headless-only 结果或另一个浏览器替代声称覆盖的真实 device/browser。模拟器、emulator 和 headless browser 可以作为补充回归门,必须单独标注。
Acceptance and evidence rules
- 每条证据记录 build/source ref、observed time、workload ID、sample window、sampler、process/page/device boundary 与原始 artifact;缺失字段明确写为 evidence gap。
- 只有 metric ID、unit、aggregation、boundary、workload、scale、build mode、window 和 sampler 足够一致时,才计算 before/after delta。
- 源码推导或 inventory × code path 得到的是
inference/ code-derived upper bound;与 runtime telemetry 对照时使用comparison.quality=directional。只有两侧都是同定义的精确配置边界时才使用implementation_bound。 - 运行时计数是
measurement。只有与预先声明阈值和可比 baseline 配对后,才可另立acceptance记录。 - test count、format/lint/typecheck/build、签名、安装和 smoke flow 放入
verification_gates,不放入性能 observation。 - 对内部工作量修复同时验证 user/runtime metric;只有一侧改善时保留替代解释。
- 对 hydration/cache 修复验证显式加载、deep link、刷新、离线与状态重建;对 reclamation 修复验证 protected reasons、teardown 和 resume。
- 对 React Native/Flutter 同时标明 JS/Dart 与 native host 边界;对 Electron/Tauri 标明 renderer/WebView 与 native/main 边界;对 Web/PWA 标明 page、worker 与 browser process 边界。
User Profile contract
每次调用先读取 skill.yaml 声明的 user-profile/v1。按“当前验收请求 → 本次 baseline 与 patched target → skills.lov-runtime-verification.records → shared preferences → shared user/brand → 无通过结论的保守默认值”解析冲突。
只有用户直接声明并要求跨会话沿用的 acceptance budget、reference workload 或 report detail,才可通过 $KIT_DIR/scripts/profile_store.py 写入 records.<field>。写入必须带 --confirm 并回报 profile path。不得持久化现场 PID、设备标识、私有
Установить lov-runtime-verification в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lov-runtime-verification?
Verify client runtime fixes on actual desktop builds, physical iOS/Android devices, React Native/Flutter hosts, and deployed Web/PWA browsers with comparable workloads and lifecycle checks.
Как установить скилл lov-runtime-verification?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lov-runtime-verification запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic