commit-trailers

Capture architectural decisions and testing gaps in structured git commit trailers.

3|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/OmerZeyveli/kinglet-unity --skill commit-trailers-omerzeyveli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-trailers
Source: https://github.com/OmerZeyveli/kinglet-unity/tree/main/.claude/skills/core/commit-trailers
Command: npx skills add https://github.com/OmerZeyveli/kinglet-unity --skill commit-trailers-omerzeyveli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents important architectural decisions, constraints, rejected alternatives, and testing gaps from being lost in ordinary commit messages.

Core Features & Use Cases

  • Structured Metadata: Adds consistent Scope-risk, Constraint, Rejected, and Not-tested trailers to commit messages.
  • Decision Traceability: Preserves the reasoning behind implementation choices in searchable git history.
  • Use Case: When committing a cross-system refactor, record its scope, architectural constraints, rejected alternatives, and remaining test gaps for future maintainers.

Quick Start

Use the commit-trailers skill to prepare a commit message with the required Scope-risk trailer and any applicable decision metadata.

Frequently Asked Questions about commit-trailers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make architectural decisions searchable in git history?

To make architectural decisions searchable in git history, you can capture them in structured git commit trailers. This approach embeds decision metadata directly into your commits, preventing important reasoning from being lost in ordinary commit messages.

What is the best way to track technical debt and testing gaps in git commits?

Tracking technical debt and testing gaps in git commits is best done using structured commit trailers. By adding a Not-tested trailer to your commit messages, you explicitly document remaining test gaps for future maintainers to address.

How do I record rejected alternatives and constraints during a cross-system refactor?

To record rejected alternatives and constraints during a cross-system refactor, include optional Constraint and Rejected trailers in your commit messages. This preserves the reasoning behind implementation choices directly within the searchable git history.

Can I enforce scope risk metadata for every git commit?

Yes, you can enforce scope risk metadata for every git commit. The commit-trailers approach requires every commit to include a Scope-risk trailer, ensuring consistent documentation of potential impact across feature additions, bug fixes, and refactors.

When do I need to add structured trailers to my git commit messages?

You need to add structured trailers to your git commit messages when committing changes that require searchable historical context, such as cross-system refactors, serialization changes, or feature additions where architectural constraints must be preserved.