RepoMindRepoMind

repomind split

Analyzes staged changes and splits them into atomic commits using AI.

Synopsis

repomind split analyzes a large set of changes and suggests a split into atomic commits, recognizing different semantic contexts even within a single hunk. Each proposed commit comes with its own message following the Conventional Commits standard.

repomind split [flags]

Flags

FlagTypeDefaultDescription
--allbooleanfalseIncludes unstaged and untracked changes in addition to staged ones
--instructions [texto]stringOne-off instruction for this generation; omitting the argument opens the interactive editor
--no-verifybooleanfalseSkips staged diff validation; the AI is called even if the stage has issues — consumes credits with no guarantee of a useful result
--verbose, -vbooleanfalseShows error details in the output
--help, -hbooleanShows help and exits

About --no-verify

By default, RepoMind validates the staged diff before calling the AI — it checks that there are changes, that the content is readable, and that the size is within the expected range. This step protects your credits: if the diff has any issue, generation is stopped before consuming any usage from your plan.

With --no-verify this validation is skipped and the AI is called directly. Use it only when you are sure the diff is valid but the automatic validation is blocking the generation (for example, diffs with mixed binaries or generated files).

Credit cost

--no-verify does not prevent usage from being consumed from your plan. If the AI receives a broken diff and cannot generate useful messages, the credit is still deducted.

Examples

Stage all your changes and let split group them into atomic commits:

git add .
repomind split

Also include unstaged changes and new files without running git add manually:

repomind split --all

Real output

Output
 Lendo alterações...
 Entendendo as mudanças...
 Agrupando commits...

3 commits sugeridos:

1. feat(auth): adicionar suporte a device code flow
   src/auth.ts, src/lib/jwt.ts

2. refactor(config): extrair leitura de env para modulo dedicado
   src/config/env.ts

3. chore(deps): atualizar jose para 6.2
   package.json, bun.lock

 3 commits criados em 1.4s

Plan limits

Plan limit

The split command counts toward your billing cycle quota. Once the limit is reached, new runs are blocked until the renewal. See Billing & Plans for limits and upgrades.

On this page