Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

pr-walkthrough

/pr-walkthrough

Tworzy interaktywną mapę PR w formie grafu, by zorientować się w zmianie, bez działań zdalnych, publikacji ani wdrożeń.

Repozytorium
dalcom-skills ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Tworzy interaktywną mapę PR w formie grafu, by zorientować się w zmianie, bez działań zdalnych, publikacji ani wdrożeń.

Oryginalny opis (EN)

Use when a user asks for a zoomable PR map or graph-canvas orientation. Not for remote, credential, publish, deploy, or irreversible changes.

Jak działa

  1. Hand me the change
  2. Parse the diff into the four views
  3. Generate, write, and verify the site
  4. When I stop instead
  5. What you get
Sekcje z nagłówków SKILL.md, w oryginale · 44 linii, 699 słów
Podgląd SKILL.md
---
name: pr-walkthrough
description: 'Use when a user asks for a zoomable PR map or graph-canvas orientation. Not for remote, credential, publish, deploy, or irreversible changes.'
disable-model-invocation: true
---

# PR walkthrough

Build a zoomable map of a pull request: which files changed and how they connect, when the commits landed, where the edits concentrate, and how review threads hang together. The result is one self-contained HTML file with all assets bundled locally and no external network dependency. Everything here is reversible and local. It writes only the output site plus scratch files under the working directory, so rollback is deleting or overwriting prior output, and nothing remote is ever mutated.

## Hand me the change

- PR diff or branch diff (required). A unified diff file, a git range (`base..head`), or a GitHub PR URL.
- API credentials (required only for a GitHub PR URL). Via the `GITHUB_TOKEN` environment variable or a `gh auth` session, used read-only to fetch the diff and review threads.
- Repository root (optional, defaults to the working directory). Used to resolve file paths in the diff.
- Output directory (optional, defaults to `./pr-walkthrough-site/`).

## Parse the diff into the four views

Parse a supplied diff file or git range directly. For a GitHub PR URL, fetch through the GitHub API with the credentials above: use the `gh` CLI or `GITHUB_TOKEN`, follow pagination with `Link` headers to retrieve every page of diff and review threads, and on rate-limit responses (HTTP 403/429) stop and report the limit. Pull out every changed file path, hunk range, insertion count, and deletion count. If the fetch fails, report it.

Then build the four views:

- File dependency graph. For each changed file, record edges to other changed files sharing an import or include relationship found in the diff context lines. Keep it as an adjacency list.
- Commit timeline. For a git range, extract each commit hash, author, date, and subject. For a single unified diff, create one synthetic commit covering all hunks.
- Change heatmap. Map each hunk to its file path and line range, bucket lines into 50-line blocks, and record insertions and deletions per block.
- Review thread flow. For a PR URL, fetch review comments with the same authentication and pagination and group them by file and position. Without a URL, the thread list is empty.

## Generate, write, and verify the site

Produce one self-contained HTML file holding all four views: an SVG file dependency graph with zoom and pan (d3-zoom), node coloring by change magnitude, and edge bundling; a horizontal commit timeline with zoom, click-to-inspect, and tooltips; a heatmap grid of files by line blocks with color intensity proportional to edit density; a thread flow diagram showing comment threads as connected nodes along a vertical file axis. Each view gets a guided tour, defined as a JSON array of highlight steps embedded in a script tag. Inline the CSS, inline the JavaScript, and bundle D3 v7 locally as a string literal inside a script tag. No external script tags, no CDN references, no network dependency.

Write the file to the output directory as `index.html`. Then verify it is self-contained: open it, confirm no `src` attribute points to an external URL, confirm all four SVG containers are present, and confirm each tour JSON array holds at least one step. Name the specific defect and stop if verification fails.

## When I stop instead

- Unparseable diff: report the parse error, produce no site, return `blocked`.
- Empty diff with zero changed files: report that no changes were detected, produce no site, return `blocked`.
- GitHub authentication failure: report the HTTP status, produce no site, return `blocked`.
- GitHub rate limit: report the limit and the reset time, produce no site, return `blocked`.
- Pagination failure: report the page that failed and the partial data retrieved, produce no site, return `blocked`.
- Self-containment verification failure: report the external reference or missing element, fix the HTML, and re-verify. If the fix still fails after three attempts, return `non-converged`.

If the HTML was written but verification failed, the output directory keeps the last attempt. No rollback is needed because every write is local and overwritable.

## What you get

A static site at the output directory containing `index.html` with the four D3 views, guided tours, and all assets bundled locally with no external network dependency.
Pliki w paczce (2)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · gosuda/dalcom-skills90Apache-2.0
kdlbs/kandev100AGPL-3.0
warpdotdev/common-skills100MIT
shakacode/agent-workflows100MIT
OutlineDriven/outline-driven-development90Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 241ead978297 (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

  • 100source-driven
    Pomaga pisać i weryfikować kod zależny od frameworka zgodnie z dokumentacją, bez zmian zdalnych, publikacji, wdrożeń i działań nieodwracalnych.
  • 100prepare-repository-for-public-release
    Przygotowuje repozytorium do publicznego startu lub otwarcia kodu, bez zmian zdalnych, poświadczeń, publikacji, wdrożeń ani zmian nieodwracalnych.
  • 100audit-loop-scaffold
    Sprawdza, czy pliki szkieletu pętli odeszły od szablonów przypiętych do pochodzenia, bez zmian zdalnych, poświadczeń, publikacji ani wdrożeń.
  • 90leave-only-first-principle
    Redukuje projekt lub bazę kodu do samych prymitywów i tworzy mapę pierwszych zasad, bez zmian zdalnych, wdrożeń i nieodwracalnych kroków.
  • 90automatic-freeform-graphs-design
    Tworzy luźny graf pojęciowy do eksploracyjnej pracy, bez zmian zdalnych, publikacji, wdrożeń i nieodwracalnych działań.
  • 100v1-pr-walkthrough
    Tłumaczy pull request lub gałąź w formie wizualnego przeglądu, krok po kroku, dla innych osób w zespole.

Uwagi i zgłoszenia

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