pcf
Installation
SKILL.md
Plugin check: Run
node "${PLUGIN_ROOT}/scripts/check-version.js"— if it outputs a message, show it to the user before proceeding.
PCF skill
Build, repair, upgrade, deploy, bind, verify and inventory Power Apps component framework controls. Run the work in the main conversation loop. Do not dispatch interactive authoring, approval, deploy consent, binding choices or browser-verification choices to a subagent.
Critical startup
- Set
PLUGIN_ROOTto the installedplugins/pcfdirectory. - Resolve interaction once:
node "${PLUGIN_ROOT}/scripts/resolve-interaction-mode.js" # Optional for automation: --non-interactive - In unattended mode, do not call
AskUserQuestion,EnterPlanModeorExitPlanMode. Use explicit request details and documented non-destructive defaults only; writeUnattended default: <question> → <answer> (<reason>)toworkflow-log.mdin the session working directory; halt on ambiguous environment, app/form/control identity or destructive choices.pcf-intent.json,pcf-plan.mdandworkflow-log.mdlive in that working directory.hooks/validate-write-safety.jsdetects a pcf session only frompcf-intent.jsonorpcf-plan.mdat or one level under the cwd;workflow-log.mdis not a session marker.--outmust be a new, empty subdirectory. Never write those session files into--outbefore scaffold runs — a non-empty directory is refused. - Suppressing a prompt never authorizes an environment write.
pcf-push.jsstill requires an explicit--envand prior consent recorded by the user or automation.