I worked with the Alexanders to do passes of the story to expand it from the pen and paper roots so people who had played the original adventure path would still have some new content. We worked out the underlying theme for the story as well. In addition, some elements of the pen and paper path were taken in new directions to make them more suited for evil playstyles, which was fun. I also worked with the designers on setting up the pen and paper quest arcs with the new companion quests across the game (the companions add a lot), and gave feedback on the companions as well.
As for writing companions, I got the parameters of the “goblin rogue” (the companions weren’t named at the outset, and I did help with naming companions). From that, I was able to flesh out additional elements of his backstory, look, etc. and then I wrote Nok-Nok from start to finish. Nok-Nok’s one-paragraph character arc had already been approved by the license holder before I came on board (and same with some of the other story elements), but Alexander Komzolov and I agreed to change aspects about Nok-Nok afterwards even though his general arc remained the same (and some specific conclusions to his companion quest).
I also did the style guide, the module (on 2nd draft now), helped coordinate some aspects of the editing team (we had two editors who worked on the English versions), helped with UI text, and writing and edits on about 150+ other characters.