auto-commit
Skill2 starsChanged 14 days agoMITView on GitHub
- Invoke for any repository with pending changes that should land as atomic commits. - Execute immediately upon invocation. Never wait for user input or confirmation before git status. - Analyze repository changes, form safe atomic groups, block secrets, stage targeted files, and create conventional commits in the current project. - Commit all eligible current-project changes as separate, logical, atomic commits. - Leave the working tree clean unless safety checks or git errors block completion. Determine input from the current…
- Reads credentials
5 other projects use a version of this.
Adopted by
Most recently taken up by
- rysk-tanaka/skillstheir own version, first seen Oct 31, 2026
- divlook/skillstheir own version, first seen Aug 23, 2026
- noGarne/skillstheir own version, first seen Aug 4, 2026
- jamesdphillips/dot-agents-skillstheir own version, first seen Mar 3, 2026
- jokj624/skills-templatetheir own version, first seen Jan 12, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- jokj624/skills-template★ 4same name
- divlook/skills★ 2same name
- noGarne/skills★ 1same name
- jamesdphillips/dot-agents-skills★ 0same name
- rysk-tanaka/skills★ 0same 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 repository21 other files it gives its agents.
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- structureSkill
- testSkill
- tipSkill
- troubleshootSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
4
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 24
Commit all eligible current-project changes as separate, logical, atomic commits.
- Distinctive: line 26
Leave the working tree clean unless safety checks or git errors block completion.
- Very specific: line 36
Commit message rules from references/conventional-commit.md.
- Distinctive: line 63
Atomic Grouping: Commit files together only when they must change together, such as implementation plus matching tests.
- Very specific: line 65
Gitignore Isolation: Commit .gitignore changes separately.
- Very specific: line 80
On Secret Match: Run git --no-pager restore --staged -- <files>, halt, and report only file paths plus matched rule names.
- Very specific: line 83
Git Commands: Use --no-pager for every git invocation.
- Distinctive: line 85
Generated Files: Avoid staging sensitive or build-related files unless source control should track them.
- Distinctive: line 94
No user approval for staging, messages, or commits.
- Distinctive: line 95
No dependency on other skills.
- Distinctive: line 96
No flagged secret, credential, or unsafe generated file may enter a commit.
- Distinctive: line 106
Commit messages follow conventional commit format.
- Distinctive: line 113
Keep prose terse while ensuring clarity.
- Distinctive: line 116
Use lists and sub-lists for long sentences and dense paragraphs.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Auto-commit agent
When to use
- Invoke for any repository with pending changes that should land as atomic commits.
- Execute immediately upon invocation. Never wait for user input or
confirmation before
git status.
Goal
- Analyze repository changes, form safe atomic groups, block secrets, stage targeted files, and create conventional commits in the current project.
- Commit all eligible current-project changes as separate, logical, atomic commits.
- Leave the working tree clean unless safety checks or git errors block completion.
Input
Determine input from the current repository state:
- Tracked,
untracked, staged,unstaged, renamed, deleted, and ignored changes reported by git. - Atomic grouping heuristics from
references/atomic-git-staging.md. - Commit message rules from
references/conventional-commit.md.
Workflow
- GATE—Run
git --no-pager status --porcelain=v2 --branch. Halt on no changes or git error. - ORIENT—Goal: commit all eligible changes as atomic commits. Scope: current project. No changes outside git state.
- PLAN—Group files into logical commits. Isolate
.gitignorechanges. Apply fast path for a single unstaged file. - ACT (repeat steps 4–6 per group until no eligible changes
remain)—
- Scan candidate paths and content for secrets (pre-stage).
- Run
git --no-pager diff --no-ext-diff --stat --minimal --patience --histogram --find-renames --summary --no-color -U10 <file_group>. - Run
git --no-pager add <file1> <file2> .... - Scan staged diff for secrets (pre-commit).
- Generate conventional commit message.
- VERIFY—Confirm staged diff matches intent and all secret checks pass. On failure: unstage, halt, report.
- PERSIST—Run
git --no-pager commit -m "<message>". Confirm commit success. - REPORT—Emit the result following the result directives and using the result template.
Directives
- Atomic Grouping: Commit files together only when they must change together, such as implementation plus matching tests.
- Gitignore Isolation: Commit
.gitignorechanges separately. - Sensitive Path Rules: Hard-block
.env*except.env.example,*.key,*.pem,*.p12,*.pfx,*_rsa,*_dsa,id_*,secrets.*,credentials.*,.aws/,.ssh/, and.gnupg/.
<!-- vale off -->- Sensitive Content Rules: Hard-block real credential indicators:
password=...,token: ...,api_key = ...,Bearer <value>, cloud/GitHub/Slack/OpenAI token prefixes with non-placeholder values, and private key blocks. Do not block policy text that merely names secret types or placeholder examples.
<!-- vale on -->- On Secret Match: Run
git --no-pager restore --staged -- <files>, halt, and report only file paths plus matched rule names. Never print secret values, request overrides, or commit flagged files. - Git Commands: Use
--no-pagerfor everygitinvocation; scope--no-ext-difftogit diffoperations. - Generated Files: Avoid staging sensitive or build-related files unless source control should track them.
- Efficiency: Batch operations by file group, target only relevant files, parallelize independent read-only checks when useful, and reduce output.
Constraints
- Current project only.
- No user approval for staging, messages, or commits.
- No dependency on other skills; perform git commands directly.
- No flagged secret, credential, or unsafe generated file may enter a commit.
- Halt immediately on git errors, failed secret scans, or ambiguous safety state.
Verification
- Working tree ends clean, or remaining files have explicit safety or error reasons.
- Each commit contains one logical change.
- Commit messages follow conventional commit format.
- Commits exclude sensitive and inappropriate build-related files.
- Final report lists commit hashes and subjects or explains failure.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists for long sentences and dense paragraphs.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions taken]
- **Files**:
- [Terse list of affected files]
- **Findings**:
- [Terse list of notable findings]
- **Commits**:
- [Commit hash and subject per created commit]
> **Commit Status** • `[scope]`
> **Result**: [Committed | Clean Tree | Failed]
> **Impact**: [Terse impact statement]
>
> _[Terse working tree summary]_<!-- prettier-ignore-end -->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.

