- Notifications
You must be signed in to change notification settings - Fork3k
projects: add server instructions#1393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:tmelliottjr/update-projects-tools
Are you sure you want to change the base?
projects: add server instructions#1393
Conversation
There was a problem hiding this 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 adds comprehensive server instructions for the GitHub Projects toolset to guide proper usage of project-related APIs. The new instructions cover workflow patterns, field handling, pagination requirements, query construction syntax, and common pitfalls to avoid.
Key Changes
- Added detailed "projects" case to the
getToolsetInstructionsfunction with multi-section guidance - Documented query construction heuristics and syntax essentials for filtering project items
- Provided pagination best practices and field validation requirements
💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
This pull request adds comprehensive instructions for handling GitHub Projects to the
pkg/github/instructions.gofile. The new guidance covers best practices for listing, filtering, paginating, and summarizing project items, ensuring correct field usage and query construction. The changes are focused on improving clarity and accuracy when interacting with project-related APIs.Stacked on top of:#1390
These instructions help improve the quality of usage for projects related tools. Most specifically, those calls for listing project items. Some example query improvements below.
Example 1
Before:
updated:>2025-11-04After:
is:issue updated:>@today-7d priority:P0,P1,P2Example 2
Before:
assignee:rileyUltimately, no results were ever returned.
After:
Attempt 1:
is:issue assignee:rileyAttempt 2 (self-corrected):
is:issue assignee:*riley*Example 3
Before:
assignee:@me is:openAfter:
is:issue state:open priority:p1 assignee:@me