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
Fix report issue workflow bundling (#185)
Priyanshu Agrawal2617dddc1180
diff --git a/AGENTS.md b/AGENTS.mdindex 0a67640c1..12167bacf 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -53,14 +53,15 @@ Skills are defined in `SKILL.md` files with YAML frontmatter (name, description,## Cross-Plugin Shared Skills-Skills that apply to all plugins live in `shared/skills/<skill-name>/`. The workflow logic is written once in a shared `.md` file, and each plugin has a thin `skills/<skill-name>/SKILL.md` that contains only the YAML frontmatter and a reference to the shared workflow file.+Skills that apply to all plugins live in `shared/skills/<skill-name>/`. The workflow logic is written once in a shared `.md` file, and each plugin has a thin `skills/<skill-name>/SKILL.md` that contains only the YAML frontmatter and a reference to the workflow path bundled inside that plugin at install time.**Pattern:**- `shared/skills/<skill-name>/<workflow>.md` — Full workflow (phases, instructions, field definitions)- `shared/skills/<skill-name>/SKILL.template.md` — Template SKILL.md (frontmatter + reference to workflow); supports `{{PLUGIN_NAME}}` placeholder- `plugins/<plugin>/skills/<skill-name>/SKILL.md` — Per-plugin wrapper generated from the template above+- `plugins/<plugin>/skills/<skill-name>/<workflow>.md` — Symlink to the shared workflow when the plugin must work after installing only its own plugin directory-This keeps the skill discoverable in each plugin while avoiding content duplication. When updating a shared skill, edit the workflow file and/or `SKILL.template.md` in `shared/`, then update the per-plugin wrappers (frontmatter + reference pointing to the shared workflow, with `{{PLUGIN_NAME}}` substituted) and commit them alongside the shared change.+This keeps the skill discoverable in each plugin while preserving install-time portability. Marketplace installs copy only the plugin directory, so per-plugin wrappers must not reference repo-root `shared/` paths at runtime. Instead, point the wrapper at `${CLAUDE_PLUGIN_ROOT}/skills/<skill-name>/<workflow>.md` and keep a symlink from that per-plugin path to the repo-root shared workflow; marketplace installers dereference same-marketplace symlinks into the installed plugin cache. When updating a shared skill, edit the workflow file and/or `SKILL.template.md` in `shared/`, then update the per-plugin wrappers (frontmatter + bundled workflow reference, with `{{PLUGIN_NAME}}` substituted) and ensure any per-plugin symlinks still resolve under `plugins/<plugin>/skills/<skill-name>/`. Commit the shared source and per-plugin symlinks together.## Code Conventionsdiff --git a/plugins/canvas-apps/skills/report-issue/SKILL.md b/plugins/canvas-apps/skills/report-issue/SKILL.mdindex 3f2a12658..305253d44 100644--- a/plugins/canvas-apps/skills/report-issue/SKILL.md+++ b/plugins/canvas-apps/skills/report-issue/SKILL.md@@ -10,4 +10,4 @@ allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion, TaskCreate, TaskUpdate,model: sonnet----**Shared workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/../../shared/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that file.+**Workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that bundled file.diff --git a/plugins/canvas-apps/skills/report-issue/report-issue-workflow.md b/plugins/canvas-apps/skills/report-issue/report-issue-workflow.mdnew file mode 120000index 000000000..467fa9175--- /dev/null+++ b/plugins/canvas-apps/skills/report-issue/report-issue-workflow.md@@ -0,0 +1 @@+../../../../shared/skills/report-issue/report-issue-workflow.md\ No newline at end of filediff --git a/plugins/code-apps/skills/report-issue/SKILL.md b/plugins/code-apps/skills/report-issue/SKILL.mdindex f9c15eefc..385cdf429 100644--- a/plugins/code-apps/skills/report-issue/SKILL.md+++ b/plugins/code-apps/skills/report-issue/SKILL.md@@ -10,4 +10,4 @@ allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion, TaskCreate, TaskUpdate,model: sonnet----**Shared workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/../../shared/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that file.+**Workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that bundled file.diff --git a/plugins/code-apps/skills/report-issue/report-issue-workflow.md b/plugins/code-apps/skills/report-issue/report-issue-workflow.mdnew file mode 120000index 000000000..467fa9175--- /dev/null+++ b/plugins/code-apps/skills/report-issue/report-issue-workflow.md@@ -0,0 +1 @@+../../../../shared/skills/report-issue/report-issue-workflow.md\ No newline at end of filediff --git a/plugins/mcp-apps/skills/report-issue/SKILL.md b/plugins/mcp-apps/skills/report-issue/SKILL.mdindex 6d0b8d352..f923167c9 100644--- a/plugins/mcp-apps/skills/report-issue/SKILL.md+++ b/plugins/mcp-apps/skills/report-issue/SKILL.md@@ -10,4 +10,4 @@ allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion, TaskCreate, TaskUpdate,model: sonnet----**Shared workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/../../shared/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that file.+**Workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that bundled file.diff --git a/plugins/mcp-apps/skills/report-issue/report-issue-workflow.md b/plugins/mcp-apps/skills/report-issue/report-issue-workflow.mdnew file mode 120000index 000000000..467fa9175--- /dev/null+++ b/plugins/mcp-apps/skills/report-issue/report-issue-workflow.md@@ -0,0 +1 @@+../../../../shared/skills/report-issue/report-issue-workflow.md\ No newline at end of filediff --git a/plugins/model-apps/skills/report-issue/SKILL.md b/plugins/model-apps/skills/report-issue/SKILL.mdindex 8a482a361..b6f8bc66a 100644--- a/plugins/model-apps/skills/report-issue/SKILL.md+++ b/plugins/model-apps/skills/report-issue/SKILL.md@@ -10,4 +10,4 @@ allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion, TaskCreate, TaskUpdate,model: sonnet----**Shared workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/../../shared/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that file.+**Workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that bundled file.diff --git a/plugins/model-apps/skills/report-issue/report-issue-workflow.md b/plugins/model-apps/skills/report-issue/report-issue-workflow.mdnew file mode 120000index 000000000..467fa9175--- /dev/null+++ b/plugins/model-apps/skills/report-issue/report-issue-workflow.md@@ -0,0 +1 @@+../../../../shared/skills/report-issue/report-issue-workflow.md\ No newline at end of filediff --git a/plugins/power-pages/skills/report-issue/SKILL.md b/plugins/power-pages/skills/report-issue/SKILL.mdindex 5a18cda03..6e5ab4815 100644--- a/plugins/power-pages/skills/report-issue/SKILL.md+++ b/plugins/power-pages/skills/report-issue/SKILL.md@@ -12,4 +12,4 @@ model: sonnet> **Plugin check**: Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/check-version.js"` — if it outputs a message, show it to the user before proceeding.-**Shared workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/../../shared/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that file.+**Workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that bundled file.diff --git a/plugins/power-pages/skills/report-issue/report-issue-workflow.md b/plugins/power-pages/skills/report-issue/report-issue-workflow.mdnew file mode 120000index 000000000..467fa9175--- /dev/null+++ b/plugins/power-pages/skills/report-issue/report-issue-workflow.md@@ -0,0 +1 @@+../../../../shared/skills/report-issue/report-issue-workflow.md\ No newline at end of filediff --git a/shared/skills/report-issue/SKILL.template.md b/shared/skills/report-issue/SKILL.template.mdindex d32fdf51f..bbeda0769 100644--- a/shared/skills/report-issue/SKILL.template.md+++ b/shared/skills/report-issue/SKILL.template.md@@ -10,4 +10,4 @@ allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion, TaskCreate, TaskUpdate,model: sonnet----**Shared workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/../../shared/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that file.+**Workflow: [report-issue-workflow.md](${CLAUDE_PLUGIN_ROOT}/skills/report-issue/report-issue-workflow.md)** — Read and follow all phases defined in that bundled file.