form-github-search-query
Skill2.6k starsChanged 5 months agoMITView on GitHub
Forms a GitHub search query based on a natural language query and the type of search (issue or PR). This skill helps users create effective search queries to find relevant issues or pull requests on GitHub.
Trending
Quiet since June.about the whole repository
Who's talking about microsoft/vscode-pull-request-github
- microsoft/vscode“Iteration Plan for August 2019”GitHub · Aug 10, 2019 · 122 reactions
- microsoft/vscode“Iteration Plan for January 2021”GitHub · Dec 14, 2020 · 57 reactions
- microsoft/vscode“Implement GitHub Enterprise authn provider”GitHub · Feb 5, 2021 · 54 reactions
- microsoft/vscode“Iteration Plan for February 2021”GitHub · Feb 6, 2021 · 44 reactions
- microsoft/vscode“Iteration Plan for March 2019”GitHub · Mar 9, 2019 · 44 reactions
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub, Hacker News and Bluesky (16 times).
On GitHub · 10
- Aug 10, 2019Iteration Plan for August 2019 — microsoft/vscode122 reactions · 11 comments
- Dec 14, 2020Iteration Plan for January 2021 — microsoft/vscode57 reactions · 16 comments
- Feb 5, 2021Implement GitHub Enterprise authn provider — microsoft/vscode54 reactions · 31 comments
- Feb 6, 2021Iteration Plan for February 2021 — microsoft/vscode44 reactions · 2 comments
- Mar 9, 2019Iteration Plan for March 2019 — microsoft/vscode44 reactions · 6 comments
5 more on GitHub
- Apr 5, 2021Iteration Plan for April 2021 — microsoft/vscode41 reactions
- Dec 21, 2018Iteration Plan for January 2019 — microsoft/vscode35 reactions · 2 comments
- May 10, 2020Iteration Plan for May 2020 — microsoft/vscode34 reactions · 2 comments
- Nov 16, 2020Iteration Plan for November 2020 — microsoft/vscode32 reactions · 7 comments
- Nov 10, 2018Iteration Plan for November 2018 — microsoft/vscode29 reactions · 7 comments
On Hacker News · 3
- Jun 30, 2026VSCode-pull-request-GitHub repeatedly asked to sign in again using GitHub1 point
- Oct 8, 2018GitHub Pull Requests for Visual Studio Code1 point
- Jun 15, 2018VS Code Extension for Managing GitHub Pull Requests1 point
On Bluesky · 3
- Sep 20, 2025これのcredetialってどこに保存されてるんだろ? "microsoft/vscode-pull-request-github: GitHub Pull Requests for Visual Studio Code"… — @azu.bsky.social1 likes and repost · 1 reply
- Dec 1, 2024Did you know that there is a @vscode.dev extension for reviewing @github.com pull requests? My friend was complaining about switching to… — @davidtyemnyak.bsky.social1 likes and repost
- Dec 1, 2025github.com/microsoft/vs... 早速なんですけどこれと同じようにエディターみながら同時に gihub pr でのコメントや返信もできる plugin 知りません?これだけは便利なんですよねー — @senkenn.dev0 likes and reposts · 1 reply
In this repository7 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- write-changelogSkill
- address-pr-commentsSkill
- create-pull-requestSkill
- show-github-search-resultSkill
- suggest-fix-issueSkill
- summarize-github-issue-pr-notificationSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Follow the "Tips for Forming Effective Search Queries" to convert the natural language query into GitHub search syntax.
- Distinctive: line 73
Always try to include "repo:" or "org:" in your response.
- Distinctive: line 75
If the user specifies a repo, ALWAYS fetch the labels for that repo and try to match any words in the natural language query to the label …
- Distinctive: line 77
Always include a "sort:" parameter.
- Distinctive: line 78
Always include a property with the @me value if the query includes "me" or "my".
- Distinctive: line 80
Use a "-" in front of a syntax component to indicate that it should be "not-ed".
- Distinctive: line 81
Use the "no" syntax component to indicate that a property should be empty.
- Distinctive: line 89
Only choose labels that you're sure are relevant.
- Distinctive: line 90
Don't choose labels that the user has explicitly excluded.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Form GitHub Search Query
Purpose
GitHub has a specific syntax for searching issues and pull requests. This skill takes a natural language query from the user and the type of search they want to perform (issue or PR) and converts it into a properly formatted GitHub search query. This allows users to leverage GitHub's powerful search capabilities without needing to know the specific syntax.
Usage
To use this skill, provide a natural language query and specify whether you want to search for issues or pull requests. The skill will then analyze the input and generate a GitHub search query that can be used to find relevant results on GitHub.
Converting Natural Language to GitHub Search Syntax
Steps
- Identify if there's a repo mention in the query.
- Fetch labels for the repo if mentioned.
- Follow the "Tips for Forming Effective Search Queries" to convert the natural language query into GitHub search syntax.
Search Syntax Overview
- is: { possibleValues: ['issue', 'pr', 'draft', 'public', 'private', 'locked', 'unlocked'] }
- assignee: { valueDescription: 'A GitHub user name or @me' }
- author: { valueDescription: 'A GitHub user name or @me' }
- mentions: { valueDescription: 'A GitHub user name or @me' }
- team: { valueDescription: 'A GitHub user name' }
- commenter: { valueDescription: 'A GitHub user name or @me' }
- involves: { valueDescription: 'A GitHub user name or @me' }
- label: { valueDescription: 'A GitHub issue/pr label' }
- type: { possibleValues: ['pr', 'issue'] }
- state: { possibleValues: ['open', 'closed', 'merged'] }
- in: { possibleValues: ['title', 'body', 'comments'] }
- user: { valueDescription: 'A GitHub user name or @me' }
- org: { valueDescription: 'A GitHub org, without the repo name' }
- repo: { valueDescription: 'A GitHub repo, without the org name' }
- linked: { possibleValues: ['pr', 'issue'] }
- milestone: { valueDescription: 'A GitHub milestone' }
- project: { valueDescription: 'A GitHub project' }
- status: { possibleValues: ['success', 'failure', 'pending'] }
- head: { valueDescription: 'A git commit sha or branch name' }
- base: { valueDescription: 'A git commit sha or branch name' }
- comments: { valueDescription: 'A number' }
- interactions: { valueDescription: 'A number' }
- reactions: { valueDescription: 'A number' }
- draft: { possibleValues: ['true', 'false'] }
- review: { possibleValues: ['none', 'required', 'approved', 'changes_requested'] }
- reviewedBy: { valueDescription: 'A GitHub user name or @me' }
- reviewRequested: { valueDescription: 'A GitHub user name or @me' }
- userReviewRequested: { valueDescription: 'A GitHub user name or @me' }
- teamReviewRequested: { valueDescription: 'A GitHub user name' }
- created: { valueDescription: 'A date, with an optional < >' }
- updated: { valueDescription: 'A date, with an optional < >' }
- closed: { valueDescription: 'A date, with an optional < >' }
- no: { possibleValues: ['label', 'milestone', 'assignee', 'project'] }
- sort: { possibleValues: ['updated', 'updated-asc', 'interactions', 'interactions-asc', 'author-date', 'author-date-asc', 'committer-date', 'committer-date-asc', 'reactions', 'reactions-asc', 'reactions-(+1, -1, smile, tada, heart)'] }
Example Queries
- repo:microsoft/vscode is:issue state:open sort:updated-asc
- mentions:@me org:microsoft is:issue state:open sort:updated
- assignee:@me milestone:"October 2024" is:open is:issue sort:reactions
- comments:>5 org:contoso is:issue state:closed mentions:@me label:bug
- interactions:>5 repo:contoso/cli is:issue state:open
- repo:microsoft/vscode-python is:issue sort:updated -assignee:@me
- repo:contoso/cli is:issue sort:updated no:milestone
Tips for Forming Effective Search Queries
- Always try to include "repo:" or "org:" in your response.
- "repo" is often formated as "owner/name".
- If the user specifies a repo, ALWAYS fetch the labels for that repo and try to match any words in the natural language query to the label names to include them in the search query (See "Adding Labels to the Search Query" section).
- Words in inline codeblocks are likely to refer to labels. Try to match them to labels in the repo and include them in the search query.
- Always include a "sort:" parameter. If multiple sorts are possible, choose the one that the user requested.
- Always include a property with the @me value if the query includes "me" or "my".
- Go through each word of the natural language query and try to match it to a syntax component.
- Use a "-" in front of a syntax component to indicate that it should be "not-ed".
- Use the "no" syntax component to indicate that a property should be empty.
Adding Labels to the Search Query
- Choose labels based on what the user wants to search for, not based on the actual words in the query.
- The user might include info on how they want their search results to be displayed. Ignore all of that.
- Labels will be and-ed together, so don't pick a bunch of super specific labels.
- Try to pick just one label.
- Only choose labels that you're sure are relevant. Having no labels is preferable than labels that aren't relevant.
- Don't choose labels that the user has explicitly excluded.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

