Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

difit-review

/difit-review

Robi review wskazanego diffa (gałąź, commit lub pull request z GitHuba) i ładuje uwagi jako komentarze do difit przez opcję --comment.

Repozytorium
difit ↗
Licencja
MIT
Ostatnia zmiana repozytorium
29.08.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.08.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Robi review wskazanego diffa (gałąź, commit lub pull request z GitHuba) i ładuje uwagi jako komentarze do difit przez opcję --comment.

Oryginalny opis (EN)

A skill for reviewing a specific diff and showing the findings as comments inside difit (the diff viewer). Use it to review branch diffs, commit diffs, or GitHub PRs, then preload findings or code explanations into difit with `--comment` before launching it for the user.

Jak działa

  1. Overview
  2. Steps
Sekcje z nagłówków SKILL.md, w oryginale · 49 linii, 420 słów
Podgląd SKILL.md
---
name: difit-review
description: A skill for reviewing a specific diff and showing the findings as comments inside difit (the diff viewer). Use it to review branch diffs, commit diffs, or GitHub PRs, then preload findings or code explanations into difit with `--comment` before launching it for the user.
metadata:
  internal: true
---

# Difit Review

## Overview

This skill launches a requested git diff in a viewer that is easy for humans to read. At the same time, the agent can attach arbitrary comments via the `--comment` option.
This comment mechanism is well suited for code review findings and code explanations.

In this local repository copy, use `pnpm run dev` instead of the installed `difit` command.

## Steps

The final command typically looks like this:

```bash
pnpm run dev <target> [compare-with] \
  --comment '{"type":"thread","filePath":"src/foobar.ts","position":{"side":"old","line":102},"body":"line 1\nline 2"}' \
  --comment '{"type":"thread","filePath":"src/example.ts","position":{"side":"new","line":{"start":36,"end":39}},"body":"Range comment for L36-L39"}'
```

The detailed procedure is as follows.

1. Identify the target diff and review its contents.

- Inspect the diff specified by the user. This may be a local git revision, a GitHub URL, a patch file, or something similar.
- Understand the diff normally, inspect surrounding code when needed, and think through the response required by the user's request, whether that is review findings, explanations, or something else.
- For PR reviews, inspect the PR locally and keep the review result limited to difit output. Do not post comments back to remote GitHub.

2. Attach the prepared comments and launch difit.

- **pnpm run dev launch options**
  - Use `pnpm run dev <target> [compare-with]` to specify the target diff.
  - Do not insert `--` after `pnpm run dev` in this repository. `pnpm run dev -- ...` breaks argument parsing here.
  - For uncommitted changes use `pnpm run dev .`, for working tree changes use `pnpm run dev working`, and for staged changes use `pnpm run dev staging`.
  - For stdin input, use a form such as `diff -u file1.txt file2.txt | pnpm run dev`.
- **Comment arguments**
  - Use `type: "thread"` for each comment.
  - Write comment bodies in the language the user is using.
  - Use `position.side: "new"` for lines that exist on the target side of the diff.
  - Use `position.side: "old"` for lines that exist only on the deleted side.
  - Use range comments for issues that span multiple lines.
  - Never copy secrets, tokens, passwords, API keys, private keys, or other credential-like material from the diff into `--comment` bodies or any command-line arguments.
- **Additional argument for files not yet added to git**
  - For uncommitted changes, if you decide files not yet added to git should also appear in the diff, add `--include-untracked`.

3. Share the difit URL and finish the response.
   - If there were no comments to attach, explicitly say so.
   - No manual verification of the launched difit page is required.

Wersje

RepozytoriumWynikLicencja
Ta strona · yoshiko-pg/difit100MIT
yoshiko-pg/difit100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 7fd6ba661c3c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100difit
    Otwiera zmiany w lokalnej przeglądarce diffów difit, żeby poprosić użytkownika o code review, wyłącznie na wyraźne polecenie.
  • 100review-diff
    Przegląda wskazany zakres diffa, na przykład staged, commit albo zakres commitów, i zapisuje ustalenia jako komentarze w liniach diffa.
  • 100vscode-release
    Przeprowadza wydanie rozszerzenia VS Code difit: buduje VSIX, sprawdza, prosi o zgodę i publikuje przez vsce.
  • 100pr-comment-review
    Recenzuje pull request z GitHuba wieloma agentami z progiem pewności 80/100 i publikuje ustalenia jako komentarz do PR przez gh.
  • 100code-review
    Przegląda zmiany w kodzie, diffy PR i gałęzie oraz ocenia uwagi z recenzji, także do kodu innego agenta.
  • 90review
    Przegląda diff, gałąź, pull request, commit lub zgłoszenie i zgłasza uwagi z oceną wagi oraz scenariuszem błędu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.