speckit-git-remote

Detect the Git remote URL and extract GitHub owner and repository name.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-git-remote-b0yz4kr14
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/kimi-cli/.kimi/skills/speckit-git-remote
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-git-remote-b0yz4kr14

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of needing the correct GitHub repository owner and name for integrations, such as creating issues, when you only have a local Git checkout.

Core Features & Use Cases

  • Detects the active Git remote: Reads the configured remote.origin.url from the current repository.
  • Extracts GitHub owner and repo name: Parses HTTPS and SSH remote URL formats to identify <owner>/<repo>.
  • Safe detection with graceful fallback: Only reports GitHub details when the remote URL truly points to github.com, and returns empty results without failing when Git or remotes are unavailable.

Use case: In a local workflow, you want an automation to open or link GitHub issues for the current project without manually typing the owner/repo each time.

Quick Start

Use the speckit-git-remote skill in your spec-kit workflow to detect the current repository’s GitHub owner and name from its configured Git remote.

Frequently Asked Questions about speckit-git-remote

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically detect my GitHub repo URL from a local Git checkout?▼

To automatically detect your GitHub repo URL, this skill reads the configured `remote.origin.url` from your local repository and parses the HTTPS or SSH format to extract the `<owner>/<repo>` details.

How do I extract the GitHub owner and repo name from an SSH remote URL?▼

Extracting the GitHub owner and repo name from an SSH remote URL is possible alongside HTTPS formats. The skill parses the remote URL structure to isolate and return the specific `owner/repo` string for integration purposes.

Does this Git remote detection work with GitLab or Bitbucket remotes?▼

Git remote detection does not work with GitLab or Bitbucket. It strictly checks if the extracted remote URL points to `github.com`, returning empty results if the origin points to a different hosting provider.

What happens if Git is unavailable or remote.origin.url is missing during repo detection?▼

If Git is unavailable or `remote.origin.url` is missing, the skill degrades gracefully by returning empty output without failing. This ensures your local spec-kit workflows do not break when Git metadata is absent.

Can I use the extracted GitHub repo details to automatically open issues?▼

You can use the extracted GitHub repo details to automatically open issues. By deriving the `owner/repo` string from the local Git remote, the skill enables integrations that link to or create issues without manual typing.