Logo: Mr

Mr

Communautéit
domengabrovsek
mr

Create a merge request or pull request from the current branch: verify quality gates, enforce conventional commits, validate the title, and create it without a confirmation step. Use when the user says 'create MR', 'create PR', 'open a merge request', or 'raise a PR'.

Iwwersiicht

Editeurdomengabrovsek
Repositoryagent-config
Skill-Nummmr
Stären
22
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

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

Installatioun

Installéiert de KI-Skill Mr 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/domengabrovsek/agent-config/tree/main/skills/mr
  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/domengabrovsek/agent-config.git /tmp/agent-config
mkdir -p .claude/skills
cp -r /tmp/agent-config/skills/mr .claude/skills/mr
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Mr 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 Mr automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Mr 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 Merge Request / Pull Request

Workflow

why-no-hook: skill workflow guidance; each step requires understanding the surrounding context (repo, task shape, prior state).

  1. Make sure the full gate passed at HEAD: hard-fail on any failure. Do not proceed to push, title generation, or PR ceremony if the gate fails (review-time: see section note)

    • Repo declares verify in package.json: skip the run when <git-dir>/verify-passed equals HEAD and the tree is clean. Otherwise run /verify-done, which runs npm run verify once. The PR-open hook blocks without that stamp (hook)
    • Otherwise run /verify-done. It pre-empts the most common CI failures before they cost a CI run (review-time: see section note)
  2. Detect VCS platform: check for .gitlab-ci.yml (-> glab) or .github/ (-> gh) (review-time: see section note)

  3. Determine base branch: (review-time: see section note)

    • GitHub: gh repo view --json defaultBranchRef --jq .defaultBranchRef.name (review-time: see section note)
    • GitLab: glab repo view --output json, field default_branch (review-time: see section note)
    • If the user specifies a different target, use that instead (review-time: see section note)
  4. Review all commits on the branch: run git log <base>..HEAD and git diff <base>...HEAD to understand the full changeset (review-time: see section note)

  5. Enforce conventional commits: every commit subject on the branch must pass is_conventional in hooks/lib/commit-msg.sh, which lists the allowed types in CONVENTIONAL_TYPES. If any commit fails, stop and ask the user to amend or rewrite the commit history. Do not proceed. (review-time: see section note)

  6. Check for env-specific values: scan diff for hard-coded URLs, credentials, environment names that look wrong for the target branch (review-time: see section note)

  7. Push branch with -u flag (review-time: see section note)

  8. Generate and validate the PR title: (review-time: see section note)

    • Compose a conventional-commit title summarizing the change (review-time: see section note)
    • Validate it with the same is_conventional check as commit subjects. hooks/pre-pr-test-gate.sh blocks a create whose title fails it (hook)
    • If the generated title fails the check, regenerate. Do not show the user a non-conforming title. (review-time: see section note)
  9. Create MR/PR using the template: (review-time: see section note)

    • If .github/pull_request_template.md or .gitlab/merge_request_templates/ exists, use that template (review-time: see section note)
    • Otherwise use ~/.agents/pull_request_template.md (review-time: see section note)
    • Fill in the description explaining what changed and why (review-time: see section note)
    • Keep the body under 150 words, in bullets, and revise it with write-plain before creating (review-time: see section note)
    • Add a "Not touched (intentionally)" list naming adjacent code left alone, when the reviewer could expect it changed; it proves scope discipline and surfaces known adjacent problems (review-time: see section note)
    • Check the relevant category box(es) - exactly one or more of: Bugfix, Feature, Refactor, Chore, CI/CD, Infrastructure (review-time: see section note)
    • Check "Changes have been tested locally" only if tests were actually run (review-time: see section note)
    • Check "No unnecessary changes outside the scope of this PR" only if true (review-time: see section note)
    • Check "Considered the security impact of these changes" - always check, we always consider it (review-time: see section note)
    • Check "No credentials or secrets in the code" only if verified (review-time: see section note)
    • Do NOT edit the template structure or wording. Fill in data and check boxes. The only added sections are "Not touched (intentionally)" and Blocked on me (review-time: see section note)
  10. Set dependencies for stacked MRs/PRs: (review-time: see section note) If the target branch is not the default branch (main/master/develop), check for a base MR/PR:

    GitLab:

    • Find the base MR: glab mr list --source-branch <target-branch> (review-time: see section note)

    • If found, create a blocking dependency after MR creation: (review-time: see section note)

      sh
      glab api --method POST "projects/<url-encoded-project-path>/merge_requests/<our-iid>/blocks" \
        -f "blocking_merge_request_iid=<base-mr-iid>"
    • HTTP 409 is fine - GitLab may auto-detect some dependencies (review-time: see section note)

    • Mention in description: > **Stacked MR**: depends on !<base-iid>. Retarget to main after !<base-iid> is merged. (review-time: see section note)

    GitHub:

    • Find the base PR: gh pr list --head <target-branch> --json number,title --jq '.[0]' (review-time: see section note)
    • GitHub has no native dependency enforcement. Instead, add Depends on #<base-pr-number> in the PR description (under Linked Issues or similar). This is a widely recognized convention that third-party apps (e.g., Dependent Issues, PR Dependencies) can enforce via status checks. (review-time: see section note)
    • Mention in description: > **Stacked PR**: depends on #<base-pr-number>. Retarget to main/develop after #<base-pr-number> is merged. (review-time: see section note)
  11. Report: print the MR/PR URL. If a dependency was set, mention it. (review-time: see section note)

  12. Watch the PR: drive it until ~/.agents/scripts/pr-ready.sh prints READY (CI green, mergeable, no unresolved thread) or WAITING_ON_HUMAN. hooks/post-pr-open-watch.sh injects the steps after gh pr create (hook)

Rules

  • Use CLI tools (gh pr create / glab mr create), not MCP tools or APIs (except glab api for MR dependencies - glab mr create has no dependency flag) (review-time: see section note)
  • Pass the body via HEREDOC for correct formatting (review-time: see section note)
  • If auth fails, stop and ask the user to authenticate - do not retry (review-time: see section note)
  • If the repo has a specific MR template, prefer it over the default (review-time: see section note)
  • Never reference local Claude artifacts (research notes, plans, session summaries under .claude/state/, etc.) in the MR/PR description - they only have value locally and mean nothing to reviewers (review-time: see section note)
  • Pass the title, body, and base explicitly so the create command never prompts (review-time: see section note)
  • Create the MR/PR without asking. The gate pass in step 1 is the checkpoint (review-time: see section note)
  • Never push to main or master. Every change reaches them through an MR/PR, even when the user approves a direct push (hook)
  • Never merge the MR/PR. The user merges (review-time: see section note)

Heefeg gestallte Froen

Wat mécht de KI-Skill Mr?

Create a merge request or pull request from the current branch: verify quality gates, enforce conventional commits, validate the title, and create it without a confirmation step. Use when the user says 'create MR', 'create PR', 'open a merge request', or 'raise a PR'.

Firwat Mr op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Mr 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 Mr an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/domengabrovsek/agent-config/tree/main/skills/mr 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 Mr 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 Mr benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Mr 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 Mr gratis?

domengabrovsek 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 👇