Skip to content

Convert /data prompt to custom agent#280651

Merged
TylerLeonhardt merged 4 commits intomainfrom
copilot/create-custom-agent-for-data
Dec 2, 2025
Merged

Convert /data prompt to custom agent#280651
TylerLeonhardt merged 4 commits intomainfrom
copilot/create-custom-agent-for-data

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 2, 2025

Converts the /data prompt to a custom agent as discussed in the issue thread. The data analysis workflow has grown complex enough to warrant dedicated agent treatment.

  • Renames .github/prompts/data.prompt.md to .github/agents/data.md
  • Converts prompt format to agent format with standard frontmatter (name, description, tools)
  • Preserves all workflow steps, Kusto best practices, and output formatting

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.

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
Copilot AI requested a review from TylerLeonhardt December 2, 2025 17:06
@TylerLeonhardt
Copy link
Copy Markdown
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>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 2, 2025

@copilot I expected this pr to be a file rename ... changing the data.prompt.md file into an agent file

Fixed in 7b3eb19 - removed the original data.prompt.md file so this is now a proper rename/conversion from prompt to agent.

@TylerLeonhardt TylerLeonhardt marked this pull request as ready for review December 2, 2025 17:46
Copilot AI review requested due to automatic review settings December 2, 2025 17:46
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) December 2, 2025 17:46
Copy link
Copy Markdown
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 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.md to .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 tools field. 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
  - todo

This would match the format used in engineering.md and demonstrate.md.
.github/agents/data.md:23

  • Fixed typo: Changed "parametersor" to "parameters or"

@TylerLeonhardt TylerLeonhardt merged commit 1e3b6df into main Dec 2, 2025
35 checks passed
@TylerLeonhardt TylerLeonhardt deleted the copilot/create-custom-agent-for-data branch December 2, 2025 18:13
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants