Repository navigation
Conversation
added 19 commits
December 3, 2026 05:59
The same reader already receives the exact pre-commit lint command and ordering in the required-command section. An additional inventory mandate adds another copy to maintain without changing the action; the required lint duty remains there. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L26-L30
The inventory can suggest that untagged Go tests cover the whole repository, although e2e is explicitly tagged. The required-command section already gives this reader the race-test command, so removing the extra description avoids that shortcut and another upkeep copy. The required Go test duty remains unchanged. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/e2e/e2e_test.go#L1-L3 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L26-L30
The required-command section already tells the same reader to regenerate documentation for tool and toolset changes. The narrower inventory repeat adds another copy to maintain; removing it leaves the complete duty and its condition at that entry point. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L26-L30
The reminder already gives this reader the stronger prohibition against both the release script and tag pushes. Keeping a second script-only prohibition adds upkeep without another decision; removing it leaves the complete prohibition in Important Reminders. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L281-L284
The old mocking instruction can send contributors toward a retired dependency instead of the repository helper. Naming the existing HTTP helper gives tests a supported starting point while preserving the GraphQL choice. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/helper_test.go#L681-L695
A universal personal-token requirement can stop setup from using supported configured App or OAuth authentication. Keeping the token as an optional stdio path avoids that restriction without removing supported authentication. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/cmd/github-mcp-server/main.go#L49-L80 The e2e runner reads its dedicated token variable, not this server variable. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/e2e/e2e_test.go#L49-L56
The same reader already receives failure-triggered documentation and license recipes with their exact scripts. The generic reminder adds another copy to maintain without a new recovery step; both concrete recovery duties remain in Common Errors and Solutions. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/.github/copilot-instructions.md#L215-L235
The MCP Apps recipe can start validation with a Node line outside the UI manifest's supported engine. Using the declared line avoids that mismatch while retaining the existing validation sequence and generated-output guidance. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/ui/package.json#L7-L9
CLI help can imply that every supported scope is requested automatically. The default producer selects a lower-risk subset, and the CLI uses it unless scopes are supplied explicitly; describing that choice avoids assuming additional authority is present. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/cmd/github-mcp-server/main.go#L136-L159
…ion table A reader configuring login from the table can assume that all supported scopes are requested without opting in. The default list selects only a subset, so stating that selection gives this entry point the implemented configuration contract. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/http/oauth/oauth.go#L23-L29
The filtering explanation can lead a reader to expect every scope-dependent tool after default login. Full scopes are an explicit selection rather than the default, and visibility follows the supplied scope set; the distinction avoids that incorrect expectation without promising to bypass other tool filters. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/scope_filter.go#L30-L37
The config comment can encourage callers to assume that omitted authority belongs to the default set. The producer selects a subset, while this config receives caller-supplied scopes. Removing the false narration leaves the filtering contract here and the selection policy at its operator-facing owners. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/cmd/github-mcp-server/main.go#L136-L159
…ommentary The selection comment can make requested OAuth scopes look equivalent to every supported scope. The implementation uses the configured set, and the default producer omits some authority. Removing the false parenthetical leaves the token-mode distinction and requested-scope behavior at this entry point. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/scopes/scopes.go#L81-L126 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/internal/ghmcp/server.go#L349-L362
…dance Non-skills-mode guidance can rule out visible-field updates that both view consumers support. The corrected condition permits the implemented operation while retaining the empty-only roadmap restriction. The dependent digest belongs with this instruction because either side alone fails the instruction check. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/projects.go#L2041-L2150 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/projects.go#L2210-L2285
The diagnosis can send a reader to correct a filter category listing does not accept. Removing that false cause avoids the wrong troubleshooting step; the skill still supplies category-ID filtering for discussion listing and separate empty-source reporting. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/discussions.go#L1027-L1105 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/skills/catalog/skills/discussion-participation/SKILL.md#L17-L24
The one-call claim can omit the tail the reader is meant to audit. The handler returns a cursor page, so bounded wording avoids assuming completeness while the loaded catalog already supplies pagination. Issue-count ordering and tail inspection remain intact. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/labels.go#L177-L256 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/skills/catalog/catalog.go#L45-L57
…iter The warning can make a multi-file update require a field its input does not accept. Naming the single-file writer keeps the current-SHA and stale-read safety advice applicable without imposing it on path/content-only batches. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L448-L511 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L1639-L1703
The field advice can demand branches for repository lifecycle calls and predict an implicit write when a file call instead rejects the missing branch. Scoping the prerequisite to file writes avoids those wrong expectations while target confirmation and default-branch protection remain in the skill. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L448-L535 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L1639-L1710
The reference repeats the main skill's single-file replacement action as though it applies to both writers. That extra copy can demand a field a batch does not accept and adds upkeep for the same reader. Removing it leaves full-read/current-SHA and stale-read duties in the main skill's sequence and decision points. https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/skills/catalog/skills/repository-content-changes/SKILL.md#L26-L34 https://github.com/github/github-mcp-server/blob/9b7b2007fe2062f6ecc4e39b25404eac60f5f5da/pkg/github/repositories.go#L1639-L1703
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The audit remains incomplete because list_label lacks explicit pagination, so repositories with more than one page of labels may have relevant least-used labels missed.
1 open issue
What changed in this PR
Updates repository guidance to match current tool behavior, supported authentication, OAuth defaults, UI setup, and operation-specific requirements.
Changes:
- Removes redundant or misleading Copilot instructions.
- Clarifies project views, label pagination, discussion categories, and file-write prerequisites.
- Aligns OAuth and UI documentation with current defaults and supported versions.
| File | Description |
|---|---|
| pkg/skills/catalog/skills/repository-content-changes/SKILL.md | Clarifies branch and SHA requirements. |
| pkg/skills/catalog/skills/repository-content-changes/references/irreversible-operations.md | Removes an overbroad SHA prerequisite. |
| pkg/skills/catalog/skills/label-scheme-management/SKILL.md | Documents paginated label results. |
| pkg/skills/catalog/skills/discussion-participation/SKILL.md | Removes unsupported troubleshooting advice. |
| pkg/github/toolset_instructions.go | Corrects project view capability guidance. |
| pkg/github/testdata/toolset-instructions.json | Updates the projects instruction digest. |
| internal/ghmcp/server.go | Removes misleading OAuth default-scope comments. |
| docs/oauth-login.md | Documents lower-risk OAuth defaults. |
| CONTRIBUTING.md | Aligns UI setup with Node.js 26.x. |
| cmd/github-mcp-server/main.go | Updates OAuth CLI help text. |
| .github/copilot-instructions.md | Removes redundant development and recovery guidance. |
Review effort: Lite (adaptive)
Comment on lines
+13
to
15
| 1. **See the label set.** `list_label` returns a page of labels ordered by issue | ||
| count, most used first. That ordering is the audit: the tail is where the dead | ||
| vocabulary lives. |
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
Repeated validation, release and recovery instructions give maintainers extra copies to keep consistent. Removing those repeats reduces that upkeep without losing the required commands or prohibitions. Development guidance can also point to retired REST mocking or require personal-token setup unnecessarily; the supported mocking and authentication paths avoid those misleading starting points.
UI validation can start on a Node line outside the declared engine. Using the supported Node line keeps the existing validation recipe aligned with the project.
OAuth help can imply that every supported scope is requested by default. Correct operator guidance and removal of the false default descriptions avoid assuming that tools needing additional authority are already available.
Project guidance can rule out implemented view updates, and discussion troubleshooting can target a filter category listing does not accept. Supported view inputs and removal of that impossible diagnosis avoid those wrong turns. Label auditing can also mistake a page for the complete vocabulary; bounded-result wording preserves the existing pagination duty.
File changes can demand inputs the selected operation does not accept. Operation-specific branch and SHA advice, with the duplicate overbroad SHA prerequisite removed, avoids that mismatch while retaining full-read, current-SHA and 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, analyzingmainat9b7b200.Discarded guidance: The merge-policy sentence stays unchanged because workflow event filters do not establish hosted merge requirements. The supported personal-token path remains documented, respecting the earlier correction against removing it.