speckit-git-remote

Parse Git remote URLs to extract owner and repository name.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/kamalsroor1/nest-scaffolding-crud-manager --skill speckit-git-remote-kamalsroor1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/kamalsroor1/nest-scaffolding-crud-manager/tree/main/.agent/skills/speckit-git-remote
Command: npx skills add https://github.com/kamalsroor1/nest-scaffolding-crud-manager --skill speckit-git-remote-kamalsroor1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill detects the configured Git remote URL for a repository so automation and integrations can identify the repository owner and name without manual lookup, and it degrades gracefully when Git or a remote is unavailable.

Core Features & Use Cases

  • Remote detection: Reads the configured origin remote URL from a local Git repository.
  • Parsing and validation: Extracts repository owner and name from common HTTPS and SSH GitHub URL formats and verifies whether the remote points to github.com.
  • Safe fallback: Returns an empty result instead of failing when Git is not present, the directory is not a repository, or no remote is configured; suitable for CI checks, issue linking, and automated metadata collection.

Quick Start

Use the speckit-git-remote skill to detect the repository owner and name and determine whether the origin remote points to GitHub.

Frequently Asked Questions about speckit-git-remote

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse a Git remote URL to get the repository owner and name?

To parse a Git remote URL, this skill reads the configured origin remote and extracts the repository owner and name. It supports common HTTPS and SSH GitHub URL formats to provide the parsed metadata for automation.

What happens if Git is not installed or no remote is configured in the directory?

If Git is not installed or no remote is configured, the skill degrades gracefully by returning an empty result instead of failing. This safe fallback makes it suitable for CI checks and automated metadata collection.

Can I detect if a local Git repository points to github.com?

Yes, you can detect if a local Git repository points to github.com. The skill verifies the parsed origin remote URL and returns a boolean indicating whether the remote points to github.com.

How do I automate GitHub issue linking from a local repository?

Automating GitHub issue linking requires identifying the repository owner and name. This skill detects the local Git remote URL and parses the metadata, enabling automated integrations without manual lookup.

Does this skill support both SSH and HTTPS Git remote formats?

Yes, the skill supports both SSH and HTTPS Git remote formats. It parses common GitHub URL structures to extract the repository owner and name accurately across different remote configurations.