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.
JavaScript claude-code-pluginclaude-code-skillscode-appsgithub-copilot-pluginpower-appspower-pagespower-platform
[
{
"id": "manifest",
"command": "node 'D:/repo/plugins/model-apps/scripts/generate-page-manifest.js' 'D:/work/order-approvals' 'order-approvals'",
"exitCode": 0,
"result": {
"workingDir": "D:\\work\\order-approvals",
"slug": "order-approvals",
"features": [],
"files": {
"package.json": {
"wrote": true
},
"genpage.d.ts": {
"wrote": true
}
}
}
},
{
"id": "interaction-mode",
"command": "node 'D:/repo/plugins/model-apps/scripts/resolve-interaction-mode.js'",
"exitCode": 0,
"result": {
"ok": true,
"interactive": true,
"reason": "default (attended)"
}
},
{
"id": "node-version",
"command": "node --version",
"exitCode": 0,
"result": "v20.20.2"
},
{
"id": "pac-help",
"command": "pac help",
"exitCode": 0,
"result": "Microsoft PowerPlatform CLI Version: 2.11.0"
},
{
"id": "auth-list",
"command": "pac auth list",
"exitCode": 0,
"result": "Index Active Kind Name Friendly Name User Cloud Type Environment Environment Url\n[1] * UNIVERSAL Contoso [email protected] Public User Contoso https://contoso.crm.dynamics.com/"
},
{
"id": "list-languages",
"by": "genpage-planner",
"command": "node 'D:/repo/plugins/model-apps/scripts/list-languages.js' --env 'https://contoso.crm.dynamics.com'",
"exitCode": 0,
"result": {
"ok": true,
"baseLanguage": {
"lcid": 1033,
"code": "en-US",
"name": "English (United States)",
"rtl": false
},
"languages": [
{
"lcid": 1033,
"code": "en-US",
"name": "English (United States)",
"rtl": false
}
],
"unmapped": [],
"summary": [
"1033 en-US — RTL: No"
]
}
},
{
"id": "list-tables",
"by": "genpage-planner",
"command": "node 'D:/repo/plugins/model-apps/scripts/list-tables.js' --env 'https://contoso.crm.dynamics.com' --search 'salesorder' --exact",
"exitCode": 0,
"result": {
"ok": true,
"search": [
"salesorder"
],
"exact": true,
"count": 1,
"tables": [
{
"logicalName": "salesorder",
"displayName": "Order",
"schemaName": "SalesOrder",
"isCustom": false
}
],
"missing": []
}
},
{
"id": "list-apps",
"by": "genpage-planner",
"command": "node 'D:/repo/plugins/model-apps/scripts/apps.js' list --env 'https://contoso.crm.dynamics.com'",
"exitCode": 0,
"result": {
"ok": true,
"count": 2,
"apps": [
{
"id": "11111111-2222-3333-4444-555555555555",
"name": "Sales Hub",
"uniqueName": "SalesHub",
"description": "",
"published": true,
"unpublishedChanges": false
},
{
"id": "44444444-5555-6666-7777-888888888888",
"name": "Customer Service Hub",
"uniqueName": "CustomerServiceHub",
"description": "",
"published": true,
"unpublishedChanges": false
}
]
}
},
{
"id": "planner-discovery",
"command": "Task genpage-planner (discovery: create, No connector bindings., No custom API bindings.)",
"result": {
"action": "custom_api_discovery_required",
"intent": "approve the selected sales order with the existing Approve Order action",
"resolvedAction": "create",
"envUrl": "https://contoso.crm.dynamics.com",
"pageTables": "salesorder"
}
},
{
"id": "customapi-builder",
"command": "Task genpage-customapi-builder (Mode: create, pageTables salesorder)",
"result": {
"customApiBindings": "custom-api-bindings.md",
"actions": "actions.json",
"dataverseOperations": "none — not added this run"
}
},
{
"id": "builtin-gate",
"by": "genpage-customapi-builder",
"command": "node 'D:/repo/plugins/model-apps/scripts/lib/feature-flags.js' dataverse-operations",
"exitCode": 1,
"result": "disabled"
},
{
"id": "custom-api-discovery",
"by": "genpage-customapi-builder",
"command": "node 'D:/repo/plugins/model-apps/scripts/list-custom-apis.js' 'https://contoso.crm.dynamics.com' --entities 'salesorder'",
"exitCode": 0,
"result": {
"ok": true,
"customApis": [
{
"name": "cnt_ApproveOrder",
"displayName": "Approve Order",
"isFunction": false,
"bindingType": "Entity",
"boundEntityLogicalName": "salesorder",
"parameterKinds": {
"Comment": "String"
}
}
]
}
},
{
"id": "write-bindings",
"by": "genpage-customapi-builder",
"command": "Write custom-api-bindings.md, actions.json",
"artifacts": [
"custom-api-bindings.md",
"actions.json"
]
},
{
"id": "planner-app",
"command": "Task genpage-planner (Custom API Bindings contract: cnt_ApproveOrder; actions.json present)",
"result": {
"action": "needs_input",
"questions": [
{
"id": "app",
"question": "Which app should the page be added to?",
"options": [
"Sales Hub (11111111-2222-3333-4444-555555555555)",
"Customer Service Hub (44444444-5555-6666-7777-888888888888)",
"Create a new app"
]
}
],
"discovered": {
"languages": [
"English (1033)"
],
"existingEntities": [
"salesorder"
],
"entitiesToCreate": []
}
}
},
{
"id": "planner-proposal",
"command": "Task genpage-planner (answers: create, salesorder, approve with Approve Order, app Sales Hub)",
"result": {
"action": "plan",
"pages": [
{
"page": "Order Approvals",
"file": "order-approvals.tsx",
"entities": [
"salesorder"
]
}
],
"assumptions": [
"A1",
"A2"
],
"entityCreationRequired": false,
"app": {
"name": "Sales Hub",
"appId": "11111111-2222-3333-4444-555555555555"
}
}
},
{
"id": "plan-prepare",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-plan-provenance.js' prepare --plan 'D:/work/order-approvals/genpage-plan.md'",
"exitCode": 0,
"result": {
"ok": true,
"action": "prepare",
"planPath": "D:\\work\\order-approvals\\genpage-plan.md",
"quarantinedPath": null
}
},
{
"id": "save-approved",
"command": "Write .approved-genpage-plan.md",
"artifact": "approved-plan.md"
},
{
"id": "planner-write",
"command": "Task genpage-planner (approved: write genpage-plan.md)",
"result": {
"action": "written",
"plan": "D:/work/order-approvals/genpage-plan.md"
}
},
{
"id": "plan-verify",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-plan-provenance.js' verify --plan 'D:/work/order-approvals/genpage-plan.md' --approved '@D:/work/order-approvals/.approved-genpage-plan.md' --require-assumptions",
"exitCode": 0,
"result": {
"ok": true,
"action": "verify",
"planPath": "D:\\work\\order-approvals\\genpage-plan.md",
"kind": "create",
"targets": [
"order-approvals.tsx"
],
"writtenHash": "36d395158139cb51e1359e3ba90cc8f21e7ed3b3b3e454289aaa6388353f1310",
"semanticsHash": "63d8d19210142a458d55cd6d9181628948d5a3e38cb567807aa0edd7accfd44d"
}
},
{
"id": "generate-types",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage.js' types --env 'https://contoso.crm.dynamics.com' --data-sources 'salesorder' --output-file 'D:/work/order-approvals/RuntimeTypes.ts'",
"exitCode": 0,
"result": {
"ok": true,
"outputFile": "D:/work/order-approvals/RuntimeTypes.ts",
"dataSources": [
"salesorder"
],
"detail": "none",
"bytes": 20480
}
},
{
"id": "gate-telemetry",
"command": "node 'D:/repo/plugins/model-apps/scripts/lib/feature-flags.js' custom-telemetry",
"exitCode": 1,
"result": "disabled"
},
{
"id": "page-files",
"command": "node 'D:/repo/plugins/model-apps/scripts/check-page-files.js' --plan 'D:/work/order-approvals/genpage-plan.md'",
"exitCode": 0,
"result": {
"ok": true,
"workingDir": "D:\\work\\order-approvals",
"files": [
"order-approvals.tsx"
],
"problems": []
}
},
{
"id": "plan-verify-5a",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-plan-provenance.js' verify --plan 'D:/work/order-approvals/genpage-plan.md' --approved '@D:/work/order-approvals/.approved-genpage-plan.md' --require-assumptions",
"exitCode": 0,
"result": {
"ok": true,
"action": "verify",
"planPath": "D:\\work\\order-approvals\\genpage-plan.md",
"kind": "create",
"targets": [
"order-approvals.tsx"
],
"writtenHash": "36d395158139cb51e1359e3ba90cc8f21e7ed3b3b3e454289aaa6388353f1310",
"semanticsHash": "63d8d19210142a458d55cd6d9181628948d5a3e38cb567807aa0edd7accfd44d"
}
},
{
"id": "stamp",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-worker-output.js' --stamp --file 'D:/work/order-approvals/order-approvals.tsx'",
"exitCode": 0,
"result": {
"ok": true,
"action": "stamp",
"filePath": "D:\\work\\order-approvals\\order-approvals.tsx",
"existed": false
}
},
{
"id": "write-page",
"command": "Write order-approvals.tsx",
"artifact": "order-approvals.tsx"
},
{
"id": "icon-grep",
"command": "Grep from \"@fluentui/react-icons\" order-approvals.tsx; Grep ^CheckmarkRegular$ references/verified-icons.txt",
"result": "CheckmarkRegular: verified"
},
{
"id": "border-grep",
"command": "Grep ['\"]?borderWidth['\"]?\\s*: order-approvals.tsx",
"result": "no matches"
},
{
"id": "gate",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-worker-output.js' --file 'D:/work/order-approvals/order-approvals.tsx'",
"artifact": "order-approvals.tsx",
"exitCode": 0,
"result": {
"ok": true,
"filePath": "D:\\work\\order-approvals\\order-approvals.tsx",
"problems": []
}
},
{
"id": "write-upload-text",
"command": "Write prompt.txt, agent-message.txt, page-name.txt",
"artifacts": [
"prompt.txt",
"agent-message.txt",
"page-name.txt"
]
},
{
"id": "create",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-upload.js' --env 'https://contoso.crm.dynamics.com' --app-id '11111111-2222-3333-4444-555555555555' --code-file 'order-approvals.tsx' --name-file 'page-name.txt' --data-sources 'salesorder' --actions 'actions.json' --prompt-file 'prompt.txt' --model 'claude-sonnet-4-6' --agent-message-file 'agent-message.txt' --add-to-sitemap",
"exitCode": 0,
"result": {
"ok": true,
"pageId": "cccccccc-dddd-eeee-ffff-000000000027",
"appId": "11111111-2222-3333-4444-555555555555",
"updated": false
}
}
]