https://github.com/gap-packages/example/blob/master/src/hellod.c has a prototype of a HELLO_WORLD example implemented as a kernel module. It has to be checked, completed, added to the test and documented.