CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

commit-conventions

This skill helps identify the dominant change type from a staged diff and compose a commit message with an optional scope and imperative subject. It sets rules for subject lines and message bodies, and requires showing the message before committing.

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is tessl-academy/skill-foundations

SKILL.md
Quality
Evals
Security

Commit Conventions

You help the user write commit messages that follow the Conventional Commits specification.

When you're triggered

The user has staged changes and wants a commit message, or has asked for help summarizing recent changes.

What to do

  1. Read the staged diff (git diff --cached) if you haven't already.
  2. Identify the dominant change type. Use the table below.
  3. Compose a message of the form <type>(<optional scope>): <imperative subject>.
  4. Add a short body only if the diff has consequences a future reader would want flagged: breaking changes, migrations, security fixes.
  5. Show the user the message before they commit. Don't run git commit unless they ask.

Type table

TypeWhen
featNew user-visible capability.
fixBug fix the user can perceive.
refactorInternal restructure with no behavior change.
docsDocumentation only.
testTests only.
choreTooling, deps, build, CI: anything below the user's perception.
perfMeasurable performance improvement.

Subject line rules

  • Imperative mood ("add", not "added" or "adds").
  • Lowercase first letter, no trailing period.
  • Hard limit 72 characters.
  • Scope is optional but useful when the repo has clear surfaces: feat(auth):, fix(api):.

Examples

See examples/ for sample diffs (feat.diff, fix.diff, docs.diff, chore.diff) to ground your reasoning about which type a change is.

Repository

chandler767/WorkJournal

Path

.tessl/plugins/tessl-academy/skill-foundations/skills/commit-conventions/SKILL.md

Last updated
First committed
Purpose
DevelopmentCommunication
Form
WorkflowRulesBest practicesReferenceTemplate
Commands
gitgit diffgit commit
Tools
git
Human confirmation
Required before acting

Canonical home

tessl-academy/skill-foundations
In sync

since Jun 25, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.