that's basically what I imagined I would do when I was running into this problem, with the addition that I'd probably guarantee success after a few fails depending on the circumstances (above some threshold base chance, for high value things)
so for example in this game, repairing animal skin clothing requires more animal skins. some of them are easy to come by, some aren't, but all require a lot of time to cure. and that means it's going to feel like shit if you have a ~75% chance of success and you lose three hides in a row trying to repair something. it starts to look like a better idea to just make a new item than try to repair them at all, which it in fact is at lower levels of mending skill
another mechanic might be to have a temporary skill modifier for that specific task, explicitly stated to the player, after each fail. because in real life, even if you're not very skilled at something, if you try repeatedly to do the *exact same thing* you'll probably get it right eventually
so then the player could choose to burn 5x the resources guaranteeing success, if they wanted to. of course to avoid exploits there might be things that mechanic wouldn't apply to
never had any reason to implement such a thing though