Skip to content
Back to skills

Valid

ASecurity

Generates conventional commit messages from staged git diffs. Activates when the user requests a commit message and produces type(scope) subject format.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 8, 2026
ai-agentsbashgit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 8, 2026

npx -y skills add jeremylongshore/j-rig-skill-binary-eval --skill valid --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Valid?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Valid
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jeremylongshore-valid/badge)](https://www.skillsdirectory.com/skills/jeremylongshore-valid)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commit-message-writer
description: Generates conventional commit messages from staged git diffs. Activates when the user requests a commit message and produces type(scope) subject format.
author: Jeremy Longshore <jeremy@jeremylongshore.com>
version: 1.0.0
license: MIT
allowed-tools: Bash(git:diff --staged)
compatibility: Designed for Claude Code 2.x
tags:
  - git
  - developer-tools
model: sonnet
---

# Commit Message Writer

Generate a commit message for the currently staged changes.

## Instructions

1. Read the staged diff using `git diff --staged`
2. Analyze the changes to determine:
   - The type (feat, fix, docs, refactor, test, chore, ci, style)
   - The scope (affected module or component)
   - A concise subject line (under 72 characters)
3. Output the commit message in conventional commit format

## Format

```text
type(scope): subject line

Optional body explaining the motivation for the change.
```

## Examples

Input: A diff showing a new function added to `auth.ts`
Output: `feat(auth): add token refresh endpoint`

Input: A diff fixing a typo in `README.md`
Output: `docs(readme): fix installation instructions typo`

Files in this skill

  • adapter-source.yaml1 KB
  • eval-contract.yaml1.3 KB
  • eval-spec.yaml2.5 KB
  • skill.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.