Repository navigation
Conversation
added 27 commits
November 26, 2026 05:52
A focused command that selects no test can appear successful without checking the intended behavior. The package's account test is named Test_GetMe, so the example needs that exact selector. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/context_tools_test.go#L22-L31
The REST testing recipe can otherwise send Copilot toward a retired dependency. The locally defined HTTP helper is already used by the tool tests and is the supported starting point. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/helper_test.go#L682-L695 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/dependabot_test.go#L33-L59
Treating a personal token as mandatory can prompt unnecessary setup when stdio supports OAuth or GitHub App authentication. The live test harness separately requires its dedicated E2E token variable; that requirement remains documented. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/cmd/github-mcp-server/main.go#L49-L76 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/e2e/e2e_test.go#L47-L55
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
The run argument can otherwise imply complete log coverage merely because it selects a run. It identifies the failed-only request, whose one jobs page still limits the result. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A reader can otherwise stop after the failed-log shortcut and miss another failing job. The separate paged jobs listing and single-job log input provide the supported route to those logs. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L782-L806 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L594-L599
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
The run argument can otherwise imply complete log coverage merely because it selects a run. It identifies the failed-only request, whose one jobs page still limits the result. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A reader can otherwise stop after the failed-log shortcut and miss another failing job. The separate paged jobs listing and single-job log input provide the supported route to those logs. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L782-L806 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L594-L599
The run argument can otherwise imply complete log coverage merely because it selects a run. It identifies the failed-only request, whose one jobs page still limits the result. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
Copilot can otherwise rule out supported project view changes. The create and update paths accept visible fields, while roadmap views reject nonempty selections rather than the input itself. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/projects.go#L802-L811 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/projects.go#L2227-L2275 The instruction digest must match the supported non-skills guidance; the associated project-planning skill already documents these capabilities. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/toolset_instructions_test.go#L58-L77 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/project-planning/SKILL.md#L58-L59
Copilot can otherwise rule out supported project view changes. The create and update paths accept visible fields, while roadmap views reject nonempty selections rather than the input itself. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/projects.go#L802-L811 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/projects.go#L2227-L2275
Account-field guidance can otherwise send Copilot looking for a type discriminator that compact account results do not expose. Removing that direction avoids an unsupported lookup while the skill's account-resolution and ambiguity checks remain. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/minimal_types.go#L149-L163 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/account-and-team-context/SKILL.md#L65-L69
An unavailable optional intent tool must not turn a suggestion into an autonomous launch. Direct assignment is appropriate only for an approved launch, and an unrecorded suggestion must remain a suggestion. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/copilot.go#L528-L535 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/copilot-task-delegation/SKILL.md#L84-L99
A second fallback adds upkeep for the same reader and can contradict the approval boundary already supplied in the tool-choice section. Removing it leaves the approved-launch fallback there; explicit launch agreement and the prohibition on upgrading suggestions continue to apply. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/copilot-task-delegation/SKILL.md#L84-L99
The SHA warning can otherwise discourage the supported multi-file writer, which has no SHA input. Existing-file SHA acquisition and stale-write protection still apply to create_or_update_file. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/repositories.go#L491-L493 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/repository_tool_types.go#L69-L79
A universal branch-input rule can send Copilot looking for an input that repository creation and forking do not accept. File writes still require explicit branch selection. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/repository_tool_types.go#L20-L59
Repository creation can otherwise be blocked by a branch-and-path confirmation intended for file edits. File-write confirmation remains explicit, while repository creation retains its separate name, owner and visibility confirmation. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/repository_tool_types.go#L20-L37 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/repository-content-changes/SKILL.md#L89-L91
The reference repeats a prerequisite the parent skill already supplies, but incorrectly extends it to a writer with no SHA input. Removing that copy reduces upkeep; the full-read prerequisite remains here, and SHA acquisition and stale-write recovery remain in the parent skill for create_or_update_file. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/repository_tool_types.go#L69-L79 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/repository-content-changes/SKILL.md#L26-L34 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/repository-content-changes/SKILL.md#L99-L101
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65 The paged job listing and job_id route preserve a way to inspect other failures without assuming the shortcut is complete. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L782-L806
The main workflow already directs this reader to list jobs and the catalog requires pagination before completeness claims. A second listing instruction adds upkeep and incorrectly promises every job in one call; the sibling-job comparison itself remains. https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/workflow-failure-triage/SKILL.md#L24-L25 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/catalog.go#L44-L57 https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L782-L806
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the guidance, tool-description, and snapshot updates.
No open issues 🎉
What changed in this PR
This PR aligns GitHub MCP Server’s development instructions and bundled skills with supported tool behavior. It updates guidance, descriptions, and snapshots without changing tool execution logic.
Changes:
- Corrects testing and authentication guidance.
- Clarifies workflow-log coverage and supported project-view updates.
- Preserves delegation approval requirements and scopes file-write prerequisites to applicable operations.
| File | Description |
|---|---|
README.md |
Documents the bounded coverage of failed-job logs. |
pkg/skills/catalog/skills/workflow-failure-triage/SKILL.md |
Explains pagination and individual-job log retrieval. |
pkg/skills/catalog/skills/workflow-failure-triage/references/failure-classes.md |
Removes the claim that one call lists every job. |
pkg/skills/catalog/skills/repository-content-changes/SKILL.md |
Scopes branch, SHA, and path requirements to applicable file writes. |
pkg/skills/catalog/skills/repository-content-changes/references/irreversible-operations.md |
Removes an overbroad SHA prerequisite. |
pkg/skills/catalog/skills/copilot-task-delegation/SKILL.md |
Requires approval before fallback assignment launches work. |
pkg/skills/catalog/skills/account-and-team-context/SKILL.md |
Removes guidance for an unavailable account field. |
pkg/github/toolset_instructions.go |
Corrects visible-field guidance for project views. |
pkg/github/testdata/toolset-instructions.json |
Refreshes the project-instructions digest. |
pkg/github/actions.go |
Updates log-tool descriptions and comments to reflect existing limits. |
pkg/github/__toolsnaps__/get_job_logs_actions.snap |
Synchronizes the log-tool description snapshot. |
.github/copilot-instructions.md |
Corrects the test selector, REST mock helper, and authentication guidance. |
Review effort: Balanced (adaptive)
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.
🧠 How this helps Copilot
Development guidance can otherwise select no test, point to a retired REST mock, or require unnecessary personal-token setup. Using the supported testing and authentication contracts avoids those misleading starting points.
Workflow diagnosis can mistake a partial failed-log result for the whole run. Bounded coverage and a route to other jobs avoid that assumption; removing a duplicate one-call listing claim reduces upkeep for the same workflow.
Project guidance can rule out supported view updates. Following the implemented visible-field inputs avoids that restriction, while removing unavailable account-field guidance avoids an unsupported lookup.
A missing optional delegation tool can otherwise turn a suggestion into a launch without approval. Preserving the approval boundary and removing the duplicate unconditional fallback keeps the two actions distinct.
Repository edits can demand inputs that their selected operation does not accept. Scoping branch, path and SHA duties to the applicable file writers, and removing the duplicate overbroad SHA prerequisite, avoids those invalid steps without weakening file-read or confirmation duties.
Review commit by commit for each change's rationale and evidence.
Note
Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.
Automated details
Source:
curate-memoriesDream, analyzingmainat7edc2dd.Discarded guidance: Merge-policy wording stays unchanged because workflow event filters do not establish hosted merge requirements. The event-permissions explanation also stays unchanged because its proposed deletion would remove the fork-context caution without a demonstrated surviving equivalent. The supported personal-token path remains documented, respecting the earlier rejection of its removal.