That’s something I’ve had to do quite a bit of, but on the uilleann pipes.
A composer/songwriter will have a song that they want uilleann pipes in.
Sometimes they compose a part and write it out. Then our job is easy: show up and sightread the thing.
Other times they don’t have a part written out, and hand you a Lead Sheet.
If you haven’t used them, Lead Sheets have the melody (that the singer sings) written out with the chords above.
It’s all trained musicians need to perform a song: the singer sings the melody line, the guitarist and/or keyboard player plays the chords written, the bass player improvises the bass part based on the chord progression, harmony players have a context from which to improvise their harmony parts.
Here’s an excellent explanation of Lead Sheets and how learning to play from them builds your musicianship
https://www.musical-u.com/learn/musicality-means-playing-from-a-lead-sheet/
In the sort of gigs I’ve often done they only want the pipes in the mix for “texture” (as they often say) so my job is to improvise a rather simple part that follows the chords but isn’t too busy.
It’s not rocket science. The chord symbol tells you which 3 notes you may choose from, the melody note tells you which note you should avoid (because the pipes can clash with the vocals, you don’t want to step on their part). So you’re usually only choosing between two notes!
So say the chord in one bar is D (D Major is implied) which contains the notes D F# and A.
If the singer is singing A, I might play F# underneath, a nice 3rd.
But if the singer is singing F# I might play D, likewise underneath and a 3rd.
If the singer is singing D I might play F# above, or A or F# below.
There’s a “rule” about not playing parallel 5ths with the melody, and parallel 4ths can sound odd too. It’s why 3rds are usually safer.
Yes you can move up or down scalewise at times, that for sure gives a smooth sound that doesn’t bring attention to itself.
I don’t think there’s any one-size-fits-all thing. You have to make up your part to fit that particular song. Even if two songs have the same chord progressings the melody will be different so your part will be different.
BTW this stuff is Music stuff and applies equally whether the song is Irish or non-Irish.