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エージェントが、例を複製せずに学べるよう支援します。例の背後にある共通の原則を見つけ、それに従って新しいものを書きます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。