debug-app

debug-app is a skill for Claude Code from microsoft/power-platform-skills. It costs 123 tokens per session (22,711 once invoked), scanned A, original, MIT.

A debugging workflow for a finished mobile app running with npm run dev, a command that starts the development server. It watches runtime output and checks for both visible errors and silent failures such as blank screens or missing lists.

In plain words
What is it for?
Use it after building and starting a mobile app when data is missing, screens are blank, or runtime and bundling errors appear. It can also route fixes to the relevant area, such as authentication or Dataverse setup.
Why use it?
It helps find problems that do not produce an obvious crash, including swallowed network errors. It can add temporary logging at data boundaries, identify the cause, fix the affected files, and remove the logging.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/.../app/(tabs)/todos.tsx:.

Part of the mobile-app plugin — 24 skills, 7 agents shipped together

Good fit Use it after building and starting a mobile app when data is missing, screens are blank, or runtime and bundling errors appear. It can also route fixes to the relevant area, such as authentication or Dataverse setup.

Compare 6 skills from other repositories ↓
About the project

microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.

microsoft/power-platform-skills · 1,202 stars · on GitHub · microsoft.github.io

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add microsoft/power-platform-skills
Claude Code
/plugin install mobile-app

Made for: Claude Code.

Or install mobile-app, the plugin that ships this one along with the rest of its 24 skills, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/power-platform-skills/debug-app/github.svg)](https://agentmods.dev/skills/microsoft/power-platform-skills/debug-app)
Your own site
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/debug-app"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/debug-app/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/debug-app"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/debug-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 22,711 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00123 $0.22711
Opus 5.5 $0.00049 $0.09084
Sonnet 5.5 $0.00025 $0.04542
Haiku 4.5 $0.00012 $0.02271

Measured 11d ago against content hash e90a77a3f6e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-app scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **No web or direct Metro probes** — Do not use React Native Web, browser automation, `curl`, `fetch`, `WebFetch`, or any direct request to a Metro/localhost endpoint for runtime diagnosis. Read only the `.powernative`
plugins/mobile-apps/skills/debug-app/SKILL.md · 1,228 lines

How it starts

The opening of the file, as written. The whole thing — 1,228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" - if it outputs a message, show it to the user before proceeding.

📋 Shared instructions: shared-instructions.md — read first.

Startup diagnosis uses the targeted compatibility inspection below instead of the shared blanket version check; missing dependencies must not prevent diagnosis. It does not check for updates. Explicit startup repair/restart approval overrides shared auto-proceed/default-answer guidance.

Debug App — Monitor & Fix

Monitor the running app through the project-local .powernative/metro-logs/ files written by metro.config.js, 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 only newly appended log bytes, then clean the traces after the root cause is fixed. Modeled on the upstream app-debugger.agent.md pattern — foreground loop, bounded polling, configurable clean-check/timeout exits, and optional watch-only operation.

When setup/startup or device opening is failing, first execute startup-diagnostics.md. This bounded phase can run without Metro logs or a loaded app and returns to the runtime path only when its prerequisites actually hold. Running npm run dev alone does not activate an agent, and this skill installs no background watcher.

Dev-client limitation: the standalone dev client sends app/runtime logs, React errors, host diagnostics, and Metro bundler output through Metro. The template's metro.config.js writes Metro terminal output and HTTP bundle failures into .powernative/metro-logs/; there is no separate device log source. Host diagnostics include strings such as [AuthProvider] MSAL init failed:, [bridge] fetch THREW for, [bridge] HTTP <status> for, [addAadAppToConnectionAcl] failed HTTP <status> for connection, [useConnectionRefs] could not verify connection ACLs; treating existing connections as setup-required, and [PAHost][ErrorBoundary] Unhandled JS error:.

Read the full file on GitHub · 1,228 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +7 lines e90a77a3f6e5
  2. 13d ago Changed · +43 lines 6b08df8a4b76
  3. 1mo ago Changed · +70 lines · -65 tokens per session e67ad41c9612
  4. 1mo ago Changed · +3 lines 9d47eaf5e18d
  5. 1mo ago Changed e75b6d454ef7
  6. 1mo ago Changed d70084093855
  7. 2mo ago Changed · +2 lines 50cd4db4b9a2
  8. 2mo ago Changed · +456 lines · +20 tokens per session 1441e8e88301
  9. 2mo ago Changed · +12 lines 23959edf8878
  10. 2mo ago First seen · 635 lines · 168 tokens per session scan A e7aa459291f3

Subscribe to this mod's changes

debug-app is a skill published in the GitHub repository microsoft/power-platform-skills (1,202 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 22,711 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

debug-app compared with skills from other repositories

debug-app next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debug-appmicrosoft/power-platform-skillsSkill1.2ktodayMITA123Claude Code
canvas-apps-ui-genToluVictor/canvas-apps-toolsSkill1527mo agoMITA71Claude Code
architecture-optimizationwondelai/skillsSkill2.8kyesterdayMITA226Claude Code
remove-technical-debtwondelai/skillsSkill2.8kyesterdayMITA224Claude Code, Codex
ios-hig-designwondelai/skillsSkill2.8kyesterdayMITA145Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA35Claude Code
investigateoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA51Claude Code