Zum Inhalt springen
Skillpedia
Allgemeines Programmieren10k · #12009

cli-review

Was er macht

Dieser Skill führt eine Greptile-Code-Prüfung auf dem Code deines lokalen Checkouts aus und fasst die Ergebnisse zusammen. Er ist für Entwickler gedacht, die automatisches Feedback vor dem Öffnen eines Pull Requests wollen.

Wann du ihn nutzt

  • ✓Wenn du vor dem Öffnen eines Pull Requests Rückmeldung zu deinem lokalen Branch willst.
  • ✓Wenn du eine Prüfung aus einem lokalen Checkout willst statt einer gehosteten Prüfung eines Pull Requests.
  • ✓Wenn du eine kurze Zusammenfassung der Befunde statt roher JSON-Ausgabe willst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/.agents/skills/cli-review/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Führe eine Greptile-Prüfung auf meinem aktuellen Branch aus und nenne mir die wichtigsten Probleme, bevor ich den Pull Request öffne.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill prüft, ob das Kommandozeilenwerkzeug von Greptile installiert und angemeldet ist, führt die Prüfung aus und fasst die Befunde zusammen. Vor jeder Installation fragt er dich um Erlaubnis.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.

Häufige Fragen

Installiert er Werkzeuge ohne Rückfrage?

Nein. Fehlt das Kommandozeilenwerkzeug von Greptile, fragt der Skill zuerst um Erlaubnis.

Was ist, wenn der Prüfbefehl fehlschlägt?

Der Skill nennt den fehlgeschlagenen Befehl und den nächsten Schritt, den du tun musst.

Braucht er ein Git-Repository?

Ja. Die Prüfung muss in einem Git-Repository laufen, und der Skill sagt dir, wenn du nicht in einem bist.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
10k
Platz im Ranking
#12009
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills