Mobile Debugging
调试 React Native 移动应用
当日志、缓存、原生构建和平台工具混在一起时,移动应用调试往往会陷入停滞。此技能为 Claude、Codex 和 Claude Code 提供专注的 React Native 与 Expo 故障排查工作流。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "Mobile Debugging" from https://skillstore.io/skills/babakbar-mobile-debugging.md and its manifest at https://skillstore.io/api/skills/babakbar-mobile-debugging/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“Mobile Debugging”。 Expo 应用在包更新后报告 unresolved module。
预期结果:
- 检查近期依赖变更和导入路径。
- 建议阅读完整的 Metro 堆栈跟踪并验证包兼容性。
- 仅在更简单的检查失败后才建议清理缓存。
正在使用“Mobile Debugging”。 添加原生模块后 Android 构建失败。
预期结果:
区分 Gradle、SDK 和模块兼容性检查。它会要求提供 Logcat 或构建输出,并仅在证据支持时建议干净重建。
正在使用“Mobile Debugging”。 某个屏幕滚动时感觉很慢。
预期结果:
- 指出渲染计时、昂贵的状态更新和内存清理。
- 建议在更改架构之前测量受影响的组件。
- 指出 iOS 和 Android 之间的平台差异。
安全审计
安全The skill is a React Native and Expo troubleshooting guide with no evidence of prompt injection, covert data collection, or unauthorized network activity. Several documented commands can delete caches or simulator data, alter builds, install packages, or terminate processes; users should review them before execution.
能力复核项 (11)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
⚙️ 外部命令 (26)
🌐 网络访问 (3)
📁 文件系统访问 (2)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/babakbar-mobile-debugging/audits/16?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/babakbar-mobile-debugging?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/babakbar-mobile-debugging?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/babakbar-mobile-debugging/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/babakbar-mobile-debugging.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 引用
BabakBar. (2026). Mobile Debugging security audit report (audit version 16) [Author version unspecified]. Skillstore. https://skillstore.io/skills/babakbar-mobile-debugging/audits/16BibTeX 引用
@techreport{babakbar-babakbar-mobile-debugging-2026,
author = {BabakBar},
title = {Mobile Debugging security audit report (audit version 16)},
institution = {Skillstore},
year = {2026},
number = {16},
url = {https://skillstore.io/skills/babakbar-mobile-debugging/audits/16},
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: "Mobile Debugging security audit report (audit version 16)"
version: "unspecified"
type: report
authors:
- name: "BabakBar"
date-released: "2026-07-18"
url: "https://skillstore.io/skills/babakbar-mobile-debugging/audits/16"
identifiers:
- type: other
value: "skillstore:babakbar-mobile-debugging:audit:16"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
解决 Metro 启动失败
在清理状态之前,使用检查清单隔离缓存、依赖、导入和包兼容性问题。
收集移动崩溃证据
在分配崩溃修复任务之前,收集平台日志、复现步骤、近期变更和环境详情。
准备构建失败分诊
在发布故障排查期间,区分 Expo、iOS pod、Android Gradle 和原生模块原因。
试试这些提示
我在 React Native 或 Expo 应用中遇到了 Metro bundler 错误。请询问关键错误文本、近期变更、包管理器、平台和项目类型。然后在任何清理命令之前,建议安全的初步检查。
帮助我调查 iOS 或 Android 原生构建失败。区分可能的依赖、pod、Gradle 和原生模块原因。说明在推荐清理或重新构建命令之前应收集哪些日志。
审查这个 React Native 屏幕性能问题。识别可能的慢渲染、内存泄漏和日志记录点。优先考虑不会改变应用行为的改动。
为生产环境移动崩溃创建结构化调试计划。在任何破坏性命令之前,包括复现步骤、日志来源、平台差异、依赖检查和风险说明。
最佳实践
- 在请求命令建议之前,分享确切的错误文本、平台、项目类型和近期变更。
- 执行前审查每个 shell 命令,尤其是清理、重新安装、模拟器重置和终止进程步骤。
- 保持清晰的复现路径,并分别比较 iOS 和 Android 行为。
避免
- 在保存工作并检查错误之前,不要运行破坏性的缓存或模拟器重置命令。
- 当你需要识别根本原因时,不要在一次尝试中混合多个清理步骤。
- 当 JavaScript 堆栈跟踪不完整时,不要忽略原生日志。