Skip to content
Agentmart
Submit a tool

git-rules

Run after each commit to check commit hygiene, diff sanity, and whether the working tree is unexpectedly dirty.

Skill by agentclash

IndexedMIT★ 36
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/agentclash-git-rules

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run after each commit to check commit hygiene, diff sanity, and whether the working tree is unexpectedly dirty.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/git-rules

What's inside

Skill name
git-rules
Description
Run after each commit to check commit hygiene, diff sanity, and whether the working tree is unexpectedly dirty.
License
MIT
Instructions
20 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • post-commit.sh

SKILL.md (first lines)

# Git Rules Skill

Use this skill after every commit.

Purpose:

- keep commit hygiene consistent
- catch post-commit repository drift
- make sure a commit leaves the repo in a reviewable state

Checks:

- verify the new commit is inspectable and scoped
- check for whitespace or patch-shape issues
- check whether the working tree is unexpectedly dirty after commit
- remind the user to push only intentional changes

This skill is lightweight and should run on every commit.

From agentclash/agentclash, MIT.

More from agentclash/agentclash

Signals

Stars
36
Forks
3
Open issues
61
Last commit (this folder)
Mar 12, 2026 (7 months ago)
Last release
Aug 15, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from agentclash

Cite this page

git-rules skill. Agent Mart. https://agentmart.dev/skills/agentclash-git-rules (last updated 2026-10-24)