Logo: 2giosangmitom Create Pr

2giosangmitom Create Pr

Communautéit
2giosangmitom
2giosangmitom-create-pr

Draft a pull request from the branch's commits and the repo's PR template, then publish it only after the user approves. Use only when the user explicitly asks to create a PR.

Iwwersiicht

Editeur2giosangmitom
Repositorydotfiles
Skill-Numm2giosangmitom-create-pr
Stären
51
Forks
4
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    2giosangmitom huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill 2giosangmitom Create Pr an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/2giosangmitom/dotfiles/tree/master/dot_agents/skills/2giosangmitom-create-pr
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/2giosangmitom/dotfiles.git /tmp/dotfiles
mkdir -p .claude/skills
cp -r /tmp/dotfiles/dot_agents/skills/2giosangmitom-create-pr .claude/skills/2giosangmitom-create-pr
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert 2giosangmitom Create Pr an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet 2giosangmitom Create Pr automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass 2giosangmitom Create Pr net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Create Pull Request

Draft a pull request from the current branch. Never push, create, or publish anything until the user approves.

Follow the user's guidance: $ARGUMENTS

Workflow

1. Verify repository

Run:

bash
git rev-parse --is-inside-work-tree
git status --short --branch
git remote -v

Stop if this is not a Git repository or there is no origin remote. Ask the user to switch to a feature branch if the current branch is the default branch.

Warn about uncommitted changes. They are not part of the PR until committed, and must not be committed unless the user asks.

2. Determine the base branch

Use the branch named in $ARGUMENTS. Otherwise run:

bash
gh repo view --json defaultBranchRef --jq .defaultBranchRef.name

If gh is unavailable, fall back to main, then master, checking each with git rev-parse --verify. Ask the user if neither exists.

3. Read the commit history

bash
git log --no-merges --reverse --format='%h%n%s%n%b%n---' <base>..HEAD

Use these messages as the source for the title and description. If a message is vague, check the touched files with git log --no-merges --name-only --format='%h %s' <base>..HEAD. Do not run git diff.

If there are no commits ahead of <base>, stop and report that there is nothing to open a PR for.

4. Check push status

bash
git rev-parse --abbrev-ref --symbolic-full-name @{u}
git log --oneline @{u}..HEAD

If there is no upstream or the branch is ahead, say that a push is required. Ask before pushing.

5. Find the PR template

Glob for these paths, in order:

  • .github/pull_request_template.md, .github/PULL_REQUEST_TEMPLATE.md
  • .github/pull_request_template/*.md, .github/PULL_REQUEST_TEMPLATE/*.md
  • docs/pull_request_template.md, docs/PULL_REQUEST_TEMPLATE.md
  • pull_request_template.md, PULL_REQUEST_TEMPLATE.md

If one exists, read it fully and keep its headings, order, and checkboxes. Fill in each applicable section, replace instructional comments with real content, and remove comments that do not apply. If several templates match, choose by change type when the names make it clear, otherwise ask.

6. Write the title and description

Title:

  • Aim for 50 characters or fewer. Maximum 72.
  • Imperative mood. Describe the change, not the act of opening a PR.
  • Use a feat: or fix: prefix only if the repository's PRs already use one.
  • No trailing period.

Description: base it on the commit bodies. Keep it short and explain what changed and why.

Without a template, use:

markdown
## Summary

What changed, and why? Add `Closes #<n>` if an issue applies.

## Breaking changes

What must users change when upgrading? Write "None" if nothing changes.

Rules:

  • Verify every issue reference with gh issue view <n>.
  • Never guess issue numbers, links, test results, or breaking changes.
  • Never include secrets, tokens, credentials, or private URLs.
  • Never add AI attribution.

7. Show the draft and ask for approval

Show the title and description in code blocks, then ask:

Publish this PR to <owner/repo> with base <base>? Reply to approve, or send edits.

Do not run gh pr create before approval. If the user asks for changes, revise the draft and show it again.

8. Publish after approval

  1. If the branch is not pushed, ask separately for permission. Only after approval, run git push -u origin HEAD.

  2. Create the PR with the approved title and body:

    bash
    gh pr create --base <base> --title "<title>" --body-file - <<'EOF'
    <description>
    EOF
  3. Add --draft only if the user asks.

Never force-push, amend commits, or create more than one PR per request.

If gh is missing or not authenticated, give the user this compare URL to open:

text
https://github.com/<owner>/<repo>/compare/<base>...<head>?expand=1

9. Report

After publishing, show:

  • PR URL.
  • Title.
  • Base and head branches.
  • Draft or ready-for-review status.
  • Number of commits in the PR.
  • Confirmation that nothing was force-pushed.

If publishing fails, report the error without claiming success.

Examples

Without a template:

text
fix(auth): handle expired refresh tokens

## Summary

Refresh tokens now expire cleanly. Users are sent back to login with their return path preserved. Closes #123.

## Breaking changes

None.

With a template: use the template's headings and order, fill each section from the commit history, and keep its checkboxes. Do not replace it with the structure above.

Heefeg gestallte Froen

Wat mécht de KI-Skill 2giosangmitom Create Pr?

Draft a pull request from the branch's commits and the repo's PR template, then publish it only after the user approves. Use only when the user explicitly asks to create a PR.

Firwat 2giosangmitom Create Pr op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. 2giosangmitom Create Pr besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech 2giosangmitom Create Pr an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/2giosangmitom/dotfiles/tree/master/dot_agents/skills/2giosangmitom-create-pr an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen 2giosangmitom Create Pr benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat 2giosangmitom Create Pr benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir 2giosangmitom Create Pr domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill 2giosangmitom Create Pr gratis?

2giosangmitom huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇