Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 14, 2025

Custom agent configuration files in .github/agents/ were using YAML format (.yml) instead of the required Markdown format with YAML frontmatter (.agent.md).

Changes

  • Converted agent configs to proper format

    • senior-coding-engineer.ymlsenior-coding-engineer.agent.md
    • senior-coding-engineer-zh.ymlsenior-coding-engineer-zh.agent.md
    • Removed old YAML files
  • Format transformation

    • Added YAML frontmatter at the top with name and description fields
    • Changed file extension to .agent.md (instead of just .md)
    • Converted YAML metadata and fields into Markdown instructions below the frontmatter
    • Preserved all content: expertise areas, behaviors, workflows, instructions

The new format follows GitHub's official custom agent specification with YAML frontmatter for metadata and Markdown content for instructions.

Created from VS Code via the GitHub Pull Request extension.

Original prompt

这个目录下的自定义agent 配置有问题,不应该是yaml 而应该是md

The user has attached the following file paths as relevant context:

  • .github

Created from VS Code via the GitHub Pull Request extension.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@lingma-agents
Copy link

lingma-agents bot commented Nov 14, 2025

无法获取合并请求的变更信息,代码审查流程终止。

Co-authored-by: lwpk110 <7712407+lwpk110@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix custom agent configuration file format Convert custom agent configs from YAML to Markdown format Nov 14, 2025
Copilot AI requested a review from lwpk110 November 14, 2025 09:56
@lwpk110
Copy link
Owner

lwpk110 commented Nov 14, 2025

…sion

Co-authored-by: lwpk110 <7712407+lwpk110@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 14, 2025

@copilot 这个自定义的 agent 的配置不对,参考 https://docs.github.com/zh/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents

Fixed! The agent configuration files now follow the correct format:

  • Added YAML frontmatter with name and description fields
  • Changed file extension to .agent.md
  • Format matches GitHub's custom agent specification

Commit: 05700c1

Copilot AI changed the title Convert custom agent configs from YAML to Markdown format Convert custom agent configs from YAML to Markdown with frontmatter format Nov 14, 2025
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