Idk, doesn’t seem like magic to me. Just pay your bills. Grow your existing credit cards. Spend responsibly. Keep below 30% utilization of credit limit of each card and overall.
Start early (when you are 18) and by the time you actually need to use it (car or mortgage products). Then you will be gucci.
It’s a shame basic financial literacy is not taught in schools.