speckit-git-remote

Resolves Git remote URLs to identify GitHub owner and repository names.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolve the Git remote URL to identify a GitHub repository owner and name, enabling automated GitHub integration workflows.

Core Features & Use Cases

  • Resolve origin URL from a local Git repository.
  • Parse repository owner and name from HTTPS or SSH remotes.
  • Determine whether the remote points to GitHub and surface a GitHub indicator for downstream tooling.

Quick Start

Invoke the skill in a repository to retrieve the origin remote URL and report the GitHub owner and 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 extract the GitHub repository owner and name from a Git remote URL?

To extract the GitHub repository owner and name from a Git remote URL, resolve the origin remote and parse the URL. This skill handles both HTTPS and SSH formats to return the owner, repo, and GitHub indicator.

Does parsing a Git remote URL work for both SSH and HTTPS GitHub formats?

Parsing a Git remote URL works for both SSH and HTTPS GitHub formats. The skill resolves the origin URL and applies format-specific parsing rules to accurately extract the repository owner and name from either protocol.

What happens when a local Git repository has no remote configured?

When a local Git repository has no remote configured, the parsing function gracefully returns empty values. It detects the missing origin URL and safely exits without extracting an owner or repository name.

Can I use this to check if a local repository is actually hosted on GitHub?

You can check if a local repository is hosted on GitHub by resolving the origin URL. The skill inspects the remote address and surfaces a specific GitHub indicator, returning empty if the repository is hosted elsewhere.

Do I need Git installed to identify a GitHub repository from the remote URL?

Git must be installed and present in your environment to identify a GitHub repository from the remote URL. The skill relies on Git to resolve the local repository's origin URL before parsing the owner and name.