speckit-git-remote

Detect a Git repository's origin remote and extract GitHub owner and repository name.

1.0k|514|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/unipds-engenharia-de-ia-aplicada/engenharia-de-software-com-ia-aplicada --skill speckit-git-remote-unipds-engenharia-de-ia-aplicada
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/unipds-engenharia-de-ia-aplicada/engenharia-de-software-com-ia-aplicada/tree/main/lives/2026-05-27/001-pos-live/.claude/skills/speckit-git-remote
Command: npx skills add https://github.com/unipds-engenharia-de-ia-aplicada/engenharia-de-software-com-ia-aplicada --skill speckit-git-remote-unipds-engenharia-de-ia-aplicada

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork from identifying a Git repository's remote URL, making it easy to know which project is connected to GitHub services.

Core Features & Use Cases

  • Remote Detection: Reads the configured origin remote and extracts the repository owner and name.
  • GitHub Validation: Verifies whether the remote actually points to github.com before reporting it as a GitHub repository.
  • Graceful Fallbacks: Handles missing Git installations, non-repository folders, and repositories without a configured remote without breaking the workflow.

Quick Start

Ask the skill to detect the current repository’s origin remote and report the GitHub owner, repository name, and whether it is a GitHub URL.

Frequently Asked Questions about speckit-git-remote

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

FAQPage Schema
How do I find the remote URL of a Git repository?

To find the remote URL of a Git repository, the process reads the configured origin remote and extracts the repository owner and name. It verifies whether the remote points to github.com for GitHub integration workflows.

How do I extract the GitHub owner and repository name from a Git remote?

Extracting the GitHub owner and repository name requires parsing the Git origin remote URL. The detection mechanism validates that the parsed URL actually points to github.com before reporting the extracted owner and repository name.

What happens if there is no Git remote configured in my repository?

If no Git remote is configured, the detection process applies safe empty-result handling to manage the missing remote gracefully. It handles missing Git installations and non-repository folders without breaking your workflow.

Can I detect a GitHub remote URL in a folder that is not a Git repository?

Detecting a GitHub remote URL in a non-repository folder returns a safe empty result instead of an error. The detection mechanism includes graceful fallbacks for folders lacking Git initialization or a configured origin remote.

Does Git remote detection work for issue automation and GitHub integration?

Git remote detection works for issue automation and GitHub integration by identifying the project owner and repository name. This provides the necessary remote-aware context for GitHub services to interact with the correct repository.