speckit-git-remote

Extract the Git remote URL and identify its GitHub origin.

Updated May 28, 2026
One-click install
npx skills add https://github.com/bdunnette/reaper --skill speckit-git-remote-bdunnette
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/bdunnette/reaper/tree/main/.agents/skills/speckit-git-remote
Command: npx skills add https://github.com/bdunnette/reaper --skill speckit-git-remote-bdunnette

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify the Git remote origin for a repository to determine whether it points to GitHub, enabling source validation and GitHub-based automation.

Core Features & Use Cases

  • Remote URL extraction: Reads the git config remote.origin.url to reveal the repository's origin.
  • GitHub origin validation: Determines if the remote URL points to github.com.
  • Automation readiness: Supports scripting checks in CI workflows and deployment pipelines.

Quick Start

Run the command to fetch the current repository remote URL and verify if it points to github.com.

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 Git remote URL to check if a repository is hosted on GitHub?

To extract the Git remote URL, the skill executes git config remote.origin.url, parses the output, and validates if the host points to github.com. It identifies the owner and repository name to confirm the GitHub origin for source validation.

What is the best way to automate GitHub workflow checks in a CI pipeline?

Automating GitHub workflow checks in a CI pipeline involves reading the repository remote URL to verify the origin. This skill parses the remote URL to determine if the host is github.com, enabling environment checks and deployment automation.

Can I use this to parse the owner and repository name from a Git remote URL?

Yes, you can parse the owner and repository name from a Git remote URL. The skill executes git config remote.origin.url and parses the syntax to extract the specific owner and repository details for GitHub integration and scripting.

Does this skill work with private GitHub repositories in deployment pipelines?

Yes, the skill works with private GitHub repositories in deployment pipelines. It reads the git config remote.origin.url directly from the local environment to validate the github.com host, requiring no additional API authentication for URL extraction.

Why should I validate the Git remote origin before running GitHub automation scripts?

Validating the Git remote origin prevents automation scripts from executing on non-GitHub repositories. By parsing the remote URL to confirm the host is github.com, you ensure source validation and avoid pipeline failures when automating workflows.