Dig into the melody you created in your outro for Green Dolphin Street
Step #1: Practice playing the line note for note in a few different places (can alternate rhythm)
Step #2: Improvise lines using the contour from the original but changing the notes to fit the chord
Step #3: Experiment with small fragments of the line and see how they can lead you to different places (like the blues scale example)