git-ops
Skill1 starsChanged 9 months agoMITView on GitHub
Git operations for local repos and GitHub workflows. Use when Codex needs to inspect repo state, craft commits, manage branches, rebase/merge safely, or decide on Git/GitHub commands (including gh usage) while following safety constraints and commit conventions.
- Deletes or force-pushes
- Commits and pushes
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Crawford-Young/claude-configtheir own version, first seen Oct 25, 2026
- rohinipachanta/claude-code-quickstarttheir own version, first seen Oct 13, 2026
- ksed8/cc-loopkittheir own version, first seen Jul 8, 2026
- evyatarv/claude-skillstheir own version, first seen May 28, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- evyatarv/claude-skills★ 1same name
- ksed8/cc-loopkit★ 1same name
- rohinipachanta/claude-code-quickstart★ 1same name
- Crawford-Young/claude-config★ 0same name
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 repository13 other files it gives its agents.
- axum-single-page-uiSkill
- feishuSkill
- frontend-designSkill
- gui-automationSkill
- macos-gui-automationSkill
- mermaidSkill
- npmSkill
- playrightSkill
- playwright-cliSkill
- pythonSkill
- python-uvSkill
- rust-coding-styleSkill
- youtrackSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 12 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use git status -sb and git diff to understand current changes.
- Distinctive: line 16
Avoid touching unrelated user changes.
- Distinctive: line 21
Prefer non-destructive operations and reversible steps.
- Distinctive: line 22
Avoid git reset --hard or git checkout -- unless explicitly requested.
- Distinctive: line 23
Do not amend commits unless explicitly requested.
- Distinctive: line 27
If a command would rewrite history (rebase, amend, force push), require explicit user intent.
- Distinctive: line 32
Check commit message patterns in history first.
- Distinctive: line 33
If no pattern exists, use Conventional Commits.
- Very specific: line 50
Prefer the gh CLI when interacting with GitHub.
- Distinctive: line 55
Default to Conventional Commits when no clear pattern exists.
- Distinctive: line 59
Prefer fast-forward updates, then rebase, then merge (in that order).
- Distinctive: line 60
Do not recommend or execute history-rewriting commands unless explicitly requested.
- Distinctive: line 65
Treat deleting files/directories, rebuilding databases, git reset --hard, and git push --force as destructive.
“Common” is measured: kept by at least 6 in 10 of the 3 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 Ops
Overview
Handle routine Git operations with safety-first constraints, clear commit messaging, and minimal history risk.
Workflow
- Inspect repo state
- Use
git status -sbandgit diffto understand current changes. - Avoid touching unrelated user changes; never revert changes you did not make.
- Ignore unexpected changes you did not make and do not include them in your commits.
- Assume other users or agents may be working concurrently; never interrupt, include, or alter their in-progress work unless explicitly instructed.
- Choose the safest path
- Prefer non-destructive operations and reversible steps.
- Avoid
git reset --hardorgit checkout --unless explicitly requested. - Do not amend commits unless explicitly requested.
- Apply changes
- Stage only relevant files.
- If a command would rewrite history (rebase, amend, force push), require explicit user intent.
- For partial staging,
git add -p. - Otherwise,
git addis fine for files you fully own in the current task.
- Create commits
- Check commit message patterns in history first.
- If no pattern exists, use Conventional Commits.
feat: A new feature
fix: A bug fix
docs: Documentation only changes
style: Changes that do not affect the meaning of the code (white-space, formatting, missing
chore: Changes to the build process or auxiliary tools and libraries such as documentation generation)
refactor: A code change that neither fixes a bug nor adds a feature
perf: A code change that improves performance
test: Adding missing tests or correcting existing tests
feat(certain-module): A new feature in a specific module
fix(certain-module): A bug fix in a specific module
...- GitHub interactions
- Prefer the
ghCLI when interacting with GitHub.
Commit Conventions
- Inspect prior commits to mirror existing style.
- Default to Conventional Commits when no clear pattern exists.
Rebase/Merge Guidance
- Prefer fast-forward updates, then rebase, then merge (in that order).
- Do not recommend or execute history-rewriting commands unless explicitly requested.
Destructive-Operation Gate
- Warn before destructive operations and provide safer alternatives.
- Treat deleting files/directories, rebuilding databases,
git reset --hard, andgit push --forceas destructive. - Confirm explicit intent before executing irreversible actions.
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.

