/powerplatform-core:platform-administrationfrom powerplatform-core
Administers Power Platform tenants and environments via `pac admin` CLI and API. Covers environment lifecycle, tenant settings, DLP policies, managed environments, and capacity reporting.
Ships in powerplatform-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill owns Power Platform tenant and environment administration: the operations normally performed in the Power Platform Admin Center, done headlessly and code-first via the pac admin CLI and the Power Platform API (Microsoft.PowerPlatform.Management .NET SDK / powerplatform-management Python SDK). It is the administration branch of the powerplatform-core orchestrator.
It is not for working inside a single environment's data or solutions — row data is data-operations, solution packaging/delivery is solution-alm-delivery, security roles are security-roles. This skill operates one level up: the tenant and its environments.
Administration uses a different identity tier than the rest of the plugin. The maker/developer Dataverse auth (the auth dialog, a System Customizer/Administrator security role in one environment) is not enough.
pac auth profile to hold the Power Platform Administrator (or Microsoft 365 Global Administrator) role. Check with pac auth who / pac auth list; create an admin profile with pac auth create using an admin account.New-PowerAppManagementApp), after which it runs headless. An admin SPN is treated as a full Power Platform Administrator (no granular scoping), so guard its credentials accordingly.pac admin can only read DLP — create/edit/delete go through the Power Platform API / SDK / admin connector).The helpers live in the plugin's scripts/ directory at the plugin root. Resolve the plugin root and invoke them with $CLAUDE_PLUGIN_ROOT / $CODEX_PLUGIN_ROOT (also $PLUGIN_ROOT), or by their path within the install.
| Helper | Purpose |
|---|---|
admin_inspect.py | Read-only. Inspect tenant/environment administration via pac admin: --mode environments (list environments), --mode tenant-settings, --mode dlp-policies (list), --mode groups (environment groups). Returns the pac admin output in a JSON envelope; on an auth failure it returns a hint about needing an admin profile. No preflight (non-mutating). |
Capability status (phased). Read-only inspection (
admin_inspect.py) is implemented now. Writes and deletes do not yet have dedicated helpers — until they land, perform a specific admin write by running the exactpac admincommand (or the Power Platform API) only after the admin preflight below and explicit user approval. Do not invent a helper that doesn't exist.
Administration changes have a far higher blast radius than a single data write — an environment delete or reset is irreversible and a tenant setting affects everyone. Before any create / update / delete / reset / restore / DLP-write / tenant-setting-write, print or capture an admin preflight and stop if any required field is missing:
pac auth profile / service principal is being used, and confirmation it holds the Power Platform Administrator role.pac admin command (or API call) that will run.Hard rules:
admin_inspect.py and other list/show operations) are non-mutating and skip the preflight.pac admin and the Power Platform API / .NET+Python SDKs. Avoid the Microsoft.PowerApps.Administration.PowerShell module — it is Windows-PowerShell-5.x only and breaks cross-platform use; use the API/SDK for what pac admin can't do (notably DLP create/edit/delete).data-operations.solution-alm-delivery.security-roles.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub satriotsubasa/powerplatform-core --plugin powerplatform-core12 skills in this plugin
/code-appsUse for Power Apps Code Apps - the pro-code model where a standalone Vite-built React/Vue/TS single-page app uses the `@microsoft/power-apps` client library and is pushed into a Power Platform environment with no server to manage. Covers scaffolding from the official Vite template, initializing with `power.config.json`, adding Dataverse data sources that generate typed model/service files, local dev, building, and pushing via `npx power-apps push` (npm CLI) or legacy `pac code push`. Trigger whenever the user mentions a code app, `power.config.json`, `@microsoft/power-apps`, `pac code` / `power-apps` CLI, a `CodeApp/` folder, or wants to build, run, or push a custom SPA into Power Platform, even if no helper is named. Not for PCF controls embedded in model-driven forms (use pcf-and-web-resources) or Canvas/maker apps.
/custom-connectorsUse to DESIGN Power Platform custom connectors and integration wrappers - review an OpenAPI/Swagger description, choose the auth shape (API key, OAuth2, basic, none), inventory operations, and decide whether to expose an API as a direct custom connector or behind an Azure Function / API facade. Produces a connector name, auth approach, operation summaries, a recommended pattern, suggested environment variables, and solution-aware connection-reference guidance. Trigger whenever the user mentions a custom connector, OpenAPI/Swagger for Power Platform, connecting a flow or app to an external/REST API, an integration wrapper or facade, or whether an Azure Function should front an integration, even if no helper is named. Design-first - it does not publish the connector. Not for authoring the flow that calls it (use power-automate-flows) or server-side Dataverse logic (use plugins-server-extensions).
/data-operationsUse for Dataverse row/record DATA and queries - create, read, update, upsert, or delete rows, seed or sync reference/config data, and design and run queries. Trigger on "create a record/row", "read/retrieve this record", "get the value of a field on a row", "list/query the rows where", "how many rows match", "update this record", "upsert by alternate key", "delete this row", "seed config data", "import/sync these rows", "design an OData / FetchXML query", or "build the List rows filter for a flow", even when no helper is named. Covers keyed create/read/update/upsert/delete via the Dataverse SDK and query execution with bounded paging and total-count reporting, plus query design across OData, FetchXML, and Power Automate "List rows". Not for table/column/form/view/ribbon METADATA - use dataverse-schema.
/dataverse-schemaUse for Dataverse table METADATA - tables, columns, lookups/relationships, choices/option sets, alternate keys, main forms, public/lookup views, the form-level ribbon (RibbonDiffXml), form event handlers and script libraries, and table icons - plus up-front schema and query-shape design before metadata exists. Trigger on "create a table", "add a column/field", "add a lookup", "add a choice", "set an alternate key", "update the main form", "add a view / change view columns", "add a button to the form ribbon", "set the table icon", or "design a Dataverse schema", even when no helper is named. Prefer this over hand-edited customizations.xml. Not for row/record DATA, seeding config rows, or query authoring - use data-operations.
/document-generationUse for Dataverse document generation built on Word Templates - inventory the content controls in a `.docx`/`.dotx` template, map placeholders to data, and plan a template-aware change before editing blindly. Fires whenever the user mentions a Word Template, document generation, content controls, placeholder or merge-field mapping, document-definition records, "why is this field blank in the generated doc", "add a placeholder to the template", "what tags does this template use", or a document-generation plug-in, even if no helper is named. Treats `Word Templates/` as first-class source, surfaces duplicate tags, missing required placeholders, and unused controls, and points at the `*.Business`, `*.Plugins`, and `*.Data` touchpoints a placeholder change implies. Run the live-mutation preflight from the `powerplatform-core` orchestrator before any live template or component write.
/pcf-and-web-resourcesUse for the client-side surfaces of a model-driven app - Power Apps component framework (PCF) controls, web resources (JS/HTML/CSS/XML/image), client form scripts, and Power Fx formula review. Covers scaffolding a PCF control, binding it to a form control, building/deploying via wrapper solution or direct push, keeping manifest and wrapper-solution versions in sync, single and batch web resource sync/publish, OnLoad/OnSave/OnChange handler registration, and Xrm.WebApi code. Trigger whenever the user mentions PCF, pcfproj, ControlManifest, `pac pcf`, web resources, form scripts, ribbon JavaScript rules, Xrm/formContext, or wants a Power Fx / canvas formula debugged, even if no helper is named. Not for a standalone Vite SPA Code App - use code-apps.
Other plugins' skills for the same job