Skip to content

Conversation

@hirokoni2025
Copy link

Add a template for creating a custom agent.

Add a template for creating a custom agent.
Copilot AI review requested due to automatic review settings December 21, 2025 22:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a template file for creating custom GitHub Copilot agents in the VS Code repository. The template provides a basic structure with YAML frontmatter for configuration and placeholder content to guide users in creating their own custom agents.

Key Changes:

  • Adds .github/agents/my-agent.agent.md template file with YAML frontmatter structure
  • Includes instructional comments and placeholder fields for name and description
  • Provides basic markdown structure for agent documentation

@@ -0,0 +1,13 @@
---
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

The YAML frontmatter starting delimiter has leading whitespace. YAML frontmatter should begin at column 0 without any indentation. Remove the leading spaces before the opening triple-dash.

Copilot uses AI. Check for mistakes.

name:
description:
---
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

The closing YAML frontmatter delimiter has leading whitespace. The closing triple-dash should be at column 0 to match standard YAML frontmatter formatting. Remove the leading spaces.

Copilot uses AI. Check for mistakes.
Comment on lines +2 to +5
# Fill in the fields below to create a basic custom agent for your repository.
# The Copilot CLI can be used for local testing: https://gh.io/customagents/cli
# To make this agent available, merge this file into the default repository branch.
# For format details, see: https://gh.io/customagents/config
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

The comment lines within the YAML frontmatter have inconsistent indentation (2 spaces) that doesn't align with the YAML keys below them. For proper YAML formatting and consistency, remove the leading spaces from these comment lines so they start at column 0.

Copilot uses AI. Check for mistakes.
Comment on lines +7 to +8
name:
description:
Copy link

Copilot AI Dec 21, 2025

Choose a reason for hiding this comment

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

The YAML keys have leading whitespace (2 spaces). YAML keys at the root level should start at column 0. Remove the leading spaces from both the 'name:' and 'description:' keys.

Copilot uses AI. Check for mistakes.
Copy link
Author

@hirokoni2025 hirokoni2025 left a comment

Choose a reason for hiding this comment

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

Cleaning Invoice sample - suntechaucleaning.docx

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