Programowanie · Automatyzacja
create-pr
/create-pr
Tworzy pull request dla zadania octomux, w tym wypycha gałąź i otwiera PR.
Dla kogo
- Autor
- shreypaharia ↗
- Repozytorium
- octomux ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.08.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 27.08.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
Tworzy pull request dla zadania octomux, w tym wypycha gałąź i otwiera PR.
Oryginalny opis (EN)
Use when creating a pull request, opening a PR, or pushing and creating a PR for an octomux task
Jak działa
- Steps
- Notes
Sekcje z nagłówków SKILL.md, w oryginale · 102 linii, 526 słów
Podgląd SKILL.md
---
name: create-pr
description: Use when creating a pull request, opening a PR, or pushing and creating a PR for an octomux task
---
# Create PR for an octomux task
Create a GitHub pull request directly using `gh pr create`. The octomux dashboard will auto-detect the PR within 30 seconds.
## Steps
1. **Identify the task branch and repo:**
- Ask the user which task, or infer from context
- Get the task details (branch, repo_path, worktree):
```bash
octomux get-task <task-id>
```
- You need `branch`, `repo_path`, and `base_branch`. The task's `base_branch` is the PR base branch. If not set, default to `main`.
2. **Gather context for the PR description:**
Use the task's `base_branch` as `<base>`:
```bash
git -C <worktree> log <base_branch>..HEAD --oneline
git -C <worktree> diff <base_branch>...HEAD --stat
```
3. **Check if branch is pushed and push if needed:**
```bash
# Check if remote tracking branch exists
git -C <repo_path> ls-remote --heads origin <branch>
```
If the branch is not pushed yet, push it:
```bash
git -C <repo_path> push -u origin <branch>
```
If already pushed, check if local is ahead and push any new commits:
```bash
git -C <worktree> status -sb # check if ahead of remote
git -C <repo_path> push origin <branch> # push if ahead
```
4. **Draft the PR title and body, then confirm with the user:**
**Title:** Conventional commit format, under 70 chars, min 10 char description:
```
<type>(<scope>): <description>
```
Types: `feat`, `fix`, `chore`, `refactor`, `docs`, `test`, `perf`
Examples: `feat(hooks): add permission prompt tracking`, `fix(terminal): clean up orphaned tmux sessions`
**Body:** Must include all three sections — What, Why, and Testing:
```markdown
## What
<Description of what this PR does — summarize the changes>
## Why
<Explanation of why this change is needed — the motivation>
Resolves <link>
## Testing
<How this was tested — commands run, manual verification, etc.>
```
**Linking tickets/issues:**
- If the task was created from a **Jira ticket**, include the Jira link
- If the task was created from a **GitHub issue**, include: `Resolves #<issue-number>`
- Infer the ticket/issue from the branch name. Jira-style keys match `[A-Z][A-Z0-9]+-\d+` (e.g., `feat/PROJ-123-...` -> `PROJ-123`); numeric branches resolve to GitHub issues (`fix/42-...` -> `#42`).
- If no ticket/issue is associated, omit the `Resolves` line
**IMPORTANT: Present the title and body to the user and WAIT for their confirmation before creating the PR.** Do NOT create the PR without explicit user approval. The user may want to adjust the title, description, or add context.
5. **After user confirms, create the PR using `gh`:**
```bash
gh pr create \
--head <branch> \
--base <base_branch> \
--title "<title>" \
--body "<body>" \
--repo <repo_path>
```
6. **Report** — Print the PR URL. The octomux dashboard will auto-detect and link it to the task within ~30 seconds via the PR poller.
## Notes
- Do NOT use the octomux API PR endpoints (`/pr/preview`, `/pr`) — create directly with `gh` for better context and speed
- The dashboard auto-detects PRs by matching the branch name — no manual DB update needed
- If `gh pr create` fails with "already exists", the PR was likely already created
- The task must have a `branch` set (created automatically when octomux starts the task)
- Use `--repo` flag with the repo path so `gh` knows which repo to target
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · shreypaharia/octomux | 100 | MIT |
| wanteddev/montage-web | 100 | MIT |
| niekcandaele/claude-helpers | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| microsoft/aspire | 100 | MIT |
| rolemodel/skills | 100 | MIT |
| moeru-ai/airi | 100 | MIT |
| sakuro/dotfiles | 100 | MIT |
| fcakyon/claude-codex-settings | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 29252cb80442 (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-task
Tworzy zadanie octomux, które uruchamia autonomicznych agentów Claude Code do budowy funkcji, naprawy błędów lub innych zmian w kodzie. - 90ship-pr
Prowadzi zmianę od zadania octomux do pull requesta: pisze opis przejścia, przepuszcza przez przegląd kodu i pilnuje CI. - 95create-pull-request
Otwiera pull request na GitHubie przez gh w sposób, jaki użytkownik preferuje. - 100create-pull-request
Tworzy pull request na GitHubie z bieżącej lub wskazanej gałęzi, także roboczy, i publikuje gałąź do przeglądu kodu. - 100v1-pr
Wysyła lokalne zmiany na zdalne repozytorium i otwiera szkic pull requestu na GitHubie. - 90submit-pr-from-current-changes
Tworzy gałąź, zapisuje lokalne zmiany commitem, wypycha je i otwiera pull request z bieżącej pracy.