G

Knowledge Pack Files

GitHub Platform Skill Pack Files

Browse the source files that power the GitHub Platform MCP server knowledge pack.

Available free v1.0.0 Browser LLM
$ sidebutton install github
Download ZIP
_skill.md
5.5 KB

GitHub

Source code hosting, pull requests, issues, code review, and CI/CD via GitHub Actions. Agents drive the public web UI at github.com. GitHub Enterprise Cloud (*.ghe.com) shares the same DOM. GitHub Enterprise Server self-hosted instances usually match too but may lag a release behind.

Browser Access

Requires the user to be signed in to GitHub in the connected browser. SSO and SAML sessions persist as long as cookies are kept. Personal access tokens are not used by browser flows — those are for the REST/GraphQL API and out of scope here.

ToolUsage
navigateGo to repo, PR, issue, code, or actions URL
snapshotRead page structure, file lists, diff content
clickTabs, buttons, links, review comments
typeSearch, comment composers, branch picker

Repository surfaces

A repository at github.com/<owner>/<repo> exposes a fixed tab bar:

TabURL suffixPurpose
Code/File tree, README, branch picker
Issues/issuesIssue list, filter bar
Pull requests/pullsPR list, filter bar
Actions/actionsWorkflow runs
Projects/projectsLinked Projects boards
Wiki/wikiMarkdown wiki (often empty)
Security/securityAdvisories, Dependabot
Insights/pulseTraffic, contributors, network
Settings/settingsRepo configuration (admin only)

The Code tab is the entry point for everything else. Branch and tag selection happens via the branch picker dropdown; the URL embeds the branch as tree/<branch>/<path> or blob/<branch>/<path>.

Pull requests

A PR lives at /<owner>/<repo>/pull/<num> with sub-tabs:

Sub-tabURLPurpose
Conversation/pull/<n>Title, description, comments, reviews, status checks
Commits/pull/<n>/commitsCommit list
Checks/pull/<n>/checksCI run output
Files changed/pull/<n>/filesDiff viewer with inline review

Comment scopes:

  • PR-level comment — bottom of the Conversation tab, applies to whole PR.
  • Review comment — file-level, anchored to a line range in the diff.
  • Review summary — Approve / Request changes / Comment, plus optional summary text.
  • Suggestion — special review comment that proposes a code change the author can apply with one click.

PR drafts hide the merge button and skip required reviewers until promoted to "Ready for review." Required status checks appear at the bottom of the Conversation tab.

Issues

/<owner>/<repo>/issues lists all open issues with the standard filter bar. Each issue at /<owner>/<repo>/issues/<num> supports comments, labels, milestones, assignees, projects, linked PRs, and a sidebar of metadata. Closing reasons are completed, not planned, or duplicate — the reason determines downstream automation behavior.

Code search

The site search at /<owner>/<repo>/search supports the modern code-search syntax:

ModifierEffect
path:<glob>Restrict to files matching glob
language:<lang>Restrict by detected language
repo:<owner/repo>Cross-repo search
org:<org>All repos in org
symbol:<name>Match defined symbols (functions, classes)
extension:<ext>Restrict by file extension
"phrase"Exact phrase
/regex/Regex match

The classic search is still available at /search?q=… but modern code search returns more relevant results for code-shaped queries.

Diff viewer

Files changed (/pull/<n>/files) renders a unified or split diff. Each hunk has a + button at the line gutter that opens an inline review comment. Multi-line review comments require a click-and-drag across the line numbers in the diff. Review comments are queued as a "pending review" until the user submits with Approve / Request changes / Comment.

Conventions

  • Keep PRs focused — one logical change per PR.
  • Imperative PR titles ("Add feature", not "Added feature").
  • Description should answer: what changed, why, how to test.
  • Reproduce bugs before filing — include steps, expected vs actual.
  • Approve if the approach is sound, even if you'd do it differently.
  • Block only for correctness, security, or breaking changes.

Common patterns

View a PR: navigate to /<owner>/<repo>/pull/<n>, snapshot for status, click Files changed for diff.

List PRs: navigate to /<owner>/<repo>/pulls, snapshot list. Use the filter bar (is:open author:@me, is:draft, review-requested:@me) to narrow.

Create issue: use the github_browser_create_issue workflow or navigate to /<owner>/<repo>/issues/new.

Read CI failures: navigate to /<owner>/<repo>/pull/<n>/checks, click into the failed job, snapshot the log pane (live-tails recent lines).

Gotchas

  • Check runs are AJAX-loaded — wait for the status badge to settle from "in progress" before grabbing the result.
  • Required reviewers may be governed by CODEOWNERS — the merge button stays disabled until the owning team approves.
  • Force-pushes invalidate prior review comments (they appear under "Outdated"); always re-review after a force-push.
  • The branch picker has both a "branches" and "tags" tab inside the dropdown — check the active tab before choosing a ref.
  • Some orgs enforce SSO that periodically re-prompts — surfacing as a redirect to github.com/orgs/<org>/sso. Detect and pause the workflow rather than retry.