Skip to content

Commit 35a68f0

Browse files
committed
Adding some github mcp-based prompts
1 parent 55bf8f8 commit 35a68f0

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ Ready-to-use prompt templates for specific development scenarios and tasks. Thes
5555
### Documentation & Project Management
5656
- [Comment Code Generate Tutorial](prompts/comment-code-generate-a-tutorial.prompt.md) - Transform code into educational content
5757
- [Generate Specs as Issues](prompts/gen-specs-as-issues.prompt.md) - Convert requirements into GitHub issues
58+
- [My Issues](prompts/my-issues.prompt.md)
59+
- [My Pull Requests](prompts/my-pull-requests.prompt.md)
60+
61+
5862

5963
> 💡 **Usage**: Use `/prompt-name` in VS Code chat or run `Chat: Run Prompt` command. Prompt files support variables like `${input:name}` for dynamic content.
6064

prompts/my-issues.prompt.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
mode: agent
3+
tools: ['githubRepo', 'github', 'get_issue', 'get_issue_comments', 'get_me', 'list_issues']
4+
description: "List my issues in the current repository"
5+
---
6+
7+
Search the current repo (using #githubRepo for the repo info) and list any issues you find (using #list_issues) that are assigned to me.
8+
9+
Suggest issues that I might want to focus on based on their age, the amount of comments, and their status (open/closed).

prompts/my-pull-requests.prompt.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
mode: agent
3+
tools: ['githubRepo', 'github', 'get_me', 'get_pull_request', 'get_pull_request_comments', 'get_pull_request_diff', 'get_pull_request_files', 'get_pull_request_reviews', 'get_pull_request_status', 'list_pull_requests', 'request_copilot_review']
4+
description: "List my pull requests in the current repository"
5+
---
6+
7+
Search the current repo (using #githubRepo for the repo info) and list any pull requests you find (using #list_pull_requests) that are assigned to me.
8+
9+
Describe the purpose and details of each pull request.
10+
11+
If a PR is waiting for someone to review, highlight that in the response.
12+
13+
If there were any check failures on the PR, describe them and suggest possible fixes.
14+
15+
If there was no review done by Copilot, offer to request one using #request_copilot_review.

update-readme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function generateReadme() {
220220

221221
// If we need to add the section header
222222
if (!hasUncategorisedSection) {
223-
newPromptsContent += "### Uncategorised\n";
223+
newPromptsContent += "\n### Uncategorised\n";
224224
}
225225

226226
// Add each new prompt

0 commit comments

Comments
 (0)