cli-review
하는 일
이 스킬은 로컬 체크아웃의 코드에 Greptile 코드 리뷰를 실행하고 결과를 요약합니다. 풀 리퀘스트를 열기 전에 자동 리뷰 피드백을 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓풀 리퀘스트를 열기 전에 로컬 브랜치에 대한 피드백을 원할 때.
- ✓호스팅된 풀 리퀘스트 리뷰 대신 로컬 체크아웃에서 리뷰를 실행하고 싶을 때.
- ✓원시 JSON 출력 대신 리뷰 결과의 짧은 요약이 필요할 때.
스킬 링크
https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“현재 브랜치에서 Greptile 리뷰를 실행하고, 풀 리퀘스트를 열기 전에 주요 문제를 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 Greptile 명령줄 도구가 설치되어 있고 로그인되어 있는지 확인한 뒤 리뷰를 실행하고 결과를 요약합니다. 무엇이든 설치하기 전에 허락을 구합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
CLI Review
Run a Greptile review from the local checkout and summarize the findings.
Instructions
1. Confirm repository context
Start from the current repository root:
git rev-parse --show-toplevel
If the command fails, tell the user that the Greptile CLI review must be run from a git repository.
2. Check for the Greptile CLI
Check whether greptile is installed:
command -v greptile
If it is missing, do not install it automatically. Ask the user for permission, then show the recommended install command:
npm i -g greptile
If npm is unavailable, offer the shell installer fallback:
curl -fsSL "https://greptile.com/cli/install" | sh
After installation, re-run command -v greptile.
3. Ensure authentication
Check the signed-in account:
greptile whoami
If the CLI reports that authentication is missing, run:
greptile login
Wait for the user to complete the login flow before continuing.
4. Run the review
Prefer JSON output:
greptile review --json
If JSON output is unsupported or fails with a usage error, fall back to:
greptile review --agent
Do not hide the raw command failure if both commands fail. Summarize the failing command and the next action the user needs to take.
5. Summarize results
Parse JSON output when available and report:
- Review status
- Number of findings
- Highest severity findings first
- Files that need edits
- Suggested next command or fix path
When output is plain text, preserve the same structure as much as possible. Keep the summary concise and focused on actionable findings.
자주 묻는 질문
허락 없이 도구를 설치하나요?
아니요. Greptile 명령줄 도구가 없으면 스킬이 먼저 허락을 구합니다.
리뷰 명령이 실패하면 어떻게 되나요?
실패한 명령과 사용자가 해야 할 다음 단계를 알려 줍니다.
Git 저장소가 필요한가요?
네. 리뷰는 Git 저장소에서 실행해야 하며, 저장소 안에 있지 않으면 스킬이 그 사실을 알려 줍니다.
상세 정보
작성자의 원본 설명
Runs a Greptile CLI review for the current local branch, installing or authenticating the CLI when needed, then summarizes JSON findings for the user. Use when the user wants Greptile feedback before opening a PR, outside a hosted PR review flow, or directly from a local checkout.
인기도
- GitHub 스타
- 10k
- 순위
- #12009
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ai-estimates
10k에이전트가 사람이 AI와 함께 일할 때 작업 시간을 추정하도록 돕습니다. 빠른 AI 작업과 사람 또는 외부의 지연을 나눠 계산합니다.
clonedeps
10k에이전트가 프로젝트의 핵심 의존성 소스 코드를 로컬 폴더에 복사해, 그 라이브러리가 내부에서 어떻게 작동하는지 읽을 수 있게 합니다.
codemap
10k낯선 코드 프로젝트의 구조화된 지도를 만들어, 에이전트가 주요 부분을 빠르게 찾도록 돕습니다. 코드베이스 지도를 요청할 때 가장 잘 쓰입니다.
deanchor
10k에이전트가 예시를 그대로 베끼지 않고 배우도록 돕습니다. 예시 뒤에 있는 공통 원칙을 찾아, 그 원칙을 따르는 새로운 글을 씁니다.