speckit-git-remote

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

2|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/NUMU-IO/NUMU-api --skill speckit-git-remote-numu-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/NUMU-IO/NUMU-api/tree/main/.agents/skills/speckit-git-remote
Command: npx skills add https://github.com/NUMU-IO/NUMU-api --skill speckit-git-remote-numu-io

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork from identifying a repository's Git remote, making it easy to confirm the origin URL and determine whether the project is connected to GitHub.

Core Features & Use Cases

  • Remote URL Detection: Reads the configured origin remote from the current Git repository.
  • GitHub Ownership Parsing: Extracts the repository owner and name from standard HTTPS or SSH GitHub remote formats.
  • Safe Fallbacks: Returns an empty result instead of failing when Git is unavailable, the directory is not a repository, or no remote is configured.
  • Use Case: A developer preparing GitHub-linked automation can quickly verify the exact repository connection before creating issues or integrating services.

Quick Start

Ask the skill to detect the Git remote URL for the current repository and report the owner, repository name, and whether it points to GitHub.

Frequently Asked Questions about speckit-git-remote

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

FAQPage Schema
How do I find the GitHub remote URL for a local Git repository?

To find the GitHub remote URL, you can read the configured origin remote from your local Git repository and parse the standard HTTPS or SSH formats to extract the exact connection string.

How do I extract the owner and repository name from a Git remote URL?

Extracting the owner and repository name from a Git remote URL involves parsing standard GitHub HTTPS or SSH formats to isolate the specific user or organization and the repository identifier.

What happens if Git is unavailable or the directory is not a repository when detecting remote URLs?

When Git is unavailable or the directory lacks a repository, remote URL detection returns an empty result instead of failing, ensuring safe fallbacks for GitHub integration workflows.

Can I use Git remote URL detection for GitHub integration and automation workflows?

Yes, you can use Git remote URL detection for GitHub integration and automation workflows to reliably verify repository metadata and confirm project connections before creating issues or integrating services.

Does Git remote URL detection support both SSH and HTTPS GitHub formats?

Git remote URL detection supports both SSH and HTTPS GitHub formats, parsing either protocol to accurately identify the repository owner and name from the configured origin remote.

Why does my repository return empty results when checking the Git remote?

Your repository returns empty results when checking the Git remote if no remote is configured, the directory is not a Git repository, or Git is unavailable on your system.