From 5970984603799dae1bba85b72c1a7b4c2c4e7178 Mon Sep 17 00:00:00 2001 From: wenjiefan Date: Wed, 29 Jul 2026 15:58:02 +0200 Subject: [PATCH] Move plugin.json to plugin root; declare skills for CLI/marketplace compliance The GitHub Copilot CLI plugin reference requires plugin.json at the root of the plugin directory. BCQuality shipped it only under .claude-plugin/, which is tolerated by --plugin-dir but is non-canonical and can be rejected on the marketplace / 'plugin install owner/repo' path. Mirror the proven microsoft/BC-ALAgents al-review plugin layout: move plugin.json to the repo (plugin) root and add an explicit skills array plus repository/license/keywords metadata to both plugin.json and marketplace.json. The skills array pins the one real skill (skills/bcquality-al-review/), avoiding ambiguity with the loose meta .md files in skills/. Verified: 'copilot --plugin-dir ' still loads the bcquality plugin and the bcquality-al-review skill registers at runtime, identical to before. --- .claude-plugin/marketplace.json | 5 ++++- .claude-plugin/plugin.json => plugin.json | 14 +++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) rename .claude-plugin/plugin.json => plugin.json (59%) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 6aa3f8a..1aa47c6 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -9,7 +9,10 @@ "name": "bcquality", "source": "./", "description": "Business Central AL quality knowledge base and review skills, packaged as an installable plugin. Ships the entire BCQuality tree (skills, knowledge, tools) so the Entry routing protocol runs against the installed clone.", - "version": "0.1.0" + "version": "0.1.0", + "skills": [ + "./skills/bcquality-al-review/" + ] } ] } diff --git a/.claude-plugin/plugin.json b/plugin.json similarity index 59% rename from .claude-plugin/plugin.json rename to plugin.json index bacea2a..0934bd3 100644 --- a/.claude-plugin/plugin.json +++ b/plugin.json @@ -5,5 +5,17 @@ "author": { "name": "microsoft/BCQuality", "url": "https://github.com/microsoft/BCQuality" - } + }, + "repository": "https://github.com/microsoft/BCQuality", + "license": "MIT", + "keywords": [ + "bc", + "al", + "business-central", + "code-review", + "quality" + ], + "skills": [ + "./skills/bcquality-al-review/" + ] }