kramme:fixup-changes

Map changed files to recent commits and create fixup commits.

2|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-fixup-changes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kramme:fixup-changes
Source: https://github.com/Abildtoft/kramme-cc-workflow/tree/main/skills/kramme%3Afixup-changes
Command: npx skills add https://github.com/Abildtoft/kramme-cc-workflow --skill kramme-fixup-changes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of cleanly integrating unstaged changes into existing commits on the current branch. It maps each changed file to its most recent commit, creates fixup commits, and enforces validation via build, tests, and lint before squashing changes via an autosquash rebase. It also handles staged/un-staged changes, orphan files, and prompts for user decisions when needed to maintain a clean, linear history.

Core Features & Use Cases

  • Map changes to commits: associates modified files with their target commits for seamless fixups.
  • Validation before commit: runs build, tests, and lint checks to ensure changes won't break the codebase.
  • Autosquash rebase: squashes fixups into target commits to maintain a tidy history.
  • Orphan handling: prompts for handling new or unrelated files that aren't tied to existing commits.
  • Custom instructions: supports additional user instructions that influence the workflow at each step.

Quick Start

Run the /kramme:fixup-changes command to start the workflow. You can pass optional flags like --base=<branch> to specify the target base branch or --no-confirm to skip prompts.

Frequently Asked Questions about kramme:fixup-changes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate fixup commits for unstaged changes in git?

To automate fixup commits for unstaged changes, this workflow maps each modified file to its most recent commit, creates fixup commits, and applies an autosquash rebase to maintain a clean history.

What is the best way to squash unstaged changes into existing git commits?

The best way to squash unstaged changes into existing commits is mapping files to their target commits, creating fixup commits, and running an autosquash rebase after validating build, tests, and lint checks.

How do I handle orphan files when creating fixup commits?

When creating fixup commits, orphan files not tied to existing commits trigger user prompts to decide how to handle them, ensuring new or unrelated files are properly integrated or excluded from the workflow.

Can I skip tests and lint validation during an autosquash rebase?

Yes, you can skip tests and lint validation during an autosquash rebase by passing the --skip-tests flag, which bypasses validation checks before squashing fixup commits into target commits.

Does this git workflow support specifying a custom base branch for rebasing?

Yes, this git workflow supports specifying a custom base branch for rebasing by passing the --base flag, allowing you to target a specific branch rather than the default when applying the autosquash rebase.

How do I run fixup commits without confirmation prompts?

To run fixup commits without confirmation prompts, pass the --no-confirm flag to skip interactive prompts during the workflow, which automates orphan handling and user decisions for a streamlined process.