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
function addFinding(findings, severity, message, details = {}) {
findings.push({ severity, message, ...details });
}
function findUnexpectedKeys(record, allowedKeys) {
return Object.keys(record)
.filter(key => key !== 'filePath' && !allowedKeys.has(key))
.sort();
}
function findMissingKeys(record, requiredKeys) {
return [...requiredKeys]
.filter(key => record[key] === undefined)
.sort();
}
function summarize(findings) {
return findings.reduce((summary, finding) => {
summary[finding.severity] += 1;
return summary;
}, { error: 0, warning: 0, info: 0 });
}
module.exports = {
addFinding,
findUnexpectedKeys,
findMissingKeys,
summarize,
};