Repository navigation
Create my-agent.agent.md template - #2786
Closed
sdy0243853-collab wants to merge 1 commit into
Closed
sdy0243853-collab wants to merge 1 commit into
sdy0243853-collab wants to merge 1 commit into
Conversation
Add template for creating a custom agent in the repository
Contributor
Reviewer's GuideConfigurationAdd a starter custom-agent definition with metadata fields and placeholder instructions for repository authors to complete.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".github/agents/my-agent.agent.md" line_range="7-8" />
<code_context>
+# To make this agent available, merge this file into the default repository branch.
+# For format details, see: https://gh.io/customagents/config
+
+name:
+description:
+---
+
</code_context>
<issue_to_address>
**Starter agent cannot load**
When the file is merged unchanged and Copilot loads the repository's agents, copilot parses the blank `name` and `description` as null or empty, so the custom-agent loader rejects the profile and users cannot use the starter agent.
Give the agent non-empty `name` and `description` values before checking it in under `.github/agents`.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: .github/agents/my-agent.agent.md:8
Author
|
In Starter agent cannot load When the file is merged unchanged and Copilot loads the repository's agents, copilot parses the blank Give the agent non-empty |
Author
|
خ |
Author
|
ت |
Author
|
T |
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.
Add template for creating a custom agent in the repository
📋 Description
🔗 Related Issue
Closes #(issue_number)
🧪 Type of Change
🧪 Testing
📸 Screenshots (if applicable)
✅ Checklist
📝 Additional Notes
Summary by Sourcery
Add a customizable template for creating repository-specific agents.
New Features:
.github/agents.Documentation: