The easy way to do this is to take an existing library file and to change it to what you want. I'm not sure what end result you are trying for, but for example, take something like the library file jazzcombo.mma and rename it to "myjazz.mma". Now, go though the file and everywhere you see a "DefGroove" change the definition from JazzCombo to "myjazz" or whatever you think is suitable. Next, and don't forget to do this, change all the calls to the original to your new names. So, when you see "Groove JazzCombo" change that to "groove myjazz", etc.
Next ... well start to make changes. I usually start with one groove. In this case it will be your new MyJazz groove. So, create a short test file "test.mma" and have it look something like this:
Which gives an 8 bar framework to play with.
NOTE: Before compiling the test.mma file you will need to do a "mma -g" or (better when you are just testing/playing) copy the file you are working on to the same directory as your test file. See the docs in the big reference pdf or html in the section Library Files.
Now, this is NOT at all what you want. It's just a copy of the existing jazzcombo
Now, you can start to delete parts of that, add your own, etc. Trust me ... it looks complicated, but once you start to do some work on it daylight will come!