Git Push And Tag logo

Git Push And Tag

Community
jbdamask
git-push-and-tag

Final-phase skill that stages beads, commits, pushes to the remote branch, and labels the GitHub issue as "Ready". Invoked by issue-to-beads as the last step after all beads have been filed, reviewed, and synced. Can also be used standalone when you have synced beads on an issue branch that need to be committed and pushed.

Overview

Publisherjbdamask
Repositoryjohn-claude-skills
Skill namegit-push-and-tag
Stars
29
Forks
3
Bundled files
Instructions only
LicenseMIT
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 jbdamask on GitHub. Read the source before you install it.

Installation

Install the Git Push And Tag 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/jbdamask/john-claude-skills/tree/main/plugins/beads-planner/skills/git-push-and-tag
  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/jbdamask/john-claude-skills.git /tmp/john-claude-skills
mkdir -p .claude/skills
cp -r /tmp/john-claude-skills/plugins/beads-planner/skills/git-push-and-tag .claude/skills/git-push-and-tag
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Git Push And Tag 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 Git Push And Tag 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 Git Push And Tag 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.

Git Push and Tag

Stages the .beads/ directory, commits, pushes the branch, and labels the corresponding GitHub issue as "Ready". This is the final step in the issue-to-beads workflow.

Prerequisites

  • Must be on an issue branch (pattern: <issue-number>-<slug>)
  • Beads must already be synced (bd sync has been run or will be run here)
  • The gh CLI must be authenticated for the target GitHub repo
  • The bd CLI must be available on PATH
  • The .beads/ directory must exist with filed beads

Workflow

Step 1: Pull latest changes

bash
git pull --rebase

If this fails due to conflicts, stop and ask the user how to resolve them.

Step 2: Sync beads

bash
bd sync

This ensures the JSONL index is up to date with the beads on disk.

Step 3: Stage the beads directory

bash
git add .beads/
git add .plan/

Stage .beads/ (the filed beads) and .plan/ (the approved plan artifact). Do not stage unrelated changes. If there are other files that should be committed, ask the user before staging them.

Step 4: Commit

Infer the issue number and title from the current branch name. The branch follows the pattern <issue-number>-<slug> (e.g., 42-add-user-authentication).

bash
# Get branch name
git rev-parse --abbrev-ref HEAD

# Commit with descriptive message
git commit -m "Add beads for issue #<number>: <title-from-slug>"

Replace <number> with the issue number extracted from the branch name, and <title-from-slug> with the slug portion converted back to readable text (hyphens to spaces).

Step 5: Push

bash
git push -u origin <branch-name>

If the push fails (e.g., due to remote changes), try:

bash
git pull --rebase
git push -u origin <branch-name>

If it still fails, stop and ask the user for help.

Step 6: Label the GitHub issue

Confirm the issue number with the user before labeling:

I inferred issue #<number> from branch <branch-name>. Should I add the "Ready" label to this issue?

After confirmation:

bash
gh issue edit <number> --add-label "Ready"

If the label doesn't exist on the repo, show the error and suggest the user create it manually or pick a different label.

Step 7: Verify

bash
git status

This must show the branch is up to date with the remote. If it doesn't, diagnose and fix before declaring success.

Error Handling

  • Push fails: Suggest git pull --rebase and retry once. If still failing, ask the user.
  • Label fails: Show the error message. Common causes: label doesn't exist, insufficient permissions, wrong issue number. Suggest manual labeling as a fallback.
  • Commit fails (nothing to commit): Run git status to diagnose. The beads may already be committed, or bd sync may not have produced changes. Ask the user how to proceed.
  • Branch name doesn't match pattern: Ask the user to provide the issue number manually.

Frequently asked questions

What does the Git Push And Tag AI skill do?

Final-phase skill that stages beads, commits, pushes to the remote branch, and labels the GitHub issue as "Ready". Invoked by issue-to-beads as the last step after all beads have been filed, reviewed, and synced. Can also be used standalone when you have synced beads on an issue branch that need to be committed and pushed.

Why use Git Push And Tag on TypingMind?

Because you install it once and use it with any model. Git Push And Tag 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 Git Push And Tag in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jbdamask/john-claude-skills/tree/main/plugins/beads-planner/skills/git-push-and-tag. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Git Push And Tag?

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 Git Push And Tag?

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

Is the Git Push And Tag AI skill free?

Yes. It is published on GitHub by jbdamask under the MIT license. 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 👇