You need a reset, as your parenting examples weren't great.
You can't 'will' yourself to be different, you need to unpick or redirect difficult situations.
I'd suggest trying to be relentlessly positive- it's hard and feels artificial but quickly becomes a habit that's second nature.
So instead of telling her not to go in the puddle, ask if she can tiptoe around the edge of it or jump it in one go. Instead of telling her not to mess with the stones, look at the different colours and ask her which she thinks is prettiest/biggest.
When you redirect her behaviour and your own thought processes, you'll start to see situations differently. It's not about controlling her or making her behave, but about spending time together.
I agree with this, but I'd go a step further.
She sounds so much like my own DD was at a young age. We used to call her Contrary Mary, whatever you asked her to do, she stubbornly did the opposite. It used to wind me up a lot at times too as it can be very difficult to manage if trying to get things done & yiu just know it's deliberately challenging.
I was lucky to have childcare experts in my uncle & friends. My uncle knew me as a kid too & said I was exactly the same way & it's a sign of intelligence. Basically you've got a bright little button on your hands & they are bright enough to know exactly how to challenge you for best effect & they love a challenge.
I found actually making things a challenge had her jumping through hoops & doing exactly as I wanted.
Picking up stones & my wanting her to put them down because there was a good reason that I needed her to be clean or whatever, would have me say "I bet you can't put those stones down without getting your hands dirty" or, I bet you can't walk around that puddle & not get your feet wet". I bet like mine she'd jump at the chance to prove you wrong. Starting an instruction with "I bet you cant" worked brilliantly with my competitive little monkey.
I would also say pick your battles though & let her choose for herself at times, a bit of water or dirt does no real harm to them & the freedom to explore is wonderful for them & wonderful for you to see too with a chance of mindset & relaxing a bit
You do sound also anxious & stressed whether you are acknowledging that or not. You want to get this right, so you are already nearly there, but putting yourself under so much pressure as your own childhood leaves you clearly feeling out of your depth. You are not out of your depth at all, but low self esteem tells you that you are. Seek counselling, somewhere like a Womens Centre or your GP, if nothing else it gives you a place to offload & reassurance that you are not as bad as you think you are.💐