speckit.git.remote

Parse GitHub owner and repository from git remote URLs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly determine the Git remote origin details for a local clone to enable automation and GitHub integrations.

Core Features & Use Cases

  • Remote URL parsing: Extract owner and repo from HTTPS and SSH remotes.
  • GitHub detection: Identify if the remote points to github.com and flag accordingly.
  • Use Case: Automate linking local repositories to GitHub issues or CI workflows when setting up projects.

Quick Start

Run the command git config --get remote.origin.url to retrieve the repository's 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 owner and repository name from a local git clone?

To extract the GitHub owner and repository name from a local git clone, this Skill parses the output of git config --get remote.origin.url to isolate and return the specific owner and repo details.

Does remote URL parsing work with both SSH and HTTPS GitHub remotes?

Yes, remote URL parsing works with both SSH and HTTPS GitHub remotes. The Skill processes the configured remote URL string to extract owner and repo information regardless of the protocol used.

Can I use the extracted git remote details to automate GitHub issue creation?

You can use the extracted git remote details to automate GitHub issue creation. The Skill outputs the owner, repo name, and a GitHub-detection flag specifically to enable service integrations and automation workflows.

What is the best way to check if a local repository points to github.com?

The best way to check if a local repository points to github.com is to parse the remote origin URL. This Skill evaluates the remote URL and outputs a boolean GitHub-detection flag indicating the connection.

Why do I need to parse git remote URLs for CI workflow setup?

You need to parse git remote URLs for CI workflow setup to programmatically validate repository origins. Identifying the exact owner and repo name allows automation scripts to correctly link local clones to GitHub integrations.

What git commands are required to retrieve remote origin details?

To retrieve remote origin details, the Skill requires running the git command git config --get remote.origin.url. It then parses this raw URL output to identify the repository owner and name.