本文へ移動
cccskills
無料GitHub で公開

amend

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md984 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Amend

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

commit

無料

Stage changes and create a commit with a conventional commit message.

日本語の概要は準備中です。原文の説明を表示しています。

simonepri/ifttt-lint282026年9月29日 更新

cook

無料

Full autopilot — plan, implement, and polish a task end-to-end.

日本語の概要は準備中です。原文の説明を表示しています。

simonepri/ifttt-lint282026年9月29日 更新

diff

無料

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

日本語の概要は準備中です。原文の説明を表示しています。

simonepri/ifttt-lint282026年9月29日 更新

execute

無料

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

日本語の概要は準備中です。原文の説明を表示しています。

simonepri/ifttt-lint282026年9月29日 更新

fork

無料

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

日本語の概要は準備中です。原文の説明を表示しています。

simonepri/ifttt-lint282026年9月29日 更新

plan

無料

Structured design intake for non-trivial tasks. Asks clarifying questions and produces a design proposal.

日本語の概要は準備中です。原文の説明を表示しています。

simonepri/ifttt-lint282026年9月29日 更新

simonepri のスキルをすべて見る

このスキルの問題を報告する