speckit-git-remote

Extract Git remote owner and repository name from origin URLs.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/victorevh/orbitarium-engine-sdd --skill speckit-git-remote-victorevh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/victorevh/orbitarium-engine-sdd/tree/main/.cursor/skills/speckit-git-remote
Command: npx skills add https://github.com/victorevh/orbitarium-engine-sdd --skill speckit-git-remote-victorevh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the discovery of the Git remote details for a repository, enabling reliable integration with GitHub workflows and issue creation.

Core Features & Use Cases

  • Extract the repository owner and name from the remote origin URL (remote.origin.url).
  • Detect whether the remote points to GitHub by validating the github.com domain across HTTPS and SSH formats.
  • Gracefully degrade to an empty result when prerequisites are not met (no git, not a git repository, or no remote configured).

Quick Start

Fetch the repository's remote URL and report the GitHub owner and repository name.

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 the owner and repository name from a Git remote URL, the Skill parses the configured origin and isolates the specific path components. It returns the extracted owner and repository name directly if the remote points to GitHub.

Can I detect if a local repository points to GitHub using SSH and HTTPS remotes?

Yes, you can detect if a local repository points to GitHub across both SSH and HTTPS remote formats. The Skill validates the remote URL domain to confirm it matches github.com before reporting a successful GitHub match.

What happens if there is no Git remote configured or Git is not installed?

If Git is not installed, the directory is not a Git repository, or no remote is configured, the Skill gracefully degrades and returns an empty result. This ensures workflows do not break when prerequisites are missing.

How do I get GitHub remote details for local repository automation workflows?

You get GitHub remote details for local repository automation by applying this Skill to repositories with a configured origin. It outputs the owner, repository name, and GitHub validation status to enable reliable integration with GitHub workflows.

Do I need Git installed to parse remote origin URLs for repository details?

Yes, you need Git installed and available in your environment to parse remote origin URLs. The Skill relies on Git to fetch the remote.origin.url and validate the domain before extracting the repository owner and name.