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
const test = require('node:test');
const assert = require('node:assert/strict');
const path = require('path');
const { spawnSync } = require('child_process');
const cliPath = path.join(
__dirname,
'..',
'..',
'skills',
'add-cloud-flow',
'scripts',
'list-cloud-flows.js'
);
function runListCloudFlows(envOverrides = {}) {
return spawnSync(process.execPath, [cliPath], {
encoding: 'utf8',
timeout: 10000,
env: { ...process.env, ...envOverrides },
});
}
test('fails when pac CLI is not available (empty PATH)', () => {
const result = runListCloudFlows({ PATH: '' });
assert.notEqual(result.status, 0);
assert.match(result.stderr, /pac auth who|environment|unable/i);
});