Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
tmelliottjr wants to merge2 commits intotmelliottjr/update-projects-tools
base:tmelliottjr/update-projects-tools
Choose a base branch
Loading
fromtmelliottjr/projects-server-instructions

Conversation

@tmelliottjr
Copy link
Contributor

@tmelliottjrtmelliottjr commentedNov 11, 2025
edited
Loading

This pull request adds comprehensive instructions for handling GitHub Projects to thepkg/github/instructions.go file. 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

Show me the last week's activity inhttps://github.com/orgs/test-rg/projects/1234/views/14 for all p2 or higher issues.

Before:

updated:>2025-11-04

After:

is:issue updated:>@today-7d priority:P0,P1,P2

Example 2

Show me all issues that riley is assigned to inhttps://github.com/orgs/test-org/projects/123456/views/16, please show me the progress of the sub-issues as well.

Before:

assignee:riley

Ultimately, no results were ever returned.

After:

Attempt 1:

is:issue assignee:riley

Attempt 2 (self-corrected):

is:issue assignee:*riley*

Example 3

Show me all open p1 issues that I've worked on inhttps://github.com/orgs/test-org/projects/123456/views/5

Before:

assignee:@me is:open

After:

is:issue state:open priority:p1 assignee:@me

@tmelliottjrtmelliottjr requested a review froma team as acode ownerNovember 11, 2025 15:46
CopilotAI review requested due to automatic review settingsNovember 11, 2025 15:46
Copilot finished reviewing on behalf oftmelliottjrNovember 11, 2025 15:52
Copy link
Contributor

CopilotAI 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 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 thegetToolsetInstructions function 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.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@JoannaaKLJoannaaKLJoannaaKL approved these changes

@kerobbikerobbikerobbi approved these changes

+1 more reviewer

@grantschlarb1911-commitsgrantschlarb1911-commitsgrantschlarb1911-commits approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@tmelliottjr@JoannaaKL@kerobbi@grantschlarb1911-commits

[8]ページ先頭

©2009-2025 Movatter.jp