commit
Skill25 starsChanged 3 months agoApache-2.0View on GitHub
Stage relevant files and create a well-formed git commit for the docs-builder repo. Use this when the user asks to commit changes, save work, or create a commit.
- Reads credentials
193 other projects use a version of this, 5 of them edited.
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 9 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
luischanciSkillvalidate-bib
Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.
Also in 3 projects that use this
skilluseSkillepic
Create and manage Epics - collections of related issues for major feature areas. Use when starting a new project(big feature), organizing work into themes, or adding reference documents.
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 · 5
- elastic/ai-dotnet★ 2181% same
- elastic/elastic-transport-net★ 2181% same
- elastic/elastic-ingest-dotnet★ 981% same
- elastic/docs-actions★ 581% same
- elastic/elastic-aspire-dotnet★ 381% same
Wrote their own version · 188
- 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
178 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 repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- feature-flagSkill
- issueSkill
- lintSkill
- mcp-searchSkill
- prSkill
- style-reviewSkill
- testSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read .claude/skills/writing-style.md before writing the commit message.
- Very specific: line 25
Do not run git config yourself.
- Distinctive: line 49
Always pass the message via HEREDOC to avoid shell escaping issues:
- Distinctive: line 68
If a hook fails:
- Distinctive: line 69
Read the error output carefully
- Very specific: line 72
Create a new commit — never git commit --amend for a failed commit, and never use --no-verify
“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 Skill
Read .claude/skills/writing-style.md before writing the commit message.
Creates a clean, well-formed commit following the docs-builder project conventions.
Steps
1. Install Husky hooks if missing
Skip this step if .husky/_/husky.sh already exists. That file is generated by dotnet husky install and is gitignored, so a fresh worktree will not have it.
if [ ! -f .husky/_/husky.sh ]; then
dotnet tool restore
dotnet husky install
fiDo not run git config yourself. Do not use --no-verify.
2. Understand what changed
git status
git diff
git diff --staged
git log --oneline -53. Stage files
Stage specific files by name — never git add -A or git add . blindly. Exclude:
.envfiles or anything with secrets/credentials- Large binaries not already tracked
- Unrelated changes to the task at hand
4. Write the commit message
- First line: Imperative mood, ≤72 chars, no trailing period. Front-load the outcome — a reader scanning
git logsees this line only. - Body (optional): One short paragraph explaining why, not what. Skip if the title is self-explanatory. Follow the sentence mechanics in
writing-style.md. - Trailer: Add a
Co-Authored-By:line that identifies the model that helped write this commit. Use whatever attribution feels accurate — the model name you know yourself to be running as, or simplyClaudeif you are uncertain. The address is alwaysnoreply@anthropic.com. The point is honest attribution, not a precise version string.
Always pass the message via HEREDOC to avoid shell escaping issues:
git commit -m "$(cat <<'EOF'
Title here
Optional body explaining why.
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"5. Handle hook failures
This project uses Husky.Net git hooks:
- pre-commit: runs prettier, eslint, typescript-check
- pre-push: runs dotnet-lint
If a hook fails:
- Read the error output carefully
- Fix the underlying issue (run
/lintif it's a formatting problem) - Re-stage the affected files
- Create a new commit — never
git commit --amendfor a failed commit, and never use--no-verify
6. Verify success
git statusConfirm a clean working tree.
7. Refresh the PR description if one exists
gh pr view --json number,url,isDraft,baseRefName --jq '{number,url,isDraft,baseRefName}' 2>/dev/null- No PR → done. Say nothing.
- PR exists → compare the current body against the current diff versus the PR's base branch. A PR description always describes the current diff against the base branch. It is never a log of the commits on the branch and never records the direction the work took. If any section (
## What,## Verify,**Affects:**, label) no longer describes that diff, the description is stale. - Stale description → read and follow pr's update path (step 7). Do not hand-edit the body inline from the commit skill. State plainly what was refreshed.
- Still accurate → state that the description is still accurate. No edit 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.

