Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

pr-distiller

/pr-distiller

Zamienia wieloplikowe diffy git w przeglądy ryzyka i architektury dla kierownictwa oraz notatki o wydaniach.

Repozytorium
zaarvy-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.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

Zamienia wieloplikowe diffy git w przeglądy ryzyka i architektury dla kierownictwa oraz notatki o wydaniach.

Oryginalny opis (EN)

Distills multi-file git diffs into executive risk and architecture reviews. Use when analyzing git diffs, reviewing pull requests, or preparing release changelogs.

Jak działa

  1. Skill Purpose
  2. Trigger Conditions
  3. Execution Protocol
  4. Constraints
  5. Output Contract
Sekcje z nagłówków SKILL.md, w oryginale · 60 linii, 424 słów
Podgląd SKILL.md
---
name: pr-distiller
description: Distills multi-file git diffs into executive risk and architecture reviews. Use when analyzing git diffs, reviewing pull requests, or preparing release changelogs.
category: code-analysis
tags:
  - code-analysis
  - git
  - pull-request
  - code-review
---

## Skill Purpose
Analyzes unified git diffs to generate executive-grade pull request summaries, categorize breaking changes and security risks, assign deterministic risk ratings, and draft conventional commit entries.

## Trigger Conditions
Activate this skill whenever:
- User provides a git diff (`git diff`, `git show`, or PR diff patch) for analysis.
- Reviewing pull requests or staging changes before merge.
- Generating release notes, audit reports, or deployment risk evaluations.
- User asks: "review this PR", "what did this diff break?", or "evaluate PR risk".

## Execution Protocol

1. **Noise Filtering**:
   - Filter out whitespace-only differences, line-ending alterations (`CRLF` vs `LF`), and pure formatting/linter changes from risk consideration.

2. **Semantic Categorization**:
   Audit the filtered hunk lines and group observations into four distinct bins:
   - **Breaking Changes**: Altered API route paths/methods, parameter type mutations, removed fields, database migration constraints, altered environment variables.
   - **Security Concerns**: Hardcoded credentials/tokens, plaintext secrets, authentication/authorization bypasses, unsafe SQL interpolation, insecure deserialization, unvalidated input handling.
   - **Logic Flaws & Regressions**: Unhandled null/nil pointers, off-by-one boundary conditions, missing error checks, race conditions.
   - **Minor Refactors**: Renamed internal variables, documentation updates, dead code deletions, non-breaking performance optimizations.

3. **Deterministic Risk Rating Scoring**:
   Calculate the composite Risk Level:
   - **CRITICAL**: Any hardcoded credential, authentication bypass, unmitigated data loss risk, or destructive database drop.
   - **HIGH**: Public API breaking changes without deprecation, database schema migrations with locking locks, unhandled major exception paths.
   - **MEDIUM**: Non-breaking internal schema alterations, new external network dependencies, complex state-machine updates.
   - **LOW**: Documentation changes, test suite additions, minor non-breaking refactors, style tweaks.

4. **Conventional Changelog Generation**:
   - Synthesize a concise Conventional Commit header (`feat:`, `fix:`, `refactor:`, `breaking:`) with a high-impact summary.

## Constraints
- **NEVER** accept diffs without scanning for embedded secrets, API keys, or backdoor bypass tokens.
- **NEVER** mark a diff containing altered API signatures or removed route parameters as `LOW` risk.
- **NEVER** hallucinate file paths or line numbers not explicitly visible in the diff hunks.
- **NEVER** include cosmetic or formatting changes in the Breaking Changes or Security categories.

## Output Contract
Respond with the standardized review template:

```markdown
### PR Executive Summary
**Overall Risk Level:** [CRITICAL | HIGH | MEDIUM | LOW]
**Impact Radius:** [Target Services / Modules impacted]

#### 🚨 Breaking Changes
- [File/Endpoint]: Description of breaking impact (or "None detected")

#### 🔒 Security & Privacy Findings
- [File/Line]: Security vulnerability description with remediation recommendation (or "None detected")

#### ⚠️ Logic & Reliability Flaws
- [File/Line]: Edge cases, unhandled errors, or potential regressions (or "None detected")

#### 📦 Changelog Entry
`<type>(<scope>): <concise description>`
```
Pliki w paczce (2)
  • SKILL.md 4 KB
  • test-fixtures/sample.diff 2 KB

Wersje

W bazie nie ma innych skilli o nazwie pr-distiller.

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

  • 100git-pr-reviewer
    Recenzuje pull requesty pod kątem jakości kodu, problemów bezpieczeństwa i dobrych praktyk oraz analizuje diffy przed scaleniem.
  • 100understand-diff
    Analizuje git diffy i pull requesty, by zrozumieć, co się zmieniło, które komponenty są dotknięte i jakie są ryzyka.
  • 100understand-diff
    Analizuje diffy i pull requesty git: co się zmieniło, jakie komponenty są dotknięte i jakie ryzyka się z tym wiążą.
  • 90git-workflow-release
    Pomaga przy gałęziach git, konwencjach commitów, pull requestach i wydaniach zgodnie z wersjonowaniem semantycznym.
  • 90safe-git-ship
    Przygotowuje, przegląda i wysyła kod przez Gita: bezpieczne gałęzie, czyste diffy, osobne commity i opis PR lub przekazania.
  • 100diff-analyze
    Analizuje diffy gita pod kątem punktacji ryzyka, rekomendacji recenzentów i klasyfikacji zmian przed PR, przeglądem dużej zmiany lub scaleniem.

Uwagi i zgłoszenia

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