polar-code-review
/polar-code-review
Sprawdza gałąź Polara względem konwencji, zaakceptowanych ADR i ponownego użycia kodu przed otwarciem pull requesta.
- Autor
- polarsource ↗
- Repozytorium
- polar ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Sprawdza gałąź Polara względem konwencji, zaakceptowanych ADR i ponownego użycia kodu przed otwarciem pull requesta.
Oryginalny opis (EN)
Review a Polar branch diff against conventions, Accepted ADRs, reuse, slop, and path-triggered API, ship-safety, and billing lenses. Use before opening a PR, when the user asks for a Polar code review, /polar-code-review, or $polar-code-review. Not a bug hunt or security review.
Jak działa
- 1. Diff
- 2. Route
- 3. Launch
- 4. Merge
- 5. Report
Podgląd SKILL.md
--- name: polar-code-review description: Review a Polar branch diff against conventions, Accepted ADRs, reuse, slop, and path-triggered API, ship-safety, and billing lenses. Use before opening a PR, when the user asks for a Polar code review, /polar-code-review, or $polar-code-review. Not a bug hunt or security review. license: MIT metadata: author: polar version: "1.0.0" --- # Polar Code Review Review the diff against the things only Polar knows: its conventions, its Accepted ADRs, its shared helpers, its API contract, its deploy shape, its billing domain. Not a bug hunt and not a security review — `/code-review` and `/security-review` do those better, and they verify findings and can apply fixes. This adds what they cannot know. This is only a router. Every lens is a skill you can also run on its own. ## 1. Diff ```bash git fetch origin main git diff origin/main --stat git diff origin/main ``` That is the branch plus the working tree. If fetch fails, use `main` instead of `origin/main`. Keep the full diff — every agent gets it, not just file names. ## 2. Route Run the first four always. Add the rest only when the trigger matches. | Skill | Runs when | |---|---| | `conventions-check` | always | | `adr-check` | always | | `reuse-check` | always | | `slop-check` | always | | `api-surface-review` | `**/schemas.py`, `**/endpoints.py`, `polar/openapi.py`, `docs/openapi.json`, `sdk/`, `clients/packages/client/`; or a change to a list query in `**/service.py` or `**/repository.py` | | `ship-safety` | `migrations/versions/`, `**/tasks.py`, `polar/models/`, `server/scripts/`; an endpoint is removed; or the diff spans `server/` and `clients/` with a dependency between them | | `billing-review` | the billing paths listed in that skill's Scope section | ## 3. Launch Launch one independent subagent per selected skill in a single turn. They must not wait on each other. Use the host's general-purpose agent type (`general-purpose` in Claude Code, `generalPurpose` in Cursor, `general` if that is all the host exposes). Same prompt for every lens: ``` Read `.agents/skills/<skill name>/SKILL.md` and follow it exactly. Review this diff. Only changed lines are in scope — never the rest of the repo. [INSERT FULL DIFF] Use the output format the skill defines. High-confidence findings only. If you are unsure whether something is a defect, put it under Question instead of asserting it. ``` Pass the diff and nothing else. Do not add the author's reasoning for a choice. A lens that is told why a choice was made stops checking it. The rules themselves live in each lens's skill and in `AGENTS.md`, not here. Each skill declares what it does **not** own, so the lenses do not overlap by construction. `adr-check` predates this skill and has its own terser format: either `No violations`, or a list of ADR id, `file:line`, what breaks, and the fix. Map its findings to 🔴. ## 4. Merge - **Deduplicate.** One line, one finding. Precedence when two lenses hit the same line: `billing-review` → `api-surface-review` → `ship-safety` → `adr-check` → `conventions-check` → `reuse-check` → `slop-check`. - **Surface conflicts.** If two lenses disagree, say so rather than picking silently. - **Cut the padding.** A short report that is all true beats a long one that is half true. ## 5. Report ```markdown ## Polar Review ### 🔴 Blocking - **[lens]** `file:line` — <what breaks>. Fix: <fix> ### 🟠 Should fix - **[lens]** `file:line` — <claim>. Fix: <fix> ### 🟡 Questions - **[lens]** `file:line` — <question> ### 🧹 Delete - `file:line-line` — <why> ### Notes <deploy notes from ship-safety, surface delta from api-surface-review. Omit if neither ran.> ### Coverage Ran: <...>. Skipped: <...> (no matching paths). ### Verdict ✅ APPROVED | ❌ CHANGES REQUESTED — n blocking, n should-fix ``` Any 🔴 means CHANGES REQUESTED. 🟠 alone is a judgement call: say which way you lean and why. The 🟡 section is expected to have content — Polar reviews are mostly questions.
Wersje
W bazie nie ma innych skilli o nazwie polar-code-review.
Migawka bazy z 13.11.2026 · wersja paczki a08c541097dd (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100conventions-check
Sprawdza diff względem spisanych konwencji Polar z server/AGENTS.md i clients/AGENTS.md, w tym struktury modułów, wzorców serwisów, autoryzacji, testów i i18n. - 95polar-billing
Pomaga pracować z systemem rozliczeń Polar: integracja ze Stripe, cykl życia subskrypcji, procesy checkout i przyznawanie korzyści. - 100polar-python-sdk
Pomaga wdrożyć Polar po stronie serwera w Pythonie, włącznie z migracją ze starego SDK, obsługą błędów i walidacją webhooków. - 90polar-local-environment
Konfiguruje i obsługuje lokalne środowisko deweloperskie Polar z użyciem Dockera. - 100polar-testing
Prowadzi przez testy integracji płatności Polar w sandboxie: karty testowe, testy przepływów, lokalne webhooki przez CLI i mocki w testach jednostkowych. - 100polar
Opisuje Polar, platformę billingową merchant-of-record dla oprogramowania: produkty, subskrypcje, klucze licencyjne, plany z użyciem i podatek międzynarodowy, z checkoutem, webhookami i sandboxem.