Logo von Self Review

Self Review

Community
hamr0
self-review

Verify what you delivered since the last self-review with real runs, and review its structure

Übersicht

Herausgeberhamr0
Repositoryliteagents
Skill-Nameself-review
Sterne
27
Forks
4
Mitgelieferte Dateien
Nur Anweisungen
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von hamr0 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Self Review in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/hamr0/liteagents/tree/main/packages/ampcode/skills/self-review
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hamr0/liteagents.git /tmp/liteagents
mkdir -p .claude/skills
cp -r /tmp/liteagents/packages/ampcode/skills/self-review .claude/skills/self-review
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Self Review in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Self Review automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Self Review nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Answer "verify what you delivered, what did you gloss over, what did I miss?" about committed work since the last self-review, before /branch-review. The orchestrator resolves the range and hands off; a spawned worker tries to break it.

Guardrails

  • Spawn a worker, mid tier stated explicitly (omitted inherits the parent's, not the balanced one; not cheapest/fastest either — judgment degrades there; never a vendor model name — this spec names the tier, you translate it to whatever your spawn tool calls its mid tier), and hand it this file's path — a worker has no skill text of its own. No delegation, no sub-spawning — every command the worker cites is one it ran itself.
  • Ask and surface only. Never fixes anything. The user picks.

1. Orchestrator — resolve the range, then hand off

Dirty tree first: git status --porcelain prints any line → stop: the tree is dirty (list the paths), /self-review reviews commits not the working tree, commit then re-run. No worker spawned.

Hashes or a range given ($ARGUMENTS: one or more hashes, or <a>..<b>) → review exactly those commits, nothing else, on any branch: each hash via git show <sha>, a range via git log <a>..<b> and git diff <a>..<b>. Validate each hash, and both ends of a range, with git rev-parse --verify <x>^{commit}; reject anything starting with -. Hash/range mode never rewrites self-review-sha:.

Neither → on main/master, stop and ask for hashes or a range. Otherwise the bookmark is one line, self-review-sha:, in /branch-review's record (/self-review is its only writer):

grep '^self-review-sha:' .amp/remember/last-review.md || grep '^debrief-sha:' .amp/remember/last-review.md

No self-review-sha: line → the old debrief-sha: name, once (that is what the || does; the new name wins if both exist). Fails either check, starts with -, or the third exits 0 (an ancestor of main's merge-base is from an already-merged branch) → no bookmark:

git rev-parse --verify <sha>
git merge-base --is-ancestor <sha> HEAD
git merge-base --is-ancestor <sha> $(git merge-base main HEAD)

Valid (third command exits non-zero) → range <sha>..HEAD. No bookmark → whole branch, git merge-base main HEAD..HEAD. Range empty → "nothing new since the last self-review," stop, no worker spawned. Otherwise hand off — what was done, claims made (works / tested / done), files changed, the baseline suite totals if known, loose ends only you can know (a peer session not told, a silent open question, unshipped state) — and spawn one mid-tier worker.

2. Worker — try to break it, not confirm it

Real runs, not re-assertion, scoped to the range for cleanup/glossed/ underspecced — the regression check is always the FULL suite, never scoped:

  • Does it work? Run the thing/tests now; cite the command and numbers.
  • No regression? Run the FULL suite, cite totals vs. the handoff baseline — no run behind a claim counts as not checked.
  • Cleanup? Speculative code, an abstraction for one caller, redundant tests. Dead code — grep the symbol repo-wide before flagging. State ownership — two or more functions assigning the same field: name both writers with file:line, grep every assignment repo-wide, not just the diff; a write from a callback, thread or lifecycle event counts (one app writer racing a framework one is still two). Reuse — a new function, class, file or name duplicating an existing one: name the existing one. Changed lines that trace to no request. Complexity, naming, duplication only when material. Performance (N+1, blocking calls in hot paths, unbounded loops) only with evidence.
  • Glossed over? Tradeoffs not flagged, claims untested as shipped, the handoff's loose ends verified, not just repeated.
  • Underspecced? What should have been part of this and is missing.

Report opens with four lines, always filled (so "checked, found nothing" never looks like "skipped"); tag every item nit/change/idea:

works: <command> exit <code> <totals> | NOT RUN: <reason>
full-suite: <command> exit <code> <totals> vs before <totals | unknown> | NOT RUN: <reason>
underspecced: <N> items | none found: <what was checked, one phrase>
cleanup: <N> items | none found: <what was checked, one phrase>

The bar — Fix now and Later alike: every item needs one concrete failure sentence — specific input/state → what breaks. "Will mislead the next reader" is not one: no input, no state, no break named. Can't write it → drop it, count only (dropped: N). Carve-out: a Cleanup item may replace the failure sentence with the rule it breaks plus the file:line(s) that prove it; Cleanup items always go in Later, never Fix now, unless they do carry a real failure sentence. Each item is one kind, counted in one cap only. Max 5 failure-sentence items and max 5 Cleanup items, ranked, in two piles: Fix now (changes whether you ship) and Later.

3. Orchestrator — relay as-is, then ledger

"As-is": same items, order, piles, and the worker's four report lines (works:, full-suite:, underspecced:, cleanup:); each failure sentence and cited commands/numbers preserved; every relayed item keeps its tag (nit/change/idea) and its file:line. Reworded for the user's output style: fine. Added, dropped, merged, re-ranked, or weakened: not — your own recommendation is allowed only marked as yours, separate from the worker's items. When you relay the report, the orchestrator (worker's turn is over by then) appends every anchorable item, both piles, to .amp/remember/fix-ledger.md right away, /branch-review's format (header: its Ledger section), tagged nit/change/idea (Underspecced items → idea: missing, an option not debt), bullet text verbatim. Bullet shape:

- `path/file.js` · "verbatim snippet from the line" · what's wrong · failure scenario · YYYY-MM-DD @ <short sha> · nit

Stale header: if grep -F '`idea` =' .amp/remember/fix-ledger.md finds nothing, replace the header block with the current one from /branch-review's Ledger section; bullets are never touched. Then ask which, if any, to remove: no answer → they all stay; remove only on the user's explicit say-so naming the items. Items the user fixes now are not removed by hand — /refactor's revalidation drops them once the finding no longer holds. One path per bullet: anchor the first file, name the others in the scenario slot. One snippet per item (a second item on the same line anchors a different nearby line). A corrected file:line is noted as "corrected" in the relay. Dedupe with plain grep -F "<snippet>" .amp/remember/fix-ledger.md (never git grep — gitignored). Anchor rule: a verbatim snippet grep -F can find; missing (usually an idea) → anchor where it should go; no line to name → no ledger entry, report it as "your call" instead — the anchor rule wins over "every". Relay one line, filled (A + D + Y = N), so a dropped append shows: ledger: <N> items → <A> appended, <D> already there, <Y> your call

Last act (no-hash mode only; hash/range mode leaves the bookmark) — rewrite only the bookmark line, never another line in the file. Write it when you relay the report — it records what was checked and does not wait for the user's pick. It also drops any old debrief-sha: line:

F=.amp/remember/last-review.md
mkdir -p .amp/remember
touch "$F"
grep -vE '^(self-review|debrief)-sha:' "$F" > "$F.tmp"
echo "self-review-sha: <full HEAD sha>" >> "$F.tmp"
mv "$F.tmp" "$F"

Loop guard: re-run after fixes until zero Fix now remain — Later never counts; fixing a Later item anyway is new uncommitted work the next run checks like any other, not a re-run trigger. A third round with new Fix-now caused by the previous fix → stop: "redesign, don't patch again." Not a gate: /branch-review and /release don't require this to have run — close with "commit, then /branch-review," a sentence to say, never run.

Häufig gestellte Fragen

Was macht der KI-Skill Self Review?

Verify what you delivered since the last self-review with real runs, and review its structure

Warum Self Review in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Self Review besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Self Review in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/hamr0/liteagents/tree/main/packages/ampcode/skills/self-review ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Self Review nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Self Review verwenden?

So viele Sie möchten. In TypingMind können Sie Self Review mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Self Review kostenlos?

Ja. Der Skill wird von hamr0 auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇