Skip to content
Back to skills

Git

ASecurity

Use when branching, committing, writing a commit message, comment or doc, or opening a PR. Small focused commits, clear messages, no AI attribution, no ticket or plan codes in code.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentsgogit

Works with

  • claude code

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add mvbsoft/keel --skill git --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mvbsoft-git/badge)](https://www.skillsdirectory.com/skills/mvbsoft-git)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git
description: Use when branching, committing, writing a commit message, comment or doc, or opening a PR. Small focused commits, clear messages, no AI attribution, no ticket or plan codes in code.
---

# Git and authorship

## Branches
- Follow the project's convention first. Without one, keel names a branch `<KEY>-<short-name>`
  (ticket key, then a few words), created from the main branch or the one the user names. A planned
  ticket (`<feature>/T<n>`) works on its feature branch (plan.md `branch:`), not from the main branch;
  a ticket branch, when one is needed, is `<feature branch>-T<n>` from the feature branch.
- Never commit straight to the main branch unless the project's convention allows it.
- Need isolation from work in progress → a git worktree in a git-ignored folder, removed after merge.

## Commits
- One logical change per commit; nothing unrelated mixed in.
- Message: what changed and why, in the author's voice. Follow the project's style (e.g. Conventional
  Commits `type(scope): summary`); subject in the imperative, about 72 characters at most.
- Before committing: run the project's gates (a keel hand off commits unfinished work with red gates
  on its task branch on purpose, and says so); check `git status` and the staged diff; never commit
  secrets, `.env` files, tokens or generated junk.
- Language of messages: `repo_language` in `.keel/config.json` (default English).

## Authorship
- Nothing written into the repository shows that an AI or tool produced it: no `Co-Authored-By` an
  AI, no "generated with", no tool signatures. Claude Code's `attribution` setting turns its own
  trailer off; keel's configure offers it.
- No ticket keys, plan, phase or step codes in code comments or docs; they become dangling
  references once the plan is gone. They belong in the PR description or the issue tracker. The
  planning files themselves (a feature folder: plan.md and its tickets) may hold keys.
- Code comments follow the project's comment level (`comments.level`, rules injected at session start).

## Push, merge, PR
- Who pushes and merges follows the git mode in `.keel/config.json` (manual: the user; autonomous:
  keel pushes, and merges only when the user's instruction asks, or on a finish when
  `ask_before_merge` is false; with `ask_before_merge: true` Claude Code confirms each merge).
- keel's own flows never force-push. By hand, when the user asks: `--force-with-lease`, never `--force`. A protected main branch or a rejected push → stop and
  propose a PR (`gh pr create`).
- A conflict → stop and show it; never resolve it by guessing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.