vibe-git
Skill1 starsChanged 6 months agoMITView on GitHub
Clean git workflow for vibecoders — branch check, meaningful commit message, upload to GitHub, and optional PR description. Prevents the "update" commit history problem.
- Reads credentials
- Installs packages
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- MokammelTanvir/VibeDisciplinetheir own version, first seen Nov 22, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- MokammelTanvir/VibeDiscipline★ 1same 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 repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- vibe-authSkill
- vibe-checkSkill
- vibe-cleanSkill
- vibe-dbSkill
- vibe-debugSkill
- vibe-docsSkill
- vibe-envSkill
- vibe-explainSkill
- vibe-guardianSkill
- vibe-handoffSkill
- vibe-healthSkill
- vibe-launchSkill
- vibe-logSkill
- vibe-monitorSkill
- vibe-onboardSkill
- vibe-oopsSkill
- vibe-perfSkill
- vibe-planSkill
- vibe-rollbackSkill
- vibe-scopeSkill
- vibe-secretSkill
- vibe-skepticSkill
- vibe-stuckSkill
- vibe-testSkill
- vibe-thinkSkill
- vibe-upgradeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 12 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
4
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 12
After finishing and verifying a feature or fix (after /vibe-test)
- Distinctive: line 13
When you want to push to GitHub
- Distinctive: line 14
When opening a pull request
- Distinctive: line 28
If the command fails or shows no output: stop.
- Very specific: line 31
If yes: check for .env files first.
- Distinctive: line 33
If on main or master: stop.
- Distinctive: line 41
If on a feature branch: confirm it's the right one.
- Distinctive: line 54
Check for things that should never be committed:
- Very specific: line 60
If any of those are present, stop and address them before proceeding.
- Distinctive: line 66
Commit messages follow the Conventional Commits format — a short convention used by developers to make history scannable.
- Distinctive: line 124
If the push fails because the remote branch has changes: do not force push.
- Very specific: line 128
Never suggest --force unless explicitly asked and the consequences are explained.
- Distinctive: line 132
Create a PR if: (a) this branch will be merged into main by someone else, or (b) you want a review before merging.
- Distinctive: line 134
If this branch should become a PR, draft the description:
- Distinctive: line 147
Ask: "Want me to open the PR now, or just prepare the description?"
- Very specific: line 149
If yes, I'll check whether gh (the GitHub CLI) is installed and create the PR — you don't need to run anything.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vibe-git
Clean git workflow after a session. "update", "fix", and "changes" in git history make it impossible to know what happened when something breaks. This skill produces commits you can actually read six months from now.
When to use
- After finishing and verifying a feature or fix (after /vibe-test)
- When you want to push to GitHub
- When opening a pull request
Process
Step 1 — Branch check
I'll run:
git branch --show-currentIf the command fails or shows no output: stop. This project doesn't have git set up yet. Say:
"This project doesn't have git set up yet. Want me to initialize it? Takes one command."
If yes: check for .env files first. If any exist, ensure .gitignore includes .env before the first add — initial commits are the most common place secrets get accidentally committed. Then: git init && git add -A && git commit -m "initial commit", and continue from Step 2.
If on main or master: stop. Do not commit directly to main.
git checkout -b feature/[short-description]Name the branch after what you built: feature/email-settings-page, fix/login-redirect-loop, chore/update-dependencies. Short, descriptive, words-separated-by-dashes — typically 2-4 words. The goal is recognizability, not a word count. No "update" or "changes."
If on a feature branch: confirm it's the right one. If it's been open for more than a week with no commits, ask whether this should be a new branch instead.
Step 2 — Review what's changing
I'll run:
git diff --stat
git statusShow the user what's staged and unstaged. For each changed file, translate it to user-facing terms — not "modified src/auth/login.js" but "login page behavior."
Check for things that should never be committed:
.envfilesnode_modules/*.logfiles- Any file containing a real password or API key
If any of those are present, stop and address them before proceeding. If .env isn't in .gitignore, add it now.
Step 3 — Write the commit message
I'll write the commit message for you — just tell me what you changed in plain terms and I'll format it correctly. Show it to you before committing; you can adjust it.
Commit messages follow the Conventional Commits format — a short convention used by developers to make history scannable. The format is:
type(scope): what changed, in plain English
[optional: one sentence on why, if not obvious]Types:
feat— something new that users can see or dofix— something broken that now worksrefactor— code reorganization, nothing visible changedperf— measurable improvement to speed or memorytest— adding or updating tests, nothing in production changedchore— dependencies, config, toolingdocs— documentation only
Scope — the area of the app in one word: auth, settings, payments, dashboard, api.
The message — imperative tense, plain English, under 72 characters:
- ✅
feat(settings): add email change form with confirmation step - ✅
fix(auth): redirect to login when session expires instead of crashing - ❌
update settings - ❌
fixed the bug - ❌
changes
Draft the message and show it to the user before committing. If they want to adjust it, do so.
If git status shows changes across unrelated concerns (e.g., a bug fix AND a dependency update AND a config change): split into separate commits. Run git add [specific-files] for each logical group and commit them separately — one commit per concern. Example: if git diff --stat shows both auth/login.js and package.json changed, those are likely unrelated — one is a feature/fix, the other is a dependency update. Stage and commit them separately.
Step 4 — Commit
This is the real commit with a proper message. If a checkpoint commit was already made earlier in the session, this supersedes it — create a new commit with the message drafted in Step 3.
I'll run these three commands in order. The middle line does nothing if .env is already in .gitignore — it's an extra safety step that makes sure secrets can't slip through:
git add -A
git restore --staged .env 2>/dev/null # drop .env from staging, even if .gitignore should have caught it
git status # verify .env is not staged before committingOnce git status confirms .env is clean, I'll commit:
git commit -m "[drafted message]"Step 5 — Push
I'll run:
git push -u origin [branch-name]This uploads your code to GitHub. (The -u flag means future pushes from this branch work with just git push — no need to repeat the full command.)
If the push fails because the remote branch has changes: do not force push. Explain what diverged and offer:
- Pull and merge:
git pull origin [branch] - Pull and rebase:
git pull --rebase origin [branch]
Never suggest --force unless explicitly asked and the consequences are explained.
Step 6 — Pull request (if pushing to a shared repo or main branch)
Create a PR if: (a) this branch will be merged into main by someone else, or (b) you want a review before merging. If you're the only developer and you're merging immediately, a PR is optional — git merge and push directly.
If this branch should become a PR, draft the description:
## What changed
[2-3 bullets — user-facing changes, not file names]
## How to test
[The happy path steps from /vibe-test, or a short equivalent]
## What's not included
[Anything deliberately left out of this PR]Ask: "Want me to open the PR now, or just prepare the description?"
If yes, I'll check whether gh (the GitHub CLI) is installed and create the PR — you don't need to run anything. If gh isn't installed yet, I'll let you know:
- Mac:
brew install gh, then rungh auth loginonce to connect to GitHub - Other: visit cli.github.com
gh pr create --title "[commit message]" --body "[description]"Verification checklist
- Not on main/master
- No
.envor secrets in the staged files - Commit message uses a valid type, has a scope, and describes what changed in plain English
- Code uploaded to GitHub successfully
- If PR: description has what changed, how to test, and what's not included
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.

