The following thread is my favorite example of how a community member who didn’t really know anything about writing zigbee device type handlers was able to write one for a brand-new device, in that case the securifi key fob. He got a lot of help from more experienced members. Just skimming through that might give you some ideas about the steps to take.