speckit-git-remote

Extract GitHub owner, repository name, and origin status from Git remote URLs.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/nq-rdl/agent-skills --skill speckit-git-remote-nq-rdl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/nq-rdl/agent-skills/tree/main/.claude/skills/speckit-git-remote
Command: npx skills add https://github.com/nq-rdl/agent-skills --skill speckit-git-remote-nq-rdl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and extract GitHub remote information (owner, repository name, and GitHub status) from the local Git configuration to support integrations and auditing.

Core Features & Use Cases

  • Owner and repo extraction: parse the origin URL to reveal the repository owner and name.
  • GitHub detection: determine if the remote points to github.com and report a boolean result.
  • Use case: verify CI pipelines or deployment workflows connect to the correct GitHub repository.

Quick Start

Run the skill inside a Git repository to print the origin remote URL.

Frequently Asked Questions about speckit-git-remote

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

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

To extract the GitHub repository owner and name, parse the origin remote URL in your local Git configuration. This process identifies the repository owner and name by detecting the configured remote details from both HTTPS and SSH formats.

How do I check if a Git repository's origin points to github.com?

To check if a Git repository origin points to github.com, parse the remote URL and report a boolean result. This detection mechanism verifies if the origin remote URL resolves to the github.com domain.

Can I verify CI pipeline connections to the correct GitHub repository automatically?

Yes, you can verify CI pipeline connections by detecting the GitHub remote information from the local Git configuration. This extraction supports integrations and auditing by confirming the origin points to the expected github.com repository.

Does the tool parse both SSH and HTTPS Git remote URLs?

Yes, the tool parses both SSH and HTTPS Git remote URLs to extract GitHub remote information. It identifies the repository owner and name regardless of whether the origin URL uses the HTTPS or SSH protocol format.

What happens if Git is unavailable or no remote is configured in the repository?

If Git is unavailable, the directory is not a Git repo, or no remote is configured, the extraction gracefully returns empty. This ensures your CI pipelines or local development workflows do not break when remote details cannot be found.