Gh logo

Gh

Community
lauvsong
gh

GitHub(github.com) 작업 시 gh CLI 사용 가이드. PR 조회/생성/리뷰, 이슈 관리, 코드 검색, 릴리즈 등 GitHub.com 작업에 적용. Use when: GitHub.com 관련 작업, 개인/오픈소스 repo 작업 요청 시 Enterprise(github.example.com) 작업은 gh-enterprise 스킬 사용.

Overview

Publisherlauvsong
Repositoryclaude-soul
Skill namegh
Stars
36
Forks
3
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by lauvsong on GitHub. Read the source before you install it.

Installation

Install the Gh AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/lauvsong/claude-soul/tree/main/skills/gh
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lauvsong/claude-soul.git /tmp/claude-soul
mkdir -p .claude/skills
cp -r /tmp/claude-soul/skills/gh .claude/skills/gh
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gh in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gh on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gh is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

gh CLI — GitHub.com (개인/오픈소스)

원칙

  • GitHub.com 작업은 gh CLI로 수행한다 (hostname 지정 불필요, 기본값).
  • gh api로 REST API 전체에 접근 가능하므로 모든 작업이 가능하다.

환경

  • Host: github.com (기본)
  • 인증: keyring 기반 (gh auth login으로 설정됨)

주요 명령어 레퍼런스

PR 작업

bash
# PR 목록/조회
gh pr list
gh pr view <number>
gh pr view <number> --json title,body,reviews,comments
gh pr diff <number>
gh pr checks <number>

# PR 생성 (HEREDOC으로 body 전달)
gh pr create --title "제목" --body "$(cat <<'EOF'
## Summary
...
EOF
)"

# PR 리뷰 제출
gh pr review <number> --approve
gh pr review <number> --request-changes --body "피드백"
gh pr review <number> --comment --body "코멘트"

라인별 리뷰 코멘트 (pending review 워크플로우)

bash
# 1) pending review 생성
gh api repos/{owner}/{repo}/pulls/{number}/reviews \
  -f event=PENDING

# 2) 리뷰에 inline comment 추가
gh api repos/{owner}/{repo}/pulls/{number}/comments \
  -f body="코멘트 내용" \
  -f path="파일경로" \
  -F line=42 \
  -f side=RIGHT

# 3) pending review 제출
gh api repos/{owner}/{repo}/pulls/{number}/reviews/{review_id}/events \
  -f event=COMMENT

PR 코멘트 조회

bash
gh api repos/{owner}/{repo}/pulls/{number}/comments
gh api repos/{owner}/{repo}/issues/{number}/comments

이슈 작업

bash
gh issue list
gh issue view <number>
gh issue create --title "제목" --body "내용"
gh search issues "검색어" --repo owner/repo

코드/PR/이슈 검색

bash
gh search code "패턴" --repo owner/repo
gh search prs "검색어" --repo owner/repo
gh search issues "검색어" --repo owner/repo

파일 내용 조회

bash
gh api repos/{owner}/{repo}/contents/{path}?ref={branch}

릴리즈/태그

bash
gh release list
gh release view <tag>
gh api repos/{owner}/{repo}/tags

브랜치/커밋

bash
gh api repos/{owner}/{repo}/branches
gh api repos/{owner}/{repo}/commits/{sha}
gh api repos/{owner}/{repo}/commits?sha={branch}&per_page=10

기타 API 접근

bash
# 모든 GitHub REST API 엔드포인트에 접근 가능
gh api <endpoint> [flags]

# GET (기본)
gh api repos/{owner}/{repo}/actions/runs

# POST
gh api repos/{owner}/{repo}/issues -f title="제목" -f body="내용"

# pagination
gh api repos/{owner}/{repo}/pulls --paginate

금지 사항

  • gh pr comment — deny 목록에 등록됨 (실수 방지)
  • gh pr merge — 승인 없이 머지 금지
  • git push — deny 목록에 등록됨 (별도 승인 필요)

Frequently asked questions

What does the Gh AI skill do?

GitHub(github.com) 작업 시 gh CLI 사용 가이드. PR 조회/생성/리뷰, 이슈 관리, 코드 검색, 릴리즈 등 GitHub.com 작업에 적용. Use when: GitHub.com 관련 작업, 개인/오픈소스 repo 작업 요청 시 Enterprise(github.example.com) 작업은 gh-enterprise 스킬 사용.

Why use Gh on TypingMind?

Because you install it once and use it with any model. Gh is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gh in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lauvsong/claude-soul/tree/main/skills/gh. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Gh?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gh?

As many as you like. As long as a model supports skills, you can use Gh with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gh AI skill free?

It is published on GitHub by lauvsong. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇