askill
git-agents

git-agentsSafety 95Repository

Search Git best practices, workflows, and commands across 8 domains — commits, branching, merging, history, remotes, hooks, debugging, and workflows. Use this skill when working with Git operations, resolving conflicts, writing commit messages, managing branches, or setting up automation.

0 stars
1.2k downloads
Updated 3/4/2026

Package Files

Loading files...
SKILL.md

Git Agents Skill

A searchable knowledge base of Git best practices, commands, and patterns organized across 8 domains. Uses BM25 full-text search to return the most relevant entries for a given query.

Usage

# Search a specific domain
python .shared/git-agents/scripts/search.py "squash commits before merge" --domain commits

# Auto-detect domain from query
python .shared/git-agents/scripts/search.py "undo last commit keep changes"

# Limit results
python .shared/git-agents/scripts/search.py "rebase vs merge" --domain merging -n 2

Domains

Domain--domain flagCovers
CommitscommitsWriting messages, amending, squashing, signing
BranchingbranchingNaming, strategies, protection, deletion
MergingmergingMerge vs rebase, squash, conflict resolution
HistoryhistoryLog, blame, bisect, reflog, searching
RemotesremotesPush, pull, fetch, forks, upstream tracking
Hookshookspre-commit, commit-msg, pre-push, CI integration
DebuggingdebuggingBisect, stash, patch, cherry-pick, recovery
WorkflowsworkflowsGitflow, trunk-based, PR process, tagging, releases

When to Use This Skill

  • Before writing a commit message (search commits)
  • When planning a branching strategy (search branching)
  • When resolving a conflict or choosing merge vs rebase (search merging)
  • When you need to find something in the history (search history)
  • When setting up remote tracking or forks (search remotes)
  • When automating checks with hooks (search hooks)
  • When recovering from a mistake or debugging broken state (search debugging)
  • When defining a team workflow or release process (search workflows)

How to Read Results

Each result includes:

  • Command/Pattern Name — what to call this technique
  • Keywords — terms to search with
  • Description — what it does and why
  • When to Use — concrete scenarios
  • Command Example — exact Git commands
  • Gotchas — known caveats or dangerous misuses
  • Docs URL — link to official docs

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

82/100Analyzed 3/10/2026

Well-structured Git knowledge base skill with clear usage examples, domain organization, and practical guidance. Provides searchable best practices across 8 Git domains. Slightly limited by being tied to a specific script path, but offers good actionability and clarity for Git operations reference.

95
90
65
75
85

Metadata

Licenseunknown
Version-
Updated3/4/2026
Publisherleodyversemilla07

Tags

ci-cdgithub-actions