Logo Microsoft
Agents & OrchestrationSûr100100/100

Open Wrap Url (Microsoft)

Use when the user wants to open the Power Apps Wrap page for an app ID in the active environment.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs open-wrap-url__microsoft-power-platform-skills__plugins-mobile-apps-skills-11c9eccb137b
Logo Microsoft
Microsoft
microsoft/power-platform-skills
Contenu à copier
---
name: open-wrap-url
description: Use when the user wants to open the Power Apps Wrap page for an app ID in the active environment.
user-invocable: true
allowed-tools: Read, Bash
model: haiku
metadata:
  origin: Microsoft
---

> **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](../../shared/shared-instructions.md)** — read first.

# Open Wrap URL

Builds and opens the Wrap URL for a code app:

`https://make.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Prod`

`https://make.test.powerapps.com/environments/<envID>/wrap?appID=<appID>` for `--env Test`

This skill delegates URL construction and browser open behavior to `scripts/open-wrap-url.js`.

## Workflow

1. Resolve app ID + env ID → 2. Open Wrap URL

---

### Step 1 — Resolve app ID + env ID

**Telemetry checkpoint: `resolve_wrap_target`**

Both arguments are required:

- `--app-id <app-id>`
- `--env-id <environment-id>`

Optional host selector:

- `--env <Prod|Test>` (default: `Prod`)

If either value is missing in `$ARGUMENTS`, ask once for the missing value(s). If still missing, STOP.

### Step 2 — Open Wrap URL

**Telemetry checkpoint: `open_power_apps_wrap`**

Run from the plugin root (or any app root):

```bash
node scripts/open-wrap-url.js --app-id "<app-id>" --env-id "<environment-id>" [--env "Prod|Test"]
```

Return the generated URL in the response. If the browser auto-open fails, still print the URL and tell the user to open it manually.

## Notes

- This skill is read-only with respect to project source files.
- Works on macOS (`open`), Linux (`xdg-open`), and Windows (`start`).
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Open Wrap Url (Microsoft)

`--app-id <app-id>`
`--env-id <environment-id>`
`--env <Prod|Test>` (default: `Prod`)
This skill is read-only with respect to project source files.

Comment utiliser Open Wrap Url (Microsoft)

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Open Wrap Url (Microsoft)

Dis simplement à ton agent quelque chose comme :

Applique le skill open-wrap-url__microsoft-power-platform-skills__plugins-mobile-apps-skills-11c9eccb137b à cette tâche
Utilise open-wrap-url__microsoft-power-platform-skills__plugins-mobile-apps-skills-11c9eccb137b pour améliorer cette implémentation
Passe en revue ce sujet avec open-wrap-url__microsoft-power-platform-skills__plugins-mobile-apps-skills-11c9eccb137b

Skills liés à Open Wrap Url (Microsoft)