From 15b123a1e243d02862425570d5c36b5e02ecec69 Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 15 Jan 2026 19:16:43 -0700 Subject: [PATCH] docs(formatting-commits): add no-edit amend option When amending to add more changes without altering the message, git commit --amend --no-edit is cleaner than reconstructing the entire message from reflog via formatted-commit --amend. Assisted-by: Claude Opus 4.5 via Amp --- skills/formatting-commits/SKILL.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/skills/formatting-commits/SKILL.md b/skills/formatting-commits/SKILL.md index fc3941d914cc82647b75024ece885eb12ecc38a0..dd26e5265863145be9a961da20af057ef07664bd 100644 --- a/skills/formatting-commits/SKILL.md +++ b/skills/formatting-commits/SKILL.md @@ -7,7 +7,12 @@ metadata: author: Amolith --- -Create/amend commits exclusively using `formatted-commit`. It has no sub-commands and the following options: +Create commits using `formatted-commit`. For amends, choose the appropriate approach: + +- **Message stays accurate** → `git commit --amend --no-edit` (or `-a --amend --no-edit` to stage all) +- **Message needs updating** → `formatted-commit --amend` to reconstruct with new type/scope/body + +`formatted-commit` has no sub-commands and the following options: -t --type Commit type (required)