Skip to content
Skills Library
Programming · Automation

open-pr

/open-pr

Open or update a draft GitHub pull request after Polar-specific review and cubic CLI review. Use only when the user invokes open-pr, /open-pr, or $open-pr by name. Do not use for a plain request to open a PR, or for a host Create PR button.

Repository
polar ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Open or update a draft GitHub pull request after Polar-specific review and cubic CLI review. Use only when the user invokes open-pr, /open-pr, or $open-pr by name. Do not use for a plain request to open a PR, or for a host Create PR button.

Original author description

Open or update a draft GitHub pull request after Polar-specific review and cubic CLI review. Use only when the user invokes open-pr, /open-pr, or $open-pr by name. Do not use for a plain request to open a PR, or for a host Create PR button.

How it works

  1. 1. Preconditions
  2. 2. Polar code review
  3. 3. Cubic CLI review
  4. 4. Open the draft
  5. 5. Reply
Original SKILL.md headings · 83 lines, 337 words
SKILL.md preview
---
name: open-pr
description: Open or update a draft GitHub pull request after Polar-specific review and cubic CLI review. Use only when the user invokes open-pr, /open-pr, or $open-pr by name. Do not use for a plain request to open a PR, or for a host Create PR button.
license: MIT
metadata:
  author: polar
  version: "1.0.0"
---

# Open PR

Open or update a **draft** pull request. Do not mark it ready for review.

This is not a bug hunt and not a security review. `/code-review`, `/security-review`,
and `/simplify` do those. Do not run Cursor `/review` here.

Address every review comment by default (Polar, cubic CLI, cubic GitHub, humans).
Fix, commit, push, rerun that step. Dispute only when the comment is factually wrong.

## 1. Preconditions

- Working tree committed. Branch pushed. `git fetch origin main`.
- Lint, type-check, and tests pass:
  - Backend: `cd server && uv run task lint && uv run task lint_types && uv run task test_fast`
  - Frontend: `clients/AGENTS.md` (`pnpm lint`, `pnpm typecheck`, scoped tests)
- PR body: no PII, stats, or org information. PRs are public.
- Title from the user or the diff. Body:

```
# Summary

👇 LLM generated

<what this PR does>

## What

## Why

## How

## Checklist
```

Fill the headings from `.github/pull_request_template.md`.

If lint or tests fail, stop. Do not review or open a PR.

## 2. Polar code review

Read `.agents/skills/polar-code-review/SKILL.md` and follow it exactly.

Address every finding (🔴, 🟠, 🟡, 🧹). Then rerun this step.

## 3. Cubic CLI review

If `CUBIC_API_KEY` is unset, skip this step and say so. Do not fail closed.

Otherwise:

```bash
cubic review --base origin/main --json
```

Address every finding. If the diff changed, rerun step 2. Repeat until clean or
only disputed issues remain. Exit code 1 means work to do, not a skip.

## 4. Open the draft

Create or update a **draft** PR.

- GitHub CLI: `gh pr create --draft`, or update the existing PR
- Cursor cloud: `ManagePullRequest` with `draft: true`

After the PR exists, pull review comments and address them the same way.

## 5. Reply

Exactly this. Nothing else.

```
Done
<summary>
<summary>
PR link: <url>
```

`Failed` instead of `Done` if you stopped (lint, tests, or an unfixed comment).
Two-line summary of what shipped or why it failed. Omit the PR line only if no
PR exists.

Versions

RepositoryScoreLicence
This page · polarsource/polar100Apache-2.0
collective-wisdom-org/collective-wisdom100MIT
RediSearch/RediSearch100AGPL-3.0
sapiom/sapiom-js100MIT
significant-gravitas/autogpt100MIT
rivi-software/agentic-seo-check100MIT
skillberry-ai/cap-evolve100Apache-2.0
dkarter/dotfiles100MIT
pascalorg/editor100MIT

Database snapshot: 13.11.2026 · package version 2fea14cba035 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100create-pr
    Open or update a GitHub pull request for the current branch — use when asked to create a PR, open a pull request, push and PR, or submit a PR.
  • 844-open-pr
    Opens or updates a pull request for the current feature. Invoked when the user wants to open a pull request, create a PR, update the draft PR, or runs /aido:4-open-pr.
  • 100create-github-pr
    Create GitHub pull requests using the gh CLI. Use when the user wants to create a new PR, submit code for review, or open a pull request. Trigger keywords - create PR, pull request, new PR, submit for review, code review.
  • 100pr
    Open a draft pull request on GitHub and drive CI review rounds until it is ready. MUST use when you want to create/open a PR.
  • 100pull-request
    Use when the user asks to open, create, or draft a pull request, or runs /pull-request in any GitHub repository - abrir PR, criar pull request, gh pr create.
  • 100create-pull-request
    Create a GitHub pull request following project conventions. Use when the user asks to create a PR, submit changes for review, or open a pull request. Handles commit analysis, branch management, and PR creation using the gh CLI tool.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.