git-repo-detection
Installation
SKILL.md
Git Repository Detection
When to Use This Skill
| Use this skill when... | Use the alternative when... |
|---|---|
Extracting owner/repo from a git remote (HTTPS or SSH URL) for gh calls |
Use gh-cli-agentic once you already have the owner/repo identifier |
| Handling GitHub Enterprise host URLs alongside github.com | Use git-fork-workflow when the question is fork vs upstream identification |
Resolving the repo identifier to pass with gh -R to avoid remote-required errors |
Use git-cli-agentic for raw git remote -v parsing if you need URL details |
| Detecting which repo a script is running inside before issuing API calls | Use git-coworker-check to detect concurrent agents in the same checkout |
Expert knowledge for detecting and extracting GitHub repository information from git remotes, including repository name, owner, and full identifiers.