What I was taught was incorrect, but I found that out much later.
For best leaning methods you need EGT gauges and fuel flow for even better usage.
Normally full rich would be used for takeoff, then lean as necessary to keep the EGTs at what you saw at about 1000’ on climb. At cruise you pull the mixture well back until the engine runs rough and then richen the mixture to smooth. The EGT reading then is just about your target.
Lycoming preach that you should run on the rich side of peak EGT, but that in my opinion is wrong, it is where you are likely to burn valves.
Lean on the ground when taxing, but lean aggressively, so that the engine will not run with the throttle being advanced, that way you will not oil your plugs and also will not be able to take off without advancing the fuel flow.
If you have fuel flow metering you will be able to use the mixture control more precisely with experience of your engine.
Th one thing to be aware of is do not lean out at anything more than 75% power, to avoid detonation.