跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/laurigates/claude-plugins/git-repo-detection

Find a GitHub owner and repository from Git remotes in Claude Code

Use git-repo-detection to derive the owner/repository identifier from a configured GitHub HTTPS or SSH remote.

中文

Install in Claude Code

Claude Code, Git, and a local practice repository. The example only reads local configuration.

  1. Open the pinned GitHub source below and retrieve the `git-plugin/skills/git-repo-detection/` directory from that revision.
  2. Copy it into `.claude/skills/git-repo-detection/` in your project, keeping `SKILL.md` and its companion files together.
  3. Open Claude Code in the project root and describe the example task so Claude can load the skill when relevant.

Example task

In a practice repo, add `git remote add origin git@github.com:example-org/sample-catalog.git`. Ask Claude to read origin and return the repository identifier.

What to check

The result is example-org/sample-catalog and matches the path in `git remote get-url origin`.

Original SKILL.md on GitHub · Updated 2026-11-11

Frequently asked question

Do I need to sign in to GitHub to get the identifier?

Reading a local remote and parsing its path needs no GitHub account. Fetching remote data can require authorization.

词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯