Skills

Commit Trailers

Commit mesajlarina yapilandirilmis karar trailer'lari ekle.

Install

npx skills add vibeeval/vibecosystem --skill commit-trailers -g -a claude-code -y
Category
Git and review
Updated
3mo ago
License
MIT
Context cost
Lightabout 1,245 tokens
Runs scripts
No, instructions only

What it does

Commit mesajlarina yapilandirilmis karar trailer'lari ekle. Constraint, Rejected, Confidence, Scope-risk, Not-tested trailer'lari ile karar baglamini koru.

Commit Trailers -- Structured Decision Context

Supplement conventional commits with structured trailers that preserve the reasoning behind a change. Future maintainers (and future agents) read commit history to understand not just what changed, but why a specific approach was taken.

Standard Trailers

Add these after the commit body, separated by a blank line, when they add value:

Constraint: <external limitation that shaped this approach>
Rejected: <alternative considered and the reason it was rejected>
Confidence: high | medium | low  <how certain we are this is correct>
Scope-risk: low | medium | high  <blast radius, how much can this break>
Not-tested: <what was not tested and why>

When to Use Each Trailer

TrailerWhen to IncludeWhen to Skip
ConstraintExternal limitation forced a non-obvious decisionNo external constraints applied
RejectedA reasonable alternative was considered and discardedOnly one approach was viable
ConfidenceCorrectness is uncertain or untested in key areasStraightforward well-tested change
Scope-riskChange touches shared infrastructure, middleware, auth, or core data pathsIsolated, single-purpose change
Not-testedA gap in test coverage is intentional and knownAll paths are tested

Not every commit needs trailers. A fix: typo in error message needs none. A new auth middleware affecting every API call needs all five.


Trailer Reference

Constraint

An external limitation, browser API, hosting restriction, library limitation, business rule, or environment constraint, that ruled out the obvious solution.

Constraint: Safari 15 does not support the CSS :has() selector
Constraint: Redis unavailable in staging, in-memory fallback only
Constraint: Must stay on Node 18, no upgrade path in scope
Constraint: Third-party payment API does not support idempotency keys
Read the whole SKILL.md on GitHub

More in Git and review