>you dont minmax pathfinder
you dont, but you should avoid trap builds.
Pathfinder got a few difficulty spikes and while you can easily make some realy stupid builds and thrive, its also very esay to create characters that do virtually nothing despite looking fine on paper to someone who doestn know how the system works by hand.
That what happened to me in P:K.
I did lots of reading before playing because P:K was the first time I heared about pathfinder ever.
Then I thought of a char who tried to stack as many bonusses as possible.
The char had a good defense, but it did single digit damage for most of the game.
In pathfinder there is no medium defense. Either your AC is very high or everyone can hit you all the time.
And then come enemies with touch attack who ignore most of your armor types.
This high defense char should also get mirror image and displacement because some enemies still hit like a truck with normal attacks (5% crit chance, but crit not confirmed)
And this defensive fortress should also do some damage because you have to kill all enemies to win a fight and more damage means enemies have less time to damage you.
For me this means for any pathfinder game or BG3 (which will be my first DnD 5E game)
Take a single class character who focusses on doing one thing very good ( In case of BG 3 I chose either lore bard or hexblade warlock if we get it).
If you have a great idea about mixing several classes together, ask other people if they think it will work before you start playing.