Fix Claude plugin marketplace and agent discovery - #2272
Open
Brett Wilson (MSBrett) wants to merge 3 commits into
Open
Fix Claude plugin marketplace and agent discovery#2272Brett Wilson (MSBrett) wants to merge 3 commits into
Brett Wilson (MSBrett) wants to merge 3 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Brett Wilson (MSBrett)
requested a review
from Michael Flanakin (flanakin)
as a code owner
August 20, 2026 21:16
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Claude Code plugin packaging for the FinOps Toolkit so Claude’s marketplace entry points at the actual plugin root in this repo, and the Claude-specific manifest explicitly declares agents and MCP configuration (with strict mode enabled to keep the manifest authoritative).
Changes:
- Declare Claude plugin
agentsandmcpServersinsrc/templates/agent-plugin/.claude-plugin/plugin.json. - Update PowerShell unit tests to validate Claude manifest paths/components and enforce strict mode in the Claude marketplace entry.
- Fix the Claude marketplace
sourcepath to the repo’s real plugin root for Claude (./src/templates/agent-plugin) and enablestrict: true.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/templates/agent-plugin/.claude-plugin/plugin.json | Adds explicit Claude manifest fields for agents and MCP servers, aligning with supported schema fields. |
| src/powershell/Tests/Unit/AgentPlugins.Tests.ps1 | Updates/extends Pester tests to validate Claude manifest component declarations and strict mode configuration. |
| .claude-plugin/marketplace.json | Points Claude marketplace source at the correct plugin root and enables strict mode for the entry. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Brett Wilson (MSBrett)
requested review from
Roland Krummenacher (RolandKrummenacher)
and
a lite review from Copilot
August 20, 2026 21:31
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Brett Wilson (MSBrett)
enabled auto-merge (squash)
August 22, 2026 04:09
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠️ Description
Correct the Claude Code marketplace source so it resolves to the repository's actual plugin root, enable strict marketplace validation, and load the shared agents through Claude's standard
agents/auto-discovery. Agent files now use plain.mdnames so Claude exposes the intended identifiers without an.agentsuffix. The MCP configuration remains declared explicitly.Validated against Anthropic's current documentation:
A clean installation from this PR's online branch with Claude Code CLI 2.1.235 reports one skill, five correctly named agents, and one MCP server.
Fixes # N/A
📷 Screenshots
N/A
📋 Checklist
🔬 How did you test this change?
Additional validation:
claude plugin validate . --strictclaude plugin validate src/templates/agent-plugin --strict📦 Deploy to test?
🙋♀️ Do any of the following that apply?
📑 Did you update
docs/changelog.md?📖 Did you update documentation?