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('node:path');
const { spawnSync } = require('node:child_process');
const { SUPPORTED_POLICIES } = require('../../../skills/manage-governance/scripts/policies');
test('get-effective-status documents current policy support and default stdin input', () => {
const script = path.resolve(
__dirname,
'../../../skills/manage-governance/scripts/get-effective-status.js'
);
const result = spawnSync(process.execPath, [script, '--help'], { encoding: 'utf8' });
assert.equal(result.status, 0, result.stderr);
assert.ok(result.stdout.includes(`Governance policy name (${SUPPORTED_POLICIES.length} supported policies)`));
assert.doesNotMatch(result.stdout, /any of the ten/);
assert.match(result.stdout, /node list-portals\.js/);
assert.match(result.stdout, /stdin\s+list-portals\.js output/);
assert.match(result.stdout, /--portalsFile\s+Backward-compatible alternative/);
});