commit-messages

Solid

Generate conventional commit messages from staged changes with correct type/scope. Use when generating commit messages in conventional commits format. DO NOT use when: full PR preparation - use pr-prep instead.

Code & Development 294 stars 26 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
82
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
91
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Conventional Commit Workflow ## When To Use - Generating conventional commit messages from staged changes ## When NOT To Use - Full PR preparation: use sanctum:pr-prep - Amending existing commits: use git directly ## Steps 1. **Gather context** (run in parallel): - `git status -sb` - `git diff --cached --stat` - `git diff --cached` - `git log --oneline -5` - When sem is available (see `leyline:sem-integration`): `sem diff --staged --json` for entity-level changes If nothing is staged, tell the user and stop. When sem output is available, use entity names (function, class, method) in the commit subject and body instead of parsing raw diff hunks. For example, "add function validate_webhook_url" instead of "add validation logic to notify.py". 2. **Classify**: Pick type (`feat`, `fix`, `docs`, `refactor`, `test`, `chore`, `style`, `perf`, `ci`) and optional scope. 3. **Draft the message**: - **Subject**: `<type>(<scope>): <imperative summary>` (50 chars max) - **Body**: What and why, wrapped at 72 chars - **Footer**: BREAKING CHANGE or issue refs 4. **Slop check**: reject these words and replace with plain alternatives: | Reject | Use instead | |--------|-------------| | leverage, utilize | use | | seamless | smooth | | comprehensive | complete | | robust | solid | | facilitate | enable | | streamline | simplify | | optimize | improve | | delve | explore | | multifaceted | varied |...

Details

Author
athola
Repository
athola/claude-night-market
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category