-
github CLI 설치 및 이슈 생성카테고리 없음 2026. 2. 6. 22:25반응형
2025.04.02 - [사이드 프로젝트] - [사이드 프로젝트] grep 명령로 리팩토링 작업 범위 파악, curl 도구로 Github API 이용하기
이전 사이드 프로젝트에서는 Github API + shell script를 사용했었는데, 더 쉬운 방법을 찾게되었다.
https://github.com/cli/cli?tab=readme-ov-file#installation
GitHub - cli/cli: GitHub’s official command line tool
GitHub’s official command line tool. Contribute to cli/cli development by creating an account on GitHub.
github.com
설치 페이지를 참고해서 Homebrew로 설치를 진행
$ brew install gh설치가 되었다면 이제 gh 명령어가 작동
다른 명령어는 문서 참조
https://cli.github.com/manual/
Manual
Take GitHub to the command line
cli.github.com
$ gh issue create
최초 실행시 인증 절차를 거친다

인증과정 
Device Activation을 통해 들어온 요청을 승인하면 과정은 완료된다.
다시 명령어를 입력하면 아래와 같은 절차가 수행된다
$ gh issue create만들어둔 Issue 템플릿이 있다면 선택하여 nano로 편집 가능하다


위 과정을 마치고 나면 이슈는 생성 된다
이제 해당 작업을 Claude skill로 만들어서 쓸 예정
비슷한 계열로 이런게 있다
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/github-automation/SKILL.md
awesome-claude-skills/github-automation/SKILL.md at master · ComposioHQ/awesome-claude-skills
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows - ComposioHQ/awesome-claude-skills
github.com
반응형