Files
Holocron/plugins/git/.apm/skills/git-commits/references/commit-template.md
T
Defame1297andClaude Opus 5.5 7dc741d1a7 fix(plugins): make git and gitea skill content repo-neutral
Consumer repos install these skills, so they must not carry this
repo's attribution policy, slug, ADR paths, or issue references.

git-commits trailer examples now show only neutral trailers, and
commit-template.md defers AI-attribution and co-author trailers to the
consumer repo's AGENTS.md, CONTRIBUTING, or session instructions. The
gitea sources notes state the live-verification rule plainly instead
of citing an ADR, and labels.md drops the repo slug.

Refs: #177

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-06 18:18:04 +00:00

1.7 KiB

source_keys
source_keys
org-commit-conventions

Commit Message Body Template

Use this structure for the body/footer of any non-trivial commit (skip sections that don't apply — do not leave placeholders in the actual commit).

<type>(<scope>): <concise summary>

The header is required. Describe the intended outcome, not the implementation.

Why

Explain why this change exists. This is the most valuable part of the commit — the diff already shows what changed; future maintainers (human or AI) need why.

Include, where applicable:

  • Problem being solved
  • User or business need
  • Bug or root cause
  • Important context not visible in the code

Omit if the reason is immediately obvious.

Implementation Notes

Capture decisions that are difficult to infer from the code:

  • Why this approach was chosen
  • Important assumptions or invariants
  • Constraints imposed by external systems
  • Tradeoffs or intentional compromises
  • Non-obvious implementation details
  • Workarounds or temporary solutions

Do NOT describe the diff ("renamed X", "added Y"). Omit if there's nothing worth preserving.

Impact

Document effects future developers should know about:

  • Behavior changes
  • Breaking changes
  • Performance implications
  • Security considerations
  • Migration or deployment requirements
  • Compatibility concerns
  • Follow-up work or known limitations

Omit if there are no noteworthy impacts.

Trailers

Structured metadata for traceability and tooling. Use only the trailers that apply:

Fixes:
Refs:
ADR:
RFC:
Design:
Reviewed-by:
Signed-off-by:
BREAKING CHANGE:

Add an AI-attribution or co-author trailer only when the repo's AGENTS.md or CONTRIBUTING, or the session instructions, ask for one, and use exactly the form they give.