I'm a keyboardist and sole composer in a band, and usually I write organ/keyboard solos, but I wanted to write a guitar solo for one of the songs. I would let the guitarist make his solo, but he is a primarily rhythm guitarist without lead experience. So, I tasked myself with writing the solo.
I wanted to know differences when writing for guitar compared to keyboards. I know the basics, such as range, speed, chord voicing, and interval limitations, however I don't really understand how to phrase for guitar, and how to apply the textural changes, such as bending, vibrato, hammer-ons/pull-offs, etc.
I'm aware that this question is super wide and not specific at all, but I don't really know what I don't know. When I search on YouTube how to write a guitar solo, they tend to be broad tips on how to construct a solo and not instrument specific. I don't know where to begin, and when I try to write for keyboard and move it to guitar, it doesn't sound like it belongs on guitar. If there is a clarification needed, feel free to leave a comment, and I'll try to add more information.