Skip to content

microsoft/power-platform-skills / plugins/code-apps/skills/create-code-app

create-code-app

Verified

Creates Power Apps code apps using React and Vite. Use when building code apps, scaffolding projects, or deploying to Power Platform.

FileKindSize
SKILL.mdskill md17.7 KB
references/prerequisites-reference.mdmarkdown2.4 KB
references/troubleshooting.mdmarkdown3.5 KB

references/prerequisites-reference.md

View on GitHub
# Prerequisites Reference

## Required Tools

| Tool              | Minimum Version | Check Command                  | Install                                         |
| ----------------- | --------------- | ------------------------------ | ----------------------------------------------- |
| Node.js           | **v22+**        | `node --version`               | https://nodejs.org/                             |
| Git (optional)    | Any             | `git --version`                | https://git-scm.com/                            |
| Power Apps CLI    | **1.3.0+** for new projects | `npx --no-install pa --version` | Installed per project by `/create-code-app` |

The Power Apps CLI (`@microsoft/power-apps-cli`) is installed into each project as a dev dependency during scaffolding (`/create-code-app` Step 4). The Vite template doesn't include it, and no global install is required. New projects get 1.3.0 or later, which lets connector skills find or create connections without a connection ID. Existing projects on an older CLI keep working with an explicit connection ID.

## Required Account

- Power Platform account with code apps enabled
- At least one environment available
- Know your environment ID: find it in the URL at make.powerapps.com, e.g. `https://make.powerapps.com/environments/<env-id>/home`

## Required Permissions (allowedPrompts)

Include these in `allowedPrompts` when the client supports that field.
Otherwise, present the operations in the plan and use the client's permission controls.
The final deployment still requires separate confirmation.

```json
{
  "allowedPrompts": [
    { "tool": "Bash", "prompt": "check tool versions (node, git)" },
    { "tool": "Bash", "prompt": "scaffold power apps template (npx degit)" },
    { "tool": "Bash", "prompt": "install npm dependencies" },
    { "tool": "Bash", "prompt": "install the Power Apps CLI into the project (npm install --save-dev @microsoft/power-apps-cli)" },
    { "tool": "Bash", "prompt": "build for production (npm run build)" },
    { "tool": "Bash", "prompt": "initialize power apps project (pa app init)" },
    { "tool": "Bash", "prompt": "list connections, datasets, and tables (pa connection list, list-datasets, list-tables)" },
    { "tool": "Bash", "prompt": "add data sources (pa app add data-source)" },
    { "tool": "Bash", "prompt": "create connections (pa connection create)" },
    { "tool": "Bash", "prompt": "deploy to power platform (pa app push)" }
  ]
}
```
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 319kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall