> ## Documentation Index
> Fetch the complete documentation index at: https://patch.codemagic.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Use the Patch skill

> Ask your coding agent to integrate Patch, publish a first Staging update, and verify it on a device.

Open your app's repository in your coding agent. If you still need the skill, [choose your framework and install it](/docs/#install-the-patch-skill).

## Publish your first Staging update

> Add Codemagic Patch to this app and publish a test update to Staging. Make a small, visible change so I can tell when the update is running.

The agent checks how your app builds and whether it already uses an OTA update service. It configures the SDK for your project and prepares a native test build with the Staging deployment key. If your repository contains several apps, name the one you want to update.

Install the test build before publishing the visible change. Once the agent publishes the update, cold-start the app to download it, then close and reopen it to see the change. If the agent cannot build the app or see your device, it will ask you to run those steps and tell it what appears. See [Verify a test release](/docs/using-patch/verify-test-release) for the framework-specific checks.

## What needs your approval

You complete sign-in in the browser. The agent asks before installing or upgrading a Patch server, removing an existing OTA library, publishing outside Staging, promoting a release, or rolling one back.

## If your app already uses OTA updates

- **Migrate an app.** “This app uses CodePush. Show me what needs to change to move it to Patch.”
- **Diagnose a missing update.** “I published v2 to Staging for iOS, but my test device still shows v1. Check which deployment and app version this build uses.”
