agentleFS
Jamie-BitFlightJamie-BitFlight/claude_skills/.claude/skills/modern-git/SKILL.md

modern-git

Skill67 starsChanged 51 days agoMITView on GitHub

Modern Git workflows, best practices, and commands. Use when the user asks about Git branch management (git switch vs checkout), file restoration (git restore), fixup commits, autosquash rebasing, git worktrees, rerere, force-with-lease, repository cleanup (git clean, stale branches, bloat analysis), history navigation (revision syntax, range notation, pickaxe search), recommended global git config, or GitButler and the but CLI.

The file

Files
SKILL.md

Modern Git

Full reference: ./references/git-workflows.md — read it when answering any question this skill covers.

Quick Navigation

TopicSection
git switch / git restore (replace checkout)§1
Topic branches, throw-away branches, merge-upwards§2
Fixup commits, autosquash, worktrees§3
rerere, native GitButler alternatives§4
Recommended global config§5
--force-with-lease, pickaxe, git maintenance§6
Repo cleanup, bloat analysis, stash, .mailmap§7
Command cheat sheet§8
Revision syntax, range notation, reflog§9
GitButler desktop + but CLI install§10

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.