git
Skill88 starsChanged 7 months agoMITView on GitHub
Specialized git operations — semantic commits, PR descriptions, branch management, conflict resolution guidance. Replaces ad-hoc git commands with a dedicated, convention-aware utility.
- Commits and pushes
37 other projects use a version of this.
Adopted by
Most recently taken up by
- tsukhani/jclawtheir own version, first seen Oct 5, 2026
- ROCm/rocprofiler-systems-skillstheir own version, first seen Sep 30, 2026
- Conceptual-Machines/magda-coretheir own version, first seen Sep 28, 2026
- therealtinhtute/mono-harnesstheir own version, first seen Sep 27, 2026
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- kaiohenricunha/dotbabeltheir own version, first seen Sep 24, 2026
Used with
Projects with it also use sql, api and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
thechandanbhagatSkillsql
Write SQL queries, optimize database performance, design schemas, and debug SQL issues. Use for database operations, query optimization, and schema design.
Also in 3 projects that use this
xiaobei930Skillapi
RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
Also in 3 projects that use this
mrgoonieSkilldevops
Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.
Also in 3 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 5 projects that use this
0xSeroSkillsecurity
Also in 4 projects that use this
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 4 projects that use this
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- Conceptual-Machines/magda-core★ 229same name
- matteing/opal★ 61same name
- maragudk/skills★ 49same name
- xiaobei930/cc-best★ 48same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- hyperb1iss/hyperskills★ 35same name
- tsukhani/jclaw★ 19same name
- jmylchreest/aide★ 18same name
- cfircoo/claude-code-toolkit★ 17same name
- kecoma1/MQL5-SKILLS★ 17same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adversarySkill
- asset-creatorSkill
- auditSkill
- autopsySkill
- baSkill
- brainstormSkill
- browser-pilotSkill
- completion-gateSkill
- constraint-checkSkill
- context-engineSkill
- context-packSkill
- convergeSkill
- cookSkill
- councilSkill
- dbSkill
- debugSkill
- dependency-doctorSkill
- deploySkill
- designSkill
- diagramSkill
- doc-processorSkill
- docs-seekerSkill
- docsSkill
- fixSkill
- graftSkill
- hallucination-guardSkill
- improve-architectureSkill
- incidentSkill
- integrity-checkSkill
- journalSkill
- launchSkill
- logic-guardianSkill
- marketingSkill
- mcp-builderSkill
- neural-memorySkill
- onboardSkill
- perfSkill
- planSkill
- preflightSkill
- problem-solverSkill
- quarantineSkill
- rescueSkill
- researchSkill
- retroSkill
- review-intakeSkill
- reviewSkill
- safeguardSkill
- sastSkill
- scaffoldSkill
- scope-guardSkill
- scoutSkill
- sentinel-envSkill
- sentinelSkill
- sequential-thinkingSkill
- session-bridgeSkill
- skill-forgeSkill
- skill-routerSkill
- slidesSkill
- surgeonSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 14 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 69
Read git diff --staged and git status.
- Distinctive: line 97
If > 5 files changed → add body with bullet summary
- Very specific: line 98
If breaking change detected (removed export, changed API signature, schema change) → add !
- Very specific: line 112
Run git commit with the generated message.
- Very specific: line 118
Read ALL commits on the current branch vs base branch using git log <base>..HEAD and git diff <base>...HEAD.
- Distinctive: line 120
Do NOT just look at the latest commit — PRs include ALL branch commits.
- Very specific: line 142
Run gh pr create with generated title and body.
- Very specific: line 161
Run git checkout -b <branch-name> from current branch.
- Very specific: line 167
Read commits since last tag (git log $(git describe --tags --abbrev=0)..HEAD) or since specified reference.
- Distinctive: line 193
Create a version tag with release artifacts.
- Distinctive: line 207
Check git tag -l to ensure version doesn't already exist.
- Distinctive: line 211
Changelog: Run Changelog Mode to generate entries since last tag
- Very specific: line 212
Version bump: Update version in package.json, pyproject.toml, Cargo.toml, or equivalent
- Very specific: line 232
If deploy reports customer email list available (via rune-pay /admin/emails), flag for notification.
- Distinctive: line 294
MUST use conventional commit format — no freeform messages
- Distinctive: line 295
MUST analyze full diff before generating message — don't guess from file names alone
- Distinctive: line 296
MUST detect breaking changes — missing BREAKING CHANGE footer causes downstream issues
- Very specific: line 297
MUST NOT use --no-verify — if hooks fail, report and fix
- Distinctive: line 298
MUST NOT force push unless explicitly requested by user
- Distinctive: line 300
MUST respect project's existing commit conventions if detected (check recent git log)
- Distinctive: line 320
Commit executed (or failure reported)
- Distinctive: line 323
All branch commits analyzed (not just latest)
- Distinctive: line 333
All commits since last tag grouped by type
“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
cookPhase 7 for commit creation - Called by
scaffoldPhase 8 for initial commit - Called by
teamfor parallel branch/PR management - Called by
docsfor changelog generation - Called by
launchfor 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 implementationscaffold(L1): Phase 8 — initial commit with generated projectteam(L1): parallel PR management across workstreamslaunch(L1): release tagging and changelogdocs(L2): changelog generation sub-workflow- User:
/rune gitdirect 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:
| Type | Signal | Prefix |
| New feature | New files, new exports, new routes | feat |
| Bug fix | Changed logic in existing code, test fix | fix |
| Refactor | Structural change, no behavior change | refactor |
| Test | Only test files changed | test |
| Documentation | Only .md, comments, JSDoc changed | docs |
| Build/CI | Config files, CI pipelines, Dockerfile | chore |
| Performance | Optimization, caching, query improvement | perf |
Step 2 — Detect Scope
Extract scope from file paths:
src/auth/*→ scope:authsrc/components/Button.tsx→ scope:uiapi/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 andBREAKING 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 cookieStep 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
## 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:
## [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
- Changelog: Run Changelog Mode to generate entries since last tag
- Version bump: Update version in
package.json,pyproject.toml,Cargo.toml, or equivalent - Release notes: Summarize changes for GitHub Release body
Step 3 — Tag and Push
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 --tagsStep 4 — Create GitHub Release
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
## [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, releaseConstraints
- MUST use conventional commit format — no freeform messages
- MUST analyze full diff before generating message — don't guess from file names alone
- MUST detect breaking changes — missing BREAKING CHANGE footer causes downstream issues
- MUST NOT use
--no-verify— if hooks fail, report and fix - MUST NOT force push unless explicitly requested by user
- PR mode MUST analyze ALL commits on branch, not just the latest
- MUST respect project's existing commit conventions if detected (check recent git log)
Sharp Edges
| Failure Mode | Severity | Mitigation |
| Commit message doesn't match actual changes | HIGH | Step 1 reads full diff, not just file names |
| PR description covers only last commit | HIGH | Step 1 reads ALL commits on branch |
| Missing breaking change detection | HIGH | Check: removed exports, changed function signatures, schema changes |
| Branch name too long or has special characters | LOW | Max 50 chars, kebab-case only |
| Force push without user consent | CRITICAL | Constraint 5: never force push unless explicitly requested |
| Ignoring project's existing conventions | MEDIUM | Check 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.
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
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.

