speckit-git-remote

Extract the Git remote URL and parse owner and repository name.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and extract the Git remote URL from a local repository to enable seamless GitHub integration (e.g., issue creation, linking to the remote).

Core Features & Use Cases

  • Detects the Git remote origin URL from the local repository and parses owner and repository name.
  • Determines whether the remote points to GitHub.com and supports both HTTPS and SSH formats.
  • Gracefully degrades to an empty result when Git is unavailable or no remote is configured.

Quick Start

Run the command git config --get remote.origin.url to fetch the remote URL from the local repository.

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 from a local repository?

To find the GitHub remote URL from a local repository, check the Git remote origin configuration. The Skill uses the Git CLI to fetch this URL and extract the repository owner and name for GitHub integrations.

Can I parse both SSH and HTTPS Git remote URLs?

Yes, you can parse both SSH and HTTPS Git remote URLs. The detection process supports both formats to accurately determine the repository owner, name, and whether the remote points to github.com.

Do I need Git installed to extract the remote repository owner and name?

Yes, you need the Git CLI installed to extract the remote repository owner and name. The Skill requires Git to fetch the remote URL and gracefully returns an empty result if Git is unavailable.

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

If no Git remote is configured in the local repository, the detection process gracefully degrades and returns an empty result. This ensures the workflow does not break when attempting GitHub integration tasks.

How does parsing a Git remote URL enable GitHub integration?

Parsing a Git remote URL enables GitHub integration by extracting the repository owner and name from the origin. This allows downstream automation tasks, such as issue creation and linking to the remote repository.