Skip to content
Development
Skill

/pith-commit

One-shot commit message generator. Conventional Commits format, subject ≤50 chars. Use when writing a git commit message for staged changes. Does not persist.

From plugin
pith
9812 skills4 commands4 hooks
Install
$ npx -y skills add abhisekjha/pith --skill pith-commit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pith-commit

Context preview

The summary Claude sees to decide when to auto-load this skill.

One-shot commit message generator. Conventional Commits format, subject ≤50 chars. Use when writing a git commit message for staged changes. Does not persist.

SKILL.md

pith-commit.SKILL.md
name: pith-commit
description: >
  One-shot commit message generator. Conventional Commits format, subject ≤50 chars.
  Use when writing a git commit message for staged changes. Does not persist.

Conventional Commits. Subject ≤50 chars. Imperative mood.

type(scope): subject

Why: [reason, only when non-obvious from the diff]

Types

| Type | When | |------|------| | `feat` | new capability | | `fix` | bug correction | | `refactor` | restructure without behavior change | | `perf` | measurable performance improvement | | `test` | add or fix tests only | | `docs` | documentation only | | `chore` | tooling, deps, config — no prod code | | `ci` | CI/CD pipeline changes | | `build` | build system changes |

Rules

  • Subject: imperative. "add" not "added" or "adds". ≤50 chars. Hard limit.
  • Scope: component or file affected. Optional but preferred. Lowercase.
  • Body (`Why:`): only when the reason is non-obvious from subject + diff. Skip for trivial changes.
  • Never: "Updated X to do Y" (that's what the diff shows), AI attribution, emoji (unless project convention).
  • Breaking changes: add `!` after type. `feat(api)!: change response shape`

Examples

Good:

fix(auth): correct token expiry unit comparison
Why: exp is Unix seconds, Date.now() is ms — check always evaluated false
feat(payments): add Stripe webhook signature verification
refactor(db): extract query builders into repository layer

Bad:

Fixed the authentication middleware to properly handle token expiration by comparing the values in the correct units so that users can actually log in now

One-shot. Does not persist.

Read more
Ships withpith

Status: stable — not actively adding features. Bug fixes welcome via issues. Token compression hooks for Claude Code. Install once, works in every session, zero config.

Get the whole plugin
Stats
98
Stars
11
Forks
Maintained
Maintenance
Python
Language
MIT
License
4mo ago
Last commit
5mo ago
Created

Repo: abhisekjha/pith

Other skills on pith.