What problem does it solve?
This Skill prevents Git and GitHub API operations from failing by helping you configure reliable authentication for accessing repositories, pull requests, issues, and CI workflows.
Core Features & Use Cases
- Git authentication (HTTPS tokens or SSH keys): Enables
git to authenticate for cloning, fetching, pushing, and working with PR-related branches.
- GitHub CLI authentication (gh auth): Uses
gh when installed to simplify login and improve API access.
- API fallback via curl: Supports GitHub REST API calls using a
GITHUB_TOKEN when gh is unavailable.
- Environment detection script: Uses a sourcing helper to determine the best auth method and expose
GH_AUTH_METHOD, GITHUB_TOKEN, and repo context.
Quick Start
Ask the assistant to configure authentication using the GitHub CLI if available, otherwise set up Git-only HTTPS token auth and provide a working token scope list.