I can help!!
Guitar is one of my favourite things to include as it’s my first instrument and what got me inspired.
In terms of tone I would say it starts with the guitar… some may say the amp but tbh it’s actually the pickups.
A rough guide to pickups:
*Single - bright yet warm tone, quieter and pokey in the upper mids (1000hz). Have a small hum that adds character but can also be a limitation.
*Double - warmer, not as much top end (usually), pokey around 300 and 2k. No hum (humbucked)
*P90 - a blend of both, great for jazz. Basically a single on steroids… has less high end than typical single usually.
These set the foundation of the type of sound your amp will give back.
In a mix i say that it’s better to pick the guitar type that will fill the right bandwidth and won’t mask the other instruments as much.
Always record the same part twice with electric guitar. Pan hard left and right and use two slightly different amps… or use the same amp and mix up the cab. This gets you a lovely wide sound.
Guitars get muddy around 200 and 850ish hz.
Record in stereo. Harmonics over 12 fret and one slightly off the sound hole so it’s not too boomy (xy figuration works great). Pan 20’ each side. Low pass at 120 and high shelf works well, take out some upper mids if in a dense mix and take out a bit of 200hz just like the electric guitar.
Unless it’s a guitar driven piece try and keep the parts mega simple. When layering is also suggest playing in a different position. The goal with guitar is to create as much variation in the sound as possible without leaving the overall feel/mood of the piece.
In terms of effects:
Verb - abbey roads works great for clarity. I never do anything different these days as guitar just gets muddy.
Compression - slowish attack, mid release, 3-1 ratio and a moderate amount of comp added is a good place to start for most tracks. A fast attack and release with a ratio of 1-2 is also good for natural live sounding pieces.
Delay - I sometimes use it for single note or single chord stuff, but I roll a lot of top and bottom off the repeats so it sounds more analog.
Hope this was helpful man!