commit
Skill5 starsChanged 56 days agoMITView on GitHub
Create or amend a Git commit with author verification, diff review, and a conventional message. Use only when the user explicitly asks to commit or amend changes.
- Reads credentials
193 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- tam159/next-roletheir own version, first seen Oct 4, 2026
- angusfretwell/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use create-branch, review-r and 10 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.
SentrySkillcreate-branch
Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a branch", "switch to a new branch", or when starting new work on the default branch.
Also in 4 projects that use this
luischanciSkillreview-r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Also in 3 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
MicrosoftSkillgenerate-run-commands
Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.
Also in 3 projects that use this
AWSSkillissue
Implement a GitHub issue end-to-end — branch, code, test, docs, and commit.
Also in 9 projects that use this
luischanciSkillvalidate-bib
Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.
Also in 3 projects that use this
- +2 more from luischanci
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- microsoft/vscode★ 196ksame name
- ToolJet/ToolJet★ 41ksame name
- openai/symphony★ 28ksame name
- EverMind-AI/EverOS★ 13ksame name
- GetStream/Vision-Agents★ 8.1ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- Windy3f3f3f3f/claude-code-from-scratch★ 2.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- bubblelabai/BubbleLab★ 1.1ksame name
183 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 repository16 other files it gives its agents.
- closeSkill
- cloudflare-private-static-siteSkill
- debate-claudeSkill
- debateSkill
- delegateSkill
- eli5Skill
- email-triageSkill
- friction-triageSkill
- issuesSkill
- m5-delegateSkill
- magnus-security-reviewSkill
- presentifySkill
- review-pr-codexSkill
- ship-itSkill
- ticket-fleetSkill
- user-test-memorySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create clean, well-documented git commits with safety checks.
- Distinctive: line 26
Do NOT silently fix it — the user should decide whether to update the config or commit under the current identity.
- Very specific: line 48
No files in secrets/ are staged
- Very specific: line 49
No files with key, secret, or token in the name are staged (unless they're clearly code files)
- Distinctive: line 51
If any are found, warn and stop.
- Distinctive: line 55
If no message was provided, draft one:
- Very specific: line 56
Use conventional commit format: type: description
- Distinctive: line 58
Keep the first line under 72 characters
- Distinctive: line 59
Add a body paragraph if the change is non-trivial
- Very specific: line 60
Always end with: Co-Authored-By: Claude <assistant> <noreply@anthropic.com> (use the current model name)
- Distinctive: line 71
Use a heredoc for multi-line messages.
- Very specific: line 81
Never use --no-verify; respect pre-commit hooks.
- Distinctive: line 84
Verify author identity; stop on an unexpected identity without silently changing configuration.
“Common” is measured: kept by at least 6 in 10 of the 174 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
/commit - Standardized Git Commit
Create clean, well-documented git commits with safety checks.
Usage
/commit- Stage, review, commit, and optionally push/commit <message>- Commit with a specific message (still runs safety checks)/commit amend- Amend the explicitly requested commit
Workflow
Step 1: Verify Author Identity
git config user.name
git config user.email- The user's expected
user.nameanduser.emailshould be configured in their global~/.gitconfigor in the repo's.git/config. Ifgit config user.emailreturns an unexpected value (e.g. a CI/bot email, or empty), warn the user before proceeding. - Do NOT silently fix it — the user should decide whether to update the config or commit under the current identity.
Step 2: Review Changes
Run in parallel:
git status
git diff --stat
git diff --staged --statPresent a summary:
- Files modified (staged vs unstaged)
- Files added/deleted
- Untracked files that might need staging
Stage specific task-owned files within the requested commit scope. Preserve unrelated staged and unstaged changes; ask only when ownership or scope is unclear. Inspect the exact staged diff before committing, including any pre-existing staged content. Do not include unrelated staged content in this commit or unstage it without authorization.
Step 3: Security Check
Before committing, verify:
- No
.env,credentials.json,token.json, orclient_secret_*.jsonfiles are staged - No files in
secrets/are staged - No files with
key,secret, ortokenin the name are staged (unless they're clearly code files)
If any are found, warn and stop. Do not commit.
Step 4: Write Commit Message
If no message was provided, draft one:
- Use conventional commit format:
type: description - Types:
feat,fix,docs,refactor,test,chore,style - Keep the first line under 72 characters
- Add a body paragraph if the change is non-trivial
- Always end with:
Co-Authored-By: Claude <assistant> <noreply@anthropic.com>(use the current model name)
Show the proposed message and staged diff summary, then commit under the existing request. Ask again only when the user required message approval or a material scope decision remains.
Step 5: Commit
git add <files>
git commit -m "<message>"Use a heredoc for multi-line messages.
Step 6: Post-Commit
Show the commit hash and summary. Push only when the owner has explicitly authorized publication in this task, after previewing the exact remote, branch, and concise diff. Otherwise report the local commit as complete.
Key Rules
- Publication needs explicit owner authorization; reuse authorization already given for this task.
- Amend only the owner-requested commit. Rewriting published history needs explicit authorization for that action and target.
- Never use
--no-verify; respect pre-commit hooks. - Stage specific files and preserve unrelated work.
- Inspect the exact staged diff and report what was committed.
- Verify author identity; stop on an unexpected identity without silently changing configuration.
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.

