Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

7.4 KB
Raw Blame

Code Apps Plugin

Build Power Apps code apps with React and Vite. The package includes an Agent Plugins 1.0.0 manifest and retains the GitHub Copilot and Claude Code manifests.

Preview: This plugin is currently in preview and may change before general availability.

Prerequisites

  • Node.js v22+
  • An agent client that supports plugins, such as GitHub Copilot CLI, Claude Code, Codex, or Cursor

Install

The plugin is published in the microsoft/power-platform-skills marketplace.

Open GitHub Copilot CLI or Claude Code in any folder and run the following commands:

  1. Add the marketplace:

    /plugin marketplace add microsoft/power-platform-skills
    
  2. Install the plugin:

    /plugin install code-apps-preview@power-platform-skills
    

Codex

Use the repository's Codex catalog:

codex plugin marketplace add microsoft/power-platform-skills
codex plugin add code-apps-preview@power-platform-skills

This catalog lists Code Apps only. The existing Copilot and Claude marketplace entries remain unchanged.

Cursor and Other Agent Plugins Clients

Load plugins/code-apps with the client's documented local plugin option. For Cursor CLI versions that support it:

cursor-agent --plugin-dir <checkout>/plugins/code-apps

Client versions can differ in plugin installation and update support. The portable manifest alone does not establish client runtime support.

Package Components

Component Location Purpose
Portable manifest plugin.json Agent Plugins 1.0.0 package metadata
Legacy manifests .plugin/plugin.json, .claude-plugin/plugin.json Existing installations and updates
Shared skills skills The same 15 workflows for all clients
Legacy architect agents/code-app-architect.md Architecture guidance in legacy clients
Native Copilot architect com.github.copilot/agents/code-app-architect.agent.md Copilot-specific agent discovery
Empty hook configurations com.github.copilot/hooks/hooks.json Preserve discovery paths without intercepting tools

Skills retain their existing tool declarations, model preferences, and invocation settings. Client-specific metadata support varies. These settings do not establish strict Agent Skills conformance. Resource links resolve relative to each document, so they do not require client-specific variable expansion. The architect agent is client-specific, not a portable Agent Plugins component. The package registers no tool hooks. It does not include MCP servers.

Available Skills

Command Description
/create-code-app Scaffold, build, and deploy a new Power Apps code app
/add-dataverse Add Dataverse tables with generated TypeScript services
/add-sharepoint Add SharePoint Online connector
/add-excel Add Excel Online (Business) connector
/add-onedrive Add OneDrive for Business connector
/add-teams Add Teams messaging connector
/add-office365 Add Office 365 Outlook connector (calendar, email, contacts)
/add-azuredevops Add Azure DevOps connector
/add-connector Add any other Power Platform connector
/add-datasource Ask your copilot to recommend the right data source
/add-mcscopilot Add a Microsoft Copilot Studio agent connector
/add-workiq Add Microsoft 365 search and chat through Work IQ
/list-connections Find Power Platform connection IDs
/deploy Build and deploy an existing code app
/report-issue Prepare a public bug report for user approval

Start with /create-code-app — it walks you through everything.

Skill invocation syntax depends on the client. If the client has no skill tool, read the matching skills/<name>/SKILL.md and follow its workflow. All approval and confirmation requirements still apply.

Connections

Connectors other than Dataverse use a connection: the saved sign-in a connector uses to call its service. New projects get Power Apps CLI 1.3.0 or later installed automatically, so the plugin can reuse your existing connection or create one for you:

  • One connection for the connector: the plugin uses it.
  • Several connections: the plugin asks which one to use.
  • No connection, and the connector signs in only with your Microsoft account (single sign-on): the CLI creates one with your account while adding the connector. The plugin tells you before it starts the add.
  • No connection otherwise: the plugin asks for your OK before it creates one, either with single sign-on (--use-sso) or by running pa connection create. If the connector needs a browser sign-in, it may ask you to run pa connection create in your own terminal.

Projects on an older CLI keep working: the plugin looks up the connection ID first.

Update Existing Installations

The plugin identity remains code-apps-preview. Existing Copilot and Claude installations do not require removal or reinstallation:

/plugin marketplace update power-platform-skills
/plugin update code-apps-preview@power-platform-skills

For Codex, refresh the Git-backed marketplace:

codex plugin marketplace upgrade power-platform-skills

Start a new client session after updating. Use the documented update action for other clients.

CLI attribution

Only CLI commands initiated by a Code Apps skill receive PA_CLI_ORIGIN=plugin. The command-scoped prefix preserves explicit user origins, including empty values. It removes an inherited PA_PLUGIN_REPORT_AGENT from that child process only. The CLI detects the AI tool from its environment. The plugin does not guess agent labels. No pre-tool hook intercepts unrelated commands, Node checks, builds, or package installs. Attribution does not modify the parent shell or later commands.

Supporting CLI versions map PA_CLI_ORIGIN to power-apps-cli, plugin, or other in the existing cliSource custom dimension (customDimensions.cliSource). They do not emit raw origin values or add a cliOrigin column. This plugin does not send telemetry or change CLI consent. Supporting CLI versions record a normalized AI-tool label from passive environment detection. See attribution safety and command-scoped instructions.

Uninstall

/plugin uninstall code-apps-preview

Documentation