Skip to content

Conversation

@tmelliottjr
Copy link
Contributor

This pull request updates the project management prompt documentation in pkg/github/projects.go to clarify and modernize instructions for interacting with project items, focusing on improved tool references and query examples. The changes primarily update tool names to match current API conventions, provide clearer instructions for filtering and retrieving details, and enhance example queries.

@tmelliottjr tmelliottjr requested a review from a team as a code owner October 24, 2025 20:29
@Copilot Copilot AI review requested due to automatic review settings October 24, 2025 20:29
@tmelliottjr tmelliottjr changed the title prompt updates projects: prompt updates Oct 24, 2025
@tmelliottjr tmelliottjr requested a review from JoannaaKL October 24, 2025 20:29
Copy link
Contributor

Copilot AI left a 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 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_events to issue_read and pull_request_read with 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.

" - Filter by assignees: query=\"assignee:@me\"\n" +
" - Filter by status: query=\"status:In Progress\"\n" +
" - Filter by labels: query=\"label:bug\"\n" +
" - Combine filters: query=\"assignee:@me status:\"In Progress\" label:bug\"\n" +
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid nested quotes in the query string. The inner quotes around 'In Progress' will terminate the outer string prematurely. Use escaped quotes or single quotes for the inner string: query=\"assignee:@me status:'In Progress' label:bug\"

Suggested change
" - Combine filters: query=\"assignee:@me status:\"In Progress\" label:bug\"\n" +
" - Combine filters: query=\"assignee:@me status:'In Progress' label:bug\"\n" +

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants