speckit-git-remote

Detect Git remote URLs and extract GitHub repository details.

128|7|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/PieroSierra/SecondBrain --skill speckit-git-remote-pierosierra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-git-remote
Source: https://github.com/PieroSierra/SecondBrain/tree/main/.claude/skills/speckit-git-remote
Command: npx skills add https://github.com/PieroSierra/SecondBrain --skill speckit-git-remote-pierosierra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the detection of Git remote URLs for GitHub integration, saving time and reducing errors in setting up GitHub services.

Core Features & Use Cases

  • Git Remote URL Detection: Automatically identify the remote URL for integration with GitHub services.
  • Compatibility Check: Ensures the presence of a spec-kit project structure.
  • Execution Command: Provides a simple command to retrieve the remote URL.
  • Output Parsing: Extracts repository owner, repository name, and determines if it's a GitHub repository.
  • Graceful Degradation: Handles cases where Git is not available or no remote is configured without erroring.

Quick Start

Run the command /second-brain-speckit-git-remote to detect the Git remote URL for GitHub integration.

Frequently Asked Questions about speckit-git-remote

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

FAQPage Schema
How do I automate GitHub integration by detecting Git remote URLs?

You can automate GitHub integration by running the `/second-brain-speckit-git-remote` command to execute git commands. This detects the remote URL and extracts the repository owner and name for GitHub services configuration.

How does Git remote URL detection parse repository details?

Git remote URL detection parses the configured remote to extract the repository owner and repository name. It then determines whether the remote points to a valid GitHub repository for integration purposes.

Does Git remote URL detection work with spec-kit project structures?

Yes, Git remote URL detection is specifically designed for projects structured with `.specify/` directories. It performs a compatibility check to ensure the spec-kit project structure is present before retrieving the remote URL.

What happens if Git is not available or no remote is configured?

If Git is not available or no remote is configured, the detection process uses graceful degradation. It handles these cases without erroring, preventing pipeline failures when setting up GitHub services.

Why is my GitHub integration failing to read the repository owner and name?

GitHub integration may fail to read the repository owner and name if the Git remote URL is not properly configured. Executing remote URL detection ensures the remote is correctly parsed and validated as a GitHub repository.