projects: tool consolidation and prompt updates#1299
Closed
tmelliottjr wants to merge 2 commits intomainfrom
Closed
projects: tool consolidation and prompt updates#1299tmelliottjr wants to merge 2 commits intomainfrom
tmelliottjr wants to merge 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR modernizes the project management prompt documentation by updating tool references and improving query examples. The changes reflect current API conventions, replacing deprecated tool names with their modern equivalents and enhancing filtering examples.
Key changes:
- Updated tool references from
get_issue/list_comments/list_issue_eventstoissue_readandpull_request_readwith method parameters - Enhanced query filtering examples to demonstrate combining multiple filters
- Clarified the distinction between issue and pull request operations with method-specific documentation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
47f0ece to
e3cfbff
Compare
00db358 to
c1eb996
Compare
23e3281 to
5cd81ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request consolidates and modernizes the GitHub Projects V2 tooling by replacing multiple granular project operations with two unified tools:
project_readfor all read operations andproject_writefor all write operations. These changes simplify both the codebase and the user interface for interacting with GitHub Projects, making the API surface more consistent and easier to use.Toolset refactor and consolidation:
list_projects,get_project,list_project_fields, etc.) with a singleProjectReadtool in theDefaultToolsetGroupfunction withinpkg/github/tools.go.add_project_item,delete_project_item,update_project_item) with a singleProjectWritetool in the same function.