Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

commit-push-pr

/commit-push-pr

Prowadzi pełny przepływ jj do PR: opisuje zmiany, tworzy zakładki na commit, wypycha do origin i otwiera stosy pull requestów z szablonem repozytorium.

Repozytorium
claude-plugins ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
09.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 09.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 robi i kiedy

Prowadzi pełny przepływ jj do PR: opisuje zmiany, tworzy zakładki na commit, wypycha do origin i otwiera stosy pull requestów z szablonem repozytorium.

Wyzwalacze z opisu

commit and open a PRpush and create PRs
Oryginalny opis (EN)

Run the full jj-to-PR workflow — describe changes, create per-commit bookmarks, push to origin, and open stacked pull requests with sensible defaults. This skill should be used when the user wants to "commit and open a PR", "push and create PRs", or ship a jj stack. Fills out a repo PR template (.github/PULL_REQUEST_TEMPLATE.md) when present; never adds Claude attribution or a Test plan section unless the template asks for it. Not for plain commits (use jj:commit) or rebasing (use jj:rebase).

Jak działa

  1. Context expectations
  2. Defaults (no prompting)
  3. Steps
  4. Honor PR templates
  5. Rules
  6. Error handling
  7. Summary
Sekcje z nagłówków SKILL.md, w oryginale · 75 linii, 410 słów
Podgląd SKILL.md
---
name: commit-push-pr
description: Run the full jj-to-PR workflow — describe changes, create per-commit bookmarks, push to origin, and open stacked pull requests with sensible defaults. This skill should be used when the user wants to "commit and open a PR", "push and create PRs", or ship a jj stack. Fills out a repo PR template (.github/PULL_REQUEST_TEMPLATE.md) when present; never adds Claude attribution or a Test plan section unless the template asks for it. Not for plain commits (use jj:commit) or rebasing (use jj:rebase).
---

# Commit, Push, and Create PRs

Execute the complete workflow from uncommitted changes to open pull requests:

1. **Commit** — Describe changes with proper commit messages
2. **Bookmark** — Create bookmarks for the stack
3. **Push & PR** — Push to origin and create/update pull requests

## Context expectations

When invoked from `/jj:commit-push-pr`, the GitHub user login, remotes, working-copy status, stack log, open PRs, and any repo PR template are **already in context**. Do not re-fetch them. If invoked directly, gather them first:

```bash
gh api user -q '.login'
jj git remote list
jj status --no-pager
jj log --no-pager -r 'trunk()..@'
jj log -r 'trunk()..@' --no-graph -T 'separate(" | ", change_id.short(), if(description, description.first_line(), "(no description)"), bookmarks) ++ "\n"'
gh pr list --json number,title,headRefName,url,baseRefName --state open
```

From that context, identify: commits needing descriptions, existing bookmarks, existing PRs, and the GitHub username for the bookmark prefix.

## Defaults (no prompting)

**Bookmarks:**
- One bookmark per commit in the stack
- Prefix `<github-username>/`; name derived from the commit description (lowercase, dash-separated)

**PRs:**
- One PR per bookmark (stacked PRs)
- Base each PR on its parent bookmark (or trunk for the first PR)
- Published (not draft), pushed to `origin`

## Steps

Execute without additional confirmation prompts.

**Step 1: Commit** — Invoke the `jj:commit` skill with the appropriate revset (skip if all commits have descriptions).

**Step 2: Create Bookmarks** (skip if commits already have bookmarks):

```bash
jj bookmark create <prefix><name> -r <change_id>
jj bookmark track <bookmark> --remote=origin
```

**Step 3: Push and Create PRs** (skip if no bookmarks need PRs):

```bash
jj git push
gh pr create --head <bookmark> --base <base> --title "<title>" --body "<body>"
```

## Honor PR templates

If a PR template was found in context (e.g. `.github/PULL_REQUEST_TEMPLATE.md`), use its sections and checkboxes verbatim as the PR body, filling each section from the actual changes. When **no** template exists, write a concise body and do **NOT** include a "Test plan" section.

## Rules

- NEVER add co-author information or Claude attribution
- Complete each step fully before proceeding
- On failure, report the specific error and ask how to proceed (retry or skip)

## Error handling

- **No changes**: Inform the user if the working copy is empty and no commits are in the stack
- **trunk() not configured**: Fall back to `main@origin`, then `master@origin`
- **Step failure**: Report which step failed with the specific error

## Summary

Present final results: commits described, bookmarks created, and PRs created/updated (with URLs).

Wersje

RepozytoriumWynikLicencja
Ta strona · jeffh/claude-plugins100Apache-2.0
gcwing/openbitfun100MIT
dyoshikawa/rulesync100MIT
redpanda-data/ui-harness100MIT
OutlineDriven/outline-driven-development100Apache-2.0
heyAyushh/stacc100MIT
heyAyushh/stacc100MIT
pigfoot/claude-code-hubs100MIT

Migawka bazy z 28.10.2026 · wersja paczki 066ced6886dc (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

  • 90ce-commit-push-pr
    Tworzy commit, wypycha gałąź i otwiera pull request wraz z opisem zmian.
  • 90ship
    Commituje i wypycha zmiany, zakłada pull request i zamienia punkty planu testów z listy kontrolnej na zadania.
  • 90commit-push
    Analizuje zmiany, tworzy skategoryzowane commity konwencjonalne i wypycha je do zdalnego repozytorium.
  • 100push
    Wypycha zmiany bieżącej gałęzi do origin oraz tworzy lub aktualizuje odpowiadający im pull request.
  • 100push
    Wypycha zmiany bieżącej gałęzi do origin oraz tworzy lub aktualizuje odpowiadający im pull request.
  • 100push
    Wypycha zmiany bieżącej gałęzi na origin oraz tworzy lub aktualizuje odpowiadający pull request.

Uwagi i zgłoszenia

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