Logotipo de Pr

Pr

OrganizaciónPopular
GetStream
pr

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

Descripción general

EditorGetStream
RepositorioAgents
Nombre de la habilidadpr
Estrellas
8.2K
Forks
709
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por GetStream en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Pr en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/GetStream/Agents/tree/main/.claude/skills/pr
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Pr en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Pr automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Pr no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA Pr?

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

¿Por qué usar Pr en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Pr está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Pr en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/GetStream/Agents/tree/main/.claude/skills/pr. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Pr?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Pr?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Pr con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Pr?

Sí. GetStream la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇