Logo van Pr

Pr

OrganisatiePopulair
GetStream
pr

Create a draft pull request for the Vision-Agents repo using gh CLI.

Overzicht

UitgeverGetStream
RepositoryAgents
Skillnaampr
Sterren
8.2K
Forks
709
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door GetStream op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Pr in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/pr
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GetStream/Agents.git /tmp/Agents
mkdir -p .claude/skills
cp -r /tmp/Agents/.claude/skills/pr .claude/skills/pr
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Pr in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Pr automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Pr niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Pull Request (Vision-Agents)

Before creating

  • Run git log main..HEAD --oneline. If the branch contains more than one independent logical change, STOP and ask the user whether to split it before proceeding.
  • Run uv run --no-sync dev.py check. Skip if the diff does not touch Python code (*.py) or pyproject.toml — e.g. docs-only, .gitignore, .github/, or .claude/ changes.
  • Do not run integration tests locally, CI handles them.
  • Do not edit the root CHANGELOG.md: it is written once per release (Changelog in AGENTS.md). The one exception is a line under # Unreleased → Breaking Changes for a PR that breaks a published SDK's API. Put what users need to know in the PR body.

Creating

  • Always gh pr create --draft. Push the branch first.
  • A draft runs no CI workflow; CodeQL, the labeler and CodeRabbit still run. gh pr ready starts the workflows whose paths the PR touches, and every push after it runs them again, so mark it ready once the branch is done, not before.
  • Follow .github/pull_request_template.md. Read every commit on the branch, do not summarise from the latest commit alone.

Title

  • Aim for 50 characters, never more than 65. The repo only squash-merges and uses the PR title as the commit subject on main once a PR has two or more commits, and GitHub appends (#NNN). 65 plus that suffix stays within the 72 GitHub's docs give as the commit title maximum; 50 is what git help commit and Pro Git recommend.
  • Say what changes, not how. The ticket id (AI-833) counts toward the limit; details go in the body.
  • Bad, 85 characters: feat(connectors): connector definitions table seeded from built-in manifests (AI-833). Good, 44: AI-833: connector definitions with revisions.

Body

  • Explain with pictures, not paragraphs. Near the top, a ## How it works section shows the idea with a chart. Give small tables for "change → result → test that proves it" and for before/after.
    • ASCII, in a fenced code block, for branching logic (a tree) and data flow (boxes and arrows). Mermaid stacks these as tall columns of boxes; ASCII is shorter and reads the same in gh pr view. Draw with ├─ └─ │ -> and keep each line within 80 columns, the default terminal width.
    • A mermaid sequenceDiagram for a protocol or concurrency. It spreads across, not down, so ASCII saves no height, and the actor columns leave too little width for the messages. No ; inside a message (it splits statements).
    • Name each actor in full, or by a short form readers already know (PG for Postgres). No one-letter keys: the reader should not look anything up.
    • After creating the PR, open it and check that each chart renders and lines up.
  • Keep prose short: one or two sentences per point, and nothing a diagram or table already shows. A reviewer should get the idea in a minute without a wall of text.
  • Cite evidence: file:line, test names, commits. Mark anything not checked as unverified.
  • ## Why is motivation + context. ## Changes, if included, is high-level; never per-bullet justifications, those belong in ## Why.
  • Link public GitHub issues inline within ## Why (e.g. "users reported X (#478)"), not as a trailing Fixes #N.
  • Do not paste CI, lint, or tool output in the body.
  • Do not hard-wrap paragraphs. GitHub renders each newline inside a paragraph as a visible line break, so a 72-column-wrapped paragraph becomes a staircase. Write each paragraph or bullet as one unbroken line; rely on the browser to soft-wrap. Only use newlines to separate paragraphs, list items, or block elements.

SQL changes

When a PR changes the shape of a query, for performance or any other reason, the body shows the evidence. Query plans are the one tool output the body carries.

  • Query, before and after, side by side. Use an HTML table with one column per version. A markdown table cannot hold a code block.
  • Plans, before and after, collapsed. Run EXPLAIN (ANALYZE, BUFFERS) on both versions against the same data, and put each in a <details> block. Compare buffers (shared hit, read), not only time: a warm cache can make a slow plan look fast. Say where you ran them and on how many rows.
  • The outcome, in one line or a small table. Show what got better and by how much, both for the query (buffers, rows scanned, time) and for whoever uses it (the endpoint, the page, the job).
markdown
<table>
<tr><th>Before</th><th>After</th></tr>
<tr><td>

```sql
SELECT ... ORDER BY revision DESC LIMIT 1
```

</td><td>

```sql
SELECT DISTINCT ON (customer_id, id) ...
```

</td></tr>
</table>

<details><summary>Plan before: <code>EXPLAIN (ANALYZE, BUFFERS)</code>, staging, 1.2M rows</summary>

```
Seq Scan on connector_definitions ... Buffers: shared hit=120 read=8410
```

</details>

<details><summary>Plan after</summary>

```
Index Scan using connector_definitions_pkey ... Buffers: shared hit=4
```

</details>

| | Before | After |
| --- | --- | --- |
| Buffers (hit + read) | 8,530 | 4 |
| Execution time | 412 ms | 0.08 ms |
| `GET /v1/agents/connectors` p95 | 450 ms | 15 ms |

The numbers in the example are made up, to show the shape. A real PR uses only numbers from plans it ran.

Veelgestelde vragen

Wat doet de AI-skill Pr?

Create a draft pull request for the Vision-Agents repo using gh CLI.

Waarom Pr gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Pr bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Pr in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/GetStream/Agents/tree/main/.claude/skills/pr. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Pr gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Pr gebruiken?

Zoveel als je wilt. Je kunt Pr gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Pr gratis?

Ja. Deze skill is door GetStream op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇