Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

github-pr-revise

/github-pr-revise

Wdraża uwagi człowieka z przeglądu do pull requesta, gdy użytkownik poda numer lub adres PR i treść poprawek.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
18.10.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
23
Skrypty
10
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 18.10.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 sprawdzić przed instalacją
  • 10 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/detect_pr_revise.sh, scripts/lib/all.sh, scripts/lib/aws.sh, scripts/lib/common.sh, scripts/lib/csv.sh, scripts/lib/json.sh, scripts/lib/repo_paths.sh, scripts/lib/terraform.sh, scripts/lib/validation.sh, scripts/lib/yaml_map_order.py

Co robi i kiedy

Wdraża uwagi człowieka z przeglądu do pull requesta, gdy użytkownik poda numer lub adres PR i treść poprawek.

Oryginalny opis (EN)

Apply human PR review feedback to a pull request. Use in conversation when the user gives a PR URL or number plus the feedback to apply. Also the L2 loop entry skill on PR heads when detect finds a configured mention (@loop). Interactive default is survey; apply when the user explicitly requests apply or may_edit is true. Do not invent mention-less automation triggers or act on bot comments.

Jak działa

  1. Input
  2. Output Specification
  3. Execution Scope
  4. Reference Files Guide
  5. Workflow
Sekcje z nagłówków SKILL.md, w oryginale · 63 linii, 474 słów
Podgląd SKILL.md
---
name: github-pr-revise
description: >-
  Apply human PR review feedback to a pull request. Use in conversation when
  the user gives a PR URL or number plus the feedback to apply. Also the L2
  loop entry skill on PR heads when detect finds a configured mention
  (@loop). Interactive default is survey; apply when the user explicitly
  requests apply or may_edit is true. Do not invent mention-less automation
  triggers or act on bot comments.
license: Apache-2.0
metadata:
  author: y-miyazaki
  version: "0.1.2"
---

**UTILITY SKILL** — PR revise from mention-gated human feedback (branch / PR-head caller).

## Input

- **Automation:** detect JSON from `detect_pr_revise.sh` with `result.pr_number`, trigger comment fields, and `result.comments` (array of open human `@mention` comments with `comment_id`, `body`, `path`, `line`, `start_line`, `side`, `diff_hunk`, `in_reply_to_id`, `source`, `subject_type`). Read `may_edit` / `write_target` from `## Constraints`. Address the full `comments` array — not only `comment_body`.
- **Interactive:** PR URL or number plus the human feedback to apply; same Constraints defaults as automation survey unless the user explicitly requests apply.

## Output Specification

Report per [common-output-format.md](references/common-output-format.md). Automation envelope: [category-automation-envelope.md](references/category-automation-envelope.md).

## Execution Scope

### USE FOR:

- Apply the human's mention-gated feedback to the PR head (or stacked branch when landing is `open_pr`)
- Synthesize PR body / session report from skill templates

### DO NOT USE FOR:

- Issue triage or github-issue-autofix
- Acting on bot comments or mention-less comments

## Reference Files Guide

- [common-checklist.md](references/common-checklist.md) (always read)
- [common-output-format.md](references/common-output-format.md) (always read)
- [category-automation-envelope.md](references/category-automation-envelope.md) (read on automation path)
- [category-pr-body-links.md](references/category-pr-body-links.md) (read when synthesizing PR body)
- `assets/pr-body-template.md` (read when synthesizing apply PR body)
- `assets/pr-body-template-survey.md` (read when synthesizing survey PR body)

## Workflow

Resolve **may_edit** before revising:

| Source                                | `may_edit`                                                                                                               |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Interactive — default                 | `false` — survey only; do not edit files                                                                                 |
| Interactive — explicit apply language | `true` — user asks to apply/revise in the same request                                                                   |
| Automation — `## Constraints`         | `may_edit: true` or `may_edit: false` from [category-automation-envelope.md](references/category-automation-envelope.md) |

When `may_edit` is `true`, resolve `write_target`: on the **interactive** path use `fix` (this skill); on the **automation** path read `write_target` from `## Constraints`. Do not branch on other caller metadata outside `## Constraints`.

1. Read detect JSON; if `skip: true`, report and stop.
2. On the automation path, read [category-automation-envelope.md](references/category-automation-envelope.md) for Constraints and PR templates.
3. IF `may_edit` is `false` → emit survey shape; load `assets/pr-body-template-survey.md` at synthesis when on automation path; stop.
4. ELSE IF `may_edit` is `true` AND `write_target` is not `fix` → emit survey shape; note expected `write_target: fix`; stop.
5. ELSE IF `may_edit` is `true` AND `write_target` is `fix` → apply the requested revision on the PR head worktree.
6. At synthesis, load the apply PR template.
7. Do not invent triggers beyond the configured mention / explicit dispatch.

### Error Handling

| Condition                                    | Severity    | Action                                       |
| -------------------------------------------- | ----------- | -------------------------------------------- |
| Detect `status: error`                       | Fatal       | Stop; do not mutate repository files         |
| Detect `skip: true`                          | Info        | Report skip reason; do not push              |
| `may_edit: false`                            | Info        | Survey only; do not edit files               |
| `write_target` not `fix` when edits expected | Recoverable | Survey only; note mismatch in Overview       |
| Validation tooling missing after edits       | Recoverable | Defer in report; do not claim passing checks |
Pliki w paczce (23)
  • SKILL.md 5 KB
  • eval.yaml 1 KB
  • assets/pr-body-template-survey.md 1 KB
  • assets/pr-body-template.md 1 KB
  • evals/tasks/automation-production-constraints.yaml 1 KB
  • evals/tasks/basic.yaml 1 KB
  • evals/tasks/may-edit-false.yaml 1 KB
  • evals/tasks/skip-detect.yaml 1 KB
  • evals/tasks/trigger-negative.yaml 1 KB
  • references/category-automation-envelope.md 3 KB
  • references/category-pr-body-links.md 1 KB
  • references/common-checklist.md 1 KB
  • references/common-output-format.md 1 KB
  • scripts/detect_pr_revise.sh 31 KB
  • scripts/lib/all.sh 1 KB
  • scripts/lib/aws.sh 29 KB
  • scripts/lib/common.sh 9 KB
  • scripts/lib/csv.sh 4 KB
  • scripts/lib/json.sh 8 KB
  • scripts/lib/repo_paths.sh 15 KB
  • scripts/lib/terraform.sh 13 KB
  • scripts/lib/validation.sh 14 KB
  • scripts/lib/yaml_map_order.py 6 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · y-miyazaki/terraform-aws-base90Apache-2.0
y-miyazaki/terraform-aws-base100Apache-2.0

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 f812ad172329 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

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

Podobne skille

  • 90github-issue-autofix
    Wdraża poprawkę zgłoszenia GitHub na osobnej gałęzi i otwiera pull request z zamknięciem zgłoszenia po scaleniu.
  • 100github-issue-autofix
    Analizuje zgłoszenie GitHub, a po prośbie wdraża poprawkę na gałęzi i otwiera pull request z Fixes.
  • 91github-pull-request-comments
    Sprawdza i sortuje nierozwiązane uwagi do pull requesta w plan poprawek albo uzasadnione odpowiedzi oparte na dowodach.
  • 100pull-request-feedback
    Przechodzi przez uwagi z przeglądu pull requesta lub stosu PR-ów: czyta komentarze po kolei, wprowadza zmiany, odpowiada, wypycha poprawki i ponownie prosi o przegląd.
  • 100github-pr-feedback
    Zbiera, segreguje i bezpiecznie rozwiązuje uwagi do pull requesta przez gh i GitHub API bez publikowania komentarzy, w tym nierozwiązane wątki recenzji.
  • 90pr-feedback
    Zamienia nierozwiązane wątki recenzji i uwagi w pull requeście na zadania planu, gdy użytkownik chce działać na podstawie recenzji.

Uwagi i zgłoszenia

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