speckit-git-remote

Extract Git remote URLs and parse GitHub owner and repository names.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/BOUROUIS-MOHAMED/monclub_access_python --skill speckit-git-remote-bourouis-mohamed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/BOUROUIS-MOHAMED/monclub_access_python/tree/main/.agents/skills/speckit-git-remote
Command: npx skills add https://github.com/BOUROUIS-MOHAMED/monclub_access_python --skill speckit-git-remote-bourouis-mohamed

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git remote URL detection helps developers verify if a project is linked to GitHub by extracting the remote URL from a local repository and parsing owner/repo information.

Core Features & Use Cases

  • GitHub linkage verification: Determine if the repository's remote points to GitHub and extract owner and repository name.
  • Automation support: Use in scripts to conditionally trigger GitHub-based workflows or issue tracking.
  • Use Case: When setting up a CI workflow, confirm the remote origin URL to ensure it targets the intended GitHub project.

Quick Start

Run the utility in a Git repository to obtain the remote URL and determine if the repository is hosted on 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 detect a GitHub remote URL from a local Git repository?

To detect a GitHub remote URL, run the utility in your Git repository to extract the remote origin URL and parse the owner and repository name from HTTPS or SSH formats. It verifies if the project targets GitHub for integration workflows.

How do I parse the owner and repository name from an SSH or HTTPS Git remote URL?

Parsing the owner and repository name from a Git remote URL involves extracting the configured origin URL and applying format detection for both SSH and HTTPS structures. This extracts the specific owner and repository segments for GitHub automation workflows.

Can I use Git remote URL detection to verify GitHub linkage for CI workflows?

Yes, Git remote URL detection verifies GitHub linkage for CI workflows by extracting the origin URL and determining if it points to GitHub. This confirms the repository targets the intended GitHub project before triggering automation scripts.

What happens when no Git remote is configured or Git is unavailable during remote URL parsing?

When no Git remote is configured or Git is unavailable, the remote URL parsing gracefully returns empty results instead of failing. This ensures scripts handling GitHub integration verification do not break when repository linkage is missing.

Does Git remote URL detection support both HTTPS and SSH formats?

Yes, Git remote URL detection supports both HTTPS and SSH formats to accurately parse GitHub remote addresses. It handles both structures to extract the owner and repository name regardless of the configured connection protocol.