writing-git-commits
Skill1 starsChanged 3 months agoMITView on GitHub
Use when committing, staging, or splitting changes into commits (or about to run `git commit`) — keeps commit messages short and readable, splits work into one logical unit per commit, and avoids destructive or unauthorized git actions.
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- emgreppi/Business-Central-AI-Skilltheir own version, first seen Feb 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- emgreppi/Business-Central-AI-Skill★ 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 repository39 other files it gives its agents.
- arch-mapSkill
- ask-meSkill
- autodevSkill
- codebase-designSkill
- code-reviewSkill
- context-barSkill
- contractSkill
- copilot-reviewSkill
- crapSkill
- deep-research-consolidateSkill
- deep-research-promptSkill
- domain-modelingSkill
- drop-reviewSkill
- fleet-reviewSkill
- framing-decisionsSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- herdrSkill
- implementSkill
- mergedSkill
- meta-analysisSkill
- mutation-testSkill
- obsidian-vaultSkill
- paper-outlineSkill
- probeSkill
- prSkill
- setup-matt-pocock-skillsSkill
- show-meSkill
- slack-askSkill
- slack-notifySkill
- sparSkill
- sync-matt-pocock-skillsSkill
- tddSkill
- to-specSkill
- triageSkill
- writing-for-agentsSkill
- writing-great-skillsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 19
No trailing period. No issue numbers in the subject unless asked.
- Distinctive: line 23
Add a body only when the *why* is non-obvious.
- Very specific: line 40
Never edit .git/config or alter the user's git identity.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Writing Git Commits
Overview
This user prefers commit messages that read like log lines, not essays. Default to a single short subject; only add a body line when the why is non-obvious. The diff already shows the what.
Subject Line
- Imperative, lowercase after the topic prefix, ≤ ~60 chars total.
- Optional
<topic>:prefix when the change is scoped to one area (e.g.scheduler:,ipython:,common:). - No trailing period. No issue numbers in the subject unless asked.
Body
- Add a body only when the why is non-obvious. Keep it to one short line or a single tight paragraph; the diff already shows the what.
- Wrap at ~72 chars.
Granularity
- One logical change per commit. If the diff spans unrelated areas, split
by
git add <paths>into separate commits. - Group a helper and its tests into the same commit; group the consumer of that helper into the next commit.
Hard Don'ts
- No
git pushunless the user explicitly asks. - No
--amendon already-pushed commits, no force-push tomain/master. - No
--no-verify,--no-gpg-sign, or other hook/sign bypass flags. - No
git add -A/git add .— stage explicit paths only. - Never edit
.git/configor alter the user's git identity.
Examples
Good (one-line):
ipython: fix parser import in 1D torsion scanGood (with brief body):
scheduler: snapshot running jobs to running_jobs.yml hourly
Append per-hour snapshot only when changed; otherwise emit a
one-line heartbeat in ARC.log.Bad (verbose body restating the diff):
ipython: fix parser import in 1D torsion scan notebook
arc.parser is a package; import from arc.parser.parser.The body restates what the subject already says — drop it.
Good (long is OK sometimes if necessary):
mapping/engine: two-pass pairing to reject formula-only matches
r_cut_p_cut_isomorphic matched purely on molecular-formula fingerprint OR
graph isomorphism, so constitutional isomers sharing a formula (e.g. the
alpha vs beta pentyl-ether radicals in H-abstraction between identical
donors) got paired as "isomorphic" and handed to map_two_species, which
then failed to superimpose them and returned None.
Add a strict flag that requires full graph isomorphism, and run
pairing_reactants_and_products_for_mapping in two passes: strict first,
then the loose fingerprint-or-isomorphic fallback for any unmatched
r-cuts so rearrangements whose cuts aren't strictly isomorphic (e.g.
Intra_Disproportionation, ring-openings) still work.
Also guard glue_maps against a None per-pair map so the caller sees a
clean None instead of a TypeError when a future mapping regression slips
through.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.

