agentsclimarketplace

Commit message gate

Skill iiwish/skillrun/examples/commit_message_gate

Local-first Agent Skill Runtime for packaging SOPs, schemas, preflight checks, run records, and MCP tools as executable skill capsules.

Install
npx -y skills add iiwish/skillrun --skill commit_message_gate

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.5 KB, 344 tokens by cl100k_base, as published. Nobody here has run it

Commit Message Gate

Purpose

This SkillRun capsule validates a proposed Git commit message before an agent uses it. It is designed to move Conventional Commits rules out of fragile prompts and into a typed, testable preflight boundary.

SOP

  1. Accept only concise Conventional Commits subject lines.
  2. Require one of the supported types: feat, fix, docs, style, refactor, perf, test, chore, build, ci or revert.
  3. Require type: summary or type(scope): summary with exactly one space after the colon.
  4. Keep the subject at or below 70 characters.
  5. Reject multiline messages in this capsule. Longer release notes belong in a separate artifact or PR body, not the commit subject.
  6. Do not stage files automatically.

Execution Boundary

By default this capsule only validates and returns a normalized subject. If perform_commit is set to true, it may run git commit -m <message> for already staged changes only. It never runs git add ..

Required Context

  • message: proposed commit subject.
  • perform_commit: defaults to false.

Recovery Guidance

If this capsule returns PolicyViolation, rewrite the commit subject according to the llm_hint and retry. If it returns DependencyError, inspect the local Git repository state before retrying.

Prohibited Behavior

  • Do not auto-stage files.
  • Do not include multiline explanations in the commit subject.
  • Do not bypass a rejected message by calling Git directly.

What ships with it: 4 files

4.0 KB alongside SKILL.md, 1 of them executable

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.