Regitize authors
Normalize historical Git author names and email addresses from repository .mailmap rules, preview every identity change, and safely rewrite one local branch after explicit approval. Use when the user invokes regitize-authors, asks to apply .mailmap permanently to commit history, wants duplicate author identities consolidated, or needs historical author metadata corrected.From its SKILL.md
npx -y skills add gadost/regitize --skill regitize-authorsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 351 tokens by cl100k_base, as published. Nobody here has run it
Regitize Authors
Apply .mailmap identity rules to commit objects. Default to author identities only; include committers only when explicitly requested.
Workflow
- Confirm that
.mailmaprules ormailmap.fileconfiguration represent the desired canonical identities. Do not guess canonical names or emails. - Locate this skill directory and select one local branch, defaulting to the current branch.
- Run
node <skill-dir>/scripts/plan-authors.mjs. Add--identities bothonly when the user asks to normalize committers too. - Read the plan and show every distinct before-to-after identity mapping plus affected commit counts. If there are no changes, stop without rewriting.
- Validate with
node <skill-dir>/scripts/rewrite-authors.mjs --plan <plan-path>without--apply. - Explain that commit SHAs and descendant SHAs will change, other branches/tags remain untouched, and signatures cannot remain valid.
- Obtain explicit approval for the exact mapping and branch.
- After approval only, run the validator with
--apply. Set signature or metadata acknowledgement flags only after separate explicit acceptance when requested. - Verify
git log --format='%H %an <%ae> | %cn <%ce>', then report the backup ref, old head, and new head. Never push automatically.
Safety rules
- Preserve messages, timestamps, trees, and merge topology.
- Do not infer mappings from similarity; use only
git check-mailmapresults. - Rewrite one local branch per invocation.
- Regenerate if
expectedHeadis stale.
See references/mailmap.md for mapping and recovery behavior.
What ships with it: 5 files
10.2 KB alongside SKILL.md, 3 of them executable
agents/
- openai.yaml212 B
references/
- mailmap.md650 B
scripts/
- git.mjsruns1.4 KB
- plan-authors.mjsruns2.7 KB
- rewrite-authors.mjsruns5.3 KB