Logo van 2giosangmitom Create Pr

2giosangmitom Create Pr

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

Overzicht

Uitgever2giosangmitom
Repositorydotfiles
Skillnaam2giosangmitom-create-pr
Sterren
51
Forks
4
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door 2giosangmitom op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill 2giosangmitom Create Pr in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/2giosangmitom/dotfiles/tree/master/dot_agents/skills/2giosangmitom-create-pr
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel 2giosangmitom Create Pr in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt 2giosangmitom Create Pr automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is 2giosangmitom Create Pr niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-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.

Waarom 2giosangmitom Create Pr gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. 2giosangmitom Create Pr bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik 2giosangmitom Create Pr in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/2giosangmitom/dotfiles/tree/master/dot_agents/skills/2giosangmitom-create-pr. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen 2giosangmitom Create Pr gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met 2giosangmitom Create Pr gebruiken?

Zoveel als je wilt. Je kunt 2giosangmitom Create Pr gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill 2giosangmitom Create Pr gratis?

Deze skill is door 2giosangmitom op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇