/powerplatform-core:pcf-and-web-resourcesfrom powerplatform-core
Scaffolds, deploys, and manages Power Apps component framework (PCF) controls, web resources, client form scripts, and Power Fx formulas for model-driven apps.
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 the client-side and field-rendering surfaces of a model-driven app: PCF code components, authored web resources (JavaScript, HTML, CSS, XML, images), client form scripts, and Power Fx formula review. Prefer the lightest surface that satisfies the requirement — a named form-script handler or a small web resource before a PCF control, and a PCF control before a heavy HTML web resource. Keep everything source-controlled and deploy through targeted helpers, not whole-solution import.
CustomRule JavaScript function.IfError, or maintainability.For tables, columns, form metadata, or RibbonDiffXml structure, use dataverse-schema. For plug-ins, custom APIs, or shared server logic, use plugins-server-extensions. For a full pro-code SPA, use code-apps.
Helpers live in the plugin's scripts/ directory at the plugin root, not inside this skill folder. Resolve the plugin root and invoke them:
python "$CLAUDE_PLUGIN_ROOT/scripts/scaffold_pcf_control.py" --helppython "$CODEX_PLUGIN_ROOT/scripts/scaffold_pcf_control.py" --help (also exposed as $PLUGIN_ROOT)scripts/ folder sits beside this skill bundle; invoke by its path within the install.| Helper | Use it to |
|---|---|
scaffold_pcf_control.py | Create a new control (--template field or --template dataset) in the inferred or explicit PCF area, keeping the namespace aligned with the publisher prefix. |
version_pcf_solution.py | Bump both version surfaces together — the 3-part version in ControlManifest.Input.xml and the 4-part version in the wrapper Solutions\src\Other\Solution.xml. |
deploy_pcf.py | In auto mode: install dependencies, build, and either package-import the wrapper solution or fall back to direct pac pcf push. |
bind_pcf_control.py | Attach a deployed control to an existing form control through a headless systemform.formxml update when the binding is deterministic. |
sync_webresource.py | Headlessly upload/update and publish a single JS/HTML/CSS/XML/image web resource. |
sync_webresources_batch.py | Sync/publish several changed web resources in one pass — stop if the batch sweeps in unrelated files. |
debug_power_fx.py | Heuristic Power Fx review: function inventory, delegation-risk checks, missing-IfError on writes, maintainability warnings, rewrite hints, and test cases. |
scaffold_pcf_control.py; design for empty, loading, error, and disabled states; preserve accessibility and keyboard behavior; do not introduce a second frontend toolchain if the repo already standardizes one.version_pcf_solution.py so the manifest and wrapper-solution versions move together. Mismatched versions are the most common cause of a control that imports but does not update.deploy_pcf.py in auto mode after a local build. If the repo has a wrapper Solutions project, treat it as the deployable package path: Debug artifacts come from Solutions\bin\Debug, Release (often managed + unmanaged) from Solutions\bin\Release — prefer the managed artifact unless the user asks for unmanaged.bind_pcf_control.py; otherwise report the remaining maker step.sync_webresource.py (one file) or sync_webresources_batch.py (several). For ribbon visibility/enablement, prefer a JavaScript CustomRule in a web resource over an XML ValueRule, and deploy the web resource only when the command already exists.executionContext.getFormContext() for new code; register only named exported functions with the expected signature; prefer Xrm.WebApi (retrieveRecord, retrieveMultipleRecords, createRecord, updateRecord, execute) selecting only the logical-name fields you need.debug_power_fx.py as a reviewer, not a compiler. Never claim a formula is delegation-safe unless the underlying connector and data source are known.powerplatform-core orchestrator and stop if any required field is missing.bin, Release, Downloads, or an old temp folder unless it was built in the current session or explicitly selected. If multiple package candidates exist, stop and ask.references/pcf-controls.md — PCF design, scaffolding, wrapper-solution packaging, dual-surface versioning, and validation.references/client-customization.md — form scripts, client APIs, ribbon JavaScript rules, and HTML/CSS/JS/TS web resources.references/power-fx.md — formula debugging, delegation review, and rewrite guidance.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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.
/platform-administrationUse for Power Platform TENANT and ENVIRONMENT administration - the tasks normally done in the Power Platform Admin Center, driven headlessly via the `pac admin` CLI and the Power Platform API. Covers listing environments, creating / resetting / backing-up / restoring / deleting environments, reading and writing tenant settings, data loss prevention (DLP) policies, managed environments, environment groups, application users / admin service principals, and capacity reporting. Trigger on "list the environments", "create / reset / delete / backup / restore an environment", "tenant settings", "DLP" / "data policy", "managed environment", "environment group", "Power Platform admin", "admin center", or "what environments are in this tenant", even when no helper is named. Admin-tier: it needs a Power Platform Administrator profile, distinct from the maker/developer Dataverse auth the other skills use. NOT for Dataverse data or solution ALM inside a single environment - use data-operations or solution-alm-delivery. Run the admin preflight before any environment or tenant write.
Other plugins' skills for the same job