Git Repository Detection

Installation
SKILL.md

Git Repository Detection

Expert knowledge for detecting and extracting GitHub repository information from git remotes, including repository name, owner, and full identifiers.

Core Expertise

Repository Identification

  • Extract owner and repository name from git remotes
  • Parse GitHub URLs (HTTPS and SSH)
  • Handle GitHub Enterprise URLs
  • Format as owner/repo for CLI/API usage

URL Parsing

  • Parse HTTPS URLs: https://github.com/owner/repo.git
  • Parse SSH URLs: git@github.com:owner/repo.git
  • Handle custom domains: https://github.enterprise.com/owner/repo.git
  • Clean .git suffix and extra paths

Essential Commands

Installs
GitHub Stars
36
First Seen
Git Repository Detection — laurigates/claude-plugins