diff --git a/.claude/commands/fix-ci.md b/.claude/commands/fix-ci.md index 33efbde..2257c30 100644 --- a/.claude/commands/fix-ci.md +++ b/.claude/commands/fix-ci.md @@ -40,13 +40,13 @@ Requirements: - Ensure changes are production-ready, not temporary hacks - Preserve existing functionality while fixing issues -## Step 4: Create Branch and Commit Changes +## Step 4: Commit Changes After applying fixes: -1. Create a branch named `claude-fix-ci-${timestamp}` -2. Stage all modified files with `git add` -3. Commit with a descriptive message explaining what was fixed -4. Document which CI jobs/tests were addressed +1. Stage all modified files with `git add -A` or `git add .` +2. Commit with a descriptive message using `git commit -m "Fix CI failures: "` +3. Include details about which CI jobs/tests were fixed in the commit message +4. Important: Always commit your changes even if you're already on a branch ## Step 5: Verify Fixes Locally diff --git a/.github/workflows/auto-fix-ci-inline.yml b/.github/workflows/auto-fix-ci-inline.yml index 6334849..913d86e 100644 --- a/.github/workflows/auto-fix-ci-inline.yml +++ b/.github/workflows/auto-fix-ci-inline.yml @@ -120,12 +120,12 @@ jobs: - Ensure changes are production-ready, not temporary hacks - Preserve existing functionality while fixing issues - ## Step 4: Create Branch and Commit Changes + ## Step 4: Commit Changes - After applying fixes: - 1. Stage all modified files with `git add` - 2. Commit with a descriptive message explaining what was fixed - 3. Document which CI jobs/tests were addressed + After applying ALL fixes: + 1. Stage all modified files with `git add -A` + 2. Commit with: `git commit -m "Fix CI failures: prettier formatting and syntax errors"` + 3. Important: You MUST commit your changes - the branch already exists ## Step 5: Verify Fixes Locally diff --git a/slash-commands/fix-ci.md b/slash-commands/fix-ci.md index 33efbde..2257c30 100644 --- a/slash-commands/fix-ci.md +++ b/slash-commands/fix-ci.md @@ -40,13 +40,13 @@ Requirements: - Ensure changes are production-ready, not temporary hacks - Preserve existing functionality while fixing issues -## Step 4: Create Branch and Commit Changes +## Step 4: Commit Changes After applying fixes: -1. Create a branch named `claude-fix-ci-${timestamp}` -2. Stage all modified files with `git add` -3. Commit with a descriptive message explaining what was fixed -4. Document which CI jobs/tests were addressed +1. Stage all modified files with `git add -A` or `git add .` +2. Commit with a descriptive message using `git commit -m "Fix CI failures: "` +3. Include details about which CI jobs/tests were fixed in the commit message +4. Important: Always commit your changes even if you're already on a branch ## Step 5: Verify Fixes Locally