From b43895f15df8b1996dfff0a39be92d193ffed6ec Mon Sep 17 00:00:00 2001 From: bastien Date: Mon, 13 Apr 2026 15:14:38 +0200 Subject: [PATCH] chore(commit-change): remove confirmation step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Skip the plan-and-confirm phase — commit directly after analysis. Co-Authored-By: Claude --- skills/commit-change/SKILL.md | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/skills/commit-change/SKILL.md b/skills/commit-change/SKILL.md index 848983a..ddd4704 100644 --- a/skills/commit-change/SKILL.md +++ b/skills/commit-change/SKILL.md @@ -57,31 +57,10 @@ Common groupings: - Unrelated bug fixes = each gets its own commit - Formatting/style changes = separate from logic changes -### Phase 3: Present the plan +### Phase 3: Execute commits -Before committing anything, present a clear plan to the user: - -``` -Proposed commits (in order): - -1. fix(auth): handle expired tokens in refresh flow - - src/auth/refresh.ts (modified) - - src/auth/refresh.test.ts (modified) - -2. feat(api): add pagination to /users endpoint - - src/routes/users.ts (modified) - - src/routes/users.test.ts (new) - -3. chore: update eslint config - - .eslintrc.json (modified) -``` - -Ask the user to confirm, modify the grouping, or adjust commit messages -before proceeding. - -### Phase 4: Execute commits - -For each approved commit group, in order: +Proceed directly — no confirmation needed. For each logical commit group, +in order: 1. Stage only the files for that commit: `git add ` - For partially changed files that belong to multiple commits, use