Logo di Open Pr

Open Pr

Community
ronaknnathani
open-pr

Stage, commit, push, and open a pull request following the author's repository and AGENTS.md conventions — repo-style commit messages, a prose PR summary, and a Testing Done command list. Use when work is finished and the caller wants it committed and a PR opened. Supports --draft and an optional local review before push.

Panoramica

Pubblicato daronaknnathani
Repositoryrelay
Nome della skillopen-pr
Stelle
43
Fork
4
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da ronaknnathani su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Open Pr in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ronaknnathani/relay/tree/main/skills/open-pr
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ronaknnathani/relay.git /tmp/relay
mkdir -p .claude/skills
cp -r /tmp/relay/skills/open-pr .claude/skills/open-pr
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Open Pr in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Open Pr non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Open Pr non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Open PR

Take finished work from working tree to open pull request: stage specific files, commit with a repo-style message, push, and open the PR in the author's house style. Read <repo>/AGENTS.md and ~/.config/agents/AGENTS.md first (repo-specific rules win) and follow those preferences for commit messages and PR descriptions. Execute git/gh operations through this skill's bundled scripts/open-pr.sh helper rather than inlining command sequences in the skill.

Flags

  • --draft — open the PR as a draft (gh pr create --draft). Default is open (ready for review).
  • --no-review — skip the optional local review before push.

Process

  1. Branch-if-on-default gate. Never commit straight onto the default branch. Invoke the helper's ensure-branch <slug> command. It hard-fails if the default branch cannot be detected and, when a new branch is needed, reads the branch prefix from the first-time relay config (relay config branch-prefix) rather than hardcoding a personal prefix.

  2. Stage specific files. Invoke the helper's status command, then its stage -- <files...> command for exactly what belongs in this change — never stage the whole tree. Confirm the diff carries no secrets and no formatting churn mixed in with behavior.

  3. Commit in the repo's style. Match the repository's recent commit style and the AGENTS.md preferences. Do not force Conventional Commits unless the repo already uses them. The subject should lead with what changed; include a body only when useful, and make it explain why the change exists rather than restating the diff. Keep refactor commits separate from feature/fix commits (split with separate stage/commit helper calls if both are present). End every message with a Co-authored-by trailer for the actual model/agent currently doing the work; never hardcode a model. Use the runtime-provided model identity when available, and the agent's verified no-reply identity for the email. Then invoke the helper's commit <message-file> command.

  4. Local review before push (skip with --no-review). Review the full diff from the helper's diff command for correctness and leftover debris before it leaves your machine. Dispatch the review skill as a sub-agent when available; otherwise scan it inline.

  5. Push. Invoke the helper's push command.

  6. Prefer the repo's PR template. Fetch it and fill each section from the actual change; only fall back to the body in step 7 when none exists. Use the helper's pr-template command to fetch it.

  7. Open the PR. Title follows the repo's PR-title style. Body follows AGENTS.md: one or two short prose paragraphs focused on why/what, no bullet list, no per-file walkthrough, and a Testing Done section containing only the commands run. Disclose automated authorship with the actual agent/model used, not a hardcoded Claude footer. Add --draft to the helper call only when the caller passed it, and invoke create-pr --title <title> --body-file <body-file>.

  8. Return the PR URL that gh pr create prints, to the caller.

PR body conventions

The body format is in step 7; the red flags and checklist below guard it. The one rule not covered there:

  • Disclose agent authorship in any PR comment you post — mark it as written by an automated agent on the author's behalf; never phrase it as the author's own words.

Red flags

  • Committing onto the default branch instead of branching first.
  • git add . / git add -A instead of staging the specific files.
  • A PR summary that is a bullet list, or that enumerates each file/caller and how the code works.
  • A Testing Done section padded with prose or per-command descriptions instead of bare commands.
  • Refactor squashed into the same commit as a feature/fix; formatting churn mixed with behavior.
  • A commit body that restates the diff ("what") instead of the reason ("why").
  • Hand-rolling a body when the repo ships a PR template; assuming main/master as the base.
  • Missing the actual-model Co-authored-by trailer or automated-authorship disclosure.

Verification checklist

  • HEAD is on a branch using the configured relay branch prefix, not the default branch.
  • Only the intended files were staged (no git add .); diff has no secrets or stray formatting.
  • Commit message matches repo/AGENTS.md style, includes the actual-model Co-authored-by trailer, and keeps refactor separate.
  • PR summary is 1–2 prose paragraphs on why/what — not bullets, not a file-by-file how.
  • Testing Done is just the list of commands run; body discloses the actual automated agent/model.
  • Repo PR template used when present; base branch detected dynamically; --draft applied only if requested.
  • The PR URL was returned to the caller.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Open Pr?

Stage, commit, push, and open a pull request following the author's repository and AGENTS.md conventions — repo-style commit messages, a prose PR summary, and a Testing Done command list. Use when work is finished and the caller wants it committed and a PR opened. Supports --draft and an optional local review before push.

Perché usare Open Pr su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Open Pr è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Open Pr in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ronaknnathani/relay/tree/main/skills/open-pr. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Open Pr?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Open Pr?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Open Pr: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Open Pr è gratuita?

Sì. È pubblicata su GitHub da ronaknnathani con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇