본문으로 건너뛰기
Skillpedia
일반 코딩10k · #12009

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

repo: alvinunreal/oh-my-opencode-slim

인기도

GitHub 스타
10k
순위
#12009
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬