Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

pr

/pr

Otwiera pull request z dobrze napisanym opisem, gdy praca na gałęzi jest skończona i gotowa do przeglądu.

Licencja
MIT
Ostatnia zmiana repozytorium
23.10.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 23.10.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

Otwiera pull request z dobrze napisanym opisem, gdy praca na gałęzi jest skończona i gotowa do przeglądu.

Argumenty

/pr [--draft] [--base <branch>]
Oryginalny opis (EN)

Open a pull request with a well-crafted description. Use when branch work is finished and ready for review.

Jak działa

  1. Arguments
  2. Jira Configuration
  3. Steps
  4. Output
Sekcje z nagłówków SKILL.md, w oryginale · 119 linii, 451 słów
Podgląd SKILL.md
---
name: pr
description: Open a pull request with a well-crafted description. Use when branch work is finished and ready for review.
argument-hint: "[--draft] [--base <branch>]"
---

Help me create a pull request with a well-crafted description.

## Arguments

`$ARGUMENTS`

- `--draft` or `-d`: Create as draft PR
- `--base <branch>`: Specify base branch (default: main)
- Examples: `/pr --draft`, `/pr --base develop`

## Jira Configuration

Read Jira config from the project's `CLAUDE.md` if present (look for a
`## Jira` section with `Base URL` and `Ticket Pattern`). If absent, ask the
user. Do not assume any specific organisation's URL.

- **Common ticket patterns**: `[A-Z]+-\d+` (e.g. `ABC-123`, `PROJ-456`), `#123`, `GH-123`

## Steps

### Step 1: Understand current state

```bash
git branch --show-current
git log origin/main..HEAD --oneline
git diff origin/main..HEAD --stat
```

### Step 2: Analyze all commits being included

- Read each commit message
- Look at the actual changes with `git diff origin/main..HEAD`
- Identify the main themes and purpose

### Step 3: Check for related context

- Look for ticket/issue numbers in branch name or commits
- Check if there are related specs in `specs/` directory
- Note any breaking changes or migrations

### Step 4: Extract Jira context from branch name

Extract ticket ID from branch name patterns:

- `feature/BIL-123-description` → `BIL-123`
- `fix/BIL-456-bug-fix` → `BIL-456`
- `BIL-789/some-feature` → `BIL-789`

**If a ticket ID is found:**

- Add a Jira link to the PR body using the project CLAUDE.md base URL:
  `Related: [TICKET-ID](<base_url>/TICKET-ID)`
- If no base URL is configured, include the ticket ID as plain text and note:
  "Jira base URL not configured in project CLAUDE.md - add manually if needed"

### Step 5: Check for PR template

Search for PR templates in order:

1. `.github/PULL_REQUEST_TEMPLATE.md`
2. `.github/PULL_REQUEST_TEMPLATE/default.md`
3. `.github/pull_request_template.md`
4. `docs/pull_request_template.md`

**If template found:**

- Use template as base structure for PR body
- Merge Jira context and commit analysis into template sections
- Fill in template placeholders where possible

**If no template found:**

- Use default structure (see Step 6)

### Step 6: Generate PR description

**Default structure (if no template):**

```markdown
## Summary

<1-3 bullet points explaining what this PR does and why>

## Changes

<Grouped list of significant changes>

## Testing

<How this was tested or how reviewers should test>

## Notes for Reviewers

<Any context that helps review: focus areas, known issues, follow-ups>

## Related Issues

- [TICKET-ID](<base_url>/TICKET-ID) - {summary from Jira if available}
```

### Step 7: Ask for confirmation before creating

- Show the proposed title and description
- Confirm the base branch (usually main)
- If Jira ticket found, confirm linking is correct
- Ask if ready to create

### Step 8: Create the PR (only when confirmed)

```bash
gh pr create --title "<title>" --body "<body>"
```

## Output

Present the PR title and description for review, then create when approved.
Return the PR URL when complete.

Wersje

RepozytoriumWynikLicencja
Ta strona · edjchapman/claude-code-config100MIT
harlan-zw/harlan-claude-code100MIT
harlan-zw/harlan-agent-kit100MIT
jongio/skills100MIT
windmill-labs/windmill100Apache-2.0
opsmill/infrahub100Apache-2.0
nesquikm/dev-process-toolkit100MIT
tony/skills100MIT
tony/skills100MIT

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

  • 100create-pr
    Dodaje zmiany, zapisuje commit, wypycha je i otwiera pull request zgodnie z konwencjami projektu i Conventional Commits, gdy praca na gałęzi jest gotowa do przeglądu.
  • 100kit-create-pr
    Zatwierdza zmiany w commicie i tworzy pull request z poprawnym formatowaniem, gdy praca jest gotowa do przeglądu.
  • 100pr-create
    Przeprowadza przez zatwierdzenie zmian, wypchnięcie gałęzi i utworzenie pull requesta, gdy praca jest gotowa do przeglądu.
  • 100park
    Odkłada funkcję na jej gałęzi bez scalania do main, gdy praca jest skończona, ale nie jest jeszcze gotowa do wydania.
  • 86lemonlime-open-pr
    Otwiera pull request dla gałęzi wątku, gdy użytkownik prosi o PR albo o wysłanie pracy do przeglądu.
  • 100pr-description
    Pisze tytuł i opis pull requesta dla bieżącej gałęzi i otwiera PR, jeśli zostanie o to poproszony.

Uwagi i zgłoszenia

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