[WIP] Refactor pre commits