/pcf-development:pcf-developmentfrom pcf-development
Design, implement, review, and package Power Apps Component Framework (PCF) code components for model-driven apps, canvas apps, and Power Pages. Covers manifests, lifecycle APIs, dataset/field controls, React platform libraries, PAC CLI, ALM, performance, accessibility, security, testing, and deployment.
Ships in pcf-development. 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.
Build supportable Power Apps Component Framework (PCF) code components using current Microsoft platform contracts, explicit host constraints, secure data access, and solution-aware ALM.
Confirm these decisions before generating or changing code:
| Decision | Options | Why it matters |
|---|---|---|
| Host | Model-driven app, canvas app, Power Pages | API availability and authentication support differ. |
| Binding | Field, dataset, or unbound input | Determines manifest properties, lifecycle data, and outputs. |
| Rendering | Standard control or React control with platform libraries | Affects bundle size, React ownership, and initialization. |
| Data access | Bound values, dataset APIs, Dataverse Web API, connector | Canvas apps do not expose every Dataverse-dependent API. |
| Licensing | Standard or premium | Direct browser access to external services can make the component premium. |
| Delivery | Managed or unmanaged solution | Controls development, promotion, upgrade, and rollback behavior. |
Do not assume that an API available in a model-driven app is available in a canvas app. Verify host-specific support in the current PCF API reference.
Keep ControlManifest.Input.xml, TypeScript types, and runtime behavior aligned:
external-service-usage when the browser calls them directly.Implement the lifecycle deliberately:
init stores framework callbacks and creates long-lived UI state.updateView renders from the latest context and handles resize, visibility, dataset paging, and disabled state.getOutputs returns only declared output properties.destroy removes listeners, observers, timers, subscriptions, and framework resources.Never trigger an unconditional render-update-output loop. Notify output changes only when component-owned output actually changes.
localStorage or sessionStorage; Microsoft documents browser storage as insecure and unreliable for PCF state.innerHTML; when unavoidable, sanitize with a reviewed policy.Use the repository's installed versions and inspect pac --version, Node.js, package manifests, and lockfiles before changing dependencies.
Typical component flow:
pac pcf init --namespace <namespace> --name <component> --template field
npm install
npm run build
npm test
Typical solution flow:
pac solution init --publisher-name <publisher> --publisher-prefix <prefix>
pac solution add-reference --path <component-project>
dotnet build
Prefer source-controlled solution projects and environment-specific configuration. Do not publish, import, or upgrade a production solution without the target environment, solution type, dependency analysis, approval, and rollback path.
Run the smallest existing checks that cover the component:
updateView, large datasets, paging, and cleanup after navigation.When validation cannot run, report the missing PAC CLI, environment, host, credentials, test project, or solution metadata explicitly.
| Symptom | Check |
|---|---|
| Control is absent from the maker experience | Manifest type, supported host, solution import, publisher prefix, and component version. |
| Values do not persist | Output usage, notifyOutputChanged, getOutputs, bound property type, and disabled state. |
| Canvas behavior differs | Host API availability, connector use, custom-auth restriction, and dataset support. |
| Bundle is unexpectedly large | React/platform-library mode, duplicated dependencies, source maps, and bundled assets. |
| Memory or event duplication grows | Cleanup in destroy and idempotence of updateView. |
| Solution upgrade fails | Dependencies, managed properties, version ordering, publisher identity, and import logs. |
power-platform-expert agent for broader Dataverse, Power Automate, governance, or architecture decisions.## PCF implementation result
**Host:** <model-driven|canvas|Power Pages>
**Binding:** <field|dataset|input>
**Status:** <implemented|reviewed|blocked>
### Contract
- Manifest changes: <summary>
- Lifecycle behavior: <summary>
- Data and licensing: <summary>
### Quality
- Security and privacy: <result>
- Accessibility: <result>
- Performance: <result>
- ALM and rollback: <result>
### Validation
- <command or host test>: <pass|fail|not run with reason>
destroy releases resources.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin pcf-developmentOther plugins' skills for the same job