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.
$npx -y skills add microsoft/power-platform-skills --skill debug-appInstalls into the current project.
Run `npx skills use "https://github.com/microsoft/power-platform-skills" --skill "microsoft/power-platform-skills/debug-app"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/microsoft/power-platform-skills" that are relevant to the current task. Run `npx skills add "https://github.com/microsoft/power-platform-skills"` and select the relevant skills, then follow their instructions.