Provides patterns for the
CLI to interact with GitHub repositories, services, and APIs directly from the terminal. Covers authentication, repository management, issues, pull requests, actions, releases, projects, search, and the REST/GraphQL API. Git workflow patterns (branching, commits, CI/CD) are handled by a separate skill.
Most
list and view commands support structured output for scripting and automation.
Secrets and variables can be scoped to different levels.
Project commands always require
or
.
The
CLI requires authentication before most commands work. Run
to verify the current session. Missing scopes cause silent failures -- use
to add scopes without re-authenticating. For CI environments, set the
or
environment variable instead of interactive login.