debug-app

仓库创建 2026年1月22日最近提交 4 小时前SkillHot 收录 20 天前
▸ 精选理由

能自动定位并修复问题,适合持续开发与快速迭代场景。

▸ 风险提示

会读取与修改本地源代码并运行构建/监控命令,需谨慎授权。

这个 Skill 做什么

监控运行中的应用以检测运行时错误与静默失败并尝试自动修复。

监控用 npm run dev 启动的移动应用,实时读 Metro 终端日志,找运行时错误和“静默失败”(空列表、白屏、被吞的网络错)并尝试自动修复。会在数据边界临时打 console.log、每隔几秒轮询、把错误归类并给出或落地修复,修好后会清理临时日志并验收。遇到超出范围的问题会把工单转给更合适的技能处理。

▸ 展开 SKILL.md 英文原文

Use when the user has finished building a mobile app, started it with `npm run dev`, and wants the running app monitored for runtime errors AND silent failures (empty lists, blank screens, swallowed network errors) and fixed autonomously. Accepts a free-text symptom (e.g., `/debug-app "todos not appearing on home screen"`) to drive terminal-log diagnostics — injects temporary console.log statements at data-path boundaries, reads Metro terminal output, and cleans up logs after the root cause is fixed. Otherwise polls the Metro terminal every 5s, classifies errors using an 8-category table, fixes inline or routes to the right skill, verifies each fix from terminal output, and exits after 3 consecutive clean polls. Foreground loop — blocks the conversation while running. Run only after the app is loaded.

开发编程调试自动修复运行时错误通用
566
Stars
116
Forks
40
仓库内 Skill
+152
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/mobile-apps/skills/debug-app/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/power-platform-skills/main/plugins/mobile-apps/skills/debug-app/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
**📋 Shared instructions: [shared-instructions.md](${CLAUDE_SKILL_DIR}/../../shared/shared-instructions.md)** — read first.

# Debug App — Monitor & Fix

Monitor the running app by reading the Metro dev-server terminal output, detect runtime and bundle errors, and fix them autonomously by editing the affected files (or routing to the right skill when the fix belongs in a domain like Dataverse schema or auth registration). For silent failures, inject temporary `console.log` statements at data-path boundaries, read the Metro terminal for output, then clean them up after the root cause is fixed. Modeled on the upstream `app-debugger.agent.md` pattern — foreground loop, 5-second cadence, exit on
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有