ワンクリックで
github-notification-cleanup
GitHub 알림 정리 — 내가 리뷰해야 할 open PR만 남기고 나머지 done 처리
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
GitHub 알림 정리 — 내가 리뷰해야 할 open PR만 남기고 나머지 done 처리
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
한국어 산출물(README·문서·공유 메시지·긴 응답)의 AI 직역체·기계 번역체를 mechanical 패턴 매칭으로 검수한다. 출력 직전 또는 사용자가 명시 요청 시 호출. Use when finishing a long Korean deliverable (README, doc, message draft, structured long response), or when user requests review with phrases: 톤 봐줘, 어색한 거 잡아줘, 직역체 체크, korean-tone-review, /korean-tone-review.
GitHub(github.com) 작업 시 gh CLI 사용 가이드. PR 조회/생성/리뷰, 이슈 관리, 코드 검색, 릴리즈 등 GitHub.com 작업에 적용. Use when: GitHub.com 관련 작업, 개인/오픈소스 repo 작업 요청 시
Claude Code 보안 설정(settings.json, guardrail.py, rules/)의 빈틈과 일관성을 검수하는 스킬. Use when: "보안 검수", "security review", "가드레일 점검", "/claude-security-review" 등
run brew upgrade
코드 수정 없이 코드베이스에 대한 질의응답을 수행하는 스킬. 코드 구조, 동작 원리, 설계 의도, 의존 관계, 데이터 흐름 등을 분석하고 설명한다. Use when the user asks questions about the codebase such as "이 코드 어떻게 동작해?", "이 클래스 역할이 뭐야?", "이 API 호출 흐름 설명해줘", "이 모듈 의존성 알려줘", "/ask", or any codebase understanding question that does NOT require code changes. Do NOT use when the user wants to modify, fix, refactor, or add code.
Codex CLI를 사용하여 코드 분석, 생성, 변환 작업을 수행하는 스킬. CLI로 직접 호출하여 토큰을 절약한다. Use when: Codex를 활용한 코드 질의/생성/변환이 필요할 때
| name | github-notification-cleanup |
| description | GitHub 알림 정리 — 내가 리뷰해야 할 open PR만 남기고 나머지 done 처리 |
DO NOT DO ANY WORK DIRECTLY. ASSIGN THE ENTIRE TASK TO AN AGENT (subagent) using the Agent tool if you call MCP.
GitHub 알림 inbox를 정리해줘. 내가 당장 리뷰해야 하는 PR 알림만 남기고 나머지는 전부 done 처리.
되묻거나 확인하지 말고 즉시 수행하세요.
gh 스킬을 참고하여 gh CLI로만 작업을 수행한다.
gh api --paginate "notifications?all=true" 는 절대 사용하지 않는다.
--paginate는 Link 헤더를 따라가며 archived(done) 페이지까지 긁어온다.PATCH notifications/threads/{id} 를 쓰지 않는다.
markAllNotifications(state: DONE) mutation을 사용한다.markAllNotifications(state: DONE) 은 READ/UNREAD 상관없이 inbox의 모든 알림을 아카이브한다.
markAllNotifications(state: UNREAD)로 복원한다.
query 파라미터로 keep 알림의 repo를 지정해 범위를 좁힌다.내 GitHub 사용자명 조회 — gh api user --jq '.login'
알림 inbox 조회 — --paginate 없이 페이지 단위로 수동 조회
gh api "notifications?all=true&per_page=100&page=1" 부터 시작[])이 반환되는 페이지가 나오면 중단알림 1차 필터링:
subject.type != "PullRequest" → done 후보reason != "review_requested" → done 후보reason == "review_requested" PR만 상세 조회 대상으로 넘긴다PR 상세 조회 후 최종 판정:
requested_reviewers에 내 GitHub username이 포함되는지requested_teams 중 내가 속한 팀이 포함되는지inbox 전체 done 처리 (GraphQL):
gh api graphql -f query='mutation { markAllNotifications(input: {query: "", state: DONE}) { success } }'
keep 알림 복원 (GraphQL):
markAllNotifications(state: UNREAD) 를 호출해 inbox로 복원한다gh api graphql -f query='mutation { markAllNotifications(input: {query: "repo:{owner}/{repo} is:pr", state: UNREAD}) { success } }'
gh api "notifications?all=false&per_page=50" 로 inbox를 확인한다결과 요약 보고: