commit
Skill1 starsChanged 9 months agoMITView on GitHub
Use when preparing and creating a git commit — analyzes staged changes, runs linters, and composes a clear commit message
- Reads credentials
- Commits and pushes
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
- Magnus-Gille/claude-skillstheir 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
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 repository4 other files it gives its agents.
- diagnose-requestSkill
- html-to-wp-fseSkill
- prepare-prSkill
- wordpress-plugins-repo-worktreesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 17 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
17
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
- could be automatic: a setting could enforce it
- Distinctive: line 12
Run these commands to understand the current state:
- Distinctive: line 22
Ensure the staged changes are:
- Distinctive: line 24
Complete: All necessary files are staged
- Distinctive: line 25
Clean: No debug code, console.logs, or commented-out code
- Distinctive: line 28
If changes appear unrelated or too large, suggest splitting into multiple commits.
- Distinctive: line 32
Check what types of files are staged:
- Distinctive: line 40
Look for linter configurations in the project:
- Distinctive: line 46
Run appropriate linters based on what's configured.
- Distinctive: line 47
STOP: - Do not proceed with the commit
- Distinctive: line 49
Offer to auto-fix: if available
- Distinctive: line 51
Only proceed: when all linters pass
- Very specific: line 55
If the user explicitly requests to skip linting (e.g., --no-lint), warn them that this is not recommended and proceed only with their …
- Distinctive: line 73
Use imperative mood ("Fix bug" not "Fixed bug")
- Distinctive: line 76
No period at the end
- Distinctive: line 118
If the user provided a message via $ARGUMENTS, use it as the basis for the commit message.
- Distinctive: line 146
Never amend commits without explicit user request
- Distinctive: line 148
Never commit sensitive data (.env files, API keys, credentials)
- Distinctive: line 149
If pre-commit hooks fail, help fix the issues and create a NEW commit
“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 Preparation
Prepare and create a well-structured commit.
Step 1: Analyze Current State
Run these commands to understand the current state:
git status
git diff --staged
git branch --show-currentStep 2: Review Staged Changes
Ensure the staged changes are:
- Focused: Related to a single logical change
- Complete: All necessary files are staged
- Clean: No debug code, console.logs, or commented-out code
- Appropriate: Match the branch's purpose
If changes appear unrelated or too large, suggest splitting into multiple commits.
Step 3: Run Linters (If Available)
Check what types of files are staged:
git diff --staged --name-onlyDetect Project Linters
Look for linter configurations in the project:
package.json→ check forlintscriptscomposer.json→ check forphpcsor similar.eslintrc*,biome.json,.prettierrc→ JS/TS lintingphpcs.xml*→ PHP linting
Run appropriate linters based on what's configured. If linters fail:
- STOP - Do not proceed with the commit
- Show the errors to the user clearly
- Offer to auto-fix if available
- After fixes, re-run linters to verify
- Only proceed when all linters pass
Skip Linting (Emergency Only)
If the user explicitly requests to skip linting (e.g., --no-lint), warn them that this is not recommended and proceed only with their confirmation.
Step 4: Compose Commit Message
Format
{Clear, revealing subject line} (max 72 chars)
{Optional body explaining what and why, wrapped at 72 chars}
Co-Authored-By: Claude <noreply@anthropic.com>Guidelines
- Subject line (most important):
- Be clear and revealing - the reader should understand the change without reading the diff
- Use imperative mood ("Fix bug" not "Fixed bug")
- Keep under 72 characters
- Capitalize first letter
- No period at the end
- Focus on what the change accomplishes, not how
- Body (optional but recommended for complex changes):
- Explain what changed and why
- Wrap at 72 characters
- Separate from subject with blank line
Good vs Bad Subject Lines
| Bad (vague) | Good (revealing) |
| Fix bug | Fix datepicker dropdown spacing regression |
| Update styles | Remove gap between datepicker trigger and popup |
| Changes to reports | Add min-height to report container |
| Refactor code | Extract date range logic into useDateRange composable |
| WIP | Add product performance metrics to dashboard |
Examples
Bug fix:
Fix datepicker dropdown spacing regression
Remove the 6px margin-top gap between the datepicker trigger and popup,
add min-height to container to ensure datepicker fits.
Co-Authored-By: Claude <noreply@anthropic.com>Feature addition:
Add product performance report to dashboard
Introduces a new report showing product-level metrics including
revenue, quantity sold, and conversion rates.
Co-Authored-By: Claude <noreply@anthropic.com>Step 5: Create the Commit
If the user provided a message via $ARGUMENTS, use it as the basis for the commit message.
Otherwise, compose an appropriate message based on:
- The staged changes (to describe what changed)
- The branch name (for context)
- Recent commit history (to match style)
Create the commit:
git commit -m "$(cat <<'EOF'
{Clear, revealing subject}
{Body if needed}
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"Step 6: Post-Commit
After committing:
- Show the commit with
git show --stat HEAD - Remind user to push when ready:
git push -u origin {branch}
Important Notes
- Never amend commits without explicit user request
- Never force push
- Never commit sensitive data (.env files, API keys, credentials)
- If pre-commit hooks fail, help fix the issues and create a NEW commit
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.

