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
#!/usr/bin/env node
'use strict';
const { readText, parseArgs } = require('../lib/non-spa-site-style-context');
const { preparePlan, saveJson } = require('../lib/style-site-plan');
function main(argv) {
const args = parseArgs(argv, ['siteRoot', 'request', 'out']);
if (!args.request || !args.out) throw new Error('--request and --out are required.');
const plan = preparePlan(args.siteRoot, JSON.parse(readText(args.request)));
saveJson(args.out, plan, plan.siteRoot);
return { plan: args.out, planHash: plan.planHash, files: plan.writes.map((write) => write.path), warnings: plan.warnings };
}
if (require.main === module) {
try { console.log(JSON.stringify(main(process.argv.slice(2)), null, 2)); }
catch (error) { console.error(`style-site: ${error.message}`); process.exitCode = 1; }
}
module.exports = { main };