ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 manuacl

gh-hud

Claude Code용 GitHub HUD: GitHub-style 탭, 검색, 필터, 병합 상자 및 /gh-hud 명령이 포함된 창의 세션 저장소 풀 요청은 gh CLI를 통해 읽습니다.

번역 완료

이 mod 소개

GH HUD

창에 있는 세션의 GitHub 저장소: GitHub 탭(문제, 끌어오기 요청, 작업), 끌어오기 요청 페이지가 먼저 표시됩니다. 다른 사람들은 하나씩 온다.

  • 창에는 GitHub와 같은 방식으로 풀 요청이 나열됩니다. 개수(닫힌 항목 중 병합된 항목)와 함께 열기 및 닫기, 열기, 초안, 병합 또는 닫기 아이콘, 굵은 제목, 색상의 둥근 알약으로 표시된 레이블, #3 opened 2 days ago by author 및 초안인지, 승인되었는지 또는 검토 대기 중인지 여부가 표시됩니다.
  • 탭 아래의 검색은 GitHub 고유의 구문(author:, label:, review:required…)을 사용합니다. 검색어를 입력하면 빈 필드에 검색어가 모두 다시 나열됩니다.
  • 필터는 GitHub 메뉴와 같이 작성자, 라벨, 리뷰, 담당자 및 정렬 버튼을 통해 서랍에서 열립니다. 버튼은 그 숫자를 계산합니다.
  • 밀도 스위치는 각 끌어오기 요청을 한 줄에 아이콘, 제목, 번호 및 작성자로 표시하거나 다시 두 줄에 레이블, 연령 및 리뷰와 함께 표시합니다.
  • 제목을 클릭하면 브라우저가 아닌 창에서 풀 요청이 열립니다. 상태, 누가 무엇을 어디에 병합하는지, 설명, 주석 및 변경된 파일이 병합됩니다. 뒤로 목록으로 돌아갑니다.
  • 공개 끌어오기 요청 하단에 있는 병합 상자는 저장소의 규칙을 따릅니다. 아직 병합할 수 없는 이유(차단, 충돌, 만료, 초안) 또는 GitHub의 버튼, 먼저 스쿼시, ▾ GitHub의 단어(허용하는 경우 ▾ 없음)로 저장소에서 허용하는 다른 방법을 나열하고 두 번째 누르기에서 확인됩니다. 표시 중인 커밋만 병합됩니다(gh pr merge --match-head-commit). 그 사이에 푸시하면 실패하게 됩니다.
  • 풀 요청이 열려 있는 GitHub 저장소에서 세션이 시작될 때 자체적으로 열립니다. **/gh-hud**는 언제든지 열립니다.
  • 새로 유지 세션 시작 시, 1분에 한 번(GitHub에 대한 검토 또는 병합), 매 턴 종료 시(Claude가 푸시하거나 열었을 수 있음) Pull 버튼을 누를 때요청 탭과 /gh-hud에 있습니다. 모델 호출이 없으므로 토큰도 없습니다. 1분에 1개의 gh 요청이 발생하며, 이는 GitHub의 5000에 비해 훨씬 낮습니다.
  • 언어: /config 형식의 영어 또는 프랑스어. auto는 Claude Code의 language 설정을 따른 다음 LC_ALL, LC_MESSAGES, LANG를 따릅니다.

로그인된(gh auth login) gh CLI가 필요합니다. 모드는 gh pr list, gh pr view, gh repo view를 실행하고 확인 시 세션 폴더에서 gh pr merge를 실행하지만 토큰을 볼 수 없습니다. GitHub 저장소 외부 창에는 gh 자체 오류가 표시됩니다. 파일도 없고 다른 명령도 없습니다.

풀 요청 아이콘은 Octicons(GitHub, MIT)입니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add manuacl/claude-mods
claude plugin install gh-hud
원문 / README

GH HUD

The session's GitHub repository in a pane: GitHub's tabs (Issues, Pull requests, Actions), the pull requests' page first; the others come one by one.

  • The pane lists the pull requests the way GitHub does: Open and Closed with their counts (merged ones among the closed), the open, draft, merged or closed icon, the bold title, its labels as rounded pills in their colors, then #3 opened 2 days ago by author, and whether it is a draft, approved or awaiting review.
  • The search under the tabs takes GitHub's own syntax (author:, label:, review:required…); Enter searches, an empty field lists them all again.
  • The filters open in a drawer from their button: Author, Label, Reviews, Assignee and Sort, as GitHub's menus; the button counts those on.
  • The density switch puts each pull request on one line, its icon, title, number and author, or back on two with labels, age and review.
  • A click on a title opens the pull request in the pane, not in the browser: its state, who merges what where, the description, the comments and the files changed; Back returns to the list.
  • The merge box at the bottom of an open pull request follows the repository's rules: why it cannot be merged yet (blocked, conflicts, out of date, draft), or GitHub's button, squash first, its ▾ listing the other methods the repository allows with GitHub's words (no ▾ when it allows one), confirmed in a second press. Only the commit on show is merged (gh pr merge --match-head-commit): a push in between makes it fail.
  • It opens by itself at the start of a session in a GitHub repository with open pull requests; /gh-hud opens it anytime.
  • Kept fresh at the start of the session, once a minute (a review or a merge on GitHub), at the end of every turn (Claude may have pushed or opened one), when you press the Pull requests tab and on /gh-hud. No model call, so no token: one gh request a minute, far under GitHub's 5000 an hour.
  • Language: English or French, in /config. auto follows Claude Code's language setting, then LC_ALL, LC_MESSAGES, LANG.

Needs the gh CLI, signed in (gh auth login): the mod runs gh pr list, gh pr view, gh repo view and, on your confirmation, gh pr merge in the session's folder and never sees a token. Outside a GitHub repository the pane shows gh's own error. No files, no other commands.

The pull request icons are Octicons (GitHub, MIT).

비슷한 프로젝트