Skip to content

fix(plugins): namespace Copilot materialized content - #2643

Merged
aaronpowell merged 1 commit into
mainfrom
aaronpowell-plugin-materialization-layout
Aug 13, 2026
Merged

fix(plugins): namespace Copilot materialized content#2643
aaronpowell merged 1 commit into
mainfrom
aaronpowell-plugin-materialization-layout

Conversation

@aaronpowell

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch for this pull request.

Description

Agent Plugins 1.0 requires client-specific content to live under com.github.copilot/. Materialization now places agents, hooks, and canvas extensions there while retaining portable skills under skills/.

The cleanup flow restores the source composition namespace from the namespaced layout, and all unsupported commands handling has been removed from materialization, validation, generated item counts, and contributor guidance.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • New canvas extension.
  • Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
  • Other (please specify):

Additional Notes

node and npm are unavailable in the execution environment, so the repository JavaScript validation commands could not be run.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Place Copilot-specific content in com.github.copilot and remove unsupported command handling.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 04c14c3f-d248-4a7f-93ab-93fd8b2b119e
Copilot AI balanced review requested due to automatic review settings August 13, 2026 01:22
@aaronpowell
aaronpowell merged commit 55b952d into main Aug 13, 2026
18 checks passed
@aaronpowell
aaronpowell deleted the aaronpowell-plugin-materialization-layout branch August 13, 2026 01:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Namespaces Copilot-specific plugin content while retaining portable skills at the plugin root.

Changes:

  • Moves agents, hooks, and extensions under com.github.copilot/.
  • Updates cleanup to reconstruct source composition metadata.
  • Removes unsupported command handling and updates documentation.
Show a summary per file
File Description
eng/validate-plugins.mjs Removes command validation.
eng/update-readme.mjs Removes commands from item counts.
eng/materialize-plugins.mjs Materializes Copilot-specific content under its namespace.
eng/generate-website-data.mjs Removes commands from website plugin items.
eng/clean-materialized-plugins.mjs Restores namespaced materialized content.
CONTRIBUTING.md Updates plugin authoring guidance.
AGENTS.md Updates repository plugin documentation.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Suppressed comments (1)

eng/update-readme.mjs:873

  • The featured-plugin count has the same omission as the main plugin table: supported hooks and resolved MCP servers are excluded, so featured counts can disagree with website data. Reuse the corrected item-count helper here rather than maintaining a second incomplete formula.
          const itemCount =
            (composition.agents || []).length +
            (composition.skills || []).length +
            extensionReferences +
            implicitExtension;
  • Files reviewed: 7/7 changed files
  • Comments generated: 4
  • Review effort level: Balanced

Comment on lines +32 to +38
extensions: {
paths: [path.join(COPILOT_CONTENT_DIR, "extensions"), "extensions"],
restore(dirPath) {
return collectDirectoriesContainingFile(dirPath, "extension.mjs")
.map((relativePath) => `./extensions/${relativePath}`);
},
},
Comment on lines +621 to 626
// Build items list from supported composition fields.
const items = [
...agentItems,
...(composition.commands || []).map((p) => ({ kind: "prompt", path: p })),
...(composition.skills || []).map((p) => ({ kind: "skill", path: p })),
...extensionItems,
...mcpItems,
Comment thread eng/update-readme.mjs
Comment on lines 801 to 805
const itemCount =
(composition.agents || []).length +
(composition.commands || []).length +
(composition.skills || []).length +
extensionReferences +
implicitExtension;
Comment thread eng/validate-plugins.mjs
Comment on lines +217 to 219
const compositionFields = ["agents", "hooks", "mcpServers", "skills"];
const extensions = plugin.extensions;
const composition = extensions?.[AWESOME_COPILOT_NAMESPACE];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants