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/project-tracker' 'project-tracker'",
"exitCode": 0,
"result": { "workingDir": "D:\\work\\project-tracker", "slug": "project-tracker", "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": "planner-discovery",
"command": "Task genpage-planner (discovery: create, No connector bindings., No custom API bindings.)",
"result": {
"action": "needs_input",
"why": "Two new tables must be created, so an app and a target solution are required before the plan can be proposed",
"questions": [
{ "id": "app", "question": "Which app should the page be added to?", "options": ["Contoso Operations Hub (11111111-2222-3333-4444-555555555555)", "Field Service Desk (44444444-5555-6666-7777-888888888888)", "Create a new app"] },
{ "id": "solution", "question": "Your env has 7 existing custom tables using prefix cr. Which solution should the new tables (cr_project, cr_milestone) go in?", "options": ["Continue in 'ContosoProjects' (prefix: cr) — matches your existing custom tables [RECOMMENDED]", "Create new 'genpage-contoso-operations-hub' solution under cr publisher", "Use existing 'FieldSurveys' (prefix: new)", "Create a new solution under Default Publisher (prefix: new)", "Use Default Solution (prefix: new) ⚠ different prefix from existing work"] }
],
"discovered": {
"languages": ["English (1033)"],
"existingEntities": [],
"entitiesToCreate": ["cr_project", "cr_milestone"],
"detectedPrefix": "cr",
"detectedTableCount": 7,
"solutions": [{ "uniquename": "ContosoProjects", "prefix": "cr" }, { "uniquename": "FieldSurveys", "prefix": "new" }]
}
}
},
{ "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 \u2014 RTL: No"] } },
{ "id": "list-tables-search", "by": "genpage-planner", "command": "node 'D:/repo/plugins/model-apps/scripts/list-tables.js' --env 'https://contoso.crm.dynamics.com' --search 'cr_project,cr_milestone' --exact", "exitCode": 0, "result": { "ok": true, "search": ["cr_project", "cr_milestone"], "exact": true, "count": 0, "tables": [], "missing": ["cr_project", "cr_milestone"] } },
{
"id": "list-tables-prefix-scan",
"by": "genpage-planner",
"command": "node 'D:/repo/plugins/model-apps/scripts/list-tables.js' --env 'https://contoso.crm.dynamics.com' --type custom",
"exitCode": 0,
"result": {
"ok": true,
"type": "custom",
"count": 9,
"tables": [
{ "logicalName": "cr_contractor", "displayName": "Contractor", "schemaName": "cr_Contractor", "isCustom": true },
{ "logicalName": "cr_costcenter", "displayName": "Cost Center", "schemaName": "cr_CostCenter", "isCustom": true },
{ "logicalName": "cr_expense", "displayName": "Expense", "schemaName": "cr_Expense", "isCustom": true },
{ "logicalName": "cr_invoice", "displayName": "Invoice", "schemaName": "cr_Invoice", "isCustom": true },
{ "logicalName": "cr_resource", "displayName": "Resource", "schemaName": "cr_Resource", "isCustom": true },
{ "logicalName": "cr_timesheet", "displayName": "Timesheet", "schemaName": "cr_Timesheet", "isCustom": true },
{ "logicalName": "cr_vendor", "displayName": "Vendor", "schemaName": "cr_Vendor", "isCustom": true },
{ "logicalName": "new_feedback", "displayName": "Feedback", "schemaName": "new_Feedback", "isCustom": true },
{ "logicalName": "new_survey", "displayName": "Survey", "schemaName": "new_Survey", "isCustom": true }
]
}
},
{
"id": "list-solutions",
"by": "genpage-planner",
"command": "node 'D:/repo/plugins/model-apps/scripts/dataverse-request.js' 'https://contoso.crm.dynamics.com' GET 'solutions?$select=uniquename,friendlyname&$expand=publisherid($select=customizationprefix)&$filter=ismanaged eq false and uniquename ne ''Default'' and uniquename ne ''Active'' and isvisible eq true&$top=10'",
"exitCode": 0,
"result": { "status": 200, "data": { "value": [
{ "uniquename": "ContosoProjects", "friendlyname": "Contoso Projects", "publisherid": { "customizationprefix": "cr" } },
{ "uniquename": "FieldSurveys", "friendlyname": "Field Surveys", "publisherid": { "customizationprefix": "new" } }
] } }
},
{ "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": "Contoso Operations Hub", "uniqueName": "ContosoOperationsHub", "description": "", "published": true, "unpublishedChanges": false },
{ "id": "44444444-5555-6666-7777-888888888888", "name": "Field Service Desk", "uniqueName": "FieldServiceDesk", "description": "", "published": true, "unpublishedChanges": false }
] } },
{
"id": "planner-proposal",
"command": "Task genpage-planner (answers: create, cr_project + cr_milestone (new), project tracker with milestones and sample data, app Contoso Operations Hub, solution ContosoProjects)",
"result": {
"action": "plan",
"pages": [{ "page": "Project Tracker", "file": "project-tracker.tsx", "entities": ["cr_project", "cr_milestone"] }],
"entityCreationRequired": true,
"entities": [
{ "suffix": "project", "resolved": "cr_project", "columns": ["manager", "startdate", "targetdate", "budget"], "choices": ["status"] },
{ "suffix": "milestone", "resolved": "cr_milestone", "columns": ["duedate", "percentcomplete"], "choices": ["status"], "relationships": [{ "type": "1:N lookup", "relatedTable": "project", "lookupSuffix": "project" }] }
],
"app": { "name": "Contoso Operations Hub", "appId": "11111111-2222-3333-4444-555555555555" },
"solution": { "uniqueName": "ContosoProjects", "publisherPrefix": "cr" }
}
},
{
"id": "plan-prepare",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-plan-provenance.js' prepare --plan 'D:/work/project-tracker/genpage-plan.md'",
"exitCode": 0,
"result": { "ok": true, "action": "prepare", "planPath": "D:\\work\\project-tracker\\genpage-plan.md", "quarantinedPath": null }
},
{
"id": "planner-write",
"command": "Task genpage-planner (approved: write genpage-plan.md)",
"result": { "action": "written", "plan": "D:/work/project-tracker/genpage-plan.md" }
},
{
"id": "plan-verify",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-plan-provenance.js' verify --plan 'D:/work/project-tracker/genpage-plan.md' --approved '@D:/work/project-tracker/.approved-genpage-plan.md'",
"exitCode": 0,
"result": { "ok": true, "action": "verify", "planPath": "D:\\work\\project-tracker\\genpage-plan.md", "kind": "create", "targets": ["project-tracker.tsx"], "writtenHash": "e0a1f584bfc4462d2995c45ff9817963b1f03ce672dac1a5e8f72268538fbcaf" }
},
{
"id": "auth-preflight",
"command": "node 'D:/repo/plugins/model-apps/scripts/check-auth.js' --env 'https://contoso.crm.dynamics.com' --require-pac",
"exitCode": 0,
"result": {
"ok": true, "blocker": null,
"message": "Ready (az + pac both signed in as [email protected], env https://contoso.crm.dynamics.com).",
"warnings": [], "azUser": "[email protected]", "pacUser": "[email protected]",
"envUrl": "https://contoso.crm.dynamics.com", "identitiesMatch": true,
"whoAmI": { "ok": true, "userId": "22222222-3333-4444-5555-666666666666", "organizationId": "33333333-4444-5555-6666-777777777777" }
}
},
{
"id": "entity-builder-1",
"command": "Task genpage-entity-builder (plan D:/work/project-tracker/genpage-plan.md, working dir D:/work/project-tracker, plugin root D:/repo/plugins/model-apps, env from Phase 2a)",
"result": {
"action": "needs_input",
"why": "Sample data is optional; the user must confirm it before rows are written",
"questions": [
{ "id": "sample-data", "question": "Entities created successfully: cr_project (6 columns, parent of cr_milestone), cr_milestone (5 columns, lookup cr_project). Would you like me to add sample data for testing?", "options": [{ "label": "Yes, add sample data", "description": "Seed realistic projects and milestones linked through the cr_project lookup" }, { "label": "No, skip", "description": "Leave both tables empty" }], "multiSelect": false }
],
"discovered": { "provisioned": ["cr_project", "cr_milestone"], "relationship": "cr_project_cr_milestone", "log": "D:/work/project-tracker/genpage-entity-creation-log.md", "input": "D:/work/project-tracker/provision-input.json" }
}
},
{
"id": "builder-auth-1",
"by": "genpage-entity-builder",
"command": "node 'D:/repo/plugins/model-apps/scripts/check-auth.js' --env 'https://contoso.crm.dynamics.com' --require-pac",
"exitCode": 0,
"result": {
"ok": true, "blocker": null,
"message": "Ready (az + pac both signed in as [email protected], env https://contoso.crm.dynamics.com).",
"warnings": [], "azUser": "[email protected]", "pacUser": "[email protected]",
"envUrl": "https://contoso.crm.dynamics.com", "identitiesMatch": true,
"whoAmI": { "ok": true, "userId": "22222222-3333-4444-5555-666666666666", "organizationId": "33333333-4444-5555-6666-777777777777" }
}
},
{
"id": "provision-data-model",
"by": "genpage-entity-builder",
"command": "node 'D:/repo/plugins/model-apps/scripts/provision-entities.js' --env 'https://contoso.crm.dynamics.com' --input '@D:/work/project-tracker/provision-input.json' --apply",
"exitCode": 0,
"result": {
"ok": true,
"solution": "ContosoProjects",
"entities": [
{ "schemaName": "cr_Project", "logicalName": "cr_project", "entitySetName": "cr_projects" },
{ "schemaName": "cr_Milestone", "logicalName": "cr_milestone", "entitySetName": "cr_milestones" }
],
"columns": [
{ "table": "cr_project", "schemaName": "cr_Manager", "logicalName": "cr_manager" },
{ "table": "cr_project", "schemaName": "cr_StartDate", "logicalName": "cr_startdate" },
{ "table": "cr_project", "schemaName": "cr_TargetDate", "logicalName": "cr_targetdate" },
{ "table": "cr_project", "schemaName": "cr_Budget", "logicalName": "cr_budget" },
{ "table": "cr_project", "schemaName": "cr_Status", "logicalName": "cr_status" },
{ "table": "cr_milestone", "schemaName": "cr_DueDate", "logicalName": "cr_duedate" },
{ "table": "cr_milestone", "schemaName": "cr_PercentComplete", "logicalName": "cr_percentcomplete" },
{ "table": "cr_milestone", "schemaName": "cr_Status", "logicalName": "cr_status" }
],
"relationships": [
{ "kind": "1n", "schemaName": "cr_project_cr_milestone", "lookupLogicalName": "cr_project" }
],
"records": {}
}
},
{
"id": "entity-builder-2",
"command": "Task genpage-entity-builder (sample-data decision answered: Yes, add sample data; carries the pass-1 provisioning result)",
"result": {
"action": "complete",
"summary": [
{ "table": "Project", "logicalName": "cr_project", "columns": 6, "relationships": "parent of cr_milestone", "sampleRecords": 4 },
{ "table": "Milestone", "logicalName": "cr_milestone", "columns": 5, "relationships": "lookup cr_project → cr_project", "sampleRecords": 12 }
],
"log": "D:/work/project-tracker/genpage-entity-creation-log.md"
}
},
{
"id": "builder-auth-2",
"by": "genpage-entity-builder",
"command": "node 'D:/repo/plugins/model-apps/scripts/check-auth.js' --env 'https://contoso.crm.dynamics.com' --require-pac",
"exitCode": 0,
"result": {
"ok": true, "blocker": null,
"message": "Ready (az + pac both signed in as [email protected], env https://contoso.crm.dynamics.com).",
"warnings": [], "azUser": "[email protected]", "pacUser": "[email protected]",
"envUrl": "https://contoso.crm.dynamics.com", "identitiesMatch": true,
"whoAmI": { "ok": true, "userId": "22222222-3333-4444-5555-666666666666", "organizationId": "33333333-4444-5555-6666-777777777777" }
}
},
{
"id": "provision-sample-data",
"by": "genpage-entity-builder",
"command": "node 'D:/repo/plugins/model-apps/scripts/provision-entities.js' --env 'https://contoso.crm.dynamics.com' --input '@D:/work/project-tracker/provision-input.json' --apply --sample-data",
"artifact": "provision-input.json",
"exitCode": 0,
"result": {
"ok": true,
"solution": "ContosoProjects",
"entities": [
{ "schemaName": "cr_Project", "logicalName": "cr_project", "entitySetName": "cr_projects" },
{ "schemaName": "cr_Milestone", "logicalName": "cr_milestone", "entitySetName": "cr_milestones" }
],
"columns": [
{ "table": "cr_project", "schemaName": "cr_Manager", "logicalName": "cr_manager" },
{ "table": "cr_project", "schemaName": "cr_StartDate", "logicalName": "cr_startdate" },
{ "table": "cr_project", "schemaName": "cr_TargetDate", "logicalName": "cr_targetdate" },
{ "table": "cr_project", "schemaName": "cr_Budget", "logicalName": "cr_budget" },
{ "table": "cr_project", "schemaName": "cr_Status", "logicalName": "cr_status" },
{ "table": "cr_milestone", "schemaName": "cr_DueDate", "logicalName": "cr_duedate" },
{ "table": "cr_milestone", "schemaName": "cr_PercentComplete", "logicalName": "cr_percentcomplete" },
{ "table": "cr_milestone", "schemaName": "cr_Status", "logicalName": "cr_status" }
],
"relationships": [
{ "kind": "1n", "schemaName": "cr_project_cr_milestone", "lookupLogicalName": "cr_project" }
],
"records": {
"cr_Project": [
"44444444-0000-4000-8000-000000000001",
"44444444-0000-4000-8000-000000000002",
"44444444-0000-4000-8000-000000000003",
"44444444-0000-4000-8000-000000000004"
],
"cr_Milestone": [
"55555555-0000-4000-8000-000000000001",
"55555555-0000-4000-8000-000000000002",
"55555555-0000-4000-8000-000000000003",
"55555555-0000-4000-8000-000000000004",
"55555555-0000-4000-8000-000000000005",
"55555555-0000-4000-8000-000000000006",
"55555555-0000-4000-8000-000000000007",
"55555555-0000-4000-8000-000000000008",
"55555555-0000-4000-8000-000000000009",
"55555555-0000-4000-8000-000000000010",
"55555555-0000-4000-8000-000000000011",
"55555555-0000-4000-8000-000000000012"
]
}
}
},
{
"id": "generate-types",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage.js' types --env 'https://contoso.crm.dynamics.com' --data-sources 'cr_project,cr_milestone' --output-file 'D:/work/project-tracker/RuntimeTypes.ts'",
"artifact": "RuntimeTypes.ts",
"exitCode": 0,
"result": { "ok": true, "outputFile": "D:/work/project-tracker/RuntimeTypes.ts", "dataSources": ["cr_project", "cr_milestone"], "detail": "none", "bytes": 14870 }
},
{ "id": "gate-custom-api", "command": "node 'D:/repo/plugins/model-apps/scripts/lib/feature-flags.js' custom-api", "exitCode": 1, "result": "disabled" },
{ "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/project-tracker/genpage-plan.md'",
"exitCode": 0,
"result": { "ok": true, "workingDir": "D:\\work\\project-tracker", "files": ["project-tracker.tsx"], "problems": [] }
},
{
"id": "stamp",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-worker-output.js' --stamp --file 'D:/work/project-tracker/project-tracker.tsx'",
"exitCode": 0,
"result": { "ok": true, "action": "stamp", "filePath": "D:\\work\\project-tracker\\project-tracker.tsx", "existed": false }
},
{ "id": "write-page", "command": "Write project-tracker.tsx", "artifact": "project-tracker.tsx" },
{
"id": "icon-grep",
"command": "Grep from \"@fluentui/react-icons\" project-tracker.tsx; Grep ^ArrowClockwiseRegular$|^BriefcaseRegular$|^CalendarLtrRegular$|^FlagRegular$|^OpenRegular$|^PersonRegular$|^WarningRegular$ references/verified-icons.txt",
"result": "ArrowClockwiseRegular, BriefcaseRegular, CalendarLtrRegular, FlagRegular, OpenRegular, PersonRegular, WarningRegular: all verified"
},
{ "id": "border-grep", "command": "Grep ['\"]?borderWidth['\"]?\\s*: project-tracker.tsx", "result": "no matches" },
{
"id": "gate",
"command": "node 'D:/repo/plugins/model-apps/scripts/genpage-worker-output.js' --file 'D:/work/project-tracker/project-tracker.tsx'",
"artifact": "project-tracker.tsx",
"exitCode": 0,
"result": { "ok": true, "filePath": "D:\\work\\project-tracker\\project-tracker.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 'project-tracker.tsx' --name-file 'page-name.txt' --data-sources 'cr_project,cr_milestone' --prompt-file 'prompt.txt' --model 'claude-sonnet-4-6' --agent-message-file 'agent-message.txt' --add-to-sitemap",
"exitCode": 0,
"writes": 1,
"result": { "ok": true, "pageId": "66666666-7777-4888-9999-aaaaaaaaaaaa", "appId": "11111111-2222-3333-4444-555555555555", "updated": false }
}
]