speckit-git-remote

Parse the local Git remote URL to extract GitHub owner and repository.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Ab0umar/SRV100_Acc --skill speckit-git-remote-ab0umar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/Ab0umar/SRV100_Acc/tree/main/.agents/skills/speckit-git-remote
Command: npx skills add https://github.com/Ab0umar/SRV100_Acc --skill speckit-git-remote-ab0umar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detects and interprets the Git remote URL to identify the GitHub repository owner and name for seamless automation and integration with GitHub services.

Core Features & Use Cases

  • Reads the local Git remote origin URL (remote.origin.url) and resolves whether it points to GitHub.
  • Extracts repository owner and repository name from both HTTPS and SSH formats.
  • Returns a structured result including owner, repo, and a boolean is_github for downstream automation.

Quick Start

Run the tool to read the remote URL and surface the owner, repository, and is_github flag.

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 owner and repository name from a git remote URL?

To extract GitHub's owner and repository name from a git remote URL, this tool parses remote.origin.url and resolves the components from both HTTPS and SSH formats, returning a structured result for downstream automation.

How do I check if a local git repository points to GitHub for automation workflows?

To check if a local git repository points to GitHub, the tool validates the host of remote.origin.url against github.com and returns a boolean is_github flag alongside the extracted owner and repository details.

Does this tool parse both SSH and HTTPS GitHub remote URLs?

Yes, this tool parses both SSH and HTTPS GitHub remote URLs. It reads the local git remote origin URL and successfully extracts the repository owner and name regardless of the specific connection protocol used.

How do I get the GitHub repository details for automated issue creation?

To get the GitHub repository details for automated issue creation, the tool identifies the repository owner and name from the local git remote URL, providing structured output suitable for integration workflows.

What is the best way to identify a GitHub repository from a local remote URL?

The best way to identify a GitHub repository from a local remote URL is to run this tool, which automatically parses remote.origin.url, validates the host, and reports the owner, repository, and is_github flag.