Pular para o conteúdo
Skillpedia
Código em geral10 mil · #12009

cli-review

O que ela faz

Esta skill roda uma revisão de código do Greptile no código do seu checkout local e resume os resultados. Ela é para desenvolvedores que querem feedback automatizado de revisão antes de abrir um pull request.

Quando usar

  • ✓Quando você quer um feedback sobre a sua branch local antes de abrir um pull request.
  • ✓Quando você quer rodar uma revisão a partir de um checkout local, e não de uma revisão de pull request hospedada.
  • ✓Quando você precisa de um resumo curto dos achados da revisão, e não da saída bruta em JSON.

Link da skill

https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Rode uma revisão do Greptile na minha branch atual e me diga os principais problemas antes de eu abrir o pull request.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill verifica se a ferramenta de linha de comando do Greptile está instalada e com login feito, roda a revisão e resume os achados. Ela pede sua permissão antes de instalar qualquer coisa.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

Ela instala ferramentas sem perguntar?

Não. Se a ferramenta de linha de comando do Greptile estiver faltando, a skill pede permissão antes.

E se o comando de revisão falhar?

A skill informa o comando que falhou e o próximo passo que você precisa tomar.

Precisa de um repositório Git?

Sim. A revisão precisa rodar a partir de um repositório Git, e a skill avisa se você não estiver em um.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
10 mil
Posição no ranking
#12009
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas