agentleFS
GetStreamGetStream/Agents/.claude/skills/pr/SKILL.md

pr

Skill8.2k starsChanged 57 days agoApache-2.0View on GitHub

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

  • Commits and pushes

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about GetStream/Agents

The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 8

Talked about on GitHub (8 times).

On GitHub · 8

3 more on GitHub

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run git log main..HEAD --oneline.

    line 10
  2. Very specific:

    Run uv run --no-sync dev.py check.

    line 11
  3. Distinctive:

    Do not run integration tests locally, CI handles them.

    line 12
  4. Very specific:

    If the change is user-facing (public API break, new feature, bug fix), update CHANGELOG.md per the rules in CLAUDE.md.

    line 13
  5. Very specific:

    Always gh pr create --draft.

    line 17
  6. Very specific:

    Follow .github/pull_request_template.md.

    line 19
  7. Distinctive:

    After creating the PR, open it and check that each chart renders and lines up.

    line 33
  8. Distinctive:

    Keep prose short: one or two sentences per point, and nothing a diagram or table already shows.

    line 34
  9. Distinctive:

    Do not paste CI, lint, or tool output in the body.

    line 38
  10. Distinctive:

    When a PR changes the shape of a query, for performance or any other reason, the body shows the evidence.

    line 43
  11. Distinctive:

    Query, before and after, side by side: Use an HTML table with one column per version.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.
  • If the change is user-facing (public API break, new feature, bug fix), update CHANGELOG.md per the rules in CLAUDE.md.

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).
<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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.