Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/prompts/review-issue.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ If the user chooses to proceed without MCP:
## Inputs
Figure out required inputs {{issue_number}} from the invocation context; if anything is missing, ask for the value or note it as a gap.

## When to call MCP tools (github-artifacts)
If the MCP "github-artifacts" tools are available in the environment, use them:
- `github_issue_images`: use when the issue likely contains screenshots or other visual evidence (UI bugs, layout glitches, design problems).
- `github_issue_attachments`: use when the issue mentions attached ZIPs or diagnostic bundles (for example, `*.zip`, `logs.zip`, `debug.zip`). Always provide `extractFolder` as `Generated Files/issueReview/{{issue_number}}/logs`.

If these tools are not available, ensure the `github-artifacts` MCP server is started and available, then retry.

## Fetch Issue Data with GitHub MCP

### Core issue information
Expand All @@ -66,7 +59,7 @@ Use `github-pull-request_renderIssues`:
- Pass array of issues to render as markdown table for display

# CONTEXT (brief)
Use the MCP tools above to gather issue data. Download images via MCP `github_issue_images` to better understand the issue context. Finally, use MCP `github_issue_attachments` to download logs with parameter `extractFolder` as `Generated Files/issueReview/{{issue_number}}/logs`, and analyze the downloaded logs if available to identify relevant issues. Locate source code in the current workspace; feel free to use `rg`/`git grep`. Link related issues and PRs.
Use the GitHub MCP tools or `gh` CLI fallback above to gather issue data. Use Copilot's standard web, file, and execution tools to review images or attached logs when needed. Store extracted diagnostic files under `Generated Files/issueReview/{{issue_number}}/logs`. Locate source code in the current workspace; feel free to use `rg`/`git grep`. Link related issues and PRs.

# OVERVIEW.MD
## Summary
Expand Down
8 changes: 2 additions & 6 deletions .github/prompts/review-pr.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ Use whatever GitHub MCP/API tools are available to fetch PR details. Common tool

**Just try calling one of these tools** to get PR info for PR #6130 (or the PR from context). The call will either succeed or fail - that tells you which tools work.

## Issue/PR artifacts (github-artifacts MCP)
If the MCP "github-artifacts" tools are available in the environment, use them to pull supporting evidence linked from the PR or linked issues:
- `github_issue_images`: use when linked issues or PR discussion include screenshots (UI bugs, layout, design).
- `github_issue_attachments`: use when linked issues mention attached ZIPs or diagnostic bundles. Always provide `extractFolder` as `Generated Files/prReview/{{pr_number}}/issue-artifacts/<issue_number>`.

If these tools are not available, ensure the `github-artifacts` MCP server is started and available, then retry.
## Issue/PR artifacts
Use Copilot's standard web, file, and execution tools to review screenshots or ZIP attachments linked from the PR or related issues when relevant. Store extracted issue artifacts under `Generated Files/prReview/{{pr_number}}/issue-artifacts/<issue_number>`.

## PR selection
Resolve the target PR using these fallbacks in order:
Expand Down
13 changes: 0 additions & 13 deletions .vscode/mcp.json

This file was deleted.

2 changes: 0 additions & 2 deletions tools/mcp/github-artifacts/.gitignore

This file was deleted.

78 changes: 0 additions & 78 deletions tools/mcp/github-artifacts/README.md

This file was deleted.

35 changes: 0 additions & 35 deletions tools/mcp/github-artifacts/auth.js

This file was deleted.

14 changes: 0 additions & 14 deletions tools/mcp/github-artifacts/launch.js

This file was deleted.

20 changes: 0 additions & 20 deletions tools/mcp/github-artifacts/package.json

This file was deleted.

Loading
Loading