Skip to content
Back to skills

Git Delivery

ASecurity

Commit, push, release (Conventional Commits, git-cliff), branches, worktrees, conflicts, Lefthook hooks.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsgitdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add fmind/dot --skill git-delivery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Delivery?

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

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

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-delivery
description: "Commit, push, release (Conventional Commits, git-cliff), branches, worktrees, conflicts, Lefthook hooks."
license: MIT
metadata:
  kind: task
  author: Médéric HURIER (Fmind)
  source: github.com/fmind/dot/tree/main/skills/git-delivery
  created: "2026-09-16"
  updated: "2026-11-29"
---

# Git Delivery

Deliver only authorized changes while preserving the index, branch state, and enabled hooks across branching, commits, pushes, and releases.

## Workflow

1. **Confirm authority and target branch**: inspect the active branch and unmerged work before switching; never overwrite existing branches or move unrelated commits. History investigation stays read-only (fetch into an isolated clone and bisect in a disposable worktree); pulling or rewriting history requires authority.
1. **Match the requested boundary**: commit-only requests keep the staged selection and stop at `git commit`; delivery requests stage and push only intended changes without publishing a release.
1. **Select branch, PR, or release mode**: follow [git-worktree](references/git-worktree/GUIDE.md) and [pull-request](../github/references/pull-request.md) when requested; for releases, prefer the repository's native release task over manual steps.
1. **Verify delivery**: confirm the exact SHA, remote ref, and publication level while keeping published tags immutable and hooks enabled.

## Commit messages

- **Write Conventional Commits with _why_ context when non-trivial**: `<type>(<scope>): <description>` using `feat`, `fix`, `chore`, `docs`, `refactor`, `test`, `perf`, `ci`, `build`, `style`, or `revert` — imperative, `<72` chars, `!` before `:` for breaking changes, an optional concise body explaining root cause, trade-offs, or migration notes on non-trivial changes, and zero AI attribution or `Co-authored-by` trailers.
- **Commit only staged changes**: never auto-stage unrelated files; report hook failures or empty indexes without amending.
- **Keep `git lfs` and tags explicit**: never run `git lfs install` globally or auto-fetch/upload LFS blobs without repo confirmation; avoid `push.followTags=true` or `--follow-tags` (push explicit `"refs/tags/$tag"` only when releasing).

## Task guides

<!-- guides:start -->

- [git-add-commit-push](references/git-add-commit-push.md): Stage, commit, push, and recover hook failures within the authorized scope.
- [git-worktree](references/git-worktree/GUIDE.md): Create Git branches, worktrees, or isolated snapshots of uncommitted work.
- [lefthook](references/lefthook.md): Configure local Lefthook Git hooks via mise tasks.
- [release](references/release/GUIDE.md): Prepare, publish when requested, or verify versioned releases.
- [resolve-conflicts](references/resolve-conflicts.md): Resolve Git merge or rebase conflicts by both sides' intent; verify the result.

<!-- guides:end -->

## Documentation

- [Git reference](https://git-scm.com/docs) · [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) · [git-cliff](https://git-cliff.org/docs/) · [Git LFS](https://git-lfs.com/) · [git-cliff releases](https://github.com/orhun/git-cliff/releases)
- Companions: [github](../github/SKILL.md), [full-review](../full-review/SKILL.md).

Files in this skill

  • SKILL.md1.8 KB
  • references/conventional-commit.md2.2 KB
  • references/git-add-commit-push.md3 KB
  • references/release/GUIDE.md2.4 KB
  • references/release/references/publish.md1.9 KB
  • references/release/references/verify-assets.md1.2 KB
  • references/release/references/verify.md2.2 KB
  • references/release/references/versioning.md1006 B

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.