Logo de Git

Git

Organização
Rune-kit
git

Specialized git operations — semantic commits, PR descriptions, branch management, conflict resolution guidance. Replaces ad-hoc git commands with a dedicated, convention-aware utility.

Visão geral

Publicado porRune-kit
Repositóriorune
Nome da habilidadegit
Estrelas
88
Forks
26
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Rune-kit no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Git no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/Rune-kit/rune/tree/master/skills/git
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Rune-kit/rune.git /tmp/rune
mkdir -p .claude/skills
cp -r /tmp/rune/skills/git .claude/skills/git
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Git em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Git automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Git não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

git

Purpose

Specialized git operations utility. Handles semantic commits, PR descriptions, branch naming, and changelog generation with consistent conventions. Replaces scattered git logic across cook Phase 7 and other skills with a single, convention-aware utility.

Triggers

  • Called by cook Phase 7 for commit creation
  • Called by scaffold Phase 8 for initial commit
  • Called by team for parallel branch/PR management
  • Called by docs for changelog generation
  • Called by launch for release tagging
  • /rune git commit — manual semantic commit
  • /rune git pr — manual PR generation
  • /rune git branch <description> — generate branch name
  • /rune git changelog — generate changelog from commits
  • /rune git release <version> — create tagged release with changelog

Calls (outbound)

None — pure L3 utility. Reads git state, produces git commands/output.

Called By (inbound)

  • cook (L1): Phase 7 — create semantic commit after implementation
  • scaffold (L1): Phase 8 — initial commit with generated project
  • team (L1): parallel PR management across workstreams
  • launch (L1): release tagging and changelog
  • docs (L2): changelog generation sub-workflow
  • User: /rune git direct invocation

Modes

Commit Mode (default)

Analyze staged changes and produce a semantic commit.

PR Mode

Analyze full branch diff against base and produce a pull request.

Branch Mode

Generate a branch name from a task description.

Changelog Mode

Generate changelog entries from commit history.

Executable Steps

Commit Mode

Step 1 — Analyze Staged Changes

Read git diff --staged and git status. Classify the change:

TypeSignalPrefix
New featureNew files, new exports, new routesfeat
Bug fixChanged logic in existing code, test fixfix
RefactorStructural change, no behavior changerefactor
TestOnly test files changedtest
DocumentationOnly .md, comments, JSDoc changeddocs
Build/CIConfig files, CI pipelines, Dockerfilechore
PerformanceOptimization, caching, query improvementperf
Step 2 — Detect Scope

Extract scope from file paths:

  • src/auth/* → scope: auth
  • src/components/Button.tsx → scope: ui
  • api/routes/users.ts → scope: api
  • Multiple directories → omit scope or use most relevant
  • Root config files → scope: config
Step 3 — Generate Commit Message

Format: <type>(<scope>): <description>

Rules:

  • Description: imperative mood, lowercase first letter, no period
  • Max 72 characters for subject line
  • If > 5 files changed → add body with bullet summary
  • If breaking change detected (removed export, changed API signature, schema change) → add ! suffix and BREAKING CHANGE: footer
feat(auth): add JWT refresh token rotation

- Add refresh token endpoint with sliding window expiry
- Store token family for reuse detection
- Add middleware to validate refresh tokens

BREAKING CHANGE: /api/auth/refresh now requires refresh_token in body instead of cookie
Step 4 — Execute

Run git commit with the generated message. If pre-commit hooks fail → report the failure, do not --no-verify.

PR Mode

Step 1 — Analyze Branch

Read ALL commits on the current branch vs base branch using git log <base>..HEAD and git diff <base>...HEAD.

Do NOT just look at the latest commit — PRs include ALL branch commits.

Step 2 — Generate PR
markdown
## Summary
<1-3 bullet points covering ALL changes, not just the last commit>

## Changes
- [grouped by feature/area]

## Test Plan
- [ ] [specific test scenarios]

## Breaking Changes
- [if any — list explicitly]

Title: < 70 characters, descriptive of the full change set.

Step 3 — Execute

Run gh pr create with generated title and body. If no remote branch → push with -u first.

Branch Mode

Step 1 — Parse Task

Extract key intent from task description:

  • Feature → feat/short-kebab-description
  • Bug fix → fix/issue-number-or-description
  • Refactor → refactor/module-name
  • Chore → chore/description

Rules:

  • Max 50 characters total
  • Kebab-case, no uppercase
  • Include issue number if referenced: fix/123-login-crash
Step 2 — Execute

Run git checkout -b <branch-name> from current branch.

Changelog Mode

Step 1 — Read History

Read commits since last tag (git log $(git describe --tags --abbrev=0)..HEAD) or since specified reference.

Step 2 — Group and Format

Group commits by conventional commit type. Format as Keep a Changelog:

markdown
## [Unreleased]

### Added
- New feature description (#PR)

### Fixed
- Bug fix description (#PR)

### Changed
- Change description (#PR)

### Removed
- Removed feature (#PR)

Link to PRs/issues when references found in commit messages.

Release Mode

Create a version tag with release artifacts.

Triggers:

  • /rune git release <version> — create release for specified version
  • Called by launch (L1) during release pipeline
  • Called by deploy (L2) after successful production deploy
Step 1 — Validate Version

Parse version string. Must follow semver (major.minor.patch):

  • Breaking changes → major bump
  • New features → minor bump
  • Bug fixes → patch bump

Check git tag -l to ensure version doesn't already exist.

Step 2 — Generate Release Artifacts
  1. Changelog: Run Changelog Mode to generate entries since last tag
  2. Version bump: Update version in package.json, pyproject.toml, Cargo.toml, or equivalent
  3. Release notes: Summarize changes for GitHub Release body
Step 3 — Tag and Push
bash
git add <version-files>
git commit -m "chore: bump version to v<version>"
git tag -a v<version> -m "Release v<version>"
git push origin master --tags
Step 4 — Create GitHub Release
bash
gh release create v<version> --title "v<version>" --notes "<release-notes>"
Step 5 — Notify

If deploy reports customer email list available (via rune-pay /admin/emails), flag for notification.

Output Format

Commit Mode

<type>(<scope>): <description>

[optional body — bullet summary if > 5 files changed]

[BREAKING CHANGE: description — if breaking change detected]

PR Mode

Title: <type>: <short description> (< 70 chars)

## Summary
- [bullet points covering ALL branch changes]

## Changes
- [grouped by feature/area]

## Test Plan
- [ ] [specific test scenarios]

## Breaking Changes
- [if any]

Branch Mode

<type>/<short-kebab-description>

Examples: feat/jwt-refresh, fix/123-login-crash, refactor/auth-module

Changelog Mode

markdown
## [Unreleased]

### Added
- Feature description (#PR)

### Fixed
- Bug fix description (#PR)

### Changed
- Change description (#PR)

Release Mode

## Release: v<version>
- **Tag**: v<version>
- **Commits**: [count] since last release
- **Changelog**: [path to CHANGELOG.md]
- **GitHub Release**: [URL]
- **Artifacts**: version bump, changelog, tag, release

Constraints

  1. MUST use conventional commit format — no freeform messages
  2. MUST analyze full diff before generating message — don't guess from file names alone
  3. MUST detect breaking changes — missing BREAKING CHANGE footer causes downstream issues
  4. MUST NOT use --no-verify — if hooks fail, report and fix
  5. MUST NOT force push unless explicitly requested by user
  6. PR mode MUST analyze ALL commits on branch, not just the latest
  7. MUST respect project's existing commit conventions if detected (check recent git log)

Sharp Edges

Failure ModeSeverityMitigation
Commit message doesn't match actual changesHIGHStep 1 reads full diff, not just file names
PR description covers only last commitHIGHStep 1 reads ALL commits on branch
Missing breaking change detectionHIGHCheck: removed exports, changed function signatures, schema changes
Branch name too long or has special charactersLOWMax 50 chars, kebab-case only
Force push without user consentCRITICALConstraint 5: never force push unless explicitly requested
Ignoring project's existing conventionsMEDIUMCheck recent git log --oneline -10 for existing style

Done When

Commit Mode

  • Staged diff analyzed and change type classified
  • Scope extracted from file paths
  • Semantic commit message generated (subject + body if needed)
  • Breaking changes detected and flagged
  • Commit executed (or failure reported)

PR Mode

  • All branch commits analyzed (not just latest)
  • Summary covers full change set
  • Test plan included
  • PR created with gh pr create

Branch Mode

  • Branch name follows convention
  • Branch created from current HEAD

Changelog Mode

  • All commits since last tag grouped by type
  • Formatted as Keep a Changelog
  • PR/issue references linked

Cost Profile

~500-2000 tokens input, ~200-800 tokens output. Haiku — git operations are mechanical and convention-based, no deep reasoning needed.

Perguntas frequentes

O que a habilidade de IA Git faz?

Specialized git operations — semantic commits, PR descriptions, branch management, conflict resolution guidance. Replaces ad-hoc git commands with a dedicated, convention-aware utility.

Por que usar Git no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Git é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Git no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Rune-kit/rune/tree/master/skills/git. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Git?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Git?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Git com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Git é gratuita?

Sim. A habilidade é publicada no GitHub por Rune-kit sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇