Do you not believe Ukraine broke both Minsk I and II as a lead up to the war?
What I think is that it doesn't matter in the context of an aggressive war against a country that was not threatening Russia.
Minsk I came about after the Russian military had invaded and annexed Ukrainian territory. The first of these two agreements is already taking place after the initial aggression and thus are not really factors in the question of whether Ukraine should defend itself from that aggression.
With that said, Minsk I saw violations on both sides and fell apart for that reason. Minsk II was fundamentally similar to Minsk I and thus was going to struggle to escape the same fate. While the Russians claimed that Ukraine violated the terms of Minsk II, they also claimed that they were not a party to Minsk II and thus were not violating it with their own troop buildup. Of course, they also claim that Ukraine's supposed violations of Minsk II were justification for further Russian invasion, despite claiming to not be a party to the treaty. That's some duplicitous behavior and, again, if I were in Ukraine I would not want the Russian military in my country.
All that said, the point that Minsk I and II are not justification for Russia's invasion of Ukraine. They sure as hell were not justification for the initial invasion of Crimea, Luhansk, and Donetsk (not existing yet during those) and they're not justification of Russia's continued invasion deeper into Ukraine.