commit
Skill96 starsChanged 2 months agoMITView on GitHub
Compose the semantic commit message from immutable evidence. Let ai-commit own deterministic preparation, commit, index reconciliation, and push mechanics. Run every command from the target repository cwd. Do not surround ai-commit with extra git status, git log, or git diff calls: preparation provides the complete evidence for this workflow. Use --porcelain only in deterministic automation that explicitly parses its stable TSV records; the normal skill flow consumes the human-readable sections. Arguments: $ARGUMENTS - ai-commit selects the message format from repository…
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 repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- toolkit/AGENTS.mdAGENTS.md
- agents-brainSkill
- agents-docsSkill
- agents-introspectionSkill
- ai-pruneSkill
- autoresearchSkill
- brainstormSkill
- chromium-browserSkill
- claude-handoffSkill
- cli-castSkill
- cli-coingeckoSkill
- cli-ghSkill
- cli-justSkill
- codebase-designSkill
- code-polishSkill
- codex-handoffSkill
- copy-transcript-pathSkill
- effect-tsSkill
- evm-atlasSkill
- fresh-eyes-sweepSkill
- frontend-designSkill
- git-squashSkill
- grill-meSkill
- html-debriefSkill
- html-playgroundSkill
- interview-meSkill
- large-file-refactorSkill
- naming-refactorSkill
- node-deps-bumperSkill
- pdfSkill
- release-bumperSkill
- repo-cross-pollinationSkill
- repo-harmonizationSkill
- repo-renameSkill
- skill-doctorSkill
- skill-harmonizationSkill
- skill-mapSkill
- skill-writingSkill
- spreadsheetsSkill
- tailwind-cssSkill
- task-handoffSkill
- todo-archiveSkill
- tool-finderSkill
- vitestSkill
- wrap-upSkill
- yeetSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 4 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Run every command from the target repository cwd.
- Very specific: line 41
If the requested operation is only to push a clean branch that is already ahead, skip preparation and run ai-commit push.
- Distinctive: line 46
Run one preparation command:
- Very specific: line 53
Read the full preparation output.
- Distinctive: line 56
Before default-mode preparation, run the repository's formatter on this session's edited paths only, so a formatting pre-commit hook cannot …
- Very specific: line 61
Before default-mode preparation, run ai-coord touched when available and reconcile its output against the session path list: add missed …
- Very specific: line 70
If coordination re-entry records this session's completed edits as a baseline, compare its blob IDs with retained session or preparation …
- Very specific: line 86
Use the printed message format and message-format rules.
- Very specific: line 90
Add Closes #N trailers from --close and from transcript issue references only when this commit actually resolves them.
- Very specific: line 92
Add one Finding-ID: <id> trailer per finding supplied by --finding or inferred from context that this commit actually fixes.
- Very specific: line 129
Read references/failure-recovery.md before superseding a failed preparation or adding --no-verify or --no-gpg-sign.
- Very specific: line 132
After COMMITTED <transaction-id> <commit-oid> (the OID is a 12-character abbreviation.
- Distinctive: line 137
Keep the receipt compact and forward its outcome lines without decoration:
- Distinctive: line 152
Do not report unrelated tree state, ahead/behind counts not emitted by the command, staging narration, or successful hook activity.
“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
Git Commit
Compose the semantic commit message from immutable evidence. Let ai-commit own deterministic preparation, commit,
index reconciliation, and push mechanics.
Run every command from the target repository cwd. Do not surround ai-commit with extra git status, git log, or
git diff calls: preparation provides the complete evidence for this workflow. Use --porcelain only in deterministic
automation that explicitly parses its stable TSV records; the normal skill flow consumes the human-readable sections.
1. Parse Arguments
Arguments: $ARGUMENTS
ai-commitselects the message format from repository config; pass--naturalor--conventionalonly as an explicit one-off override, never to reproduce repository policy.--all: capture all worktree and index changes. This intentionally risks including another agent's work.--staged: capture exactly the current index; do not add session paths. It conflicts with--all.--natural: force Natural Language Format for this commit.--conventional: force Conventional Prefix Format for this commit.--push: request a push after commit. Otherwise push only when standing instructions authorize it.--close <issue_numbers>: append oneCloses #Ntrailer per positive decimal issue number; accept comma- or space-separated input.--finding <finding_ids>: append oneFinding-ID: <id>trailer per ledger finding this commit fixes; accept comma- or space-separated input. Also infer a finding from context when this session's commit fixes a specific ledger finding. Never include or resolve findings the commit does not actually fix.- In Conventional Prefix Format, a positional type keyword overrides the inferred type. In Natural Language Format, a positional verb or category keyword overrides the inferred verb. Quoted positional text overrides the inferred description or subject.
If the requested operation is only to push a clean branch that is already ahead, skip preparation and run
ai-commit push.
2. Prepare Once
Run one preparation command:
ai-commit prepare [--all | --staged] [--natural | --conventional] --diff full \
[--exclude-baseline '<path>=<oid>']... [-- <session-modified-paths>...]- Read the full preparation output; never pipe it through
tail,head,awk,grep, or similar. It carries both the printed transaction ID and the diff step 3 must analyze, and a truncating pipe discards the evidence along with the ID. - Before default-mode preparation, run the repository's formatter on this session's edited paths only, so a formatting pre-commit hook cannot modify the content after it is pinned.
- Build the path list from this session's edited paths, never by parsing
git statusorgit status --porcelainoutput, which can include another agent's untracked or modified files. Default mode requires every path edited in this session; for a rename, include both old and new names, including case-only file or directory renames. - Before default-mode preparation, run
ai-coord touchedwhen available and reconcile its output against the session path list: add missed session-edited paths, but ignore paths this session did not semantically change because touched paths are best-effort evidence, not authority. Skip this cross-check silently when the command is unavailable or the session is unrecognized. --allaccepts no explicit paths and captures all tracked, untracked, modified, deleted, and staged changes.--stagedaccepts neither explicit paths nor baseline exclusions and captures the shared index exactly.ai-commit prepareautomatically applies this session's ai-coord stale-dirt baselines. Auto-applied exclusions appear in the preparation evidence and must be disclosed unchanged. Explicit--exclude-baselineremains available for overrides, and--no-auto-baselinedisables discovery for deterministic automation. Never revert unrelated changes. If coordination re-entry records this session's completed edits as a baseline, compare its blob IDs with retained session or preparation evidence. Use--no-auto-baselineonly when every selected file's entire delta is attributable to the authorized task; preserve exclusions for mixed ownership or uncertain attribution.
Preparation pins the exact tree and delta under the printed transaction ID without changing the shared index. Keep that ID. The later commit reuses the transaction instead of recomputing intended content from the mutable worktree or shared index. It applies that immutable delta to the locked current branch and fails safely if intervening branch movement conflicts. If preparation fails before issuing a transaction ID, correct the evidenced argument, attribution, or input problem and retry preparation within the authorized scope.
3. Analyze and Compose
Analyze the single prepared full diff. Do not replace a valid preparation merely to get different evidence. Oversized
per-file sections arrive cut with a DIFF_TRUNCATED disclosure; their name-status and shortstat evidence still governs
the message.
- Use the printed message format and message-format rules.
ai-commitis the source of those rules; do not load a separate Conventional or Natural reference. - Apply positional overrides, detect breaking changes, infer scope or context from the code, and include a body only when it adds material rationale.
- Add
Closes #Ntrailers from--closeand from transcript issue references only when this commit actually resolves them. De-duplicate issue numbers. - Add one
Finding-ID: <id>trailer per finding supplied by--findingor inferred from context that this commit actually fixes. De-duplicate finding IDs. - Append the exact
Agent-Session:line from the preparation trailer section when present.ai-commithas already validated it; do not synthesize or repair a missing or malformed trailer.
Compose one subject paragraph, an optional body paragraph, and one final trailer paragraph containing all Closes,
Finding-ID, and Agent-Session lines.
ai-commit receives every -m value verbatim and rejects a literal \\n; write real line breaks inside the quoted
argument, as in the step 4 example.
4. Commit the Transaction
Run:
ai-commit commit <transaction-id> -m '<subject>' [-m '<body>'] [-m '<trailers>'] [--push]For example, a two-item body is one -m argument containing a physical newline:
ai-commit commit <transaction-id> -m '<subject>' -m '- first material change
- second material change' [-m '<trailers>'] [--push]Append --push when explicitly requested or authorized by standing instructions. The same command handles default,
--all, and --staged transactions; never stage or commit them with direct Git commands.
Transactions are idempotent. After an interruption, lock race, or retryable exit, retry the same transaction ID and message arguments; do not prepare a replacement from newer mutable state. A replay recovers or returns the retained receipt without creating a duplicate commit. Never delete an index lock.
For a deterministic content failure proven to precede commit creation, correct the authorized work and supersede the
uncommitted preparation using the recovery reference. This includes snapshot-check hook modified prepared content; an
immutable retry cannot repair content pinned in a failed snapshot. Existing task authority covers this recovery.
Read references/failure-recovery.md before superseding a failed preparation or adding
--no-verify or --no-gpg-sign. Bypass flags are explicit per-attempt recovery options, not first-attempt defaults.
After COMMITTED <transaction-id> <commit-oid> (the OID is a 12-character abbreviation; pass it as-is), resolve every
included finding with ai-coord finding resolve '<id>' --as fixed --commit '<commit-oid>'.
5. Completion and Receipt
Keep the receipt compact and forward its outcome lines without decoration:
COMMITTED <transaction-id> <commit-oid>proves commit creation or idempotent recovery; without push authorization it is completion.HOOK_ADDED <path>identifies content introduced by a hook outside the prepared path set. Disclose every such line.PUSHED <branch>orPUSHED_NEW <branch>proves propagation and completes push-authorized or push-only work.PUSHED <transaction-id> <commit-oid>is the retained proof returned when an already-pushed transaction is replayed.BEHIND <branch> <count>is safe noncompletion, never completion:ai-commitfetched and refused to integrate or push. A precedingCOMMITTEDstill proves the local commit. Rungit fetch, then verify the branch is still behind its upstream, the working tree and index are clean, and no other Git operation (rebase, merge, cherry-pick, revert, bisect) is in progress. If all hold, rungit pull --rebase --no-autostashand replay the same transaction command (or rerunai-commit pushfor push-only work). On rebase conflicts, rungit rebase --abortfor only that rebase and ask the user before resolving. If the tree is dirty or another Git operation is in progress, stop and report. Never autostash.
Do not report unrelated tree state, ahead/behind counts not emitted by the command, staging narration, or successful hook activity. Add only a required one-line bypass disclosure from the recovery reference.
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.

