How to play altered jazz guitar lines using a major triad
When you want to play altered jazz guitar lines over a dominant 7th chord, there is an easy and efficient option that is to play a major triad starting on the #11 of the chord you want to improvise over. This way you highlight the b7, #11 and b9 and add tension to your playing.
Let's take an example with a II-V-I sequence in the key of C major. The progression is Dm7 | G7alt | CMaj7.