본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)10k · #12002

speckit-git-remote

하는 일

이 스킬은 프로젝트 Git 원격의 온라인 주소를 읽고, 그것이 GitHub를 가리키는지 확인합니다. 다른 도구가 저장소 웹 주소를 필요로 하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓다른 Spec Kit 단계에 프로젝트의 GitHub 주소가 필요할 때.
  • ✓프로젝트의 원격이 GitHub를 가리키는지 확인하고 싶을 때.
  • ✓Git 원격이 없는 프로젝트에서 스킬이 깔끔하게 알려 주기를 원할 때.

스킬 링크

https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-remote/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-remote/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 프로젝트의 Git 원격 GitHub 주소가 무엇인가요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 Git에서 원격 설정을 읽은 뒤, 소유자와 저장소 이름을 알아냅니다. 주소가 실제로 github.com을 가리킬 때만 GitHub로 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Detect Git Remote URL

Detect the Git remote URL for integration with GitHub services (e.g., issue creation).

Prerequisites

  • Check if Git is available by running git rev-parse --is-inside-work-tree 2>/dev/null
  • If Git is not available, output a warning and return empty:
    [specify] Warning: Git repository not detected; cannot determine remote URL
    

Execution

Run the following command to get the remote URL:

git config --get remote.origin.url

Output

Parse the remote URL and determine:

  1. Repository owner: Extract from the URL (e.g., github from https://github.com/github/spec-kit.git)
  2. Repository name: Extract from the URL (e.g., spec-kit from https://github.com/github/spec-kit.git)
  3. Is GitHub: Whether the remote points to a GitHub repository

Supported URL formats:

  • HTTPS: https://github.com/<owner>/<repo>.git
  • SSH: git@github.com:<owner>/<repo>.git

[!CAUTION] ONLY report a GitHub repository if the remote URL actually points to github.com. Do NOT assume the remote is GitHub if the URL format doesn't match.

Graceful Degradation

If Git is not installed, the directory is not a Git repository, or no remote is configured:

  • Return an empty result
  • Do NOT error — other workflows should continue without Git remote information
자주 묻는 질문

어떤 주소 형식을 이해하나요?

HTTPS와 SSH 스타일의 GitHub 주소를 모두 처리합니다.

원격이 없으면 어떻게 되나요?

오류를 내지 않고 빈 결과를 반환합니다.

아무것도 바꾸나요?

아니요. 원격 설정을 읽기만 합니다.

상세 정보

작성자의 원본 설명

Detect Git remote URL for GitHub integration

repo: unoplatform/uno

인기도

GitHub 스타
10k
순위
#12002
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬