2giosangmitom Create Pr logo

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.

Overview

Publisher2giosangmitom
Repositorydotfiles
Skill name2giosangmitom-create-pr
Stars
51
Forks
4
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by 2giosangmitom on GitHub. Read the source before you install it.

Installation

Install the 2giosangmitom Create Pr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/2giosangmitom/dotfiles/tree/master/dot_agents/skills/2giosangmitom-create-pr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 2giosangmitom Create Pr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 2giosangmitom Create Pr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 2giosangmitom Create Pr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the 2giosangmitom Create Pr AI skill do?

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.

Why use 2giosangmitom Create Pr on TypingMind?

Because you install it once and use it with any model. 2giosangmitom Create Pr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 2giosangmitom Create Pr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/2giosangmitom/dotfiles/tree/master/dot_agents/skills/2giosangmitom-create-pr. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use 2giosangmitom Create Pr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 2giosangmitom Create Pr?

As many as you like. As long as a model supports skills, you can use 2giosangmitom Create Pr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 2giosangmitom Create Pr AI skill free?

It is published on GitHub by 2giosangmitom. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇