Skip to content

fix(plugin): rename agent file to .agent.md suffix#2

Open
ericchansen wants to merge 1 commit intomsbrettorg:mainfrom
ericchansen:fix/agent-file-suffix
Open

fix(plugin): rename agent file to .agent.md suffix#2
ericchansen wants to merge 1 commit intomsbrettorg:mainfrom
ericchansen:fix/agent-file-suffix

Conversation

@ericchansen
Copy link
Copy Markdown

Summary

Rename agent file from azure-capacity-manager.md to azure-capacity-manager.agent.md so Copilot CLI plugin system discovers it during copilot plugin install.

Problem

The Copilot CLI plugin system looks for *.agent.md files in the agents/ directory. The previous .md suffix caused the agent to be silently skipped, resulting in only the skill being installed (1 skill, 0 agents).

Changes

File Change
agents/azure-capacity-manager.agent.md Renamed from azure-capacity-manager.md
.github/workflows/release.yml Updated cp path to use new filename
README-plugin.md Updated repo structure listing
.github/agents/azure-capacity-manager.md Updated symlink target

Testing

  • Verified copilot plugin install ./ installs 1 skill before this change
  • After rename, expect both the agent and skill to be discovered

Copilot CLI plugin system requires the .agent.md suffix to discover
agent files. The previous .md suffix caused the agent to be silently
skipped during plugin installation, resulting in only the skill being
installed.

Update all references in release workflow, README-plugin.md, and
.github/agents symlink.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant