Convert /data prompt to custom agent#280651
Merged
TylerLeonhardt merged 4 commits intomainfrom Dec 2, 2025
Merged
Conversation
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add custom agent for usage data queries
Convert /data prompt to custom agent
Dec 2, 2025
Member
|
@copilot I expected this pr to be a file rename ... changing the data.prompt.md file into an agent file |
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Contributor
Author
Fixed in 7b3eb19 - removed the original |
TylerLeonhardt
approved these changes
Dec 2, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR converts the /data prompt from the legacy prompt format to the newer custom agent format. The data analysis workflow is being elevated to a dedicated agent to better handle the complexity of telemetry queries and Kusto analysis.
Key Changes:
- Migrated from
.github/prompts/data.prompt.mdto.github/agents/data.md - Updated frontmatter from legacy
agent:field to standard agent fields (name:,description:,tools:) - Replaced XML-style tags (
<overview>,<workflow>, etc.) with standard Markdown headings - Fixed a typo: "parametersor" → "parameters or"
Comments suppressed due to low confidence (3)
.github/agents/data.md:10
- Grammar issue: Missing article "an" before "Azure Data Explorer". Should be "You are an Azure Data Explorer data analyst..."
.github/agents/data.md:5 - Inconsistent YAML format for the
toolsfield. Other agents in this repository use standard YAML list syntax (with hyphens) rather than JSON array syntax. Consider changing to:
tools:
- vscode/extensions
- execute/runInTerminal
- read/readFile
- search
- web/githubRepo
- azure-mcp/kusto_query
- todoThis would match the format used in engineering.md and demonstrate.md.
.github/agents/data.md:23
- Fixed typo: Changed "parametersor" to "parameters or"
dmitrivMS
approved these changes
Dec 2, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Converts the
/dataprompt to a custom agent as discussed in the issue thread. The data analysis workflow has grown complex enough to warrant dedicated agent treatment..github/prompts/data.prompt.mdto.github/agents/data.mdname,description,tools)View original Slack conversation
View original Slack conversation
💡 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.