-
Notifications
You must be signed in to change notification settings - Fork 32
Convert embedded custom agents to prompt file format #5337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
- Create new prompt template files (.prompt.md) with mode: agent frontmatter - Update init command to generate prompts in .github/prompts/ directory - Add cleanup logic to remove old agent files when creating prompts - Update all test files to expect prompt files instead of agent files - Update command help text and success messages - All unit tests passing Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Remove all agent files from .github/agents/ - Create prompt files in .github/prompts/ with mode: agent frontmatter - Update documentation to reference prompts instead of custom agents - Update all references from /agent to slash commands like /create-agentic-workflow - Documentation now explains prompt files instead of custom agent files Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Update sync-templates target to copy from .github/prompts/ instead of .github/agents/ - Add debug-agentic-workflow.prompt.md to sync list - Remove old agent template files from pkg/cli/templates/ Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Convert embedded custom agents to prompt file format
Convert embedded custom agents to prompt file format
Dec 2, 2025
Contributor
|
@copilot reference to the agent /agent in the cli and docs and update to using prompt files. |
- Update custom-agents.md to mention built-in prompts from gh aw init - Add Prompt Files entry to glossary explaining slash command usage - Update Custom Agents glossary entry to distinguish between prompt files, agent files, and instruction files - Clarify that prompt files are for Copilot Chat slash commands while agent files are for workflow imports Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Updated documentation to clarify the distinction between prompt files and custom agents:
All previous commits already updated docs to change |
pelikhan
approved these changes
Dec 3, 2025
This was referenced Dec 3, 2025
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.
Conversion Plan: Custom Agents to Prompt Files
.github/agents/directory.github/prompts/directory structureensureAgentFromTemplatetoensurePromptFromTemplate.github/agents/to.github/prompts/.prompt.mdextension to generated filespkg/cli/templates/:mode: agentfrontmatter is presentSummary
Successfully converted all embedded custom agents from
.github/agents/*.mdto.github/prompts/*.prompt.mdformat:mode: agentfrontmatter/agentselectiongh aw initcommand, confirms proper file creation.github/prompts/*.prompt.md) for Copilot Chat slash commands.github/agents/*.md) for workflow imports viaimportsfield.github/copilot/instructions/) for path-specific Copilot instructionsOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.