speckit-git-remote

Parse Git remote URLs to extract GitHub owner and repository names.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill detects the Git remote URL to determine the GitHub repository owner and name for integration with GitHub services (issues, CI, deployments).

Core Features & Use Cases

  • Detects remote URL: reads the configured remote.origin.url from the local Git repository.
  • Extracts owner & repo: parses the URL to derive the repository owner and repository name.
  • GitHub verification: reports whether the remote points to github.com and handles both HTTPS and SSH formats.
  • Use Case: Automate linking issues or deployments to the correct GitHub repository in automation scripts.

Quick Start

Run the speckit-git-remote command to output the GitHub repository owner and name from the current Git remote.

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 in an automation script?

To extract the GitHub repository owner and name from a git remote URL, you can use a parsing skill that reads the remote.origin.url configuration and processes both HTTPS and SSH formats to return the specific owner and repository details for your automation pipelines.

Does the remote URL parser support both SSH and HTTPS Git formats?

Yes, the remote URL parser supports both SSH and HTTPS Git formats. It reads the configured remote.origin.url and successfully parses either format to derive the repository owner and name when the URL points to github.com.

What happens if my Git remote URL does not point to github.com?

If your Git remote URL does not point to github.com, the parser returns an empty result. It specifically verifies that the remote URL points to github.com before attempting to extract and return the repository owner and name.

How do I get the GitHub repository name from local Git config for CI/CD workflows?

To get the GitHub repository name from local Git config for CI/CD workflows, run a command that reads the git config remote.origin.url. This automatically detects the configured remote and parses the URL to output the repository owner and name.

When do I need to parse a Git remote URL for GitHub integrations?

You need to parse a Git remote URL for GitHub integrations when automating tasks like linking issues or deployments to the correct repository. This is essential in automation pipelines and CI/CD workflows where remote URLs must be parsed to link to the correct GitHub repository.