Amend

SkillCommunication

Amend the last commit with current changes and/or an updated message.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Amend skill

What this skill tells your AI

The instructions your AI receives, as published by simonepri/ifttt-lint in .agents/skills/amend/SKILL.md and read by ahel’s review.

Amend the last commit. Assumes the existing commit message is correct — only update it to reflect the delta.

  1. Safety: check if the last commit exists on the remote. If it does, warn that amending requires a force push and ask for confirmation.
  2. Stage relevant files. If $ARGUMENTS contains file paths, stage only those.
  3. Message: read the existing commit message and the newly staged diff (git diff --staged). Update the message only if the delta changes the "what" or "why" — don't rewrite from scratch. Use the same body format as /commit (Problem + Solution with ## headings).
  4. Amend: create a unique temp file with mktemp /tmp/commit-msg.XXXXXX.txt, write the message to it, and run git commit --amend -F <temp-file> — do not add Co-Authored-By or other trailers.

Signals

GitHub stars
26
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
amend
Source
github.com/simonepri/ifttt-lint