Git Commit WriterSAFE
162 production-ready AI agent templates for OpenClaw. SOUL.md configs across 19 categories. Submit yours!
Overview
162 production-ready AI agent templates for OpenClaw. SOUL.md configs across 19 categories. Submit yours!
3dd7696fb032OBSERVED · 2026-10-11What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: git-commit-writer
description: Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit". Reads git diff --staged and produces an opinionated, convention-matching commit message.
---
# Git Commit Writer
Generate a disciplined commit message from the currently staged changes. Opinionated about style: imperative mood, concise title, body that explains **why** not **what**.
## When to use
- User says "write a commit message", "/commit", "commit this"
- User has staged changes and asks to review them before committing
- User asks "what should this commit be called"
Do NOT use this skill to actually run `git commit` unless the user explicitly asks — just draft the message and show it.
## Instructions
1. Run `git status --short` with the Bash tool. Confirm there are staged changes. If nothing is staged, stop and tell the user.
2. Run `git diff --staged` to read the full staged diff. If the diff is large (>500 lines), also run `git diff --staged --stat` to get a file-level overview first.
3. Run `git log --oneline -10` to learn the repo's commit convention. Look for:
- Conventional Commits prefixes (`feat:`, `fix:`, `chore:`) — if present, match the style.
- Title case vs sentence case.
- Whether bodies are used or not.
- Any ticket / issue prefix (e.g. `[PROJ-123]`).
4. Draft a message following these rules:
- **Title:** imperative mood ("Add X", not "Added X" or "Adds X"), max 70 characters, no trailing period.
- **Body (if needed):** blank line after title, then 1-3 short paragraphs or bullets explaining *why* the change is necessary, what problem it solves, what trade-offs were made.
- **Never** use the word "refactor" alone — always say what was refactored and why ("Extract retry loop into helper to share with job runner").
- **Never** write "Update file.js" — describe the behavior change, not the file touched.
- **Never** invent a ticket number. If the repo uses them but you can't infer one, leave it out.
5. Show the drafted message in a fenced code block. Ask the user if they want you to run `git commit` with it. Do not commit automatically.
## Anti-patterns to reject
- "Various fixes" / "Updates" / "WIP" — reject and ask for specifics from the diff.
- "Refactor code" — must name the unit being refactored.
- Title >70 chars — shorten or move detail to body.
- Past tense or "-ing" forms — rewrite to imperative.
## Example invocations
- `/git-commit-writer`
- "Write a commit message for what I have staged"
- "Review my staged diff and draft a commit"
- "/commit — but don't push"Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
3dd7696fb032full audit observations/trust-audit/skill/mergisi__git-commit-writer.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-11 | 3dd7696fb032 | SAFE | B | 89 | first audit |
Questions
What does the Git Commit Writer skill do?
162 production-ready AI agent templates for OpenClaw. SOUL.md configs across 19 categories. Submit yours!
Is Git Commit Writer safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Git Commit Writer access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (3dd7696fb032), read on 2026-10-11. The repository is watched, and a new audit runs when it changes — this is the first audit.