edit-app

Iterates on an existing generated Power Apps mobile app by updating plans, screens, data models, and native capabilities.

808|167|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/microsoft/power-platform-skills --skill edit-app
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: edit-app
Source: https://github.com/microsoft/power-platform-skills/tree/main/plugins/mobile-apps/skills/edit-app
Command: npx skills add https://github.com/microsoft/power-platform-skills --skill edit-app

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After generating a Power Apps mobile app, making follow-up changes often means manually editing plan documents, Dataverse schemas, native wrappers, and screen code in a coordinated way. This Skill applies post-generation edits end to end so a single natural-language request updates the plan, the app code, and the preview together.

Core Features & Use Cases

  • Plan-driven editing: Keeps native-app-plan.md as the source of truth and applies approved plan diffs to the actual app code, screens, and navigation.
  • Coordinated mutations: Handles Dataverse schema changes, connector additions, native capabilities (barcode scanner, pen input, PDF viewer), design-system refreshes, and screen rebuilds in dependency order.
  • Quality gates: Runs TypeScript checks, route contract validation, environment drift detection, and style sweeps before marking an edit complete.
  • Use Case: Ask to "add barcode scanning and use the scanned value to search records" and the Skill adds the native wrapper, updates the data model if needed, rebuilds the search screen, verifies with tsc, and regenerates the static preview.

Quick Start

Ask the agent to improve the search screen of your existing generated mobile app to make it easier to use on mobile.

Frequently Asked Questions about edit-app

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I edit an existing generated Power Apps mobile app?

Invoke the edit-app skill with a natural-language description of the change, such as adding a detail screen or updating branding. It inspects the existing app, previews the impact, gets your approval, then applies plan, data, native, and screen mutations with verification.

How do I add barcode scanning to a Power Apps mobile app?

Describe the scanning flow you want, and the skill adds the barcode-scanner native wrapper via /add-native, updates the plan's Native Capabilities section, and rebuilds the search or form screen to query records with the scanned value.

When should I use edit-app instead of create-mobile-app?

Use edit-app only for iterating on an app that already has a native-app-plan.md file. Brand-new projects require create-mobile-app, and if the plan file is missing you must regenerate the project rather than reconstruct it.

Can I update only the plan document without changing app code?

Yes, pass the --plan-only flag when you explicitly want planning docs updated without mutating app code. Normal prompts apply the change end to end, including code, verification, and preview regeneration.

What happens if TypeScript verification fails after an edit?

The skill captures the full error output once, classifies the root cause, repairs in a batch, and reruns the gate once. If it still fails, it records a BLOCKED or DONE_WITH_CONCERNS entry in memory-bank.md instead of marking the edit successful.

Does edit-app support adding new Dataverse tables to an existing app?

Yes, it routes schema changes through the data-model-architect and /add-dataverse --skip-planning, refreshes generated services and models, updates .datamodel-manifest.json, and verifies compilation before any screen work continues.