smart-commit SKILL.md skillA
smart-commit from sd0xdev/sd0x-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sd0xdev/sd0x-harness/smart-commit@git:20260926.525302dPins git:20260926.525302d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sd0xdev/sd0x-harness
- Path
skills/smart-commit/SKILL.md- Versions recorded
- 7
- Latest version
- git:20260926.525302d, committed Sep 26, 2026
- First version recorded
- Apr 4, 2026
- Size
- 71,234 bytes
- Repository stars
- 194
- License
- MIT
Smart batch commit. Analyzes uncommitted changes, groups by cohesion, generates commit messages matching project style. Default: output git commands for manual execution. With --execute: directly run git add + git commit (requires user approval, except under a user-set goal — see Goal mode). Use when: user says 'commit', 'batch commit', 'prepare commit', 'write commit message', or /smart-commit.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Smart Commit
**Read first**: `@skills/push-ci/references/authorization-contract.md` before `--execute` commits anything — § Proactive Offer for the menu and the four Goal mode conditions, § Efficacy Boundary for what the per-use approval authorizes. If that Read fails, stop and report it; commit nothing (manual mode, which only prints commands, is unaffected).
Analyze uncommitted changes → group by cohesion → generate commit messages → output git commands (or execute directly with `--execute`).
## Workflow
```mermaid
sequenceDiagram
participant C as Claude
participant U as User
C->>C: Step 1a: Detect permissions
C->>C: Step 1b: Learn commit style
C->>C: Step 1c: Identity diagnostics
C->>C: Step 1d: Signing diagnostics
C->>C: Step 1e: AI guard readiness
C->>C: Step 2: Pre-flight check (precommit)
C->>C: Step 3: Collect changes + exclude sensitive files
C->>C: Step 4: Group (high cohesion)
C->>U: Show commit plan (with Author/Signing/Guard)
U->>C: Confirm/adjust (Goal mode: printed with a [GOAL_COMMIT] record, not asked)
loop Each commit group
C->>C: Read diff → generate message
C->>C: AI trailer sanitization
…Read the whole file at its exact version.
How to install
mdr add sd0xdev/sd0x-harness/smart-commit@sha256:ef204c2a682a5651The line at the top of this page pins the label git:20260926.525302d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_aw2m7zyqo7umfly7)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Apr 4, 2026 and Sep 26, 2026, about one every 29 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260926.525302d latest | 2026-09-26 | 525302d | 71,234 B | A | view · diff |
| git:20260925.3600370 | 2026-09-25 | 3600370 | 70,878 B | A | view · diff |
| git:20260822.4995d33 | 2026-08-22 | 4995d33 | 68,660 B | A | view · diff |
| git:20260813.fead97d | 2026-08-13 | fead97d | 68,471 B | A | view · diff |
| git:20260807.187b0aa | 2026-08-07 | 187b0aa | 69,089 B | A | view · diff |
| git:20260726.96786d1 | 2026-07-26 | 96786d1 | 20,953 B | A | view · diff |
| git:20260404.086743b | 2026-04-04 | 086743b | 20,529 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (71234 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sd0xdev/sd0x-harness · 194 stars · license MIT · pushed 2026-10-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_aw2m7zyqo7umfly7 GET https://markdownregistry.com/api/v1/resolve?ref=sd0xdev/sd0x-harness/smart-commit GET https://markdownregistry.com/api/v1/blob/ef204c2a682a565178ac191848eaca0d8da5b8acc7c9f5fc3510bad8d3d71f7b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from sd0xdev/sd0x-harness
Every file in sd0xdev/sd0x-harness