Pr logo

Pr

OrganizationPopular
GetStream
pr

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

Overview

PublisherGetStream
RepositoryAgents
Skill namepr
Stars
8.2K
Forks
709
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by GetStream on GitHub. Read the source before you install it.

Installation

Install the Pr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/pr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Pr AI skill do?

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

Why use Pr on TypingMind?

Because you install it once and use it with any model. Pr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/GetStream/Agents/tree/main/.claude/skills/pr. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Pr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pr?

As many as you like. As long as a model supports skills, you can use Pr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pr AI skill free?

Yes. It is published on GitHub by GetStream under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇