# Reformat Branch

> Reformat all files changed in the current branch compared to main

- Skill: `mondaycom/reformat-branch` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mondaycom/reformat-branch`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mondaycom/reformat-branch/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mondaycom (https://skillmd.com/u/mondaycom)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mondaycom/reformat-branch

---


Reformat all files changed in this branch relative to main.

Steps:
1. Verify we are not on `main`: `git rev-parse --abbrev-ref HEAD`
2. List the changed files for the user's awareness: `git diff --name-only main...HEAD`
3. Run `make format-main` to reformat only those changed files

